* Little question about modules...
@ 2001-01-14 2:20 Nicolas Noble
2001-01-07 2:36 ` David Weinehall
2001-01-07 9:58 ` Russell King
0 siblings, 2 replies; 5+ messages in thread
From: Nicolas Noble @ 2001-01-14 2:20 UTC (permalink / raw)
To: Linux-kernel's Mailing list
Just a question:
Why do I have used by -1 for the module ipv6 onto my system?
extract of the /proc/modules:
ip6table_filter 1988 0 (unused)
ip6t_mark 688 0 (unused)
ip6t_limit 1016 0 (unused)
ip6_tables 13044 3 [ip6table_filter ip6t_mark ip6t_limit]
ipv6 117992 -1
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Little question about modules...
2001-01-14 2:20 Little question about modules Nicolas Noble
@ 2001-01-07 2:36 ` David Weinehall
2001-01-07 9:58 ` Russell King
1 sibling, 0 replies; 5+ messages in thread
From: David Weinehall @ 2001-01-07 2:36 UTC (permalink / raw)
To: Nicolas Noble; +Cc: Linux-kernel's Mailing list
On Sun, Jan 14, 2001 at 03:20:52AM +0100, Nicolas Noble wrote:
>
> Just a question:
>
> Why do I have used by -1 for the module ipv6 onto my system?
>
> extract of the /proc/modules:
>
> ip6table_filter 1988 0 (unused)
> ip6t_mark 688 0 (unused)
> ip6t_limit 1016 0 (unused)
> ip6_tables 13044 3 [ip6table_filter ip6t_mark ip6t_limit]
> ipv6 117992 -1
To make sure ipv6 can't get unloaded. If I remember correctly, the
ipv6 code will oops nicely if unloaded.
/David Weinehall
_ _
// David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Little question about modules...
2001-01-14 2:20 Little question about modules Nicolas Noble
2001-01-07 2:36 ` David Weinehall
@ 2001-01-07 9:58 ` Russell King
2001-01-07 11:51 ` Keith Owens
1 sibling, 1 reply; 5+ messages in thread
From: Russell King @ 2001-01-07 9:58 UTC (permalink / raw)
To: Nicolas Noble; +Cc: Linux-kernel's Mailing list
Nicolas Noble writes:
> Why do I have used by -1 for the module ipv6 onto my system?
I guess this is going to be a new FAQ! Can we add it to the lkml FAQ
please?
"-1" means that the module itself decides whether it can be unloaded or
not, in this case it is decided by the function "ipv6_unload". It is
not a bug to have a use count of "-1".
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Little question about modules...
2001-01-07 9:58 ` Russell King
@ 2001-01-07 11:51 ` Keith Owens
2001-01-07 12:11 ` David Ford
0 siblings, 1 reply; 5+ messages in thread
From: Keith Owens @ 2001-01-07 11:51 UTC (permalink / raw)
To: Russell King; +Cc: Nicolas Noble, Linux-kernel's Mailing list
On Sun, 7 Jan 2001 09:58:47 +0000 (GMT),
Russell King <rmk@arm.linux.org.uk> wrote:
>Nicolas Noble writes:
>> Why do I have used by -1 for the module ipv6 onto my system?
>
>I guess this is going to be a new FAQ! Can we add it to the lkml FAQ
>please?
>From man insmod in modutils 2.4.1 (not released yet).
If the module controls its own unloading via a can_unload routine
then the user count displayed by lsmod is always -1, irrespective of
the real use count.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Little question about modules...
2001-01-07 11:51 ` Keith Owens
@ 2001-01-07 12:11 ` David Ford
0 siblings, 0 replies; 5+ messages in thread
From: David Ford @ 2001-01-07 12:11 UTC (permalink / raw)
To: Keith Owens; +Cc: Russell King, Nicolas Noble, Linux-kernel's Mailing list
On Sun, 7 Jan 2001, Keith Owens wrote:
> If the module controls its own unloading via a can_unload routine
> then the user count displayed by lsmod is always -1, irrespective of
> the real use count.
Maybe lsmod can show a blank for the field and (auto unload). That'd
probably draw a lot less "my module is broken" reports.
-d
--
---NOTICE--- fwd: fwd: fwd: type emails will be deleted automatically.
"There is a natural aristocracy among men. The grounds of this are
virtue and talents", Thomas Jefferson [1742-1826], 3rd US President
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-01-07 12:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-14 2:20 Little question about modules Nicolas Noble
2001-01-07 2:36 ` David Weinehall
2001-01-07 9:58 ` Russell King
2001-01-07 11:51 ` Keith Owens
2001-01-07 12:11 ` David Ford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®