chadmed / asahi-gentoosupport

Gentoo support files for Apple Silicon devices
58 stars 16 forks source link

LiveCD fails to boot with "abord_td: Expected a TRB_TRANSFER TRB first" #24

Open CursedSilicon opened 1 month ago

CursedSilicon commented 1 month ago

Not sure if this is an upstream Asahi issue or not. Though Fedora seems to boot fine so I figured I might as well put it here

M1 Mac Mini. Updated to the latest 14.5 Sonoma

Installed Asahi

dnf updated to the latest 6.8.10-400 16K kernel (at time of writing)

Reboot, choose Gentoo LiveCD in GRUB

Loads kernel and immediately begins (slowly) printing this message endlessly.

abord_td: Expected a TRB_TRANSFER TRB first

On a whim I tried unplugging the keyboard before it finished loading the kernel, which caused a different error to appear

XHCI timeout on event type 0

This one is actually noted by @marcan as a U-Boot bug. And does seem to match a behavior with my keyboard where it does not always accept key presses before Asahi has fully loaded (neither in U-Boot nor GRUB)

I'll try and hunt down a more generic keyboard to provide more testing data and report back any findings

CursedSilicon commented 1 month ago

Update: Tested with an absolute junk "Rii" RK907 junk keyboard

Same error as with my other keyboard

U-Boot seems to print the following error unless I aggressively mash keys to cancel auto-boot as soon as it appears

scanning bus xhci_pci for devices... Failed to get keyboard state from device 1a2c:2124 1 USB Device(s) found

If I don't mash the keyboard U-Boot does not allow key presses nor does GRUB. However Asahi continues to boot correctly and recognizes the keyboard during boot