[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxbios
Subject:    [coreboot] [coreboot - Bug #175] Most USB3 external disk enclosures do not work with coreboot on X23
From:       Robert Alessi <coreboot () fe80 ! eu>
Date:       2023-09-10 8:50:43
Message-ID: redmine.journal-1656.20230910085042.700 () fe80 ! eu
[Download RAW message or body]

Issue #175 has been updated by Robert Alessi.


Patrick Rudolph wrote in #note-3:
> The RCBA register for USB seems fine, but we don't do that much xhci initialisation \
> in coreboot. From the error description I guess it's related to over-current or \
> transmitter margins.

Does this mean the situation is hopeless? As it stands, the problem seems to persist \
under both Linux and OpenBSD, which seems to indicate that neither kernel can \
complete the xhci initialitation.

More information here: https://codeberg.org/libreboot/lbmk/issues/120

And here (please read the whole thread): https://marc.info/?t=151482563500001&r=1&w=2

Thank you!


----------------------------------------
Bug #175: Most USB3 external disk enclosures do not work with coreboot on X230
https://ticket.coreboot.org/issues/175#change-1656

* Author: Tobis Greer
* Status: New
* Priority: Normal
* Start date: 2018-10-16
----------------------------------------
I would like to report issues with USB3 external disk enclosures and coreboot on the \
Lenovo X230.

I have several enclosures, and only one works without issues: Toshiba Stor E Alu 2.5. \
Every other one will cause the following messages in dmesg over USB3 (USB2 is fine):

```
[   73.788819] usb 4-2: new SuperSpeed USB device number 3 using xhci_hcd
[   73.809949] usb 4-2: New USB device found, idVendor=0080, idProduct=a001
[   73.809955] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   73.809958] usb 4-2: Product: External USB 3.0
[   73.809961] usb 4-2: Manufacturer: TOSHIBA
[   73.809964] usb 4-2: SerialNumber: 201503310007F
[   73.813049] scsi host8: uas
[   73.813861] scsi 8:0:0:0: Direct-Access     TO Exter nal USB 3.0      0204 PQ: 0 \
ANSI: 6 [   73.814609] sd 8:0:0:0: Attached scsi generic sg4 type 0
[   73.815157] sd 8:0:0:0: [sde] 156301488 512-byte logical blocks: (80.0 GB/74.5 \
GiB) [   73.815161] sd 8:0:0:0: [sde] 4096-byte physical blocks
[   73.815326] sd 8:0:0:0: [sde] Write Protect is off
[   73.815330] sd 8:0:0:0: [sde] Mode Sense: 53 00 00 08
[   73.815659] sd 8:0:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't \
support DPO or FUA [   73.819382]  sde: sde1
[   73.820711] sd 8:0:0:0: [sde] Attached SCSI disk
[  105.329243] sd 8:0:0:0: [sde] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD \
IN  [  105.329252] sd 8:0:0:0: [sde] tag#3 CDB: Read(10) 28 00 00 00 00 80 00 01 80 \
00 [  105.329334] sd 8:0:0:0: [sde] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: \
CMD IN  [  105.329342] sd 8:0:0:0: [sde] tag#2 CDB: Read(10) 28 00 00 00 00 40 00 00 \
38 00 [  105.345200] scsi host8: uas_eh_device_reset_handler start
[  105.345276] usb 4-2: cmd cmplt err -2
[  105.473565] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  105.495210] scsi host8: uas_eh_device_reset_handler success
[  138.096012] sd 8:0:0:0: [sde] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD \
IN  [  138.096016] sd 8:0:0:0: [sde] tag#5 CDB: Read(10) 28 00 09 50 f5 d8 00 00 28 \
00 [  138.096184] sd 8:0:0:0: [sde] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: \
CMD IN  [  138.096187] sd 8:0:0:0: [sde] tag#4 CDB: Read(10) 28 00 09 50 f5 28 00 00 \
a8 00 [  138.116005] scsi host8: uas_eh_device_reset_handler start
[  138.116027] usb 4-2: cmd cmplt err -2
[  138.244231] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  138.265440] scsi host8: uas_eh_device_reset_handler success
[  168.816132] sd 8:0:0:0: [sde] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD \
IN  [  168.816138] sd 8:0:0:0: [sde] tag#4 CDB: Read(10) 28 00 09 50 f7 b8 00 00 48 \
00 [  168.816174] sd 8:0:0:0: [sde] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: \
CMD IN  [  168.816177] sd 8:0:0:0: [sde] tag#3 CDB: Read(10) 28 00 09 50 f7 28 00 00 \
80 00 [  168.816208] sd 8:0:0:0: [sde] tag#2 uas_eh_abort_handler 0 uas-tag 3 \
inflight: CMD IN  [  168.816212] sd 8:0:0:0: [sde] tag#2 CDB: Read(10) 28 00 09 50 f6 \
68 00 00 b8 00 [  168.832129] scsi host8: uas_eh_device_reset_handler start
[  168.832153] usb 4-2: cmd cmplt err -2
[  168.960341] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  168.981496] scsi host8: uas_eh_device_reset_handler success
[  201.583792] sd 8:0:0:0: [sde] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD \
IN  [  201.583796] sd 8:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 00 00 10 00 00 00 08 \
00 [  201.599793] scsi host8: uas_eh_device_reset_handler start
[  201.599817] usb 4-2: cmd cmplt err -2
[  201.728046] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  201.749283] scsi host8: uas_eh_device_reset_handler success
[  234.351266] sd 8:0:0:0: [sde] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD \
IN  [  234.351270] sd 8:0:0:0: [sde] tag#3 CDB: Read(10) 28 00 00 00 08 80 00 01 80 \
00 [  234.351343] sd 8:0:0:0: [sde] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: \
CMD IN  [  234.351345] sd 8:0:0:0: [sde] tag#2 CDB: Read(10) 28 00 00 00 08 40 00 00 \
38 00 [  234.375267] scsi host8: uas_eh_device_reset_handler start
[  234.375319] usb 4-2: cmd cmplt err -2
[  234.503509] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  234.524774] scsi host8: uas_eh_device_reset_handler success
[  267.118802] sd 8:0:0:0: [sde] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD \
IN  [  267.118810] sd 8:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 00 00 0a 00 00 02 00 \
00 [  267.138781] scsi host8: uas_eh_device_reset_handler start
[  267.138872] usb 4-2: cmd cmplt err -2
[  267.267064] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  267.288888] scsi host8: uas_eh_device_reset_handler success
[  297.838883] sd 8:0:0:0: [sde] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD \
IN  [  297.838890] sd 8:0:0:0: [sde] tag#0 CDB: Read(10) 28 00 00 60 08 00 00 00 08 \
00 [  297.854785] scsi host8: uas_eh_device_reset_handler start
[  297.854827] usb 4-2: cmd cmplt err -2
[  297.983104] usb 4-2: reset SuperSpeed USB device number 3 using xhci_hcd
[  298.004091] scsi host8: uas_eh_device_reset_handler success
```

Note that it says it's a Toshiba enclosure but it's not the Stor E Alu 2.5, it's from \
an Orico 2588US3-V1-BK-PRO with a 2.5" Intel X25M SSD in it.

If I use Lenovo's BIOS, then I don't have any errors at all in dmesg, and I'm able to \
use the disk normally. With coreboot, I can't mount the disk at all and dmesg gets \
these error messages continuously.

---Files--------------------------------
.config (22.5 KB)
lenovo_inteltool.txt (117 KB)
cb_inteltool.txt (171 KB)


-- 
You have received this notification because you have either subscribed to it, or are \
involved in it. To change your notification preferences, please click here: \
https://ticket.coreboot.org/my/account \
_______________________________________________ coreboot mailing list -- \
coreboot@coreboot.org To unsubscribe send an email to coreboot-leave@coreboot.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic