LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2025, 08:16 AM   #1
exerceo
Member
 
Registered: Oct 2022
Posts: 159

Rep: Reputation: 31
Question USB stick detaches itself few seconds after inserting. What caused it and how to fix it?


[Log in to get rid of this advertisement]
ID from lsusb: "Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) Flash Drive". It appears in lsusb for a brief moment but not after it detaches itself.

dmesg:
Code:
[1631945.747782] usb-storage 1-2.4.4:1.0: USB Mass Storage device detected
[1631945.748241] scsi host7: usb-storage 1-2.4.4:1.0
[1631947.121728] scsi 7:0:0:0: Direct-Access                                    PQ: 0 ANSI: 6
[1631947.122336] sd 7:0:0:0: Attached scsi generic sg5 type 0
[1631947.122344] sd 7:0:0:0: Embedded Enclosure Device
[1631947.123021] sd 7:0:0:0: Wrong diagnostic page; asked for 1 got 0
[1631947.123030] sd 7:0:0:0: Failed to get diagnostic page 0x1
[1631947.123036] sd 7:0:0:0: Failed to bind enclosure -19
[1631947.123982] sd 7:0:0:0: [sdd] 61440000 512-byte logical blocks: (31.5 GB/29.3 GiB)
[1631947.124794] sd 7:0:0:0: [sdd] Write Protect is off
[1631947.124801] sd 7:0:0:0: [sdd] Mode Sense: 43 00 00 00
[1631947.125553] sd 7:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[1631947.250374] sd 7:0:0:0: [sdd] Attached SCSI removable disk
[1631979.192107] usb 1-2.4.4: reset high-speed USB device number 7 using xhci_hcd
[1631984.303880] usb 1-2.4.4: device descriptor read/64, error -110
[1631999.919849] usb 1-2.4.4: device descriptor read/64, error -110
[1632000.115911] usb 1-2.4.4: reset high-speed USB device number 7 using xhci_hcd
[1632000.203905] usb 1-2.4.4: device descriptor read/64, error -71
[1632000.399971] usb 1-2.4.4: device descriptor read/64, error -71
[1632000.591924] usb 1-2.4.4: reset high-speed USB device number 7 using xhci_hcd
[1632000.592040] usb 1-2.4.4: Device not responding to setup address.
[1632000.799945] usb 1-2.4.4: Device not responding to setup address.
[1632001.007827] usb 1-2.4.4: device not accepting address 7, error -71
[1632001.087835] usb 1-2.4.4: reset high-speed USB device number 7 using xhci_hcd
[1632001.087986] usb 1-2.4.4: Device not responding to setup address.
[1632001.299920] usb 1-2.4.4: Device not responding to setup address.
[1632001.507835] usb 1-2.4.4: device not accepting address 7, error -71
[1632001.509987] sd 7:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=54s
[1632001.510000] sd 7:0:0:0: [sdd] tag#0 CDB: Read(10) 28 00 03 a9 7e f8 00 00 08 00
[1632001.510004] blk_update_request: I/O error, dev sdd, sector 61439736 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[1632001.512590] usb 1-2.4.4: USB disconnect, device number 7
[1632001.527992] blk_update_request: I/O error, dev sdd, sector 61439736 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[1632001.528012] Buffer I/O error on dev sdd, logical block 7679967, async page read
[1632001.647910] usb 1-2.4.4: new high-speed USB device number 8 using xhci_hcd
[1632001.731899] usb 1-2.4.4: device descriptor read/64, error -71
[1632001.920012] usb 1-2.4.4: device descriptor read/64, error -71
[1632002.111913] usb 1-2.4.4: new high-speed USB device number 9 using xhci_hcd
[1632002.191886] usb 1-2.4.4: device descriptor read/64, error -71
[1632002.383947] usb 1-2.4.4: device descriptor read/64, error -71
[1632002.492567] usb 1-2.4-port4: attempt power cycle
[1632003.103859] usb 1-2.4.4: new high-speed USB device number 10 using xhci_hcd
[1632003.103973] usb 1-2.4.4: Device not responding to setup address.
[1632003.312027] usb 1-2.4.4: Device not responding to setup address.
[1632003.523864] usb 1-2.4.4: device not accepting address 10, error -71
[1632003.607848] usb 1-2.4.4: new high-speed USB device number 11 using xhci_hcd
[1632003.607992] usb 1-2.4.4: Device not responding to setup address.
[1632003.816284] usb 1-2.4.4: Device not responding to setup address.
[1632004.023909] usb 1-2.4.4: device not accepting address 11, error -71
[1632004.024849] usb 1-2.4-port4: unable to enumerate USB device
On Windows, I get a "USB device not recognized" error. A different computer also doesn't recognize it. There is clearly something wrong with that flash drive.

The flash drive is a hybrid (USB-A and USB-OTG) flash drive. A smartphone I tested it with doesn't recognize it either.

Does anyone have an idea what caused this and how to make the USB stick work again?

And has anyone had similar experiences or is this an isolated occurance?
 
Old 09-22-2025, 08:22 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 25,024

Rep: Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207Reputation: 8207
Code:
[1632001.509987] sd 7:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_TIME_OUT driverbyte=DRIVER_OK cmd_age=54s
[1632001.510000] sd 7:0:0:0: [sdd] tag#0 CDB: Read(10) 28 00 03 a9 7e f8 00 00 08 00
[1632001.510004] blk_update_request: I/O error, dev sdd, sector 61439736 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
It looks dead, but I don't know why.
 
Old 09-22-2025, 10:36 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,295

Rep: Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381
The fact that you get the problem with both Linux and Windows, and on two different computers, shows that the fault lies in the usb stick and not in the usb port or software. The only remedy is to use gparted to wipe it and re-format. Of course, if gparted doesn't see it, you've really got a problem! In that case, try as root user
Code:
dd if=/dev/zero bs=1M count=10 of=/dev/...
using the correct device — you could find that, if you don't know how your system designates it by mounting a functioning usb stick and checking with mount. If gparted still can't see it, the the problem is physical and uncurable.
 
Old 09-22-2025, 10:48 AM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 2,237

Rep: Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622Reputation: 622
Flash drives die. This one appears to be dead. I don't know of a way to revive a dead one. I've had to toss several over the years.
 
Old 09-23-2025, 10:59 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,295

Rep: Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381Reputation: 2381
Quote:
Originally Posted by sgosnell View Post
Flash drives die.
True. My rule is
  1. First failure, use fsck
  2. Second failure, use parted
  3. Third failure, recycle it
 
Old 09-24-2025, 08:59 AM   #6
nutronix
Member
 
Registered: Jan 2003
Location: montreal
Distribution: Debian Ubuntu & Slackware
Posts: 151
Blog Entries: 1

Rep: Reputation: 20
Dead stick

Quote=(Does anyone have an idea what caused this and how to make the USB stick work again?)

I remember a friend working on a university paper, just removed the USB the incorrect way (it was not the first time) and the stick went dead.That could be the cause or sometimes the stick just dies.

Some brands are better than others. The cheapest one is not necessary the best.

My to cents.
 
  


Reply

Tags
flash drive



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Server's getting attacked, httpd doesn't stop! (restarts itself after a few seconds) Seregwethrin Linux - Server 4 05-24-2009 07:20 AM
Mouse stops working fully after screen detaches Anithen Slackware 11 07-28-2008 04:54 AM
Mouse stops working fully after screen detaches in Fluxbox Anithen Linux - Software 1 01-28-2008 06:41 AM
[FC4] USB Stick unmounts itself every 30 seconds, cannot put data onit polemon Linux - Newbie 2 07-24-2005 11:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration