You are not logged in.

#1 2006-06-07 22:19:49

squalene
Member
Registered: 2005-12-18
Posts: 6

USB external hardrive failing before even trying to mount

Hi, when connecting my external USB hard drive it grinds away for a few seconds, then stops, and repeats.

The following is the section of dmesg that repeats each time it tries to access the drive.

usb 1-4: new high speed USB device using ehci_hcd and address 12
usb 1-4: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 12
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
  Vendor: WDC WD25  Model: 00BB-00GUA0       Rev: 08.0
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
usb 1-4: reset high speed USB device using ehci_hcd and address 12
usb 1-4: failed to restore interface 0 altsetting 0 (error=-110)
usb 1-4: USB disconnect, address 12
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda : READ CAPACITY failed.
sda : status=0, message=00, host=1, driver=00
sda : sense not available.
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: assuming drive cache: write through
 sda:<6>sd 2:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
sd 2:0:0:0: SCSI error: return code = 0x10000
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
 unable to read partition table
sd 2:0:0:0: Attached scsi disk sda
sd 2:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete

Other USB devices seem to function OK in Arch and I've tried the drive on another linux distro that I keep in a dusty spare corner of my computer and it works without a fuss.

Is anyone familiar with what the issue is here, i'm at a bit of a loss.

Offline

#2 2006-06-08 10:20:24

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: USB external hardrive failing before even trying to mount

Are you using any extension USB cable? (You can't use it with usb hard disks).

Is the cable ok ? Try another one if possible.

Are you trying to connect 1.1 and 2.0 devices to the same USB hub at the same time? Unplug other usb devices and try again.

Is the drive set as master/slave/cable select ? Try different combinations.

Is the drive powered directly from usb plug or external powersource? Use external if you can.

Offline

#3 2006-06-08 18:02:59

squalene
Member
Registered: 2005-12-18
Posts: 6

Re: USB external hardrive failing before even trying to mount

To answer your questions. I'm using the cable that came with the drive without extension. It's an integrated unit rather than a usb hard drive enclosure so I'm not sure whether the actual drive is master/slave/cable select. The drive is externally powered and i've given it a go without other USB devices connected as suggested.

Hopefully I've ruled out it being a hardware or cable issue as it works ok in Ubuntu (but obviously i'd much rather it worked in Arch ;-)

I suspect it's a kernel issue, but as my IPod shuffle connects ok as mass storage I am not sure why the hard drive doesn't.

Offline

#4 2006-06-11 00:56:12

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: USB external hardrive failing before even trying to mount

Good, if it works in ubuntu it should work in arch too. You should now compare configurations and packages version like kernel and udev. Also compare lsusb and lsmod output with the drive connected. Anything looking wrong about usb in dmesg right after the boot ?

Offline

#5 2006-08-04 18:53:37

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: USB external hardrive failing before even trying to mount

which version of kernel were you using? I have similiar problems on 2.6.17 (any of them actually). The problem is gone after installing the last of 2.6.16 version. Must be a bug introduced in .17.

Offline

#6 2006-08-05 08:39:22

squalene
Member
Registered: 2005-12-18
Posts: 6

Re: USB external hardrive failing before even trying to mount

lanrat: apologies for not replying to your suggestions, real life has made the last two months disappear

bboozzoo: I have tried building 2.6.16 from revision 1.132 of the kernel PKGBUILD in cvs. This was the last before the switch to 2.6.17.

Unfortunately booting into my build of 2.6.16 doesn't work (It can't find my root drive). What is the best way to build an old version of the kernel?

Offline

#7 2006-08-05 08:47:48

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: USB external hardrive failing before even trying to mount

it seems that I was content to early, 2.6.16 does not work well either, the device resets every minute or so

Aug  5 10:45:17 laptop kernel: EXT3-fs: mounted filesystem with ordered data mode.
Aug  5 10:45:59 laptop kernel: usb 4-1: reset high speed USB device using ehci_hcd and address 5

I get stuff like this constantly, don't really know what to do as this disk seems to work well with ubuntu.

Offline

#8 2006-09-09 18:20:00

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: USB external hardrive failing before even trying to mount

It was a hardware issue, I ended up soldering the power supply connector to the hard disk. Now it works fine. Try putting the disk in different positions, if it happens to work from time to time, then you may have the same problem as I had.

Offline

Board footer

Powered by FluxBB