Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264038 - Method of listing all available kernel modules cumbersome
Summary: Method of listing all available kernel modules cumbersome
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 05:12 UTC by OzoneHole
Modified: 2009-04-29 18:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description OzoneHole 2009-03-28 05:12:10 UTC
In section 7e the step

   Code Listing 5.1: Viewing all available modules

   # find /lib/modules/<kernel version>/ -type f -iname '*.o' -or -iname '*.ko'

is mentioned.

This does list all the available modules, however, from the standard terminal at this point in the install it quickly goes off screen.

I redirected the output into a text file and used nano to view it. 

The installation manual could usefully add steps to do this.
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2009-03-28 09:15:59 UTC
Or use |less
Comment 2 Xavier Neys (RETIRED) gentoo-dev 2009-03-28 09:16:10 UTC
Or use |less
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2009-04-29 10:41:54 UTC
Is there any reason why we can't use `modprobe -l` instead of find?
Comment 4 nm (RETIRED) gentoo-dev 2009-04-29 18:12:11 UTC
That only does it for the currently running kernel. Which is not the one that was just compiled and installed. And since it only works for one kernel, that doesn't help if the user has multiple kernels/versions installed, whereas with "find" you get to pick which kernel version you want to examine.

Also, the manpage for modprobe itself suggests using the "find" approach, rather than using "-l", which modprobe says is provided only for compatibility reasons.