LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Help with 500GB USB drive on Fedora Core 3 & 4 (https://www.linuxquestions.org/questions/linux-hardware-18/help-with-500gb-usb-drive-on-fedora-core-3-and-4-a-437244/)

cojo 04-20-2006 05:38 PM

Help with 500GB USB drive on Fedora Core 3 & 4
 
Is there anyone out there that could tell me what the heck is going on. I recently purchased 3 WD 500GB USB drives for backup. When I plugged the drive in to my Fedora Core 3 or 4 machine I get the following errors:

Jun 21 20:40:14 HQIT19645 kernel: Vendor: WD Model: 5000KS External Rev: 101a
Jun 21 20:40:14 HQIT19645 kernel: Type: Direct-Access ANSI SCSI revision: 04
Jun 21 20:40:14 HQIT19645 kernel: SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
Jun 21 20:40:14 HQIT19645 kernel: sdb: assuming drive cache: write through
Jun 21 20:40:14 HQIT19645 kernel: SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
Jun 21 20:40:14 HQIT19645 kernel: sdb: assuming drive cache: write through
Jun 21 20:40:14 HQIT19645 kernel: sdb: sdb1
Jun 21 20:40:14 HQIT19645 kernel: Attached scsi disk sdb at scsi3, channel 0, id 0, lun 0
Jun 21 20:40:14 HQIT19645 scsi.agent[31353]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-4/1-4:1.0/host3/target3:0:0/3:0:0:0
Jun 21 20:41:30 HQIT19645 kernel: usb 1-4: reset high speed USB device using ehci_hcd and address 13
Jun 21 20:41:35 HQIT19645 kernel: usb 1-4: device descriptor read/8, error -110
Jun 21 20:41:40 HQIT19645 kernel: usb 1-4: device descriptor read/8, error -110
Jun 21 20:41:40 HQIT19645 kernel: usb 1-4: reset high speed USB device using ehci_hcd and address 13
Jun 21 20:41:45 HQIT19645 kernel: usb 1-4: device descriptor read/8, error -110
Jun 21 20:41:50 HQIT19645 kernel: usb 1-4: device descriptor read/8, error -110
Jun 21 20:41:50 HQIT19645 kernel: usb 1-4: reset high speed USB device using ehci_hcd and address 13
Jun 21 20:41:53 HQIT19645 kernel: usb 1-4: device descriptor read/64, error -110
Jun 21 20:42:09 HQIT19645 kernel: usb 1-4: device descriptor read/64, error -110
Jun 21 20:42:09 HQIT19645 kernel: usb 1-4: reset high speed USB device using ehci_hcd and address 13
Jun 21 20:42:12 HQIT19645 kernel: usb 1-4: device descriptor read/64, error -110
Jun 21 20:42:27 HQIT19645 kernel: usb 1-4: device descriptor read/64, error -110
Jun 21 20:42:27 HQIT19645 kernel: scsi: Device offlined - not ready after error recovery: host 3 channel 0 id 0 lun 0
Jun 21 20:42:27 HQIT19645 kernel: scsi3 (0:0): rejecting I/O to offline device
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 0
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 1
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 2
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 3
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 4
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 5
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 6
Jun 21 20:42:27 HQIT19645 kernel: Buffer I/O error on device sdb, logical block 7
Jun 21 20:42:27 HQIT19645 kernel: usb 1-4: USB disconnect, address 13
Jun 21 20:42:27 HQIT19645 kernel: scsi3 (0:0): rejecting I/O to offline device


But, I was using a WD 400GB USB drive without any problem at all. Any ideas anyone??? My server is up to date on all updates.

notorp 04-20-2006 06:54 PM

Does the firewire connection work?

cojo 04-21-2006 08:27 AM

This is a usb device. Yes. both usb ports and HD work.

kg4ysy 04-21-2006 10:14 AM

Does this device work on another computer or a different operating system? It sounds like the disc isn't in great shape. If you can get it to work in Windows, go to Western Digital's website and get their diagnostic utility or some other utility, and scan for bad sectors and what not.

cojo 04-26-2006 04:07 PM

Yes, I can get it to work on Windows. It's not the hardware. Because, this is a brand new drive(s). I just brought 3 of them at the same time. They all worked fine on Windows and failed on Fedora Core 3.

kg4ysy 04-26-2006 04:15 PM

What r the drives formatted?

(fdisk /dev/sdb)

cojo 04-26-2006 04:23 PM

I have tried it with the default fat file system and ntfs. They both failed. I like to partition it with ext3 filesystem. But, I can't even get that far. It stopped after Fedora detected a drive have plugged into the machine.

jeremie_rafin 11-07-2006 01:33 AM

Hi,

Is there any news on that topic?

I meet the same issue on Mandriva 2006 (with Linux kernel 2.6.12-12): my Western Digital "MyBook" 500GB does not want to be mounted properly. :cry:

Among many tries, this one seems to be interesting: an "lsusb" returns the hard disk during several seconds, then is being blocked during a couple of minutes (ctrl-c does not stop it) and finally works again but does not return my extern storage...

For information, I tried to mount it with Kaella 2.1 (which is a CD bootable Linux distribution with a 2.6.12 kernel if I remember correctly) and I have the same symptomes (especially this lsusb behavior)!

Of course my disk does work with Window$ XP; I have created a (single) 500MB FAT32 partition on which I have stored many things. With Mandriva, I can see during a couple of minutes /dev/sdd and /dev/sdd1, but can not mount it.

I am afraid the problem is due to Linux, unable to handle WD external device; I hope I am wrong, at least you can show me my mistake ;) ;)

Thanks for any information!

Jérémie


Here are latest relevant lines of /var/log/messages:

Code:

Nov  7 08:04:10 bilbao kernel: usb 2-3: new high speed USB device using ehci_hcd and address 4
Nov  7 08:04:10 bilbao kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Nov  7 08:04:10 bilbao udev[7409]: run_program: exec of program failed
Nov  7 08:04:10 bilbao hald[4748]: Timed out waiting for hotplug event 1131. Rebasing to 1161
Nov  7 08:04:15 bilbao kernel:  Vendor: WD        Model: 5000KS External  Rev: 101a
Nov  7 08:04:15 bilbao kernel:  Type:  Direct-Access                      ANSI SCSI revision: 04
Nov  7 08:04:15 bilbao kernel: SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
Nov  7 08:04:15 bilbao kernel: sdd: assuming drive cache: write through
Nov  7 08:04:15 bilbao kernel: SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
Nov  7 08:04:15 bilbao kernel: sdd: assuming drive cache: write through
Nov  7 08:04:15 bilbao kernel:  /dev/scsi/host5/bus0/target0/lun0: p1
Nov  7 08:04:15 bilbao kernel: Attached scsi disk sdd at scsi5, channel 0, id 0, lun 0
Nov  7 08:04:15 bilbao pam_console.dev[7448]: Restoring console permissions for /dev/sdd  /dev/discs/disc3/disc /dev/scsi/host5/bus0/target0/lun0/disc
Nov  7 08:04:15 bilbao pam_console.dev[7468]: Restoring console permissions for /dev/sdd1  /dev/discs/disc3/part1 /dev/scsi/host5/bus0/target0/lun0/part1
Nov  7 08:05:00 bilbao CROND[7482]: (mail) CMD (/usr/bin/python -S /usr/lib64/mailman/cron/gate_news)
Nov  7 08:05:31 bilbao kernel: usb 2-3: reset high speed USB device using ehci_hcd and address 4
Nov  7 08:05:36 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:05:41 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:05:41 bilbao kernel: usb 2-3: reset high speed USB device using ehci_hcd and address 4
Nov  7 08:05:46 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:05:51 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:05:51 bilbao kernel: usb 2-3: reset high speed USB device using ehci_hcd and address 4
Nov  7 08:05:54 bilbao kernel: usb 2-3: device descriptor read/64, error -110
Nov  7 08:06:10 bilbao kernel: usb 2-3: device descriptor read/64, error -110
Nov  7 08:06:10 bilbao kernel: usb 2-3: reset high speed USB device using ehci_hcd and address 4
Nov  7 08:06:13 bilbao kernel: usb 2-3: device descriptor read/64, error -110
Nov  7 08:06:28 bilbao kernel: usb 2-3: device descriptor read/64, error -110
Nov  7 08:06:28 bilbao kernel: scsi: Device offlined - not ready after error recovery: host 5 channel 0 id 0 lun 0
Nov  7 08:06:28 bilbao kernel: scsi5 (0:0): rejecting I/O to offline device
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027968
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027969
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027970
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027971
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027972
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027973
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027974
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027975
Nov  7 08:06:28 bilbao kernel: usb 2-3: USB disconnect, address 4
Nov  7 08:06:28 bilbao kernel: scsi5 (0:0): rejecting I/O to offline device
Nov  7 08:06:28 bilbao last message repeated 2 times
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027968
Nov  7 08:06:28 bilbao kernel: Buffer I/O error on device sdd1, logical block 1027969
Nov  7 08:06:28 bilbao kernel: scsi5 (0:0): rejecting I/O to offline device
Nov  7 08:06:28 bilbao last message repeated 3 times
Nov  7 08:06:28 bilbao kernel: usb 2-3: new high speed USB device using ehci_hcd and address 5
Nov  7 08:06:28 bilbao hald[4748]: Timed out waiting for hotplug event 1167. Rebasing to 1167
Nov  7 08:06:33 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:06:38 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:06:38 bilbao kernel: usb 2-3: new high speed USB device using ehci_hcd and address 6
Nov  7 08:06:43 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:06:49 bilbao kernel: usb 2-3: device descriptor read/8, error -110
Nov  7 08:06:49 bilbao kernel: usb 2-3: new high speed USB device using ehci_hcd and address 7
Nov  7 08:06:52 bilbao kernel: usb 2-3: device descriptor read/64, error -110
Nov  7 08:07:07 bilbao kernel: usb 2-3: device descriptor read/64, error -110
Nov  7 08:07:07 bilbao kernel: usb 2-3: new high speed USB device using ehci_hcd and address 8
Nov  7 08:07:10 bilbao kernel: usb 2-3: device descriptor read/64, error -110


