Opened 6 weeks ago

Closed 6 weeks ago

#19160 closed bug (invalid)

Haiku doesn't reach installer/deskbar when booting from USB 2.0 port on Asus X570-Plus

Reported by: Illen Owned by: waddlesplash
Priority: normal Milestone: Unscheduled
Component: Drivers/USB/XHCI Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Haiku is stuck on blue screen with mouse cursor when using front panel USB 2.0 ports for USB boot drive on Asus X570-Plus. It doesn't happen when using USB 3.0 ports. USB input devices don't work either when that occurs. Both USB 3.0 and 2.0 ports on front panel seem to be handled by the same xHCI controller on X570 chipset.

Attachments (2)

x570-usb2.log (241.4 KB ) - added by Illen 6 weeks ago.
x570-linux-usb2-dmesg (100.6 KB ) - added by Illen 6 weeks ago.

Download all attachments as: .zip

Change History (9)

by Illen, 6 weeks ago

Attachment: x570-usb2.log added

comment:1 by waddlesplash, 6 weeks ago

usb xhci 1: transfer error on slot 2 endpoint 4: USB transaction
usb_disk: sending the command block wrapper failed: Device check-sum error

Once this happens we just wind up in a loop of these problems.

Does this happen with a different USB stick? Does Linux boot from this USB stick on a USB 2 port?

comment:2 by Illen, 6 weeks ago

I tested two different USB 3.0 sticks and two USB 2.0 ports (all I have) and same problem happens in every case. Linux can access and read/write them on USB 2.0 ports without problems although I did not test boot yet, will try soon.

comment:3 by Illen, 6 weeks ago

Did some more testing and it seems like Haiku does boot correctly from one USB 2.0 port when the other 2.0 port is not used (in all previous cases I was having USB mouse receiver plugged in to the second 2.0 port). As soon as I plug the receiver back in the other 2.0 port, Haiku loses access to the filesystem on USB stick. Seems like it could be some hardware problem (USB header not supplying enough current?) because sometimes even UEFI does not list the USB drive on boot menu (especially when the receiver is connected in second USB 2.0 port), although I tried to USB boot Linux installation from these ports as well and it seems to somehow handle it flawlessly when both 2.0 ports are used.

comment:4 by waddlesplash, 6 weeks ago

Anything interesting USB-related in Linux dmesg?

comment:5 by Illen, 6 weeks ago

Didn't notice anything unusual.

by Illen, 6 weeks ago

Attachment: x570-linux-usb2-dmesg added

comment:6 by Illen, 6 weeks ago

Eventually I was able to reproduce that problem even on Linux. It doesn't happen as often as on Haiku but it's still possible. At this point, I consider it to be a hardware problem, not a Haiku bug. Sorry for the noise.

comment:7 by waddlesplash, 6 weeks ago

Resolution: invalid
Status: newclosed

Thanks for testing!

Yeah, if it works more often but still unreliably on Linux, probably there is something we are doing just slightly differently enough for it to matter, and debugging further probably isn't worth it.

Note: See TracTickets for help on using tickets.