SlackwareThis Forum is for the discussion of Slackware 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.
I'm a little rusty on my Linux so I'm sure this is something simple and stupid that I'm missing, but I can't get my USB hard drive to mount in slackware. I just compiled the 2.6.21.5 kernel (although it didn't work on the 2.4.33.3 from the installation either) and I have the usbcore, usb-storage, and ehci-hcd modules loaded, but when I plug in my usb hard drive, it gets power, but I can't mount it. I'm using an SATA hard drive, so my sda device is that, so I don't know what device it would be either, but nothing shows up in dmesg or lsusb when I connect it.
Thanks in advance for any help.
Last edited by CartersAdvocate; 06-23-2007 at 01:57 AM.
Just a thought, have you tried booting with the drive pluged in. The kernel may reconize it if it's plug in during boot. May be worth a try. If it does then you can write a udev rule to take care of it so the SYSFS will know what it is when the kernel see's it.
It's an Iomega 80GB USB 2.0 hard drive. I'm at work and don't have the drive plugged in, so I can't give the results of those commands yet. Yes SCSI is enabled, though, I know that.
now for your situation, the device should be sdb1, unless you have two SATA drives already connected, in either case the dmesg | tail should show you where its getting put in /dev
btw - there is a more elegant way to handle this stuff with udev rules (or so I've heard)
Nothing shows up in dmesg when I plug it in...which is the problem. I'll have to check my mobo connection and my BIOS when I get home tomorrow. There's something not talking right between my USB port and my kernel I think.
is the USB harddrive found on another machine? do you have a USB Mouse? if you do plug your mouse into the other use ports to see if they are working. that'll save you the trouble of taking your box apart unless they really aren't plugged in there well.
is the USB harddrive found on another machine? do you have a USB Mouse? if you do plug your mouse into the other use ports to see if they are working. that'll save you the trouble of taking your box apart unless they really aren't plugged in there well.
My USB hard drive has worked fine on all my Windoze boxes...I'll try the USB mouse.
udevinfo -a -p /sys/block/sda just gives me information on my SATA hard drive...using /sys/block/sdb returns nothing.
Also, I tried plugging in a USB mouse and it also doesn't show anything on dmseg. I forgot my new motherboard has the USB ports built into it, so there's no connection to check, so that isn't the problem. I think the problem may be BIOS related. I looked through dmesg again and here's the few lines before the one I posted before:
Code:
PCI: No IRQ known for interrupt pin A of device 0000:05:0b.0.
ohci1394: Failed to allocate shared interrupt 0
ohci1394: probe of 0000:05:0b.0 failed with error -12
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
PCI: No IRQ known for interrupt pin B of device 0000:00:02.1.
ehci_hcd 0000:00:02.1: Found HC with no IRQ. Check BIOS/PCI 0000:00:02.1 setup!
ehci_hcd 0000:00:02.1: init 0000:00:02.1 fail, -19
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.