Public bug reported:

i have a recent USB 1GB stick which fails with an I/O error on reading a
file but, writing a file seems to work fine. The usb stick information
is below

Bus 004 Device 007: ID 13fe:1a00  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x13fe 
  idProduct          0x1a00 
  bcdDevice            1.10
  iManufacturer           1         
  iProduct                2 USB DISK 2.0    
  iSerial                 3 07691D002757
  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               0
      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               0
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)

kernel message on inserting the USB stick
[848706.388000] usb 4-4: new high speed USB device using ehci_hcd and address 7
[848706.524000] usb 4-4: configuration #1 chosen from 1 choice
[848706.524000] scsi3 : SCSI emulation for USB Mass Storage devices
[848706.524000] usb-storage: device found at 7
[848706.524000] usb-storage: waiting for device to settle before scanning
[848711.524000] usb-storage: device scan complete
[848711.524000] scsi 3:0:0:0: Direct-Access              USB DISK 2.0     PMAP 
PQ: 0 ANSI: 0 CCS
[848712.180000] SCSI device sdb: 2009088 512-byte hdwr sectors (1029 MB)
[848712.184000] sdb: Write Protect is off
[848712.184000] sdb: Mode Sense: 23 00 00 00
[848712.184000] sdb: assuming drive cache: write through
[848712.184000] SCSI device sdb: 2009088 512-byte hdwr sectors (1029 MB)
[848712.184000] sdb: Write Protect is off
[848712.184000] sdb: Mode Sense: 23 00 00 00
[848712.184000] sdb: assuming drive cache: write through
[848712.184000]  sdb: sdb1
[848712.188000] sd 3:0:0:0: Attached scsi removable disk sdb
[848712.188000] sd 3:0:0:0: Attached scsi generic sg2 type 0


Now, when I try to read a file from the USB stick, I receive following error 
messages in the dmesg output along with a popup messages from nautilus saying 
'Error "I/O Error" while copying ...' 

[848948.928000] sd 3:0:0:0: SCSI error: return code = 0x08000002
[848948.928000] sdb: Current: sense key: Medium Error
[848948.928000]     Additional sense: Unrecovered read error
[848948.928000] end_request: I/O error, dev sdb, sector 1414112
[848948.972000] sd 3:0:0:0: SCSI error: return code = 0x08000002
[848948.972000] sdb: Current: sense key: Medium Error
[848948.972000]     Additional sense: Unrecovered read error
[848948.972000] end_request: I/O error, dev sdb, sector 1414160


kernel info: uname -a
Linux sarvothma 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 
GNU/Linux

** Affects: Ubuntu
     Importance: Undecided
         Status: New

-- 
scsi error (medium error) when copying from usb stick
https://bugs.launchpad.net/bugs/133505
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to