emi2005 11-25-2006 11:52 PM

MyBook not recongized in Linux
 
I have the same problem. I have an external hdd MyBook 400GB and it is not recognized under Linux (FC4).
It works perfect in Windows on the same USB port. I even use a self-powered USB hub to connect with. It still does not help. Did anyone find the solution?


scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: WD Model: 4000KS External Rev: 101a
Type: Direct-Access ANSI SCSI revision: 04
usb-storage: device scan complete
usb 1-1.2: reset high speed USB device using ehci_hcd and address 4
usb 1-1.2: device descriptor read/64, error -110
usb 1-1.2: device descriptor read/64, error -110
usb 1-1.2: reset high speed USB device using ehci_hcd and address 4
usb 1-1.2: device descriptor read/64, error -110
usb 1-1.2: device descriptor read/64, error -110
usb 1-1.2: reset high speed USB device using ehci_hcd and address 4
usb 1-1.2: device descriptor read/8, error -110
usb 1-1.2: device descriptor read/8, error -110
usb 1-1.2: reset high speed USB device using ehci_hcd and address 4
usb 1-1.2: device descriptor read/8, error -110
usb 1-1.2: device descriptor read/8, error -110
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
usb 1-1.2: USB disconnect, address 4
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
scsi0 (0:0): rejecting I/O to offline device
sda : READ CAPACITY failed.
sda : status=0, message=00, host=0, driver=04
sda : sense not available.
sda: assuming drive cache: write through

jeremie_rafin 11-26-2006 08:29 AM

Hi,

Just for your information, I have asked Western Digital support and also Mandriva support to get help from them (about one month ago). No answer from Mandriva yet, but WD has responded. And basically they said they do not support Unix :D
Their answer was mostly showing that they don't care us (us=free world people) :mad:

emi2005 11-26-2006 10:38 AM

this is so sad. it's completely outrageous!

KrL 01-15-2007 10:26 AM

Any news on this ? I have the same problem on Debian Sarge (testing) with a WD MyBook 500GB..
Works fine on my Mac and XP computers..

jeremie_rafin 01-16-2007 01:40 AM

I am sorry KrL, I have given up it: on my side, I use my disk only with Windows... until somebody helps us! ;)

Hope this thread can help!

Cheers

gts24 02-17-2007 12:57 PM

:scratch:

Seeing the same issue here. Bran new WD 500gb external hard drive. Works great/fine on Windows, but will not work with the following:

uname -a
Linux xyzabc123.org 2.6.12-1.1381_FC3 #1 Fri Oct 21 03:46:55 EDT 2005 i686 athlon i386 GNU/Linux

cojo 02-24-2007 03:10 PM

Sorry for the late replied. I end up upgrading my servers to Fedora 5 which resolved the problem. I have requested tech support from Western Digital and they told me they don't support Linux.

jeremie_rafin 02-25-2007 04:20 AM

Cojo,
Do you have any idea of what can be the reason why on FC3 or 4 it does not work and on Fedora 5 it has been fixed? If you find or know the difference, we may reuse the patch, driver, pack or whatever on other linux distribs to get it work without needing to format our disks for Fedora only because of WD ;)
Thanks!

cojo 06-06-2007 11:05 AM

Jeremie,

sorry for the late reply. The new kernel on FC5 fixed this problem. So, you can either compile a new kernel for FC3 or FC4. You can also upgrade it to FC5. My suggestion is backup all your data and config files and install FC5 rather than upgrade to FC5. I did an upgrade and it took me twice as long than fresh install.

John


All times are GMT -5. The time now is 09:14 PM.