[SOLVED] USB mass storage detected but does not mount
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
/system/bin # cat /proc/modules
usb_storage 93911 0 - Live 0xbf092000
scsi_mod 99688 1 usb_storage, Live 0xbf074000
gspca_vc032x 22400 0 - Live 0xbf069000
gspca_main 22576 1 gspca_vc032x, Live 0xbf05e000
uvcvideo 58104 0 - Live 0xbf04a000
s3c_bc 4076 0 - Live 0xbf044000
s3c_lcd 6252 0 - Live 0xbf03d000
pvrsrvkm 225856 30 s3c_bc,s3c_lcd, Live 0xbf000000
Code:
/system/bin # ls /dev/ | grep usb
usb1
usb2
usbdev2.1_ep00
usbdev2.1_ep81
usbdev1.1_ep00
usbdev1.1_ep81
usbmon2
usbmon1
usbmon0
usbdev2.1
usbdev1.1
/system/bin #
usb flashdrive inserted
Code:
/system/bin #
/system/bin # usb 1-1: new high speed USB device using s5pc110-ehci and address4
usb 1-1: configuration #1 chosen from 1 choice
scsi2 : SCSI emulation for USB Mass Storage devices
scsi 2:0:0:0: Direct-Access Kingston DT 101 II 1.00 PQ: 0 ANSI: 2
/system/bin #
/system/bin # ls /dev/ | grep usb
usbdev1.4_ep00
usbdev1.4
usbdev1.4_ep02
usbdev1.4_ep81
usb1
usb2
usbdev2.1_ep00
usbdev2.1_ep81
usbdev1.1_ep00
usbdev1.1_ep81
usbmon2
usbmon1
usbmon0
usbdev2.1
usbdev1.1
/system/bin #
/system/bin # mount -t auto /dev/usbdev1.4 /fd
mount: No such device
/system/bin # mount -t auto /dev/usbdev1.4_ep00 /fd
mount: No such device
/system/bin # mount -t auto /dev/usbdev1.4_ep02 /fd
mount: No such device
/system/bin # mount -t auto /dev/usbdev1.4_ep81 /fd
mount: No such device
/system/bin #
Im working on Linux kernel source 2.6.29, does anyone has any idea?
I think I posted in wrong section? Please move if needed.
Last edited by archieval; 09-05-2010 at 09:50 AM.
Reason: posted on wrong forum section?
1. Check the output of dmesg after inserting the usb key.
Code:
$ dmesg
2. Look for something to the affect of "sda: sda1" (depending on your hardware). What this means is that the drive you inserted has been assigned the device name "sda" and the partition on it is called "sda1". To mount it, use something like this:
When I dmesg with sd or sda or sdb, nothing appears. When I dmesg with usb this is what I get:
Code:
/system/bin # dmesg | grep usb
<6>usb 1-1: new high speed USB device using s5pc110-ehci and address 2
<7>PM: Adding info for usb:1-1
<6>usb 1-1: configuration #1 chosen from 1 choice
<7>PM: Adding info for usb:1-1:1.0
<7>PM: Adding info for No Bus:usbdev1.2_ep01
<7>usb-storage: device found at 2
<7>usb-storage: waiting for device to settle before scanning
<7>PM: Adding info for No Bus:usbdev1.2_ep82
<7>PM: Adding info for No Bus:usbdev1.2
<7>PM: Adding info for No Bus:usbdev1.2_ep00
<7>usb-storage: device scan complete
don't pipe the message of dmesg to grep, if I remember right the line that specifies the "sda" does not have the string "usb" in it. Jut plug your pendrive and do dmesg,you might be able to see the "sda" line.
I don't have the lsusb binary in my embedded system, it was not installed, there is really no sdb/sda in the /var/log/messages. Apparently I have solved the problem by putting Y on all the config in the SCSI part of the kernel config file. I think I missed the sd_mod.ko module but I don't know exactly what compiles that so instead of compiling modules, I compiled all of them to be built-in and automatically installed during bootup. After that everything went well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.