The time now is Tue 18 Jun 2013, 21:32
All times are UTC - 4 |
|
Page 1 of 2 Posts_count |
Goto page: 1, 2 Next |
| Author |
Message |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Thu 27 May 2010, 18:39 Post_subject:
Is there a complete list of kernel modules? |
|
Folks-
Can someone direct me to a complete list of Linux kernel modules, so I can tell what the various modules affect?
I know e100 is my Intel Ethernet card, and iw2100 is the WiFi card, but what are the others?
Thanks.
-Shel
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4377 Location: merriam, kansas
|
Posted: Thu 27 May 2010, 19:00 Post_subject:
Re: Complete list of kernel modules |
|
| Shel wrote: | Folks-
Can someone direct me to a complete list of Linux kernel modules, so I can tell what the various modules affect?
I know e100 is my Intel Ethernet card, and iw2100 is the WiFi card, but what are the others?
Thanks.
-Shel |
Click "Setup" icon on desktop -> click "Configure startup of Puppy."
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Thu 27 May 2010, 22:03 Post_subject:
Re: Complete list of kernel modules |
|
| rjbrewer wrote: | | Click "Setup" icon on desktop -> click "Configure startup of Puppy." |
Thanks, but that only gives the (somewhat abbreviated) names of the modules.
However, that did lead me to pupscan, which can be cajoled into giving me a list of the loaded modules and, more importantly, descriptions.
What I'm trying to determine is which modules I can unload when the hardware they drive isn't in use. I realize that `modprobe -r` isn't supposed to unload something that you're using, but I'm a bit leery of just unloading random modules.
That's why I'm looking for a real list of _all_ the modules, with descriptions.
Thanks.
-Shel
|
|
Back to top
|
|
 |
rjbrewer

Joined: 22 Jan 2008 Posts: 4377 Location: merriam, kansas
|
Posted: Thu 27 May 2010, 22:23 Post_subject:
|
|
System > Pprocess shows all the running processes and allows killing them.
Top and Htop also show what's running.
_________________
Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Full installs
|
|
Back to top
|
|
 |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Fri 28 May 2010, 00:19 Post_subject:
|
|
| rjbrewer wrote: | System > Pprocess shows all the running processes and allows killing them.
Top and Htop also show what's running. |
Maybe I'm not making myself clear.
What I'm looking for is a list I can print out, that has the names and descriptions of all the loadable kernel modules Puppy installed on the computer. This would include the ones Puppy actually uses on my system, as well as all the ones it does not use.
| Code: |
find /lib/modules -name '*.ko' | awk 'END {print NR}'
|
reports that there are 1565 loadable module files files on my computer. I want to know what all of them are for.
I'm sure such a list exists somewhere in the world. Maybe not on my Puppy installation, but surely at some Linux-developer-oriented website or someplace like that.
Thanks.
-Shel
|
|
Back to top
|
|
 |
Sit Heel Speak

Joined: 30 Mar 2006 Posts: 2595 Location: downwind
|
Posted: Fri 28 May 2010, 00:54 Post_subject:
Re: Complete list of kernel modules |
|
| Shel wrote: | | ...I'm looking for a real list of _all_ the modules, with descriptions. | try:
lspci -k
(show loaded kernel modules)
and
lspci -vv
(very verbose)
|
|
Back to top
|
|
 |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Fri 28 May 2010, 02:59 Post_subject:
Re: Complete list of kernel modules |
|
| Sit Heel Speak wrote: | | Shel wrote: | | ...I'm looking for a real list of _all_ the modules, with descriptions. | try:
lspci -k
(show loaded kernel modules)
and
lspci -vv
(very verbose) |
The -k option gives me an "invalid option" error message.
The -vv option is indeed verbose, but includes neither the name of the module nor a concise description.
And, of course, both are just for the loaded modules, not for _ALL_ the modules included with Puppy.
-Shel
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Fri 28 May 2010, 05:43 Post_subject:
|
|
The -k option works perfectly on my machine, lucid 501.
It's not -K
There is that pci.ids file in /usr/share/misc, which holds 10990 line
The pci id's are in there and I suppose it's complete.
Also google is your friend for f.e. pci.ids
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
npierce
Joined: 28 Dec 2009 Posts: 669
|
Posted: Fri 28 May 2010, 08:21 Post_subject:
|
|
find /lib/modules/ -type f -exec modinfo -F filename '{}' ';' \
-exec modinfo -F description '{}' ';' | less
|
|
Back to top
|
|
 |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Fri 28 May 2010, 11:45 Post_subject:
|
|
| npierce wrote: | find /lib/modules/ -type f -exec modinfo -F filename '{}' ';' \
-exec modinfo -F description '{}' ';' | less |
Now that's some progress!
It gives descriptions of many, but not nearly all, of the modules.
Now, what about the rest of them? Got any ideas about finding the descriptions for them?
Thanks!
-Shel
|
|
Back to top
|
|
 |
Sit Heel Speak

Joined: 30 Mar 2006 Posts: 2595 Location: downwind
|
Posted: Fri 28 May 2010, 12:57 Post_subject:
|
|
| Béèm wrote: | The -k option works perfectly on my machine, lucid 501.
It's not -K
There is that pci.ids file in /usr/share/misc, which holds 10990 line
The pci id's are in there and I suppose it's complete... |
@Shel,
pci.ids (and its companion, usb.ids) is the key trove of information you are looking for.
I routinely install it on my machines without even thinking, so didn't remember that all "stock" Puppies do not come with it.
If you don't have pci.ids in /usr/share/misc then go download it from
http://pciids.sourceforge.net/
then run the lspci commands again
and you will see aaaa-lllllll the information you desire, on what is loaded.
As for a list of allllll modules that come with Puppy, it's the contents of /lib/modules/(kernel version number) (what npierce's suggested command shows) plus what is compiled into the kernel.
This latter, you can deduce by spelunking the kernel compile-time DOTconfig. There is an easier way but I don't remember it offhand. Anybody?
.
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Fri 28 May 2010, 14:25 Post_subject:
|
|
| SitHealpeak wrote: | | If you don't have pci.ids in /usr/share/misc then go download it from | And I don't have usb.ids in lucid 501.
Found it with google and did download it. Thanks for the info.
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
Béèm

Joined: 21 Nov 2006 Posts: 11782 Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win
|
Posted: Fri 28 May 2010, 16:06 Post_subject:
|
|
There is another issue.
As far as I know, puppy don't have the lsusb script, so a usb.ids isn't exploited.
But I wonder how the information is retrieved in PupScan Interface Information.
In kdpup I found a lsusb script binary, copied it to sbin and did put the usb.ids /var/usbutils (had to create it) and have now:
| Code: | # lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 152d:2336 JMicron Technology Corp. / JMicron USA Technology Corp. Hard Disk Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
# |
_________________ Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
|
|
Back to top
|
|
 |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Fri 28 May 2010, 23:41 Post_subject:
|
|
| Béèm wrote: | The -k option works perfectly on my machine, lucid 501.
It's not -K |
... but not on Puppy 4.3.1.
| Quote: | There is that pci.ids file in /usr/share/misc, which holds 10990 line
The pci id's are in there and I suppose it's complete. |
There are no files in /usr/share/misc on Puppy 4.3.1.
-Shel
|
|
Back to top
|
|
 |
Shel
Joined: 11 Apr 2009 Posts: 102 Location: Seattle, WA, USA, or Southern France
|
Posted: Fri 28 May 2010, 23:52 Post_subject:
|
|
| Sit Heel Speak wrote: | If you don't have pci.ids in /usr/share/misc then go download it from
http://pciids.sourceforge.net/
then run the lspci commands again |
OK, I downloaded the file ...
| Code: |
flatso:/root # ls -la /usr/share/misc
total 644
drwxr-xr-x 2 root root 60 2010-05-28 20:43 .
drwxr-xr-x 84 root root 60 2007-11-16 18:47 ..
-rw-r--r-- 1 root root 650881 2010-05-28 20:43 pci.ids
flatso:/root # lspci -k
lspci: invalid option -- k
Usage: lspci [<switches>]
-v Be verbose
-n Show numeric ID's
-b Bus-centric view (PCI addresses and IRQ's instead of those seen by the CPU)
-x Show hex-dump of the standard portion of config space
-xxx Show hex-dump of the whole config space (dangerous; root only)
-s [[<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
-d [<vendor>]:[<device>] Show only selected devices
-t Show bus tree
-m Produce machine-readable output
-i <file> Use specified ID database instead of /usr/share/pci.ids
-M Enable `bus mapping' mode (dangerous; root only)
-P <dir> Use specified directory instead of /proc/bus/pci
-H <mode> Use direct hardware access (<mode> = 1 or 2)
-F <file> Read configuration data from given file
-G Enable PCI access debugging
|
I may have mentioned this; the -k option doesn't work under Puppy 4.3.1.
| Quote: |
and you will see aaaa-lllllll the information you desire, on what is loaded.
|
Groovy, if it worked, but not what I'm looking for.
| Quote: | As for a list of allllll modules that come with Puppy, it's the contents of /lib/modules/(kernel version number) (what npierce's suggested command shows) plus what is compiled into the kernel.
|
Right, but only about 30% of the modules show descriptions with modinfo.
Thanks.
-Shel
|
|
Back to top
|
|
 |
|
|
Page 1 of 2 Posts_count |
Goto page: 1, 2 Next |
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|