You are not logged in.

#1 2022-02-28 20:21:01

Shyden
Member
Registered: 2022-02-18
Posts: 13

Help with USB drive.

Hi! For some reason when I'm using a Lexar 3.2 USB drive, it keeps disconnecting. I've tried using dmesg errors to find anything regarding the error, but everything I try shows me nothing. It's breaking on both USB 3 and USB 2 across multiple computers. Dmesg errors are below. I've tried to wipe the entire drive but there simply isn't enough time before it automatically disconnects. Dmesg logs for the USB 2 pc below. Any help is appreciated :). Also, yes my kernel is up to date.

[  599.394169] usb 2-1.2: new high-speed USB device number 13 using ehci-pci
[  599.493020] usb 2-1.2: New USB device found, idVendor=21c4, idProduct=0809, bcdDevice=11.00
[  599.493031] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  599.493035] usb 2-1.2: Product: USB Flash Drive
[  599.493039] usb 2-1.2: Manufacturer: Lexar
[  599.493042] usb 2-1.2: SerialNumber: 0111503171400114
[  599.493628] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[  599.494036] scsi host6: usb-storage 2-1.2:1.0
[  600.571119] scsi 6:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 6
[  600.572219] sd 6:0:0:0: [sdb] 243404800 512-byte logical blocks: (125 GB/116 GiB)
[  600.572851] sd 6:0:0:0: [sdb] Write Protect is off
[  600.572859] sd 6:0:0:0: [sdb] Mode Sense: 43 00 00 00
[  600.573490] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  600.578152]  sdb: sdb1
[  600.582871] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[  714.934142] usb 2-1.2: reset high-speed USB device number 13 using ehci-pci
[  720.040755] usb 2-1.2: device descriptor read/64, error -110
[  735.614114] usb 2-1.2: device descriptor read/64, error -110
[  735.794142] usb 2-1.2: reset high-speed USB device number 13 using ehci-pci
[  735.877420] usb 2-1.2: device descriptor read/64, error -71
[  736.067416] usb 2-1.2: device descriptor read/64, error -71
[  736.250791] usb 2-1.2: reset high-speed USB device number 13 using ehci-pci
[  736.670806] usb 2-1.2: device not accepting address 13, error -71
[  736.744094] usb 2-1.2: reset high-speed USB device number 13 using ehci-pci
[  737.164085] usb 2-1.2: device not accepting address 13, error -71
[  737.164625] usb 2-1.2: USB disconnect, device number 13
[  737.267444] usb 2-1.2: new high-speed USB device number 14 using ehci-pci
[  737.354124] usb 2-1.2: device descriptor read/64, error -71
[  737.547424] usb 2-1.2: device descriptor read/64, error -71
[  737.727413] usb 2-1.2: new high-speed USB device number 15 using ehci-pci
[  737.814101] usb 2-1.2: device descriptor read/64, error -71
[  738.004127] usb 2-1.2: device descriptor read/64, error -71
[  738.110933] usb 2-1-port2: attempt power cycle
[  738.707414] usb 2-1.2: new high-speed USB device number 16 using ehci-pci
[  739.127442] usb 2-1.2: device not accepting address 16, error -71
[  739.200828] usb 2-1.2: new high-speed USB device number 17 using ehci-pci
[  739.620786] usb 2-1.2: device not accepting address 17, error -71
[  739.620978] usb 2-1-port2: unable to enumerate USB device

Offline

#2 2022-02-28 21:40:39

teckk
Member
Registered: 2013-02-21
Posts: 578

Re: Help with USB drive.

Device is not getting plugged in to the usb port good, or the device is bad.

dmesg -w

Then plug the device in. Does dmesg continue to scroll? Try and wiggle or move the usb drive in and out a small amount and see if it stops.

Little usb device should become ready, then mount it.

It's breaking on both USB 3 and USB 2 across multiple computers.

Then maybe the device is bad. Are all of these machines arch? With the same kernel? Try to plug it into a windows or other linux box.

Last edited by teckk (2022-02-28 21:41:22)

Offline

#3 2022-02-28 23:46:48

Shyden
Member
Registered: 2022-02-18
Posts: 13

Re: Help with USB drive.

I'm at home now, same thing happening on main PC. I've tried it on windows and Linux mint as well. The thing that I find weird is that I can still write to the drive before it breaks.

Here's the logs from home PC

[  114.749351] usb 1-9: new high-speed USB device number 5 using xhci_hcd
[  114.995086] usb 1-9: New USB device found, idVendor=21c4, idProduct=0809, bcdDevice=11.00
[  114.995094] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  114.995097] usb 1-9: Product: USB Flash Drive
[  114.995099] usb 1-9: Manufacturer: Lexar
[  114.995101] usb 1-9: SerialNumber: 0111503171400114
[  115.017507] usb-storage 1-9:1.0: USB Mass Storage device detected
[  115.017675] scsi host9: usb-storage 1-9:1.0
[  115.017770] usbcore: registered new interface driver usb-storage
[  115.023614] usbcore: registered new interface driver uas
[  116.120529] scsi 9:0:0:0: Direct-Access     Lexar    USB Flash Drive  1100 PQ: 0 ANSI: 6
[  116.120780] sd 9:0:0:0: Attached scsi generic sg1 type 0
[  116.120994] sd 9:0:0:0: [sda] 243404800 512-byte logical blocks: (125 GB/116 GiB)
[  116.121111] sd 9:0:0:0: [sda] Write Protect is off
[  116.121113] sd 9:0:0:0: [sda] Mode Sense: 43 00 00 00
[  116.121239] sd 9:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  116.123564]  sda: sda1
[  116.124857] sd 9:0:0:0: [sda] Attached SCSI removable disk
[  230.201484] usb 1-9: reset high-speed USB device number 5 using xhci_hcd
[  235.454496] usb 1-9: device descriptor read/64, error -110
[  251.091292] usb 1-9: device descriptor read/64, error -110
[  251.387938] usb 1-9: reset high-speed USB device number 5 using xhci_hcd
[  251.584612] usb 1-9: device descriptor read/64, error -71
[  251.887947] usb 1-9: device descriptor read/64, error -71
[  252.184619] usb 1-9: reset high-speed USB device number 5 using xhci_hcd
[  256.984782] usb 1-9: Device not responding to setup address.
[  261.992405] usb 1-9: Device not responding to setup address.
[  262.201189] usb 1-9: device not accepting address 5, error -71
[  262.391327] usb 1-9: reset high-speed USB device number 5 using xhci_hcd
[  267.192016] usb 1-9: Device not responding to setup address.
[  272.197629] usb 1-9: Device not responding to setup address.
[  272.402648] usb 1-9: device not accepting address 5, error -71
[  272.402718] usb 1-9: USB disconnect, device number 5
[  272.639421] usb 1-9: new high-speed USB device number 6 using xhci_hcd
[  272.842635] usb 1-9: device descriptor read/64, error -71
[  273.145989] usb 1-9: device descriptor read/64, error -71
[  273.445819] usb 1-9: new high-speed USB device number 7 using xhci_hcd
[  273.645844] usb 1-9: device descriptor read/64, error -71
[  273.959094] usb 1-9: device descriptor read/64, error -71
[  274.066300] usb usb1-port9: attempt power cycle
[  274.542292] usb 1-9: new high-speed USB device number 8 using xhci_hcd
[  279.342490] usb 1-9: Device not responding to setup address.
[  284.349098] usb 1-9: Device not responding to setup address.
[  284.554106] usb 1-9: device not accepting address 8, error -71
[  284.684315] usb 1-9: new high-speed USB device number 9 using xhci_hcd
[  289.484724] usb 1-9: Device not responding to setup address.
[  294.490339] usb 1-9: Device not responding to setup address.
[  294.696102] usb 1-9: device not accepting address 9, error -71
[  294.696659] usb usb1-port9: unable to enumerate USB device

It does continue to scroll through when I run dmesg -w, same error logs. Before it breaks, I can also write to it, but then it unplugs itself. Using the timestamps, is there a way to know if there's an automatic check that happens that's causing this? I've checked every option but the USB is only 3 weeks old so I doubt it's writes are up. There's also not enough time to write a filesystem to it, so I can't mount it.

Offline

#4 2022-03-01 07:24:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,314

Re: Help with USB drive.

https://wiki.archlinux.org/title/Power_ … utosuspend (usbcore.autosuspend=-1)
If you're using some power management daemon like TLP, it can and will override that value at runtime - so make sure to configure the behavior there (as well)

Offline

Board footer

Powered by FluxBB