You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Boot hangs before GRUB with a Genesys USB-C hub attached (M1 Pro j314s), unplugging the hub resumes it #33
Hardware: MacBook Pro 14" M1 Pro (j314s, t6000) Software: uboot-asahi 2026.07.asahi2-1 (built-in env: preboot=usb start, usb_ignorelist=0x1050:*,, stdin=serial,usbkbd,spikbd,mtpkbd), m1n1 1.6.1.aurora2-2 (the aurora-silicon fork), GRUB with a visible 5 s menu. Distro is Omarchy Mac (Arch Linux ARM).
What happens
With a USB-C hub plugged into a left-side Type-C port at power-on, the screen stays black and the GRUB menu never appears. I waited, then held the power button to force it off, and it happened again on a cold start. The moment I unplugged the hub, boot continued straight to GRUB, then Linux and the LUKS prompt. With nothing plugged in it always boots.
It doesn't happen every time: a warm reboot with the same hub and devices attached booted fine 15 minutes earlier. That's 2 hangs in 3 boots with the hub attached.
Why I think it's U-Boot
A one-shot grub-reboot entry set before the first bad boot was still set when the good boot ran, so GRUB never ran during either hang.
The kernel of the good boot unlocked the disk 14.7 s after it started, so the hub was pulled before or right as Linux started.
The only stage before GRUB that touches USB is U-Boot's usb start.
I didn't see any U-Boot text on screen, only black. I haven't confirmed it with U-Boot serial output.
What was on the hub (as seen by Linux afterwards, all on the same xHCI f02280000.usb)
Port
ID
Device
USB
1-1
05e3:0610 (bcdDevice 64.00)
Genesys Logic USB2.1 hub
2.10, 480M
1-1.3
05ac:029a (bcdDevice 04.20)
Apple Magic Keyboard with Touch ID (wired)
2.00, 12M
1-1.4
046d:094d
Logitech Brio 101 webcam
2.00, 480M
2-1
05e3:0625 (bcdDevice 64.00)
Genesys Logic USB3.2 Gen2 hub
3.20, 10G
2-1.2
0b95:1790 (bcdDevice 02.00)
ASIX AX88179B Gigabit Ethernet (3 configurations)
3.20, 5G
The hub also carried a monitor over DP alt mode (the hub's DP-to-HDMI converter to a Dell S3225QS).
I haven't found out which device is the trigger yet. Possibly related: #21 (Magic Keyboard with Touch ID, 05ac:029f, delaying U-Boot), #14 (a dock with an AX88179 stalling U-Boot), #15 (a dock with a Genesys GL3523 hub). I'll try booting with one device at a time on the hub and report back, with lsusb -v for whichever device turns out to be the cause.
Workaround: plug the hub in after the GRUB menu appears.
Isolated it: it's the Magic Keyboard with Touch ID (USB-C, 05ac:029a), not the hub. Same thing as #21 (05ac:029f).
Magic Keyboard on the hub: boot stalls after the GRUB menu, before the kernel. Unplugging only the keyboard (hub, AX88179B and webcam stay connected) lets it continue right away. Left alone, it continues by itself after roughly 1–2 minutes.
Magic Keyboard not connected: normal boot.
The stall is before Linux. The first kernel message has an arch-timer timestamp of ~91 s and ~93 s on the two stalled boots, vs. 9.5–16 s on normal boots. The kernel log itself has no gap. That puts about 80 s between the GRUB menu and kernel entry, while GRUB reads the 33 MB kernel + 21 MB initramfs through U-Boot's EFI services. The earlier "black screen before GRUB" reports in this issue are most likely the same stall hitting earlier.
My guess at the mechanism (not confirmed on serial): usbkbd is in stdin, Apple keyboards get USB_HID_QUIRK_POLL_NO_REPORT_IDLE, and the UEFI console timer calls usb_kbd_testc() every 20 ms. If each poll of an idle Magic Keyboard waits out a transfer timeout, disk reads crawl.
I'm testing a local build that is the asahi-alarm package plus only this change to the default env:
I'll report back. If it works, would you take it (or a non-blocking poll for these keyboards) as a PR? Ignoring them means the Magic Keyboard can't be used in U-Boot or GRUB, but the built-in keyboard still works.
Test result: the usb_ignorelist change fixes it. With the Magic Keyboard (05ac:029a) on the hub, the kernel's first message is now at ~16.9 s instead of ~91–93 s, and there is no stall before the LUKS prompt. I checked both a warm reboot and a cold start. The only change from the asahi-alarm uboot-asahi 2026.07.asahi2 package is the default env line:
Activity
cb2206 commentedon Sep 30, 2026
Isolated it: it's the Magic Keyboard with Touch ID (USB-C,
05ac:029a), not the hub. Same thing as #21 (05ac:029f).The stall is before Linux. The first kernel message has an arch-timer timestamp of ~91 s and ~93 s on the two stalled boots, vs. 9.5–16 s on normal boots. The kernel log itself has no gap. That puts about 80 s between the GRUB menu and kernel entry, while GRUB reads the 33 MB kernel + 21 MB initramfs through U-Boot's EFI services. The earlier "black screen before GRUB" reports in this issue are most likely the same stall hitting earlier.
My guess at the mechanism (not confirmed on serial):
usbkbdis instdin, Apple keyboards getUSB_HID_QUIRK_POLL_NO_REPORT_IDLE, and the UEFI console timer callsusb_kbd_testc()every 20 ms. If each poll of an idle Magic Keyboard waits out a transfer timeout, disk reads crawl.I'm testing a local build that is the asahi-alarm package plus only this change to the default env:
I'll report back. If it works, would you take it (or a non-blocking poll for these keyboards) as a PR? Ignoring them means the Magic Keyboard can't be used in U-Boot or GRUB, but the built-in keyboard still works.
cb2206 commentedon Oct 1, 2026
Test result: the
usb_ignorelistchange fixes it. With the Magic Keyboard (05ac:029a) on the hub, the kernel's first message is now at ~16.9 s instead of ~91–93 s, and there is no stall before the LUKS prompt. I checked both a warm reboot and a cold start. The only change from the asahi-alarmuboot-asahi2026.07.asahi2 package is the default env line:PR: #34
usb: xhci: Honour nonblock for interrupt transfers