Opened 2 years ago

Closed 16 months ago

Last modified 16 months ago

#17776 closed bug (not reproducible)

[usb_disk] transfer error on slot 1 endpoint 3: Stall

Reported by: ilfelice Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers/Disk/USB Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

Howdy,

Trying to boot Haiku from USB on a hp Pavilion Aero 13-be laptop without success.

All boot icons light up, but then the boot process stops.

When I press Alt+Ctrl-Del, a kernel panic occurs (photo attached).

I am also attaching a backtrace, in case it is useful to debug.

Here are the HW specs to the extent that I know:

CPU: AMD K19 (16 cores, AMD Ryzen 7 5800U with Radeon Graphics)
RAM: 16GB
Graphics: 512MB ATI AMD Radeon Graphics (device ID: 1002-1638)
Wifi: Realtek RTL8852AE WiFi 6 802.11ax PCIe Adapter

Let me know if I can provide any further info to help debug.

Attachments (5)

DSC_0036.JPG (1.3 MB ) - added by ilfelice 2 years ago.
Boot screen + kernel panic
DSC_0037.JPG (699.2 KB ) - added by ilfelice 2 years ago.
Backtrace
DSC_0040.JPG (2.1 MB ) - added by ilfelice 2 years ago.
On screen debug
syslog (147.1 KB ) - added by ilfelice 2 years ago.
Syslog on first boot after installation
syslog.text (6.5 KB ) - added by ilfelice 2 years ago.
syslog with original (bad) USB stick

Change History (23)

by ilfelice, 2 years ago

Attachment: DSC_0036.JPG added

Boot screen + kernel panic

by ilfelice, 2 years ago

Attachment: DSC_0037.JPG added

Backtrace

comment:1 by diver, 2 years ago

Does disabling add-ons/kernel/power/cpuidle/intel_cstates in the boot loader change anything? Additionally, you can try to disable SMP.

comment:2 by ilfelice, 2 years ago

Hi diver.

With the boot options you suggested, the boot stops at the third icon instead.

comment:3 by diver, 2 years ago

Does it just freeze or panics? If it's the former you can try to enable on screen debug output out together with disabling on-screen paging.

comment:4 by diver, 2 years ago

Actually, scratch that. I didn't notice that you have all icons light up. In this case try to blacklist radeon_hd driver or just enable fail save graphics driver.

comment:5 by ilfelice, 2 years ago

Does it just freeze or panics?

It freezes. If then I press the Alt-Ctl-Del keys, it panics.

...try to blacklist radeon_hd driver or just enable fail save graphics driver.

I tried both, with the same result.

comment:6 by diver, 2 years ago

Then you can also try my suggestion from comment:3.

comment:7 by ilfelice, 2 years ago

Hi Diver,

Per your suggestions on comment:3, I enabled debug on screen. Screenshot attached (this is where it seems to stop).

by ilfelice, 2 years ago

Attachment: DSC_0040.JPG added

On screen debug

comment:8 by ilfelice, 2 years ago

I tried with a different USB drive, and now Haiku boots as long as I enable the fail safe graphics driver option.

The keyboard and trackpad do not work, though. Should I file a separate bug report for this?

comment:9 by diver, 2 years ago

Component: - GeneralDrivers/USB/XHCI
Description: modified (diff)
Owner: changed from nobody to waddlesplash
Summary: No boot on hp pavilion aero 13-be laptop[xhci] transfer error on slot 1 endpoint 3: Stall

These issues could be related. Please attach your /var/log/syslog.

by ilfelice, 2 years ago

Attachment: syslog added

Syslog on first boot after installation

comment:10 by ilfelice, 2 years ago

Diver,

I want to mention that the leyboard does work (not the mousepad). and that USB wifi also worked out of tbe box.

comment:11 by diver, 2 years ago

Could you connect the first USB drive (while being booted in Haiku) and see if you get any xhci errors in your syslog. tail -F /var/log/syslog

by ilfelice, 2 years ago

Attachment: syslog.text added

syslog with original (bad) USB stick

comment:12 by waddlesplash, 2 years ago

Component: Drivers/USB/XHCIDrivers/Disk/USB
Summary: [xhci] transfer error on slot 1 endpoint 3: Stall[usb_disk] transfer error on slot 1 endpoint 3: Stall

I don't think this is a problem in XHCI but instead is a problem with the usb_disk driver: it does not recover correctly from stalls. It's not especially difficult to induce stalls even in QEMU with the driver, it just doesn't know how to recover from them.

comment:13 by waddlesplash, 2 years ago

Owner: changed from waddlesplash to nobody
Status: newassigned

comment:14 by ilfelice, 23 months ago

Hi waddlesplash,

As it turns out, the problem I reported here only happens with a specific (and quite old) USB stick.

I tried with a couple of different (and newer) memory sticks, and Haiku boots fine (as previously mentioned, with fail-safe graphics).

So, feel free to close this ticket if you see fit.

comment:15 by diver, 17 months ago

Blocking: 18185 added

comment:16 by ilfelice, 16 months ago

FWIW, I recently installed Beta 4 on the same HW, and cannot reproduce this problem anymore. I suppose it is OK to close this ticket.

comment:17 by waddlesplash, 16 months ago

Resolution: not reproducible
Status: assignedclosed

Thanks for testing!

comment:18 by diver, 16 months ago

Blocking: 18185 removed
Note: See TracTickets for help on using tickets.