Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: modules in use
Date: Sat, 06 Dec 2008 02:02:25
Message-Id: 58965d8a0812051802g5c6ed819lfbb0bb21ea5acc81@mail.gmail.com
In Reply to: [gentoo-user] Re: modules in use by "»Q«"
1 On Fri, Dec 5, 2008 at 7:09 PM, »Q« <boxcars@×××.net> wrote:
2 > On Sat, 06 Dec 2008 02:51:02 +0200
3 > Nikos Chantziaras <realnc@×××××.de> wrote:
4 >
5 >> Neil Bothwick wrote:
6 >> > On Fri, 5 Dec 2008 22:32:23 +0100, Sebastian Günther wrote:
7 >> >
8 >> >> The third column of lsmod is headed with Used by and consists of a
9 >> >> number and a list of modules which use it.
10 >> >>
11 >> >> Everything with a 0 is not used.
12 >> >
13 >> > Not true. Anything with a 0 is not used by another module. That's
14 >> > not the same as not used.
15 >>
16 >> I think a 0 indicates that it's not used at all. For example, lsmod
17 >> here says:
18 >>
19 >> Module Size Used by
20 >> oss_audigyls 21888 0
21 >> osscore 554244 1 oss_audigyls
22 >>
23 >> If I start Amarok and play a tune, lsmod says:
24 >>
25 >> Module Size Used by
26 >> oss_audigyls 21888 4
27 >> osscore 554244 3 oss_audigyls
28 >>
29 >> Note that after the "4" is nothing. That probably means it is used,
30 >> but *not* by a module? That would mean that 0 means really totally
31 >> unused by anything.
32 >
33 > I see the same kind of thing, using alsa instead of oss. But Whatever
34 > the 0's mean, the output of lsmod won't be enough to help the OP, who
35 > really wants to be able to tell what modules are *needed*.
36 >
37 > $ lsmod | grep iwl
38 > iwl4965 185000 0
39 > mac80211 112076 1 iwl4965
40 >
41 > It's certainly possible that my wireless driver is not being used by
42 > anything at any given microsecond, but this post won't get off my
43 > computer without that driver being used.
44
45 Yes, I think the only real solution is to remove things and see what breaks.

Replies

Subject Author
[gentoo-user] Re: modules in use Harry Putnam <reader@×××××××.com>