LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Why I couldnot mount usb flash memory at slk10.1 (https://www.linuxquestions.org/questions/slackware-14/why-i-couldnot-mount-usb-flash-memory-at-slk10-1-a-398219/)

kingsz1 12-31-2005 04:11 PM

Why I couldnot mount usb flash memory at slk10.1
 
Hi, happy new year to you all.

I install Slackware 10.1 and now try to access the usb flash memory stick. I had search the instructions about mount the usb. I create a subdirectory at /mnt:

mkdir /myusb

then gave a line at fstab:

/dev/sda1 /mnt/myusb vfat user,noauto,umask=000

I saved the file and reboot the PC.

I could not access anything at the usb when went to /mnt/myusb.

I try to get some information for you to help me sort out this problem.

If I try "lsmod", it displays:

Module size used by
usb-storage 62336 0 (unused)
usbcore 58860 0 [usb-storage]
ide-scsi 9392 0

If I try "ls sd*" at /dev, it display:

sda sda1 sda2 ... sda15
sdb sdb1 sdb2 ... sdb15
...
sdh sdh1 sdh2 ... sdh15

If I try "dmesg | less", I could find follw message:
...
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Initinalizing USB Mass Stroage driver ...
usb.c register new driver usb-storage
USB Mass Storage support registered.

If I try to mount manually, "mount -t vfat /dev/sda1 /mnt/myusb", I was told:
/dev/sda1 is not a valid block device

Now, how can I sort out the problem to access the USB flash memory stick?

Thank you in advance.

gilead 12-31-2005 04:34 PM

Less just lets you page through the dmesg output, you need to go to the end of that output. Or, before you insert the device next time have a console window opening running a tail of your message log:

Code:

tail -f /var/log/messages
On mine, when I insert the USB device I get the following:

Code:

Jan  1 08:30:37 fender kernel: usb 1-7: new high speed USB device using ehci_hcd and address 4
Jan  1 08:30:37 fender kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jan  1 08:30:42 fender kernel:  Vendor: Generic  Model:                  Rev:
Jan  1 08:30:42 fender kernel:  Type:  Direct-Access                      ANSI SCSI revision: 02
Jan  1 08:30:42 fender kernel: SCSI device sda: 1007616 512-byte hdwr sectors (516 MB)
Jan  1 08:30:42 fender kernel: sda: Write Protect is off
Jan  1 08:30:42 fender kernel: SCSI device sda: 1007616 512-byte hdwr sectors (516 MB)
Jan  1 08:30:42 fender kernel: sda: Write Protect is off
Jan  1 08:30:42 fender kernel:  sda: sda4
Jan  1 08:30:42 fender kernel: Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0

I mount this device from /dev/sda4

kingsz1 01-01-2006 05:25 AM

Thank you, gilead
 
thank you for your reply. I found my installation had so much problem so that I formatted it and install it again. This time I selected FULL install. the problem disappear. I am able to use the USB stick now.


All times are GMT -5. The time now is 06:44 AM.