From: Kevin Hilman <khilman@mvista.com>
To: linux-omap-open-source@linux.omap.com
Subject: MMC as a module: rmmod w/mounted FS succeeds
Date: Tue, 10 Jan 2006 17:05:17 -0800 [thread overview]
Message-ID: <43C459CD.4080406@mvista.com> (raw)
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.
reply other threads:[~2006-01-11 1:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43C459CD.4080406@mvista.com \
--to=khilman@mvista.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox