USB flash drive broken just for linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear list, dear Linux USB Developers,

on the first sight my question seems to be the same like thousands out
there which normally are "damaged device" or "broken cabeling", but I
promise my case is somewhat special.

I have a USB Flash drive (Corsair Voyager 8GB) which long time worked
fine on 3 different PC running Ubuntu (first 8.04, now 8.10).

Today I plugged the device into my laptop, filled it with data and
later on gave the device to a colleague who plugged it into his Ubuntu
8.10. The device wasn't recognised (error messages and debug stuff
follows below).

Since then it doesn't work anymore on my laptop where I filled it this
morning, nor on any other Linux machine I tried it.

One would say, okay, the stick is now dead, got too much voltage or
such, simple as that. But interestingly on Windows it still works
fine. 2 of the 3 PCs I have in reach are dual boot and as soon as I
boot into windows, the stick works like a charm!

So somehow the one Ubuntu system changed something on the stick which
broke functionality with linux only.

Bad thing is that the mass storage driver doesn't even initialize the
block device, so I am not able to e.g. fill the device with zeros to
wipe it. All I can try i need to do on Windows. There I tried deleting
the partition on it and created a fresh FAT32 partition, but to no
avail. Windows: fine, Linux: nothing.

I tried with ehci and ohci (by unloading ehci), but no difference
(beside mentioning the actively used driver in the error messages), I
tried booting with acpi=noirq or acpi=off and tried to give usbcore
module the option "old_scheme_first=y". No change at all.

Okay, now the dirty details about my main system where I did all research:

Ubuntu 8.10 running on an Acer Extensa 5220 (Celeron M540 on an Intel
GM965 chipset)

While pluggin in the usb stick I have following dmesg output:

[ 3600.916141] usb 4-1: new full speed USB device using uhci_hcd and address 11
[ 3616.029425] usb 4-1: device descriptor read/64, error -110
[ 3631.244060] usb 4-1: device descriptor read/64, error -110
[ 3631.460053] usb 4-1: new full speed USB device using uhci_hcd and address 12
[ 3646.572555] usb 4-1: device descriptor read/64, error -110
[ 3661.788051] usb 4-1: device descriptor read/64, error -110
[ 3662.004060] usb 4-1: new full speed USB device using uhci_hcd and address 13
[ 3672.412680] usb 4-1: device not accepting address 13, error -110
[ 3672.524051] usb 4-1: new full speed USB device using uhci_hcd and address 14
[ 3682.932043] usb 4-1: device not accepting address 14, error -110
[ 3682.932575] hub 4-0:1.0: unable to enumerate USB device on port 1

and following entries in messages:

Feb  2 19:48:07 azure kernel: [  435.092045] usb 7-1: new high speed
USB device using ehci_hcd and address 2
Feb  2 19:48:07 azure kernel: [  435.259426] usb 7-1: configuration #1
chosen from 1 choice
Feb  2 19:48:08 azure kernel: [  435.386281] usbcore: registered new
interface driver libusual
Feb  2 19:48:08 azure kernel: [  435.417478] Initializing USB Mass
Storage driver...
Feb  2 19:48:08 azure kernel: [  435.418846] scsi5 : SCSI emulation
for USB Mass Storage devices
Feb  2 19:48:08 azure kernel: [  435.419824] usbcore: registered new
interface driver usb-storage
Feb  2 19:48:08 azure kernel: [  435.420662] USB Mass Storage support
registered.
Feb  2 19:48:18 azure kernel: [  446.032074] usb 7-1: reset high speed
USB device using ehci_hcd and address 2
Feb  2 19:48:49 azure kernel: [  476.580159] usb 7-1: reset high speed
USB device using ehci_hcd and address 2
Feb  2 19:49:19 azure kernel: [  507.124586] usb 7-1: reset high speed
USB device using ehci_hcd and address 2
Feb  2 19:49:30 azure kernel: [  517.644073] usb 7-1: reset high speed
USB device using ehci_hcd and address 2
Feb  2 19:49:40 azure kernel: [  528.052795] usb 7-1: USB disconnect, address 2
Feb  2 19:49:40 azure kernel: [  528.056732] scsi 5:0:0:0: Device
offlined - not ready after error recovery

 /proc/bus/usb/devices shows this output for the device:

T:  Bus=07 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1b1c ProdID=0ad0 Rev= 1.00
S:  Manufacturer=Corsair
S:  Product=Flash Voyager
S:  SerialNumber=000802215821B4AB4A64
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

and last but not least I attached the output of usbmon which I ran
while plugging in the device until the "device offlined" message
appeared.

lsusb reezes until the device is removed.

Can anybody see any cause in all those infos? Can I provide more infos
on any detail?

If anyone knows some more creative ways to wipe any false informations
on the device which may cause this, it would help as well!

Thank you all and best regards,
Daniel

Attachment: 1.mon.out
Description: Binary data


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux