LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Errors trying to mount USB Mass Storage Device (http://www.linuxquestions.org/questions/linux-hardware-18/errors-trying-to-mount-usb-mass-storage-device-122371/)

Ctawp 12-03-2003 03:32 PM

Errors trying to mount USB Mass Storage Device
 
Alright, here's what's up... I'm trying to mount a USB Mass Storage device (just installed Slackware 9.1 and trying to get things up and running), but am not having much luck with a few things.

It seems that the device is recognized in the Info Center (KDE's), it shows up as a USB Storade Device and so on, however, I don't think it mounts it for me or anything of the like.

So when I go to mount it (after trying to load modules, editing fstab, so on), I get the error that /dev/sda4 is not a valid block device. I would assume that I am getting this error because a few of the modules I should have I don't think I do (scsi_mod, sd_mod, and also modprobe usb-uhci or scsi-uhci generates a list of errors).

Any ideas? Should be around, let me know if you need more (dmesg output, etc)

2damncommon 12-03-2003 04:32 PM

Here are two good thing to check.
cdrecord --scanbus
fdisk -l

Ctawp 12-03-2003 04:35 PM

Got an error of : Cannot open SCSI driver for cdrecord --scanbus, and fdisk -l just lists my normal partitions (this is just a pendrive, dunno if it should show up there or not). Right now I'm running around trying to find my missing modules with little luck.

2damncommon 12-03-2003 05:03 PM

If all is well, both commands should list the drive.
I would think the "Cannot open SCSI driver for cdrecord" is the problem.
Here are the kernel modules I have on my Debian system:
ide-scsi
usb-storage
usb-uhci
usbcore

Ctawp 12-03-2003 05:07 PM

Anybody know where i can d/l the modules? I can't find a good place online.

Ctawp 12-03-2003 05:10 PM

# modprobe usb-uhci
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-uhci.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-uhci.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-uhci.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/usb/host/usb-uhci.o.gz failed
/lib/modules/2.4.22/kernel/drivers/usb/host/usb-uhci.o.gz: insmod usb-uhci failed

???

michaelk 12-03-2003 05:25 PM

Look at the output from dmesg. What are the errors for USB?

Your USB controller might use usb-ochi or if its a USB 2.0 controller usb-echi.

Ctawp 12-04-2003 02:32 AM

Alright, so I'm using Redhat 9.0 now, but I still have the same basic errors.

When I cat /proc/scsi/scsi, it returns that no devices are attached, however when I cat proc/scsi/usb-device-0/0 I get
Host scsi0: usb-storage
Vendor:
Product: USB Storage Device
Serial Number: 0AEC301000001A00
Protocol: Transparent SCSI
Transport: Bulk
GUID: 0aec50100aec301000001a00
Attached: Yes

So it'sbeing recognized, but not quite right. Any ideas?

-Chris


All times are GMT -5. The time now is 04:59 AM.