| Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-05-2010, 03:57 PM
|
#1
|
|
Member
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 145
Rep:
|
Kernel module autoloading for configuration
I have been working on fine-tuning a kernel for a laptop I am using as a Gentoo server.
I am wondering if I could use the kernel's module autoloader to help me configure drivers.
Would it be possible to select a bunch of drivers to be loaded as modules (being careful with disk drivers and those needed to load modules) and inspect the loaded modules to find the drivers I need?
In other words, here is my plan:
1) Select every driver as a module, except what I know I need for disk access.
2) Install kernel (hardened-gentoo) and reboot.
3) Use lsmod to read off loaded modules.
4) Re-configure kernel to build in running modules, and turn off the rest.
Would this work?
Thank you for any help.
|
|
|
|
07-14-2010, 10:50 PM
|
#2
|
|
LQ Newbie
Registered: Jun 2006
Location: Oregon
Distribution: FC4-6,FC1,RH8-9, LFS,RHEL5, CENTOS5, Unbreakable5
Posts: 10
Rep:
|
Yes it will work. Remember to keep a rescue kernel around when your latest
test kernel doesn't boot.
This is what most hardware companies do to optimize the Linux boot sequence.
|
|
|
|
07-15-2010, 10:00 AM
|
#3
|
|
Member
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 145
Original Poster
Rep:
|
Thank you, I'm glad to hear this. I already have a rescue kernel set up (plus a Knoppix disk as a second back-up, but that's a pain to use (10-minute boot time.))
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|