Fedora Linux Support Community & Resources Center
  #1  
Old 12th August 2012, 05:56 PM
old486whizz Offline
Registered User
 
Join Date: Jan 2008
Posts: 33
linuxfirefox
What happened to "modprobe -l" ?

modprobe -l has always been very useful to list out what modules are available for your currently running kernel.

I've just upgraded from F15 to F17, and modprobe no longer has the "-l" parameter available!?
And no explanation of where it's vanished to, nor any replacement.

Can anyone possibly give me a clue as to what's going on, as I can't see why this has happened anywhere.

--
old486whizz
Reply With Quote
  #2  
Old 12th August 2012, 06:15 PM
smr54 Offline
Registered User
 
Join Date: Jan 2010
Posts: 5,524
linuxchrome
Re: What happened to "modprobe -l" ?

Probably worth a search on bugzilla and filing a request. A quick look at bugzilla didn't find that, though there were a few other modprobe complaints.

As to why--quite possibly an oversight.
Reply With Quote
  #3  
Old 12th August 2012, 06:51 PM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,062
linuxfirefox
Re: What happened to "modprobe -l" ?

I've never used modprobe -l since I never even heard of that option but "lsmod" works for what you want
Reply With Quote
  #4  
Old 13th August 2012, 01:25 AM
PabloTwo Offline
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,190
linuxchrome
Re: What happened to "modprobe -l" ?

Quote:
old486whizz]I've just upgraded from F15 to F17, and modprobe no longer has the "-l" parameter available!?
And no explanation of where it's vanished to, nor any replacement.
From "man modprobe" on F16 with module-init-tools-3.16-5.fc16.x86_64 (the package that provides the modprobe command).
Quote:
-l --list
List all modules matching the given wildcard (or "*" if no wildcard is given). This option is provided for backwards com‐
patibility and may go away in future: see find(1) and basename(1) for a more flexible alternative.
Reply With Quote
  #5  
Old 13th August 2012, 01:48 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,062
linuxfirefox
Re: What happened to "modprobe -l" ?

Quote:
Originally Posted by marko View Post
I've never used modprobe -l since I never even heard of that option but "lsmod" works for what you want
UPDATE:
Sorry, now I see you mean available module list and not the list of the modules loaded in the kernel. lsmod will only show the modules the kernel has loaded.

All I can think of would be to make a script that takes the output of:
Quote:
find /lib/modules/`uname -r` -type f -name "*.ko" -exec basename {} \;
and then strips off the .ko extension and then runs each one of those names into 'modinfo'
or if you'd be happy with just the name, then the find command would be enough

Last edited by marko; 13th August 2012 at 01:51 AM.
Reply With Quote
  #6  
Old 13th August 2012, 05:19 AM
vallimar Online
Registered User
 
Join Date: Jul 2008
Posts: 1,058
linuxchrome
Re: What happened to "modprobe -l" ?

module-init-tools was replaced with kmod.
They don't seem to have replicated that functionality in the new package.
Reply With Quote
  #7  
Old 13th August 2012, 08:04 AM
hadrons123 Offline
'The Blue Dragon'
 
Join Date: Jan 2011
Location: Pitt,PA
Posts: 1,260
linuxfirefox
Re: What happened to "modprobe -l" ?

This gives the same funtionality as modprobe -l
Code:
ls -R /lib/modules/$( uname -r )/kernel
__________________
LENOVO Y580 FHD Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8 |660M GTX NVIDIA | 16 GB SSD
Reply With Quote
  #8  
Old 12th October 2012, 11:13 AM
guzenkov Offline
Registered User
 
Join Date: Oct 2012
Location: Sydney
Posts: 2
linuxchrome
Re: What happened to "modprobe -l" ?

Its a pity that such a useful option is gone. Now we have to waste time making up the find expressions.
Speaking of the former I use:
Code:
 find  /lib/modules/`uname -r`/kernel -type f -printf '%f\n'
Reply With Quote
Reply

Tags
happened, list, modprobe, modprobe l, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find "rc.sysinit" and "modprobe.conf" ,thanks! sunphoenixt Using Fedora 0 22nd September 2009 10:36 AM
Modprobe: "Invalid module format" errors -- the woes of 3rd-party modules MarkE Using Fedora 1 16th July 2006 06:37 PM
Can't install some modules because modprobe gives "Invalid module format" errors MarkE Using Fedora 3 9th July 2006 06:25 PM
Error:visibility arg must be one of "default", "hidden", "protected" or "internal" wangfeng Using Fedora 0 23rd May 2005 04:59 AM
WARNING: Ignoring bad line 11 in /etc/modprobe.conf starting with "Options"? Firewing1 Hardware & Laptops 2 21st April 2005 02:00 PM


Current GMT-time: 06:23 (Wednesday, 22-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Laksham - Hastings Instagram Photos - Belo Horizonte