You are not logged in.

#1 2009-12-26 17:33:44

lieut_data
Member
Registered: 2008-02-01
Posts: 5

USB Drive Resets during file copy, interrupting file operations

Fresh Arch Linux install, working USB thumb drive (Windows, previous Arch Linux setups, etc.), formatted FAT32.

Seems to randomly reset, eject, and auto-re-mount during extensive file operations (i.e. copying 4gb worth of 800 files from the USB thumb drive to disk).

I've tried various USB ports to no avail; no external hub being used.

Thoughts? Not sure where to begin diagnosing:

dmesg:

usb 1-1: configuration #1 chosen from 1 choice                                                                                
scsi17 : SCSI emulation for USB Mass Storage devices                                                                          
usb-storage: device found at 15                                                                                               
usb-storage: waiting for device to settle before scanning                                                                     
scsi 17:0:0:0: Direct-Access     OCZ      RALLY2           1100 PQ: 0 ANSI: 0 CCS                                             
sd 17:0:0:0: Attached scsi generic sg2 type 0                                                                                 
usb-storage: device scan complete                                                                                             
sd 17:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)                                                       
sd 17:0:0:0: [sdb] Write Protect is off                                                                                       
sd 17:0:0:0: [sdb] Mode Sense: 43 00 00 00                                                                                    
sd 17:0:0:0: [sdb] Assuming drive cache: write through                                                                        
sd 17:0:0:0: [sdb] Assuming drive cache: write through                                                                        
 sdb: sdb1                                                                                                                    
sd 17:0:0:0: [sdb] Assuming drive cache: write through                                                                        
sd 17:0:0:0: [sdb] Attached SCSI removable disk                                                                               
usb 1-1: reset high speed USB device using ehci_hcd and address 15                                                            
sd 17:0:0:0: [sdb] Unhandled error code                                                                                       
sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00                                                                      
end_request: I/O error, dev sdb, sector 7589504                                                                               
sd 17:0:0:0: [sdb] Unhandled error code                                                                                       
sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00                                                                      
end_request: I/O error, dev sdb, sector 7589744                                                                               
sd 17:0:0:0: [sdb] Unhandled error code                                                                                       
sd 17:0:0:0: [sdb] Result: hostbyte=0x07 driverbyte=0x00                                                                      
end_request: I/O error, dev sdb, sector 7589776                                                                               
usb 1-1: USB disconnect, address 15                                                                                           
FAT: bread failed in fat_clusters_flush                                                                                       
FAT: FAT read failed (blocknr 3805)                                                                                           
FAT: Directory bread(block 24147944) failed                                                                                  
FAT: FAT read failed (blocknr 3818)                                                                                           

<snip lots of repeats>

FAT: FAT read failed (blocknr 4032)
FAT: bread failed in fat_clusters_flush
FAT: bread failed in fat_clusters_flush
FAT: bread failed in fat_clusters_flush
usb 1-1: new high speed USB device using ehci_hcd and address 16
usb 1-1: configuration #1 chosen from 1 choice
scsi18 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 16
usb-storage: waiting for device to settle before scanning
scsi 18:0:0:0: Direct-Access     OCZ      RALLY2           1100 PQ: 0 ANSI: 0 CCS
sd 18:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 18:0:0:0: [sdb] 31326208 512-byte logical blocks: (16.0 GB/14.9 GiB)
sd 18:0:0:0: [sdb] Write Protect is off
sd 18:0:0:0: [sdb] Mode Sense: 43 00 00 00
sd 18:0:0:0: [sdb] Assuming drive cache: write through
sd 18:0:0:0: [sdb] Assuming drive cache: write through
 sdb: sdb1
sd 18:0:0:0: [sdb] Assuming drive cache: write through
sd 18:0:0:0: [sdb] Attached SCSI removable disk

lsusb -v for the drive:

Bus 001 Device 016: ID 0325:ac02 OCZ Technology Inc ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive
Device Descriptor:                                                                                     
  bLength                18                                                                            
  bDescriptorType         1                                                                            
  bcdUSB               2.00                                                                            
  bDeviceClass            0 (Defined at Interface level)                                               
  bDeviceSubClass         0                                                                            
  bDeviceProtocol         0                                                                            
  bMaxPacketSize0        64                                                                            
  idVendor           0x0325 OCZ Technology Inc                                                         
  idProduct          0xac02 ATV Turbo / Rally2 Dual Channel USB 2.0 Flash Drive                        
  bcdDevice           11.00                                                                            
  iManufacturer           1 OCZ Technology                                                             
  iProduct                2 RALLY2                                                                     
  iSerial                 3 AA04012700275633                                                           
  bNumConfigurations      1                                                                            
  Configuration Descriptor:                                                                            
    bLength                 9                                                                          
    bDescriptorType         2                                                                          
    wTotalLength           32                                                                          
    bNumInterfaces          1                                                                          
    bConfigurationValue     1                                                                          
    iConfiguration          0                                                                          
    bmAttributes         0x80                                                                          
      (Bus Powered)                                                                                    
    MaxPower              300mA                                                                        
    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)

Last edited by lieut_data (2009-12-26 17:39:56)

Offline

Board footer

Powered by FluxBB