Hi all, after I moved my Debian root file system on a 8GB USB memory stick I observed a very rare disconnect of the stick, leaving me with an totally unusable system. dmesg shows something like |usb 1-5: reset high speed USB device using ehci_hcd and address 5 |usb 1-5: device descriptor read/64, error -110 |usb 1-5: device descriptor read/64, error -110
However later tests on another computer proved that this is not related to the root file system on the stick. But as this happens only once every few hours of usage of the stick, I observe it almost only when the root file system is there. Just copying files is doesn't take long enough. I could reproduce this several times, one time even at a desktop computer, where the USB stick is connected to the onboard Intel USB controller (lspci: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01)). But maybe this was a totally different failure.. I don't know if this is related, but later recovery of the filesystem (ext3 or reiserfs) showed some serious errors. I lost several files on my filesystem almost every time when this happened. At first I thought it's just that the power supply to the USB stick is cut off. To prove that I've made a new USB cable, where I could switch off the power lanes. Then I copied some files on the stick and cut the power lanes. As expected the stick stopped working instantaneously, but dmesg shows something different: |usb 1-5: USB disconnect, address 19 |sd 12:0:0:0: [sdb] Result: hostbyte=0x01 driverbyte=0x00 |end_request: I/O error, dev sdb, sector 1013880 and the journaling filesystems never got screwed up that horrible with this setup. Thus it's not a simple power-cutoff.. My questions: Anyone experiencing something similar? Does someone what's happening? Could my hardware be defective? (stick, controller, ??) Is a workaround known? What can I do? What should I do? Thanks for any help, Martin. Some more details: The memory stick (8GB) is from "Buffalo", connected to a high speed port of an PCMCIA card with a chipset from NEC. Kernel ist plain 2.6.22. -lsusb: |Bus 001 Device 007: ID 0411:0098 MelCo., Inc. -lspci: |03:00.0 USB Controller: NEC Corporation USB (rev 43) |03:00.1 USB Controller: NEC Corporation USB (rev 43) |03:00.2 USB Controller: NEC Corporation USB 2.0 (rev 04) Everything works fine for a few hours mostly. But then suddenly without an obvious reason, the USB stick does not respond anymore. Kernel with "USB debug messages" switched on shows (hand typed): |sd 0:0:0:0: [sda] Assuming drive cache: write through |sda: sda1 |sd 0:0:0:0: [sda] Attached SCSI removable disk ..nothing happens for hours, but then suddenly, while I am sleeping in my bed.. |ehci_hcd 0000:03:00.2 port 2 high speed |ehci_hcd 0000:03:00.2 GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT |usb 4-2: reset high speed USB devide using ehici_hcd and address 2 |usb 4-2: usb-storage timed out on ep0in len=0/64 |usb 4-2: usb-storage timed out on ep0in len=0/64 |usb 4-2: usb-storage timed out on ep0in len=0/64 |ehci_hcd 0000:03:00.2 port 2 high speed |ehci_hcd 0000:03:00.2 GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT |usb 4-2: device descriptor read/64, error -110 |usb 4-2: usb-storage timed out on ep0in len=0/64 |usb 4-2: usb-storage timed out on ep0in len=0/64 |usb 4-2: usb-storage timed out on ep0in len=0/64 .. and some more of these.. |usb 4-2: reset high speed USB device using ehci_hcd and address 2 .. some more of the former and the latter, and finally.. |usb 4-2: device not accepting address 2, error -110 |hub 4-0:1.0: logical disconnect on port 2 |hub 4-0:1.0: state 7 ports 5 chg 0004 evt 0000 |hub 4-0:1.0: port 2, status 0501, change 0000, 480MB/s |usb 4-2: USB disconnect, address 2 |usb 4-2: unregistering device |usb 4-2: usb_disable_device nuking all URBs |usb 4-2: unregistering interface 4-2:1.0 lsusb -v at my desktop computer shows: Bus 001 Device 002: ID 0411:0098 MelCo., Inc. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 idVendor 0x0411 MelCo., Inc. idProduct 0x0098 bcdDevice 40.00 iManufacturer 1 BUFFALO iProduct 2 USB Flash Disk iSerial 3 A100000000121621 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 200mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 255 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 255 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x0000 (Bus Powered) ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users