The officially official Devuan Forum!

You are not logged in.

#1 2024-07-19 23:33:36

Mr_sparkle
Member
Registered: 2024-07-19
Posts: 2  

USB3 Disc problem with Daedalus on Dell 3525

Hi All, Just installed Daedalus on a new Dell Inspiron 3525 (blew away WIndoze - Yay!), and overall very happy. Nearly everything just works. But I've come across a weird problem with using a USB-3 1Tb SSD. Extract from kern.log:

2024-07-20T09:06:08.276501+10:00 delly kernel: [ 2214.815273]  sdb: sdb1
2024-07-20T09:06:08.276534+10:00 delly kernel: [ 2214.815704] sd 3:0:0:0: [sdb] Attached SCSI disk
2024-07-20T09:08:02.620498+10:00 delly kernel: [ 2329.161448] EXT4-fs (sdb1): mounting ext3 file system using the ext4 subsystem
2024-07-20T09:08:02.684471+10:00 delly kernel: [ 2329.228386] EXT4-fs (sdb1): recovery complete
2024-07-20T09:08:02.688485+10:00 delly kernel: [ 2329.232791] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Quota mode: none.
2024-07-20T09:11:11.396818+10:00 delly kernel: [ 2517.941415] rtw_8821ce 0000:02:00.0: unhandled firmware c2h interrupt
2024-07-20T09:11:38.240490+10:00 delly kernel: [ 2544.785189] sd 3:0:0:0: [sdb] tag#16 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
2024-07-20T09:11:38.240517+10:00 delly kernel: [ 2544.785205] sd 3:0:0:0: [sdb] tag#16 CDB: Write(10) 2a 00 00 00 38 78 00 00 18 00
2024-07-20T09:11:38.280849+10:00 delly kernel: [ 2544.825192] scsi host3: uas_eh_device_reset_handler start
2024-07-20T09:11:38.408769+10:00 delly kernel: [ 2544.953695] usb 2-1: reset SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
2024-07-20T09:11:38.428484+10:00 delly kernel: [ 2544.974694] scsi host3: uas_eh_device_reset_handler success
2024-07-20T09:12:53.532487+10:00 delly kernel: [ 2620.078951] EXT4-fs (sdb1): unmounting filesystem.
2024-07-20T09:14:13.856848+10:00 delly kernel: [ 2700.404511] sd 3:0:0:0: [sdb] tag#14 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
2024-07-20T09:14:13.856879+10:00 delly kernel: [ 2700.404524] sd 3:0:0:0: [sdb] tag#14 CDB: Write(10) 2a 00 00 00 08 08 00 01 d8 00
2024-07-20T09:14:13.868752+10:00 delly kernel: [ 2700.416282] scsi host3: uas_eh_device_reset_handler start
2024-07-20T09:14:13.996802+10:00 delly kernel: [ 2700.544718] usb 2-1: reset SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
2024-07-20T09:14:14.016499+10:00 delly kernel: [ 2700.565909] scsi host3: uas_eh_device_reset_handler success
2024-07-20T09:14:15.837453+10:00 delly kernel: [ 2702.389071] sd 3:0:0:0: [sdb] tag#19 data cmplt err -71 uas-tag 1 inflight: CMD 
2024-07-20T09:14:15.837478+10:00 delly kernel: [ 2702.389086] sd 3:0:0:0: [sdb] tag#19 CDB: Write(10) 2a 00 00 00 08 08 00 01 d8 00
2024-07-20T09:14:44.580813+10:00 delly kernel: [ 2731.129044] scsi host3: uas_eh_device_reset_handler start
2024-07-20T09:14:44.580837+10:00 delly kernel: [ 2731.129172] sd 3:0:0:0: [sdb] tag#19 uas_zap_pending 0 uas-tag 1 inflight: CMD 
2024-07-20T09:14:44.580838+10:00 delly kernel: [ 2731.129181] sd 3:0:0:0: [sdb] tag#19 CDB: Write(10) 2a 00 00 00 08 08 00 01 d8 00
2024-07-20T09:14:44.708784+10:00 delly kernel: [ 2731.257319] usb 2-1: reset SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
2024-07-20T09:14:44.728499+10:00 delly kernel: [ 2731.278282] scsi host3: uas_eh_device_reset_handler success
2024-07-20T09:14:46.548992+10:00 delly kernel: [ 2733.101198] sd 3:0:0:0: [sdb] tag#16 data cmplt err -71 uas-tag 1 inflight: CMD 
2024-07-20T09:14:46.549016+10:00 delly kernel: [ 2733.101213] sd 3:0:0:0: [sdb] tag#16 CDB: Write(10) 2a 00 00 00 08 08 00 01 d8 00

After getting the first error I unmounted the disc and ran fsck, and got more USB resets. So far I haven't seen any problems with USB-2 SSD sticks, and they apparently use the same xhci_hcd driver?? I've already done an "apt update" and "apt full-upgrade", so I should have the latest everything?

root@delly:~# uname -a
Linux delly 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

Not sure where to even start with this?? The same USB-3 SSD works fine on my old Lenovo ThinkPad running Linux Mint, but that's got Intel chipsets while my new Dell is AMD. It's annoying because I wanted to transfer all my files from the Lenovo (after a few years the WiFI card has gone intermittent).

So any suggestions greatly appreciated. I can post dmesg, lspci data but don't know what would be useful. Thanks in advance - Rob.

Last edited by Mr_sparkle (2024-07-21 02:46:28)

Offline

#2 2024-07-20 01:31:19

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,218  

Re: USB3 Disc problem with Daedalus on Dell 3525

Please use "code" block around code and log files.

Offline

#3 2024-07-20 05:01:15

stargate-sg1-cheyenne-mtn
Member
Registered: 2023-11-27
Posts: 134  

Re: USB3 Disc problem with Daedalus on Dell 3525

perhaps these might provide some clues.

https://github.com/home-assistant/operating-system/issues/1710
https://forums.raspberrypi.com/viewtopic.php?t=245931
https://community.clearlinux.org/t/reset-superspeed-usb-device-kernel-errors-when-using-usb-to-sata-docking-stations/9284
https://forum.proxmox.com/threads/probleme-usb-festplatte-number-of-error-log-entries-increased-uas_eh_abort_handle.124871/

via DDG search for _exactly-as-quoted_ "uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT"

keep us posted on your progress!
(and a code block update to your original post would be great)

other links that might be helpful to future thread visitors:
https://www.dell.com/en-us/shop/dell-laptops/inspiron-15-laptop/spd/inspiron-15-3525-laptop
https://www.pcmag.com/reviews/dell-inspiron-15-3525

Last edited by stargate-sg1-cheyenne-mtn (2024-07-24 07:48:32)


Be Excellent to each other and Party On!
https://www.youtube.com/watch?v=rph_1DODXDU
https://en.wikipedia.org/wiki/Bill_%26_Ted%27s_Excellent_Adventure
Do unto others as you would have them do instantaneously back to you!

Offline

#4 2024-07-20 05:15:37

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,218  

Re: USB3 Disc problem with Daedalus on Dell 3525

Please, if you are posting links, then post links. Otherwise it's just an illegible mess of characters.

Offline

#5 2024-07-20 06:40:40

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: USB3 Disc problem with Daedalus on Dell 3525

I was reading this "might" be due to a power related issue, is the ssd powered? Maybe need a better usb adapter cord or something too.

If you can, use lsusb to diagnose power.
Get your device ID like im doing below for my fresco usb hub device with whatever your device is called. You can just use lsusb to get all devices in a list find it then follow along below.

# lsusb | grep "Fresco"

Bus 002 Device 002: ID 1d5c:5001 Fresco Logic USB3.0 Hub

# lsusb -d 1d5c:5001 -v 2>/dev/null | grep 'MaxPower'

    MaxPower                0mA

Last edited by soren (2024-07-20 06:41:29)

Offline

#6 2024-07-20 12:14:19

alexkemp
Member
Registered: 2018-05-14
Posts: 334  

Re: USB3 Disc problem with Daedalus on Dell 3525

If you do not add [ code ] / [ /code ] tags to that mass of garbage your post is likely to be ignored by everyone.

I would have thought that the following needs paying attention to:- 2024-07-20T09:11:11.396818+10:00 delly kernel: [ 2517.941415] rtw_8821ce 0000:02:00.0: unhandled firmware c2h interrupt

checking for firmware within $ apt info firmware-realtek indicates "Version: 20230210-5", and that is nowhere near recent enough. Sure enough:

$ apt info firmware-realtek | fgrep 8821

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

  * Realtek RTL8821A Bluetooth firmware (rtl_bt/rtl8821a_fw.bin)
  * Realtek RTL8821C Bluetooth config (rtl_bt/rtl8821c_config.bin,
    rtl_bt/rtl8821a_config.bin)
  * Realtek RTL8821C Bluetooth firmware (rtl_bt/rtl8821c_fw.bin)
  * Realtek RTL8821AEFW firmware (rtlwifi/rtl8812aefw.bin)
  * Realtek RTL8821AEFW wowlan firmware (rtlwifi/rtl8812aefw_wowlan.bin)
  * Realtek RTL8821AE firmware, version 29 (rtlwifi/rtl8821aefw_29.bin)
  * Realtek RTL8821AE firmware (rtlwifi/rtl8821aefw.bin)
  * Realtek RTL8821AE firmware (rtlwifi/rtl8821aefw_wowlan.bin)
  * Realtek 8821C firmware (rtw88/rtw8821c_fw.bin)

Offline

#7 2024-07-21 02:55:00

Mr_sparkle
Member
Registered: 2024-07-19
Posts: 2  

Re: USB3 Disc problem with Daedalus on Dell 3525

Thanks to all for your replies. I deserve the spanking for not using the "code" HTML tags - my excuse is that I'm an old fart who started off using Hp-UX, Dec Unix, and SunOS, all with basic text config files. That was well before all this new-fangled HTML stuff. And, having installed peripheral cards with dicrete TTL ICs a looooong time ago I'm having difficulty adjusting to having controller chips that have their own firmware that needs to be updated. So now I'm on the hunt for some up to date Realtek firmware - hopefully that will do the trick smile Will post again when I have some results.

Regards, Rob.

Offline

Board footer