- To: autofs@xxxxxxxxxxxxxxx
- Subject: autofs4 module reference count
- From: Michael Tokarev <mjt@xxxxxxxxxx>
- Date: Thu, 26 Apr 2012 17:41:48 +0400
- Openpgp: id=804465C5
- Organization: Telecom Service, JSC
- User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3
I'm not sure how but it appears that sometimes
after I stop autofs service, the module usage
count goes negative so the module can't be
removed anymore.
This happens on 3.0.29 kernel on which I'm
testing stuff with the user<=>kernel interface
problem on mixed 32/64bit environment, but I
don't see any changes related to this in more
recent kernels.
Current situation I have:
$ lsmod | grep auto
autofs4 22422 2147483647
It happened when I stopped automount
(using /etc/init.d/autofs stop), before
this action the module had 1 usage count
(with only one automount map/mount in use).
Before, when the daemon were stucking all
the time, I had to kill -9 it, and the usage
count was decremented correctly.
It looks like something is decrementing the
usage count twice on the regular path, and
only once on error path.
Thanks,
/mjt
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux ARM Kernel]
[Linux ARM]
[Linux Omap]
[Fedora ARM]
[IETF Annouce]
[Security]
[Bugtraq]
[Linux]
[Linux OMAP]
[Linux MIPS]
[ECOS]
[Tools]
[DDR & Rambus]
[Asterisk Internet PBX]
[Linux API]
[Monitors]