Problem with USB hard disk on Fedora Core 1

David L Norris dave at webaugur.com
Sun Jan 4 08:35:45 UTC 2004


On Sat, 2004-01-03 at 09:54, Andrew Wafula wrote:
> I got a copy of Fedore C1 and since acpi was said to be working in
> this version, I decided to upgrade. However, now I have acpi, firewire
> and the sony memory stick working but I simply cannot get the system
> to see the USB HDD.

Run usbview and see if that device's entry is red.  If it is not red
then some sort of driver has been loaded. 

If a driver is loaded then proceed.  (Sorry, not much help if there's no
driver.)

Hopefully this will be helpful.  I'm going to assume your hard disk is
working perfectly fine and drivers are loaded properly.  If that is not
the case then perhaps someone else will have some suggestions.  (e.g. If
it is a multi-LUN USB bulk storage device you may need to manually probe
each LUN.)

> It shows up in /proc/bus/usb/devices but it is not assigned a device
> /dev/sdb which I used to get before in RH8. Where could the problem
> be?

More importantly, make sure there is a usb-storage directory in
/proc/scsi/ for each USB storage device you have connected.  Since you
mention a hard disk and memory stick you probably will have
usb-storage-0 and usb-storage-1.  One of those should be your hard
disk.  Let's take a look...

Here is what I see on my system:
$ grep Product /proc/scsi/usb-storage-*/*
/proc/scsi/usb-storage-0/0:      Product: USB 2.0 Storage Device
/proc/scsi/usb-storage-1/1:      Product: USB 2.0 Storage Device
/proc/scsi/usb-storage-2/2:      Product: USB Storage Device
/proc/scsi/usb-storage-3/3:      Product: USB FDC GOLD-1.30
/proc/scsi/usb-storage-4/5:      Product: ImageMate CompactFlash USB

OK, my hard disks are USB 2.0, not a floppy, and not a Compact flash
card.  So that must mean my hard disk is either 0 or 1.

OK, once you have found your hard disk's "Product:" information you can
add it to Kudzu's /etc/updfstab.conf config file.

Assuming your product info is "USB 2.0 Storage Device" like mine then
add an entry to the updfstab.conf file like the one below.  Take care
not to disturb any existing entries.

$ su -
Password: 
# gedit /etc/updfstab.conf

Add an entry like this:

device usb-disk {
   partition 1
   match    hd "USB 2.0 Storage Device"
}

Save the file and exit gedit.

Now, run updfstab to update your fstab:
# /usr/sbin/updfstab

You should now have /mnt/usb-disk in your /etc/fstab.  After a few
seconds your Nautilus "Disks" desktop menu should refresh.  When you
disconnect the disk the usb-disk entry should be removed.  When you
connect the disk again the entry should be recreated.  The device name
can be anything you like.  The device name you specify will be used as
the mount point under /mnt.

"man updfstab" for more information and configuration options.

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040104/59b0acd8/attachment-0001.sig>


More information about the fedora-list mailing list