On Thu, 24 Aug 2006, Anton Litvinov wrote: > Hi, > I have a problem with my USB flash memory. > It is "Patriot MEMORY" 1Gb, USB2.0 (vendor id 13fe, prod. id 1a21). > I tried different linux based distors (Fedora 5, Ubuntu 6.06) > and always get the same: > when I plug this device the LED on it starts blinking and > never stops. > > cat /proc/bus/usb/devices blocks until USB flash is unplugged or > usb_storage module unload. > > dmesg says me the following: > > Initializing USB Mass Storage driver... > scsi4 : SCSI emulation for USB Mass Storage devices > usb-storage: device found at 3 > usb-storage: waiting for device to settle before scanning > usbcore: registered new driver usb-storage > USB Mass Storage support registered. > Vendor: Model: USB DISK Pro Rev: PMAP > Type: Direct-Access ANSI SCSI revision: 00 > SCSI device sdb: 1965056 512-byte hdwr sectors (1006 MB) > sdb: Write Protect is off > sdb: Mode Sense: 23 00 00 00 > sdb: assuming drive cache: write through > SCSI device sdb: 1965056 512-byte hdwr sectors (1006 MB) > sdb: Write Protect is off > sdb: Mode Sense: 23 00 00 00 > sdb: assuming drive cache: write through > sdb:<6>usb 3-6: reset high speed USB device using ehci_hcd and address 3 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: reset high speed USB device using ehci_hcd and address 3 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: reset high speed USB device using ehci_hcd and address 3 > usb 3-6: device not accepting address 3, error -110 > usb 3-6: reset high speed USB device using ehci_hcd and address 3 > usb 3-6: device not accepting address 3, error -110 > usb 3-6: USB disconnect, address 3 > sd 4:0:0:0: scsi: Device offlined - not ready after error recovery > sd 4:0:0:0: SCSI error: return code = 0x50000 > end_request: I/O error, dev sdb, sector 0 > Buffer I/O error on device sdb, logical block 0 > sd 4:0:0:0: rejecting I/O to offline device > Buffer I/O error on device sdb, logical block 0 > sd 4:0:0:0: rejecting I/O to offline device > Buffer I/O error on device sdb, logical block 0 > unable to read partition table > sd 4:0:0:0: Attached scsi removable disk sdb > sd 4:0:0:0: Attached scsi generic sg1 type 0 > usb-storage: device scan complete > usb 3-6: new high speed USB device using ehci_hcd and address 4 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: new high speed USB device using ehci_hcd and address 5 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: device descriptor read/64, error -110 > usb 3-6: new high speed USB device using ehci_hcd and address 6 > > > > In FreeBSD 6.1 this drive works correctly. > FreeBSD detects it as 2 mass storage devices: > umass0: vendor 0x13fe USB DISK Pro, rev 2.00/1.00, addr 2 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: < USB DISK Pro PMAP> Removable Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 959MB (1965056 512 byte sectors: 64H 32S/T 959C) > da1 at umass-sim0 bus 0 target 0 lun 1 > da1: < USB DISK Pro PMAP> Removable Direct Access SCSI-0 device > da1: 40.000MB/s transfers > da1: 24MB (50176 512 byte sectors: 64H 32S/T 24C) > > > How can make this device work in Linux?
It looks like some driver is crashing the device. Please turn on CONFIG_USB_STORAGE_DEBUG, rebuild usb-storage, and post the resulting dmesg log. That ought to pinpoint the offending command. Alan Stern ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users