1 |
On 8/4/06, Noack, Sebastian <S.Noack@××××××××××.de> wrote: |
2 |
> > The kernel which I compiled supports sk98lin, skge and sky2 as |
3 |
> modules, |
4 |
> > and it seems like skge is automatically chosen. BTW, shouldn't "used |
5 |
> by" |
6 |
> > have a non-zero value for skge when the network controller is active? |
7 |
> |
8 |
> No, the "used by" column of lsmod just tell you which other modules |
9 |
> depend on the corresponding module. |
10 |
|
11 |
Not really. Used by is a reference count that can be incremented by |
12 |
either dependant modules, or by open devices. As an example from my |
13 |
system: |
14 |
|
15 |
carcharias linux # lsmod |
16 |
Module Size Used by |
17 |
ipw3945 102304 1 |
18 |
|
19 |
This is "used" by the user-space ipw3945d daemon. If I kill that, I |
20 |
can remove the module... |
21 |
|
22 |
af_packet 20040 2 |
23 |
arc4 2048 1 |
24 |
ipt_addrtype 1856 1 |
25 |
ipt_LOG 5952 1 |
26 |
xt_pkttype 1920 3 |
27 |
xt_tcpudp 3072 4 |
28 |
|
29 |
.. and I have some packet filters setup... |
30 |
|
31 |
nvidia 4546580 12 |
32 |
|
33 |
...no idea why nvidia requires 12 references for one desktop... |
34 |
|
35 |
b44 24140 0 |
36 |
|
37 |
...my wired network card. |
38 |
|
39 |
To answer the OP, you are allowed to remove the network module of a |
40 |
configured network interface. This has the effect of hot-removing the |
41 |
card, the interface just disappears. |
42 |
|
43 |
-Richard |
44 |
-- |
45 |
gentoo-user@g.o mailing list |