Re: modprobe ipv6 gives -1 usage count was [ramfs problem...]

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat Jan 06 2001 - 04:55:09 EST


Stefan Traby writes:
> I bet that a fix for the following exists, too: :)
>
> [0]--(06:19:49)-(root@stefan)-(~)-> lsmod |grep -i ipv6
> [1]--(06:22:33)-(root@stefan)-(~)-> modprobe ipv6
> [0]--(06:22:38)-(root@stefan)-(~)-> lsmod |grep -i ipv6
> ipv6 117424 -1
> [0]--(06:22:46)-(root@stefan)-(~)->
>
> usage count: -1

Why? It is not a bug. It means that the module itself determines when/if
it can be unloaded. (an attempt to unload ipv6 calls ipv6_unload() which
determines if the module can be removed)
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | 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/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:24 EST