Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi,
I have an IBM USB hard disk but I don't know how to install it on my RH 8 box and make it mountable.
I checed the /proc/scsi/usb-storage-0 there is a file named 0 , the entry is like this:
Host scsi0: usb-storage
Vendor: EagleTec
Product: USB TO IDE
Serial Number: None
Protocol: Transparent SCSI
Transport: Bulk
GUID: 05e307020000000000000000
Attached: Yes
and the /proc/scsi/scsi file has the following content:
ttached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: EagleTec Model: External Hard Di Rev: 0002
Type: Direct-Access ANSI SCSI revision: 02
can anyone help me to install this USB hardisk?
thank you.
So fdisk -l shows nothing with /dev/scsi? Have you tried
fdisk -l /dev/sda or fdisk -l /dev/sdb?
the /proc/scsi etc. look basically the same for me (except that my ext. drive is toshiba) so it should work. Do you have all the modules loaded? You'll need the usb related stuff, in particular usb-storage, and scsi_mod.
thanks for your advice,
but it willbe much appriciated that you can give me detailed procedure to follow when a usb harddrive is attached. i head sth about hotplug, fiddled arround iwth it, still much confusion.
thanks
i am just reading this post, which looks quite useful http://www.qbik.ch/usb/devices/showdev.php?id=1303
if you have an eagle tec drive, you also can find good info in this post.
i will give it a try when i get home, but still even if it works , it is still a device specific fix, i would like to know any generic overall fix for most usb hdd.
the thing is, the usb drive and its partitions showed up immediately when I did fdisk -l after plugging it in so I didn't have any problems. They show up as /dev/scsi/blah/blah/blah/part1 or something like that - it's not immediately obvious it's your usb drive actually.
But here is a guess. Open a console window, become root and then do
lsmod
this will give you a list of modules that are currently loaded. If scsi and/or usb-storage do not show up, you can load them by
modprobe modulename
Other modules that might be related are usb-ohci and usbcore. After loading these modules, see if your device shows up. Once they do show up, you mount them like any other harddrive partiton with the difference that the device is something like /dev/sda (/dev/sdb or sdc, depending on whether you have other devices that get treated as scsi).
Hope this helps.
well, i think the right module is loaded but the fdisk -l still says:
/dev/hdb1 * 1 38 305203+ 83 Linux
/dev/hdb2 39 548 4096575 83 Linux
/dev/hdb3 549 803 2048287+ 83 Linux
/dev/hdb4 804 2434 13101007+ 5 Extended
/dev/hdb5 804 867 514048+ 82 Linux swap
have you tried hooking the drive up to another computer? If it's windows formatted, a windows computer with usb should be able to see it without problems.
now i attached the IBM travelstar usb harddrive to mt rh 8 box the dmesg shows:
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: EagleTec Model: External Hard Di Rev: 0002
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 9767520 512-byte hdwr sectors (5001 MB)
sda: test WP failed, assume Write Enabled
sda: sda1
SCSI device (ioctl) reports ILLEGAL REQUEST.
SCSI device sda: 9767520 512-byte hdwr sectors (5001 MB)
sda: test WP failed, assume Write Enabled
sda: I/O error: dev 08:00, sector 0
I/O error: dev 08:00, sector 0
unable to read partition table
the fdisk -l still shows no sda, or sdb...
the usb harddrive has no problem with windows.
i checked the unusual_devs.h file and didn't really know how to modify it to issue a valid request.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.