View Full Version : Fedora 4 won't recognize my removable hard drive
illinifn25
2006-04-11, 10:10 PM CDT
I"m running Fedora Core 4 dual booted with Windows XP and I just got a Western Digital My Book 160GB removable hard drive. It's formatted as a FAT 32 but it isn't being recognized by Fedora. I have a Dell memory key that works fine but I haven't been able to get the drive to work. If i have it turned on when I boot i get errors and I can't get it to mount otherwise. Anbdoy have any ideas? thanks
solarisman
2006-04-12, 04:38 AM CDT
the first question is: are you connecting the myBook
via USB or firewire port? 2nd ?: what kind of error msgs
do you get during boot? can you post relevant output from /var/log/messages or command "dmesg"?
solarisman
2006-04-12, 05:07 AM CDT
ok, the Dell Memory Key is a USB memory stick, like a SD memory card. these are handled by the hotplug subsytem
and are mounted under "/media/..." I'm guessing you're
using the USB port to connect the myBook. These devices
are treated like hard drives and respond to the "mount"
command. If you do an 'fdisk -l' you should see an entry like
"/dev/sda1" in the output. this is your myBook. since it's
formatted as fat32, the command
"mount /dev/sda1 /mnt/myBook -o ro,users,umask=0222"
should let you see it (create mount point /mnt/myBook
first). "man 8 mount" and "man fstab" will provide you with
details to make the mount permanent. Hope this helps...
illinifn25
2006-04-12, 12:33 PM CDT
It is connected via USB port. When I run fdisk -l this what i come up with:
Device Boot Start End Blocks Id System
/dev/sda1 1 7 56196 de Dell Utility
/dev/sda2 * 8 27833 223512345 7 HPFS/NTFS
/dev/sda3 27834 27846 104422+ 83 Linux
/dev/sda4 27847 30394 20466810 5 Extended
/dev/sda5 27847 30394 20466778+ 8e Linux LVM
Disk /dev/sdb: 65 MB, 65208320 bytes
129 heads, 11 sectors/track, 89 cylinders
Units = cylinders of 1419 * 512 = 726528 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 90 63674 6 FAT16
Partition 1 has different physical/logical endings:
phys=(89, 128, 11) logical=(89, 97, 1)
Also the error meesage I'm getting on boot is:
"scsi2 (0:0): rejecting I/O to offline device'
It goes to a blank screen and says that over and over on each line.
solarisman
2006-04-12, 10:21 PM CDT
this is ugly....
"/dev/sda" is your dual boot xp/fc4 internal drive,
"/dev/sdb" is either a 64MB Dell Memory key or your 160 GB WD
MyBook. I'm guessing it's the latter. note it only reports 64M
instead of 160G, fat16 instead of fat32, and the disk geometry is wrong.
WD doesn't mention if the MyBook is IDE or SCSI based but if it 'is'
SCSI, and your USB hw is Adaptec based, you may want to check
their support site for a known problem between the two.
BTW you don't mention if your PC is laptop or desktop. knowing
what chipsets are involved would help toward a solution.
--solarisman
illinifn25
2006-04-12, 10:27 PM CDT
Yeah my memory key was plugged in too when i ran fdisk. If i run it without the memory key i get the same only without any hda/sbd. I'm guessing that it's scsi because of the error on boot. It's a Dell 8400 desktop about 2 years old. How do i check my USB hardware?
solarisman
2006-04-12, 11:25 PM CDT
enter the command
lspci | grep -i usb
you'll see a few lines with "USB Controller:<some manufacturer>"
if manufacturer is Adaptec, there is an issue that Western Digital
and Adaptec are working on.
if it's not Adaptec, another possibility is you need a scsi driver for this particular myBook. I'll do a little digging...
illinifn25
2006-04-12, 11:59 PM CDT
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
So it's not an Adaptec. I should have also said earlier that it works fine in Windows XP.
solarisman
2006-04-13, 01:10 AM CDT
next question is, which kernel are you running? use command
"uname -r"
if it's older than 2.6.14-1.1637_FC4 you should probably update the kernel.
variations of this bug have been reported in debian, ubuntu distro's
and allegedly fixed in the above kernel release of Fedora...
illinifn25
2006-04-13, 01:26 AM CDT
It's 2.6.14-1.1656_FC4smp
I'll try updating it though to see if that makes a difference.
LocutusOfBorg
2006-04-13, 04:41 AM CDT
There's the chance that a "utility partition" or DDO is installed on your disk.
The output of
parted /dev/sda p
should help (you have to connect only the hd, and no other scsi/usb/fw device at all - apart from mouse and keybord)
If we find out that this is the problem, if you don't have any data on the disk you can nullify the first sector of the disk and recreate partitions and filesystem from scratch.
illinifn25
2006-04-13, 05:05 PM CDT
I get a command not found when i run 'parted /dev/sda p'
solarisman
2006-04-13, 11:05 PM CDT
it's under "/sbin", run as root...
try "info parted" or "man parted" to see what the command and options do
illinifn25
2006-04-13, 11:47 PM CDT
had to do a ./parted but this is what I came up with:
Disk geometry for /dev/sda: 0.000-238418.579 megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 54.909 primary fat16
2 54.910 218328.684 primary ntfs boot
3 218328.684 218430.659 primary ext3
4 218430.659 238417.778 extended
5 218430.690 238417.778 logical lvm
Information: Don't forget to update /etc/fstab, if necessary.
Also I have updated my kernel but to no avail.
LocutusOfBorg
2006-04-14, 12:03 AM CDT
sorry - you obtained the info from your internal sata disk (sda). In your case the command is
parted /dev/sdb p
being sdb the external usb drive.
illinifn25
2006-04-14, 12:10 AM CDT
This is what I get:
Error: Could not stat device /dev/sbd - No such file or directory.
Retry/Cancel? Retry
LocutusOfBorg
2006-04-14, 12:13 AM CDT
it's
/dev/sdb
not sbd.
illinifn25
2006-04-14, 02:02 AM CDT
Either way I get the same error
LocutusOfBorg
2006-04-14, 05:52 AM CDT
Is the usb disk connected and are you running the command as root?
solarisman
2006-04-14, 01:20 PM CDT
that's been puzzling me too. looking back at illinifn25's 2nd post, sda is the
internal drive and sdb was the 64M memory card. since removing the card, no
mention of sdb. As root, use command
"fdisk -l" and see if sdb appears in the output.
illinifn25
2006-04-14, 01:26 PM CDT
I'm running as root us /sbin and I get the error message for every 'parted /dev/s** p' except for /dev/sda. fdisk -l on shows sda and if my memory key is in then sbd but that's it.
solarisman
2006-04-14, 07:14 PM CDT
ok, this is bad news. try this:
fedora 4 up and running, MyBook turned OFF, but plugged into USB port.
turn MyBook ON. wait 5 - 10 sec.
use command "dmesg| tail -50". post the output
illinifn25
2006-04-16, 05:30 PM CDT
Here's what I get:
Bluetooth: RFCOMM TTY layer initialized
usb 4-1: new full speed USB device using uhci_hcd and address 2
hub 4-1:1.0: USB hub found
hub 4-1:1.0: 3 ports detected
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
usb 4-1.2: new full speed USB device using uhci_hcd and address 3
input: USB HID v1.11 Keyboard [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1d.2-1.2
usb 4-1.3: new full speed USB device using uhci_hcd and address 4
input,hiddev96: USB HID v1.11 Mouse [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1d.2-1.3
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
lp0: using parport0 (interrupt-driven).
lp0: console ready
[fglrx:firegl_unlock] *ERROR* Process 3151 using kernel context 0
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
mtrr: no more MTRRs available
hdb: command error: status=0x51 { DriveReady SeekComplete Error }
hdb: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdb, sector 14679296
Buffer I/O error on device hdb, logical block 1834912
hdb: command error: status=0x51 { DriveReady SeekComplete Error }
hdb: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
ide: failed opcode was: unknown
end_request: I/O error, dev hdb, sector 14679296
Buffer I/O error on device hdb, logical block 1834912
UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'FAMILY_GUY_DISC2', timestamp 2002/12/19 02:07 (1ed4)
SELinux: initialized (dev hdb, type udf), uses genfs_contexts
application mixer_applet2 uses obsolete OSS audio interface
application firefox-bin uses obsolete OSS audio interface
usb 1-6: new high speed USB device using ehci_hcd and address 8
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: WD Model: 1600JS External Rev: 101a
Type: Direct-Access ANSI SCSI revision: 04
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
sdb: assuming drive cache: write through
SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
sdb: assuming drive cache: write through
sdb: sdb1
Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
usb 1-6: reset high speed USB device using ehci_hcd and address 8
solarisman
2006-04-16, 10:54 PM CDT
the last 16 lines are exactly what you should expect when the ext. USB hd is recognized. from this state, if you now do a
"mount -t fat32 /dev/sdb1 /mnt/myBook -o ro"
what do you get? (assumes mnt/myBook exists. if no, create any dir)
illinifn25
2006-04-16, 11:20 PM CDT
This is what i get:
mount: unknown filesystem type 'fat32'
solarisman
2006-04-17, 12:40 AM CDT
try 'type vfat' instead of 'fat32'
illinifn25
2006-04-17, 10:43 PM CDT
Well now it just refuses to turn on for more than 3 seconds. I'm just fed up with this thing and I"m going to look into getting a new one and selling this one to a friend. Do you have any recommendations for something in the 100GB - 200GB range? And I thank you for all your help.
solarisman
2006-04-17, 11:41 PM CDT
I use a Seagate 160GB external usb 2.0 (Model ST3160) that I move btwn 2 PC's running FC4
and FC5. works perfectly on both. had a problem with the AC cord receptacle on the supply, but
that's it. found it at officemax.
BTW, how many internal drives are in your PC? your last post w/dmesg shows errors with "hdb",
a 2nd internal drive? one other diff I see is using scsi2 on your My Book, my seagate uses
scsi0. can you post your /var/log/messages file (either here or via PM) ? need more details on the
problem b4 recommending a new drive....
illinifn25
2006-04-18, 12:01 AM CDT
I only have 1 internal drive that's partioned. Here's my messages file:
Apr 17 23:35:40 localhost kernel: SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
Apr 17 23:35:40 localhost kernel: parport: PnPBIOS parport detected.
Apr 17 23:35:40 localhost kernel: parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
Apr 17 23:35:40 localhost kernel: lp0: using parport0 (interrupt-driven).
Apr 17 23:35:41 localhost kernel: lp0: console ready
Apr 17 23:35:49 localhost kernel: [fglrx:firegl_unlock] *ERROR* Process 3161 using kernel context 0
Apr 17 23:35:49 localhost kernel: mtrr: no more MTRRs available
Apr 17 23:35:49 localhost last message repeated 4 times
Apr 17 23:36:09 localhost gdm(pam_unix)[3156]: check pass; user unknown
Apr 17 23:36:09 localhost gdm(pam_unix)[3156]: authentication failure; logname= uid=0 euid=0 tty=:0 ruser= rhost=
Apr 17 23:36:13 localhost gdm-binary[3156]: Couldn't authenticate user
Apr 17 23:36:19 localhost gdm(pam_unix)[3156]: session opened for user tlamkin2 by (uid=0)
Apr 17 23:36:20 localhost gconfd (tlamkin2-3279): starting (version 2.10.0), pid 3279 user 'tlamkin2'
Apr 17 23:36:20 localhost gconfd (tlamkin2-3279): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Apr 17 23:36:20 localhost gconfd (tlamkin2-3279): Resolved address "xml:readwrite:/home/tlamkin2/.gconf" to a writable configuration source at position 1
Apr 17 23:36:20 localhost gconfd (tlamkin2-3279): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Apr 17 23:36:26 localhost kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error }
Apr 17 23:36:26 localhost kernel: hdb: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
Apr 17 23:36:26 localhost kernel: ide: failed opcode was: unknown
Apr 17 23:36:26 localhost kernel: end_request: I/O error, dev hdb, sector 16495744
Apr 17 23:36:26 localhost kernel: Buffer I/O error on device hdb, logical block 2061968
Apr 17 23:36:26 localhost kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error }
Apr 17 23:36:26 localhost kernel: hdb: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
Apr 17 23:36:26 localhost kernel: ide: failed opcode was: unknown
Apr 17 23:36:26 localhost kernel: end_request: I/O error, dev hdb, sector 16495744
Apr 17 23:36:26 localhost kernel: Buffer I/O error on device hdb, logical block 2061968
Apr 17 23:36:26 localhost gconfd (tlamkin2-3279): Resolved address "xml:readwrite:/home/tlamkin2/.gconf" to a writable configuration source at position 0
Apr 17 23:36:27 localhost kernel: UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LOCKSTOK', timestamp 1999/08/03 19:37 (1ed4)
Apr 17 23:36:27 localhost kernel: SELinux: initialized (dev hdb, type udf), uses genfs_contexts
Apr 17 23:36:58 localhost kernel: usb 1-6: new high speed USB device using ehci_hcd and address 3
Apr 17 23:36:58 localhost kernel: Initializing USB Mass Storage driver...
Apr 17 23:36:58 localhost kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Apr 17 23:36:58 localhost kernel: usbcore: registered new driver usb-storage
Apr 17 23:36:58 localhost kernel: USB Mass Storage support registered.
Apr 17 23:37:03 localhost kernel: Vendor: WD Model: 1600JS External Rev: 101a
Apr 17 23:37:03 localhost kernel: Type: Direct-Access ANSI SCSI revision: 04
Apr 17 23:37:03 localhost kernel: SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
Apr 17 23:37:03 localhost kernel: sdb: assuming drive cache: write through
Apr 17 23:37:03 localhost kernel: SCSI device sdb: 312581808 512-byte hdwr sectors (160042 MB)
Apr 17 23:37:03 localhost kernel: sdb: assuming drive cache: write through
Apr 17 23:37:03 localhost kernel: sdb: sdb1
Apr 17 23:37:03 localhost kernel: Attached scsi disk sdb at scsi2, channel 0, id 0, lun 0
Apr 17 23:37:03 localhost scsi.agent[3482]: disk at /devices/pci0000:00/0000:00:1d.7/usb1/1-6/1-6:1.0/host2/target2:0:0/2:0:0:0
Apr 17 23:37:03 localhost su(pam_unix)[3471]: session opened for user root by (uid=500)
Apr 17 23:37:09 localhost kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 3
Apr 17 23:37:12 localhost kernel: usb 1-6: device descriptor read/64, error -110
Apr 17 23:37:27 localhost kernel: usb 1-6: device descriptor read/64, error -110
Apr 17 23:37:28 localhost kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 3
Apr 17 23:37:31 localhost kernel: usb 1-6: device descriptor read/64, error -110
Apr 17 23:37:46 localhost kernel: usb 1-6: device descriptor read/64, error -110
Apr 17 23:37:46 localhost kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 3
Apr 17 23:37:51 localhost kernel: usb 1-6: device descriptor read/8, error -110
Apr 17 23:37:56 localhost kernel: usb 1-6: device descriptor read/8, error -110
Apr 17 23:37:57 localhost kernel: usb 1-6: reset high speed USB device using ehci_hcd and address 3
Apr 17 23:38:02 localhost kernel: usb 1-6: device descriptor read/8, error -110
Apr 17 23:38:07 localhost kernel: usb 1-6: device descriptor read/8, error -110
Apr 17 23:38:07 localhost kernel: usb 1-6: USB disconnect, address 3
Apr 17 23:38:07 localhost kernel: scsi: Device offlined - not ready after error recovery: host 2 channel 0 id 0 lun 0
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost last message repeated 2 times
Apr 17 23:38:07 localhost kernel: sd 2:0:0:0: SCSI error: return code = 0x10000
Apr 17 23:38:07 localhost kernel: end_request: I/O error, dev sdb, sector 312581632
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072704
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072704
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072725
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072725
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072725
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072725
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072725
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072725
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072718
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost kernel: Buffer I/O error on device sdb, logical block 39072718
Apr 17 23:38:07 localhost kernel: scsi2 (0:0): rejecting I/O to offline device
Apr 17 23:38:07 localhost last message repeated 25 times
Apr 17 23:38:49 localhost su(pam_unix)[3471]: session closed for user root
Apr 17 23:39:09 localhost su(pam_unix)[3611]: session opened for user root by (uid=500)
Apr 17 23:42:06 localhost su(pam_unix)[3611]: session closed for user root
Apr 18 00:01:01 localhost crond(pam_unix)[3871]: session opened for user root by (uid=0)
Apr 18 00:01:01 localhost crond(pam_unix)[3871]: session closed for user root
Apr 18 00:58:03 localhost su(pam_unix)[4410]: session opened for user root by (uid=500)
Apr 18 00:58:09 localhost gconfd (root-4436): starting (version 2.10.0), pid 4436 user 'root'
Apr 18 00:58:09 localhost gconfd (root-4436): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Apr 18 00:58:09 localhost gconfd (root-4436): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 1
Apr 18 00:58:09 localhost gconfd (root-4436): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
solarisman
2006-04-18, 12:57 AM CDT
ok, one more suggestion, see this link
http://www.redhat.com/archives/fedora-list/2005-March/msg04044.html
It addresses FC3, but it may be worth a try. Linux uses 3 modules to
control usb devices: ohci-hcd, ehci-hcd and uhci-hcd (oldest to newest).
eh* and uh* will control usb 2.0 devices. I think the idea is to force it to
use uhci for the My Book as well.
Failing that, have you considered FC5? It's definitely an issue in the linux
base source, found in (nearly) every distro.
The choice is yours...:D
illinifn25
2006-04-18, 11:41 AM CDT
I'll check that link out and see if anything comes from it. Thanks for your help.
gyskouras
2006-11-25, 11:24 PM CST
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?
It's trying to register but it;s dropped. Here is a dump:
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
emi2005 is offline
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.