Jump to content
and_woox

List of installed modules [solved]

Recommended Posts

The lsmod command will only give you a list of the loaded modules at that time. If you want a list of all the 'installed' modules on your Mandriva system, and their location: As root do

updatedb

then do

locate -e ko.gz

Share this post


Link to post
Share on other sites
As root do
updatedb

then do

locate -e ko.gz

As I understand it this would list all modules of all installed kernels. So my suggestion is to check your version in use, then go to the specific directory and list modules:

uname -a
cd /lib/modules/<kernel-version>
ls -al | more

Share this post


Link to post
Share on other sites
As I understand it this would list all modules of all installed kernels. So my suggestion is to check your version in use, then go to the specific directory and list modules:

uname -a
cd /lib/modules/<kernel-version>
ls -al | more

That's a good point! I always delete my old kernels, but if you didn't that could be a very large list!

 

Thanks for pointing that out. :)

 

However, that command does not enter the directories and list them, or find any modules in /var/lib/dkms.

 

I will offer a compromise: do

uname -r

then

locate -e ko.gz |grep (enter uname -r output here)

replacing (enter uname -r output here) with the real output.

Share this post


Link to post
Share on other sites

I obviously read the question. Anyway

locate -e ko.gz | grep `uname -r`

should give the same result I do believe.

Share this post


Link to post
Share on other sites

One small edit.

/sbin/modprobe -l | less

Now you don't have to be root and you can scroll through them. I like it!

 

I must really be bored? :P

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...