On 8/4/06, Noack, Sebastian <[EMAIL PROTECTED]> wrote:
> The kernel which I compiled supports sk98lin, skge and sky2 as
modules,
> and it seems like skge is automatically chosen. BTW, shouldn't "used
by"
> have a non-zero value for skge when the network controller is active?

No, the "used by" column of lsmod just tell you which other modules
depend on the corresponding module.

Not really.  Used by is a reference count that can be incremented by
either dependant modules, or by open devices.  As an example from my
system:

carcharias linux # lsmod
Module                  Size  Used by
ipw3945               102304  1

This is "used" by the user-space ipw3945d daemon.  If I kill that, I
can remove the module...

af_packet              20040  2
arc4                    2048  1
ipt_addrtype            1856  1
ipt_LOG                 5952  1
xt_pkttype              1920  3
xt_tcpudp               3072  4

.. and I have some packet filters setup...

nvidia               4546580  12

...no idea why nvidia requires 12 references for one desktop...

b44                    24140  0

...my wired network card.

To answer the OP, you are allowed to remove the network module of a
configured network interface.  This has the effect of hot-removing the
card, the interface just disappears.

-Richard
--
gentoo-user@gentoo.org mailing list

Reply via email to