| Linux - Kernel This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-05-2010, 09:42 AM
|
#1
|
|
Member
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289
Rep:
|
USB mass storage detected but does not mount
"fdisk -l" displays nothing
Code:
/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?
|
|
|
|
09-05-2010, 10:22 AM
|
#2
|
|
Member
Registered: Feb 2006
Location: Ontario, Canada
Distribution: Debian, sometimes BSD.
Posts: 44
Rep:
|
1. Check the output of dmesg after inserting the usb key. 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:
Code:
# mount /dev/sda1 /mnt
|
|
|
|
09-05-2010, 08:17 PM
|
#3
|
|
Member
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289
Original Poster
Rep:
|
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
|
|
|
|
09-05-2010, 11:33 PM
|
#4
|
|
Member
Registered: Feb 2009
Posts: 339
Rep:
|
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.
|
|
|
|
09-05-2010, 11:53 PM
|
#5
|
|
Member
Registered: Mar 2009
Location: Bangalore, India
Distribution: slackware 13.1, Centos 5.5, Ubuntu 10.10
Posts: 173
Rep:
|
#lsusb and post the output
|
|
|
|
09-06-2010, 12:06 AM
|
#6
|
|
Member
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|