LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 10-26-2011, 02:17 AM   #1
Andy Tian
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Rep: Reputation: Disabled
how to get the builtin module information


After the system is up, how to know a module(for example:ehci-hcd) is a built-in module? how to get the names for all built-in modules? where and how to check the information for a built-in module?

Thanks in advance!
 
Old 10-26-2011, 07:49 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Assuming by "built in" you mean came with the current kernel, you could try:

Code:
modinfo <module_name> | grep filename | awk '{ print $2 }' | xargs -I module yum provides "module"
 
Old 10-26-2011, 10:10 PM   #3
Andy Tian
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
kbp, thanks a lot for the reply.
Is there a command like 'lsmod' to display all the built-in kernel modules?
 
Old 10-26-2011, 10:27 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Read here - http://www.thegeekstuff.com/2010/11/...mand-examples/

Cheers,

Josh
 
Old 10-27-2011, 02:17 AM   #5
Andy Tian
LQ Newbie
 
Registered: Oct 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by corp769 View Post
That is what I need, thanks a lot!
 
Old 10-27-2011, 04:45 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
No problem! Mark your thread as solved using the thread tools located at the top of the page, and give rep if you would like.

Cheers!

Josh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] phpinfo stops on showing date module information golden_boy615 Linux - Server 6 02-11-2011 11:46 PM
How to prompt for some information from PAM module 1989gaurav Programming 3 01-11-2011 06:29 AM
perl module for getting information from remote machines kdelover Programming 15 10-17-2010 10:13 PM
help-getting all loadable kernal module information while linux booting dileepkantamneni Linux - Newbie 3 06-15-2009 10:38 PM
reading /proc information from kernel module someshwar Linux - Kernel 1 10-31-2006 11:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration