Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

usb memory stick

Status
Not open for further replies.

nozz

Programmer
Jul 18, 2003
8
GB
Hi,
I am using redhat 9 and have a USB memory stick.
The stick works in 2 machines but doesn't work in one particular machine. When running
mount -t vfat /dev/sda1 /mnt/mem
I get
mount: /dev/sda1 is not a valid block device

the same occurs for sda0, sda4 etc.

There is nothing in /proc/bus/usb. There should be the following mdules in there I think (within /proc/bus/usb/drivers):

usb-storage
hid
hiddev
hub
usbdevfs

I have tried to load these modules using modprobe. They all load except for hiddev and hub. It claims it can't find the modules. Even so, these loaded modules don't show up in /proc/bus/usb/drivers.

lsmod produces:

Module Size Used by Not tainted
keybdev 2944 0 (unused)
mousedev 5492 0 (unused)
hid 22148 0 (unused)
input 5856 0 [keybdev mousedev hid]
sd_mod 13516 0 (unused)
usb-storage 69332 0 (unused)
usbcore 78784 0 [hid usb-storage]
udf 98400 0 (autoclean)
nls_iso8859-1 3516 2 (autoclean)
nls_cp437 5116 1 (autoclean)
vfat 13004 1 (autoclean)
fat 38808 0 (autoclean) [vfat]
i810_audio 27720 0 (autoclean)
ac97_codec 13640 0 (autoclean) [i810_audio]
soundcore 6404 2 (autoclean) [i810_audio]
smbfs 44368 4 (autoclean)
binfmt_misc 7400 1
nfsd 80176 8 (autoclean)
lockd 58704 1 (autoclean) [nfsd]
sunrpc 81564 1 (autoclean) [nfsd lockd]
parport_pc 19076 1 (autoclean)
lp 8996 0 (autoclean)
parport 37056 1 (autoclean) [parport_pc lp]
iscsi_module 153644 2
autofs 13268 0 (autoclean) (unused)
3c59x 30704 1
ipt_REJECT 3928 2 (autoclean)
iptable_filter 2412 1 (autoclean)
ip_tables 15096 2 [ipt_REJECT iptable_filter]
sg 36524 0 (autoclean)
sr_mod 18136 4 (autoclean)
microcode 4668 0 (autoclean)
ide-scsi 12208 2
scsi_mod 107160 5 [sd_mod usb-storage iscsi_module sg sr_mod ide-scsi]
ide-cd 35708 0
cdrom 33728 0 [sr_mod ide-cd]
ext3 70784 2
jbd 51892 2 [ext3]


I think the key is to having these drivers showing in /proc/bus/usb/drivers but I seem to have hit a brick wall.

Any help greatly appreciated,

cheers
 
Run dmesg to see if the device is detected. And if so, which device it uses.
 
Hi, thanks for the reply.

nothing in dmesg relating to the stick.

cheers
 
If the machine complains about hiddev and hub modules are missing, maybe they aren't installed? If I remeber correctly, hiddev has to do with Human Interface Device, i.e. drivers for USB devices such as keyboard, mouse, and possibly emory stick.

Do a 'tail -f /var/log/messages' to see what happens when you insert/remove the device. Does anything get logged at all?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top