Problems with USB external hard drive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been having some trouble recently with a 300 gig ATA hard drive
that I have in a ByteCC external enclosure that I got from NewEgg back
in July.  It was working just fine until it would start to hang during
file I/O.  I don't have this problems with Windows XP when I format it
with NTFS.  I'm not sure if it's a problem with the hard drive itself or
a configuration error with Linux.  I've searched Google on this and I"ve
not found anything conclusive at this point.

I'm currently running 2.6.13.4 on Fedora Core 4.  

I get the following with lsusb:

Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0402:5621 ALi Corp. USB 2.0 Storage Device
Bus 001 Device 002: ID 2001:f103 D-Link Corp. [hex]
Bus 001 Device 001: ID 0000:0000

I get this error message in /var/log/messages when the file I/O hangs:

Oct 25 22:19:23 localhost kernel: usb 1-2.6: reset full speed USB device
using uhci_hcd and address 3
Oct 25 22:19:23 localhost kernel: SCSI error : <2 0 0 0> return code =
0x8000002
Oct 25 22:19:23 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:19:23 localhost kernel:     Additional sense: Write protected
Oct 25 22:19:23 localhost kernel: end_request: I/O error, dev sda,
sector 4294961479
Oct 25 22:19:23 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480708
Oct 25 22:19:23 localhost kernel: lost page write due to I/O error on
sda1
Oct 25 22:19:23 localhost kernel: SCSI error : <2 0 0 0> return code =
0x8000002
Oct 25 22:19:23 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:19:23 localhost kernel:     Additional sense: Write protected
Oct 25 22:19:23 localhost kernel: end_request: I/O error, dev sda,
sector 4294961481
Oct 25 22:19:23 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480709
Oct 25 22:19:23 localhost kernel: lost page write due to I/O error on
sda1
Oct 25 22:19:23 localhost kernel: SCSI error : <2 0 0 0> return code =
0x8000002
Oct 25 22:19:23 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:19:23 localhost kernel:     Additional sense: Write protected
Oct 25 22:19:23 localhost kernel: end_request: I/O error, dev sda,
sector 4294961483
Oct 25 22:19:23 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480710
Oct 25 22:19:23 localhost kernel: lost page write due to I/O error on
sda1
Oct 25 22:19:23 localhost kernel: SCSI error : <2 0 0 0> return code =
0x8000002
Oct 25 22:19:23 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:19:23 localhost kernel:     Additional sense: Write protected
Oct 25 22:19:23 localhost kernel: end_request: I/O error, dev sda,
sector 4294961485
Oct 25 22:19:23 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480711
Oct 25 22:19:23 localhost kernel: lost page write due to I/O error on
sda1
Oct 25 22:19:23 localhost kernel: SCSI error : <2 0 0 0> return code =
0x8000002
Oct 25 22:19:23 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:19:23 localhost kernel:     Additional sense: Write protected
Oct 25 22:19:23 localhost kernel: end_request: I/O error, dev sda,
sector 4294961487
Oct 25 22:19:23 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480712
Oct 25 22:19:23 localhost kernel: lost page write due to I/O error on
sda1
Oct 25 22:19:24 localhost kernel: SCSI error : <2 0 0 0> return code =
0x8000002
Oct 25 22:19:24 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:19:24 localhost kernel:     Additional sense: Write protected
Oct 25 22:19:24 localhost kernel: end_request: I/O error, dev sda,
sector 4294961489
Oct 25 22:19:24 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480713
Oct 25 22:19:24 localhost kernel: lost page write due to I/O error on
sda1

When I do a modprobe uhci-hcd, this is what happens when it sees the
external hard drive:

