LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-05-2010, 09:42 AM   #1
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Rep: Reputation: 41
Question 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?
 
Old 09-05-2010, 10:22 AM   #2
ofaring
Member
 
Registered: Feb 2006
Location: Ontario, Canada
Distribution: Debian, sometimes BSD.
Posts: 44
Blog Entries: 13

Rep: Reputation: 21
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:
Code:
# mount /dev/sda1 /mnt
 
Old 09-05-2010, 08:17 PM   #3
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Original Poster
Rep: Reputation: 41
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
 
Old 09-05-2010, 11:33 PM   #4
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
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.
 
Old 09-05-2010, 11:53 PM   #5
basheer
Member
 
Registered: Mar 2009
Location: Bangalore, India
Distribution: CentOS6.5, CentOS7, Ubuntu14.04
Posts: 182

Rep: Reputation: 29
Smile

#lsusb and post the output
 
Old 09-06-2010, 12:06 AM   #6
archieval
Member
 
Registered: Apr 2007
Location: Philippines
Distribution: Kubuntu, Ubuntu, CentOS
Posts: 289

Original Poster
Rep: Reputation: 41
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.
 
  


Reply

Tags
mount, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mass USB storage not automatically detected adilturbo Linux - Hardware 8 11-16-2006 02:11 PM
usb mass storage device won't mount. tethysgods Linux - Hardware 3 06-21-2006 10:11 AM
Errors trying to mount USB Mass Storage Device leozumbado Linux - Software 2 06-10-2006 02:57 PM
USB Mass Storage not detected kavius Slackware 18 02-06-2006 10:46 PM
Errors trying to mount USB Mass Storage Device Ctawp Linux - Hardware 7 12-04-2003 01:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration