j72 (iPad Air, A7) on AMD X670 host: PongoOS panics in USB after checkm8 (USB BUG 0x73656e642034); gaster SETUP never completes
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux, python
- Área
- devtools, embedded-iot
Línea de trabajo
Start by reading related issues #190 and #236 and tracing the orchard install --disk --ibss path that invokes gaster; the issue does not name source files or tests. Reproduce the reported behavior on the AMD X670 host and compare the checkra1n and gaster logs. Done means identifying and fixing the reported USB installation failures, and making the gaster unplug and replug prompt visible to the user if that is in scope.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
iPad Air (Cellular) j72 (A7, CPID 0x8960) on iPadOS 12.5.8 can't be started or installed from a Linux host with AMD USB controllers. Each route fails at a different point:
- checkra1n route: checkm8 succeeds and PongoOS boots, then PongoOS panics in its USB stack while the host enumerates it (
panic: USB BUG: 0x73656e642034= "send 4"). checkra1n then reportsTimed out waiting for PongoOS. - ibss route (gaster): with the defaults, SETUP never gets out a single byte (
abort after 0 to 0 ms,0 to 0 bytes went out) until the 120 s limit. WithORCHARD_GASTER_ABORT_MAX=2bytes do go out (0 to 2048, ~1/3 of attempts under 1472), but SETUP still doesn't finish, and after ~7000 attempts the device leaves DFU by itself.
Environment
- orchard 0.3.13 (89bd576c1f76), board data v0.3.20, Omarchy A v0.4.6 installer
- checkra1n 0.1337.3, PongoOS 2.6.3-7ddd2752 (booted by iBoot-4513.270.14)
- Host: Linux 7.2.15 x86_64, Gigabyte X670 GAMING X AX (AMD Raphael CPU + AMD 600-series chipset)
- USB controllers:
- bus 1/3: AMD 600 Series chipset USB 3.2 (13:00.0, 15:00.0)
- bus 5/7: AMD Raphael USB 3.1 xHCI (18:00.3, 18:00.4)
- bus 9: AMD Raphael USB 2.0 xHCI (19:00.0), whose rear ports all sit behind an onboard Genesys GL850G hub (05e3:0608)
What each port does
| Port | checkm8 (checkra1n) | After that |
|---|---|---|
| bus 1 (chipset, shared with webcam/hubs) | fails: UaF race: heuristic strategy failed loop until -status_exploit |
— |
| bus 5 (CPU USB 3, root port, no hub) | fails: Failed issuing transaction abort! 16 → -status_exploit |
— |
| bus 9 (CPU USB 2.0, via GL850G hub) | "Checkmate!", works reliably | PongoOS boots, then panics in USB (below) |
PongoOS panic (copied from a photo of the screen)
pongoOS 2.6.3-7ddd2752
Booted by: iBoot-4513.270.14
Built with: Clang 15.0.0 (clang-1500.0.40.1)
Running on: Apple A7 (S5L8960)
Enabling USB
Done!
pongoOS> ep->dir_in = 1
ep->transfer_size = 0x9
ep->transferred = 0x0
ep->in_flight = 0x9
panic: USB BUG: 0x73656e642034
crashed task: usb
crashed process: kernel
Call stack:
0xfffffffe000b7650: fp 0xfffffffe000b7680, lr 0x00000001000133fc
0xfffffffe000b7680: fp 0xfffffffe000b77f0, lr 0x00000001000133f0
0xfffffffe000b77f0: fp 0x0000000000000000, lr 0x000000010000a85c
double panic: wdt reset
A 9-byte IN on EP0 with in_flight = 0x9 looks like the configuration-descriptor header during enumeration, so it seems the host (through the hub) re-issues the request while the previous IN is still in flight. checkra1n's log:
Checkmate!
Device should now reconnect in download mode
Entered download mode
Booting PongoOS...
Download mode device disconnected
Timed out waiting for PongoOS (error code: -status_bootstrap_timeout_error)
This happened on two separate runs, with and without --busy-cpu.
gaster (ibss route), bus 9
orchard install --disk --ibss [--busy-cpu]:
- Default timing:
Timing: requests 5 ms, abort after 0 to 0 ms, thenSETUP still trying after 20500 attempts: before the abort 0 to 0 bytes went outuntil the 120 s limit. - Once SETUP passed by luck and gaster printed
Unplug and replug the device now (at least 2 times). orchard's 3 sysfs port resets through the hub didn't bring the device back, and the run timed out. ORCHARD_GASTER_ABORT_MAX=2:0 to 2048 bytes went out, under the limit of 1472 in 2425 attempts, thenSETUP lost the device after 6988 attempts … it has left DFU mode.
Questions
- Is the PongoOS USB panic known on A7, and would a newer PongoOS help?
- What
ORCHARD_GASTER_ABORT_MAX(or other timing) do you recommend for AMD xHCI, and what does SETUP actually need to succeed? - Could the installer show gaster's "Unplug and replug" prompt to the user? Right now it only appears in the log.
Related: #190, #236. Full run logs are available on request.
🤖 Generated with Claude Code
- Lenguaje dominante
- Python
- Estrellas
- 102
- Forks
- 27
- Merge medio
- 10 h 43 min
- PR fusionados (30 d)
- 293
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OrchardLinux/orchard
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OrchardLinux/orchard#398 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
OrchardLinux/orchard#365 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
OrchardLinux/orchard#420 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
OrchardLinux/orchard#416 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
OrchardLinux/orchard#414 ·
Los mantenedores suelen responder en 1 día
Todos los issues de OrchardLinux/orchard
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
LearningCircuit/local-deep-research#10161 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
chore: contact address [email protected]Posiblemente ocupada @larsrollik la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 82/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Gustavo-Galvao-e-Silva/panchi#228 ·
Los mantenedores suelen responder en 1 día