Oct 25 22:28:30 localhost kernel: USB Universal Host Controller
Interface driver v2.3
Oct 25 22:28:30 localhost kernel: ACPI: PCI Interrupt 0000:00:07.2[D] ->
GSI 10 (level, low) -> IRQ 10
Oct 25 22:28:30 localhost kernel: uhci_hcd 0000:00:07.2: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Oct 25 22:28:30 localhost kernel: uhci_hcd 0000:00:07.2: detected 2
ports
Oct 25 22:28:30 localhost kernel: uhci_hcd 0000:00:07.2: new USB bus
registered, assigned bus number 1
Oct 25 22:28:30 localhost kernel: uhci_hcd 0000:00:07.2: irq 10, io base
0x0000d000
Oct 25 22:28:30 localhost kernel: usb usb1: Product: VIA Technologies,
Inc. VT82xxxxx UHCI USB 1.1 Controller
Oct 25 22:28:30 localhost kernel: usb usb1: Manufacturer: Linux 2.6.13.4
uhci_hcd
Oct 25 22:28:30 localhost kernel: usb usb1: SerialNumber: 0000:00:07.2
Oct 25 22:28:31 localhost kernel: hub 1-0:1.0: USB hub found
Oct 25 22:28:31 localhost kernel: hub 1-0:1.0: 2 ports detected
Oct 25 22:28:31 localhost kernel: ACPI: PCI Interrupt 0000:00:07.3[D] ->
GSI 10 (level, low) -> IRQ 10
Oct 25 22:28:31 localhost kernel: uhci_hcd 0000:00:07.3: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
Oct 25 22:28:31 localhost kernel: uhci_hcd 0000:00:07.3: detected 2
ports
Oct 25 22:28:31 localhost kernel: uhci_hcd 0000:00:07.3: new USB bus
registered, assigned bus number 2
Oct 25 22:28:31 localhost kernel: uhci_hcd 0000:00:07.3: irq 10, io base
0x0000d400
Oct 25 22:28:31 localhost kernel: usb usb2: Product: VIA Technologies,
Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
Oct 25 22:28:31 localhost kernel: usb usb2: Manufacturer: Linux 2.6.13.4
uhci_hcd
Oct 25 22:28:31 localhost kernel: usb usb2: SerialNumber: 0000:00:07.3
Oct 25 22:28:31 localhost kernel: hub 2-0:1.0: USB hub found
Oct 25 22:28:31 localhost kernel: hub 2-0:1.0: 2 ports detected
Oct 25 22:28:31 localhost kernel: usb 1-2: new full speed USB device
using uhci_hcd and address 2
Oct 25 22:28:32 localhost kernel: hub 1-2:1.0: USB hub found
Oct 25 22:28:32 localhost kernel: hub 1-2:1.0: 7 ports detected
Oct 25 22:28:32 localhost kernel: usb 1-2.6: new full speed USB device
using uhci_hcd and address 3
Oct 25 22:28:32 localhost kernel: usb 1-2.6: Product: USB 2.0 Storage
Device
Oct 25 22:28:32 localhost kernel: usb 1-2.6: SerialNumber:
00042222200000105632
Oct 25 22:28:32 localhost kernel: scsi3 : SCSI emulation for USB Mass
Storage devices
Oct 25 22:28:37 localhost kernel:   Vendor: USB 2.0   Model: Storage
Device    Rev: 0111
Oct 25 22:28:37 localhost kernel:   Type:   Direct-Access
ANSI SCSI revision: 00
Oct 25 22:28:37 localhost kernel: SCSI device sda: 4294967292 512-byte
hdwr sectors (2199023 MB)
Oct 25 22:28:37 localhost kernel: sda: assuming drive cache: write
through
Oct 25 22:28:37 localhost kernel: SCSI device sda: 4294967291 512-byte
hdwr sectors (2199023 MB)
Oct 25 22:28:37 localhost kernel: sda: assuming drive cache: write
through
Oct 25 22:28:37 localhost kernel:  sda:<7>usb-storage: queuecommand
called
Oct 25 22:28:37 localhost kernel:  sda1
Oct 25 22:28:37 localhost kernel: Attached scsi disk sda at scsi3,
channel 0, id 0, lun 0
Oct 25 22:28:37 localhost kernel: Attached scsi generic sg2 at scsi3,
channel 0, id 0, lun 0,  type 0
Oct 25 22:28:38 localhost scsi.agent[13549]: disk
at /devices/pci0000:00/0000:00:07.2/usb1/1-2/1-2.6/1-2.6:1.0/host3/target3:0:0/3:0:0:0
Oct 25 22:28:41 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:41 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:41 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:41 localhost kernel: end_request: I/O error, dev sda,
sector 4294961471
Oct 25 22:28:41 localhost kernel: printk: 254299 messages suppressed.
Oct 25 22:28:41 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480704
Oct 25 22:28:43 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:43 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:43 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:43 localhost kernel: end_request: I/O error, dev sda,
sector 4294961473
Oct 25 22:28:43 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480705
Oct 25 22:28:45 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:45 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:45 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:45 localhost kernel: end_request: I/O error, dev sda,
sector 4294961475
Oct 25 22:28:45 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480706
Oct 25 22:28:46 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:46 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:46 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:46 localhost kernel: end_request: I/O error, dev sda,
sector 4294961477
Oct 25 22:28:46 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480707
Oct 25 22:28:48 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:48 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:48 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:48 localhost kernel: end_request: I/O error, dev sda,
sector 4294961471
Oct 25 22:28:48 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480704
Oct 25 22:28:50 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:50 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:50 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:50 localhost kernel: end_request: I/O error, dev sda,
sector 4294961473
Oct 25 22:28:50 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480705
Oct 25 22:28:52 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:52 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:52 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:52 localhost kernel: end_request: I/O error, dev sda,
sector 4294961475
Oct 25 22:28:52 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480706
Oct 25 22:28:54 localhost kernel: SCSI error : <3 0 0 0> return code =
0x8000002
Oct 25 22:28:54 localhost kernel: sda: Current: sense key: Data Protect
Oct 25 22:28:54 localhost kernel:     Additional sense: Write protected
Oct 25 22:28:54 localhost kernel: end_request: I/O error, dev sda,
sector 4294961477
Oct 25 22:28:54 localhost kernel: Buffer I/O error on device sda1,
logical block 2147480707




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux