public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* MMC as a module: rmmod w/mounted FS succeeds
@ 2006-01-11  1:05 Kevin Hilman
  0 siblings, 0 replies; only message in thread
From: Kevin Hilman @ 2006-01-11  1:05 UTC (permalink / raw)
  To: linux-omap-open-source

When using the MMC driver as a module, I am able to do an rmmod of the MMC
driver while a FS is mounted on it.  There must be something missing in the
OMAP MMC driver in terms of proper registration.

Note that after the mount, the usecount for the MMC driver is still zero, thus
the rmmod succeeds.  Any ideas?

Kevin

root@omap1623h2:~# uname -r
2.6.15-omap1-g165e0bcd
root@omap1623h2:~# lsmod
Module                  Size  Used by
root@omap1623h2:~# modprobe omap
root@omap1623h2:~# mmcblk0: mmc0:0001 SDR128 125408KiB
 mmcblk0: unknown partition table

root@omap1623h2:~# mknod /dev/mmcblk0 b 254 0
root@omap1623h2:~# lsmod
Module                  Size  Used by
omap                   11176  0
root@omap1623h2:~# mount -t ext2 /dev/mmcblk0 /media/mmc
root@omap1623h2:~# ls -l /media/mmc
total 12
drwx------  2 root root 12288 Jan  1 00:03 lost+found
root@omap1623h2:~# lsmod
Module                  Size  Used by
omap                   11176  0
root@omap1623h2:~# rmmod omap

Followed by a crash.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-01-11  1:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-11  1:05 MMC as a module: rmmod w/mounted FS succeeds Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox