Hi,
I've got an external hard drive with a Firewire / USB enclosure which has started causing problems for me lately. I'm running debian testing, with the 2.6.24+13 kernel (i think it's from unstable), and the drive is formatted with ntfs (i use ntfs-3g to access it).
Since a couple of days ago, when using USB for the drive, it fails quite frequently during reading/copying of files. Initially I thought that there might be filesystem errors or bad sectors, but running scandisk on the drive in "the other OS" showed no problems. Windows also had no difficulty copying the same files from the disk with either USB or Firewire. Yes - Vista successfully copying files, i was suprised :). Notably, scandisk is the only thing i use vista for these days.
I have been using this drive for many months without problems, and have been running this kernel for 11 days. The hard disk was working for a week without issues.
Here is the output of dmesg of the device being plugged in.
usb 7-1: new high speed USB device using ehci_hcd and address 8
usb 7-1: configuration #1 chosen from 1 choice
scsi5 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 5:0:0:0: Direct-Access ST332062 0A 3.AA PQ: 0 ANSI: 0
sd 5:0:0:0: [sdc] 625142447 512-byte hardware sectors (320073 MB)
sd 5:0:0:0: [sdc] Write Protect is off
sd 5:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 5:0:0:0: [sdc] Assuming drive cache: write through
sd 5:0:0:0: [sdc] 625142447 512-byte hardware sectors (320073 MB)
sd 5:0:0:0: [sdc] Write Protect is off
sd 5:0:0:0: [sdc] Mode Sense: 03 00 00 00
sd 5:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 5:0:0:0: [sdc] Attached SCSI disk
SELinux: initialized (dev sdc1, type fuseblk), not configured for labeling
audit(1204262929.936:74): avc: denied { mount } for pid=6591 comm="mount.ntfs-3g" name="/" dev=sdc1 ino=1 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=filesystem
audit(1204262929.936:75): avc: denied { execute_no_trans } for pid=6594 comm="mount.ntfs-3g" path="/bin/mount" dev=dm-2 ino=951507 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:object_r:mount_exec_t:s0 tclass=file
I then try to copy a file:
ehci_hcd 0000:00:1d.7: dev 1 ep2in scatterlist error -104/-121
usb 7-1: reset high speed USB device using ehci_hcd and address 8
ehci_hcd 0000:00:1d.7: dev 1 ep2in scatterlist error -104/-121
usb 7-1: reset high speed USB device using ehci_hcd and address 8
usb 7-1: reset high speed USB device using ehci_hcd and address 8
ehci_hcd 0000:00:1d.7: dev 1 ep2in scatterlist error -104/-121
usb 7-1: reset high speed USB device using ehci_hcd and address 8
usb 7-1: reset high speed USB device using ehci_hcd and address 8
usb 7-1: reset high speed USB device using ehci_hcd and address 8
ehci_hcd 0000:00:1d.7: dev 1 ep2in scatterlist error -104/-121
usb 7-1: reset high speed USB device using ehci_hcd and address 8
ehci_hcd 0000:00:1d.7: dev 1 ep2in scatterlist error -104/-121
ehci_hcd 0000:00:1d.7: dev 1 ep2in scatterlist error -104/-121
usb 7-1: reset high speed USB device using ehci_hcd and address 8
usb 7-1: USB disconnect, address 8
sd 5:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdc, sector 313130535
Buffer I/O error on device sdc1, logical block 39141309
sd 5:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdc, sector 313130535
Buffer I/O error on device sdc1, logical block 39141309
sd 5:0:0:0: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
end_request: I/O error, dev sdc, sector 313130535
Buffer I/O error on device sdc1, logical block 39141309
Buffer I/O error on device sdc1, logical block 39141309
Buffer I/O error on device sdc1, logical block 786433
Buffer I/O error on device sdc1, logical block 786433
Buffer I/O error on device sdc1, logical block 786433
Buffer I/O error on device sdc1, logical block 786433
Buffer I/O error on device sdc1, logical block 786433
Can anyone help me with these errors? What do they mean?
Since this is probably a problem in the USB driver, I have tried plugging the drive in with firewire, but nothing happens. I can't spot any new devices in /dev/.
This is what comes up in dmesg using firewire:
firewire_core: phy config: card 0, new root=ffc1, gap_count=5
firewire_core: phy config: card 0, new root=ffc1, gap_count=5
Is there anything else i need to do to mount the firewire device?
Any help would be appreciated.
Thanks, Jamei
Bookmark/Search this post with: