usb flash drive problem - module problem?
Hi,
I have recently acquired a usb flash (pen) drive, and have been able to use it occasionally.
I initially simply loaded the usb-storage module, plugged it in and mounted it successfully, and was able to read and write files.
However, the next day I tried mounting it again, and was not able to. ('/dev/sda1 is not a block device' error). It seems that after some time (I haven't determined how much time), I am no longer able to mount the drive to access it. I am 'manually' mounting it (ie., not using hotplug) and would prefer to continue using in that manner, if possible.
jlb@cello:~$ mount /mnt/flash
mount: /dev/sda1 is not a valid block device
I am not familiar with the how modules behave. Is it possible that a module required for usb access is unloaded? I have mounted and accessed this device, as well as another device (usb cdrom burner) successfully.
If anyone can help, it would be much appreciated.
Thanks
I am using debian sid on a AMD Athlon machine. Details included below (kernel, fstab, modules loaded)
jlb@cello:~$ uname -a
Linux cello 2.4.20-1-k7 #1 Sat Mar 22 15:17:52 EST 2003 i686 GNU/Linux
jlb@cello:~$ more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda2 / ext3 errors=remount-ro 0 1
/dev/hda6 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 unhide,ro,user,noauto 0 0
/dev/hda1 /boot ext3 defaults 0 2
/dev/hda3 /var ext3 defaults 0 2
/dev/hda5 /usr ext3 defaults 0 2
/dev/hda7 /home ext3 defaults 0 2
/dev/hda8 /data01 ext3 defaults 0 2
/dev/sda1 /mnt/flash vfat user 0 0
jlb@cello:~$ su
Password:
cello:/home/jlb# lsmod
Module Size Used by Tainted: PF
usb-storage 56956 0 (unused)
floppy 45948 0 (autoclean)
ide-cd 27364 0 (autoclean)
cdrom 29280 0 (autoclean) [ide-cd]
vmnet 18856 4
parport_pc 21288 0
parport 23296 0 [parport_pc]
vmmon 23252 0
snd-seq-midi 3424 0 (autoclean)
snd-seq-oss 24288 0
snd-seq-midi-event 2968 0 [snd-seq-midi snd-seq-oss]
snd-seq 38096 2 [snd-seq-midi snd-seq-oss snd-seq-midi-event]
snd-pcm-oss 37956 0
snd-mixer-oss 11576 0 [snd-pcm-oss]
snd-ens1371 11468 0
snd-pcm 56288 0 [snd-pcm-oss snd-ens1371]
snd-timer 14280 0 [snd-seq snd-pcm]
snd-page-alloc 4208 0 [snd-pcm]
gameport 1660 0 [snd-ens1371]
snd-rawmidi 12416 0 [snd-seq-midi snd-ens1371]
snd-seq-device 3940 0 [snd-seq-midi snd-seq-oss snd-seq snd-rawmidi]
snd-ac97-codec 33288 0 [snd-ens1371]
snd 29348 0 [snd-seq-midi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore 3716 8 [snd]
sd_mod 10860 0 (autoclean) (unused)
scsi_mod 90248 1 (autoclean) [usb-storage sd_mod]
vfat 9548 0 (autoclean)
fat 30136 0 (autoclean) [vfat]
8139too 16200 1
mii 2432 0 [8139too]
keybdev 1696 0 (unused)
usbkbd 2940 0 (unused)
input 3392 0 [keybdev usbkbd]
usb-uhci 21804 0 (unused)
usbcore 56896 0 [usb-storage usbkbd usb-uhci]
rtc 5980 0 (autoclean)
ext3 58816 6 (autoclean)
jbd 37544 6 (autoclean) [ext3]
ide-disk 10176 7 (autoclean)
ide-probe-mod 8880 0 (autoclean)
ide-mod 154184 7 (autoclean) [ide-cd ide-disk ide-probe-mod]
unix 14056 147 (autoclean)
-------------------------------------------------------------------
Jerry Bash
Spectral Systems, Inc.
Phone: (937) 281-1320
-------------------------------------------------------------------
Reply to: