[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boot failure when kvm is connected #20

Open
mikebeaton opened this issue Jan 10, 2024 · 3 comments
Open

boot failure when kvm is connected #20

mikebeaton opened this issue Jan 10, 2024 · 3 comments

Comments

@mikebeaton
Copy link
mikebeaton commented Jan 10, 2024

Hi - I have an XHCI error in U-Boot when my TESmart 4 port KVM switch is connected to my 2020 M1 Macbook Air.

I mentioned this already on #4, but looking again I think my error may be slightly different from the one reported there, I also have some more info.

The normal boot error looks like this:

normal

Examining the code, the timeout on event type 0 must be from within abort_td, which is only called in two places. If I rebuild U-Boot (asahi-v2023.07.02-4) and convert the two lines before the abort_td calls in drivers/usb/host/xhci-ring.c from debug to printf then I see:

enhanced

This looks to me as if there are possibly two bugs, the bulk transfer timeout happening anyway (why?) which eventually triggers a different (?) bug of a timeout on TRB_NONE inside abort_td (when trying to flush the queue after the bulk transfer timeout).

I appreciate this may be an upstream bug. I am happy to take advice and post upstream if that would help, or to run additional tests.

@mikebeaton
Copy link
Author

Actually, looking at this, it seems to closely involve the code in 2526cd99327, so probably not actually (just?) an upstream issue.

@matdave
Copy link
matdave commented Sep 23, 2024

I am having this same issue when booting with a Dell D6000 connected. If I leave it disconnected and connect after boot it is fine, however when I have it connected during boot it times out and doesn't initialize until I unplug / replug it in.

@matdave
Copy link
matdave commented Sep 23, 2024

Okay, so I just went through and unplugged everything, rebooted, and it was fine. Went one at a time plugging things into the D6000 and it came down to if my Keychron K4 keyboard was plugged in it would hit the timeout, but if it wasn't plugged it would boot normally. I switched it to bluetooth mode, and plugged in so it could still charge and it rebooted fine. For some reason the Keychron would show up as an additional 2 USB Devices, so maybe there is a bug when a "USB Hub" is plugged into a USB Hub?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants