Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 04-17-2009, 06:31 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 5

Rep: Reputation: 0
device mount point/driver access

This question deals with device mounting - mapping a mount point 'back' to a device driver.

I have a running Beagleboard utilizing Angstrom distribution RFS via NFS on my Slackware (12.1) based laptop. I can access the 'data' partition (1) of an on-board SD via /media/card mount point. My goal is to pare down the RFS (from the ~280MB), making it as small as possible with the minimum drivers installed to get at key HW, such as the SD.

I successfully created a new 'teeny' RFS with minimum capability & hit a road block trying to install SD support. Going back to the Angstrom RFS, I could not determine a mount point in (/dev) and which kernel driver(s) are required. Since the SD can be removed, I'm assuming it is a 'hotplug' device thus handled by UDEV? I found SD references in UDEV related scripts but could not find mention of a specific device driver.

I'm able to build the kernel (2.6.29)/drivers & thus observe diagnostics when the drivers are installed; I did this for the SD/MMC related drivers that are built-in to the kernel. I did not see any diagnostic output - even though I can get at the card as mentioned above.

I'm able to wade thru /proc & /sys & observe SD/MMC references but I'm not expert make the mount point linkage - my goal is to find (and install) the required driver for SD access. I can even bypass the hot-plug capability for my environment.

Any help here is appreciated ..

thanks ...
Old 04-18-2009, 03:04 AM   #2
LQ Newbie
Registered: Apr 2009
Posts: 13

Rep: Reputation: 0
It may sound simple (sometimes these are the things we overlook), but have you tried 'wading' though the start-up messages via dmesg.

$ dmesg | grep -i sd | less
$ dmesg | grep -i mmc | less
Just a thought.

If this fails, I'll try and help you further in a while.
Old 04-18-2009, 03:13 AM   #3
LQ Newbie
Registered: Apr 2009
Posts: 13

Rep: Reputation: 0
It's just hit me.

Isn't SD closed source? Hence not in the Kernel.

I think SD cards are usually modules.

If that's the case do an lsmod to see what it's called.

Once you know the name of it, grep the start-up scripts and see where it's insmod(ed) or modprobe(d).

If an MMC driver will do, it will be in kernel/drivers/mmc. Just look for the *.o file in there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 05:02 PM
another access point device how to cheesewizz Linux - Networking 1 09-12-2008 08:30 AM
find mount point given device kornelix Programming 2 04-13-2007 09:01 AM
Where to find mount point for USB Removable device bobbelfield Mandriva 3 02-17-2006 10:37 PM
would it make sense to have 2 mount point for 1 device? sirpelidor Linux - Hardware 3 12-27-2003 12:10 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 04:02 AM.

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