Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page Kernel recompile questions
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 05-17-2004   #1 (permalink)
jeremy1701
Linux Guru
 
Join Date: Mar 2003
Location: Wisconsin
Posts: 1,904
Send a message via Yahoo to jeremy1701
Kernel recompile questions

Hi everyone,

I'm about to under go my second kernel recompile. Last time, things didn't do so well.

Here's the back ground: I want to enable ACPI in my kernel. I know I have to recompile it to do that. I want to use the tk gui to select my kernel modules. My question is do I have to go through every single option to enable these three (ACPI) things? Last time I did this, I didn't go thorugh every option, I just added the ACPI but it set a bunch a defaults that seemed completely irrelevent to my computer. I guess what I'd like to do is keep the current module configuration and just add the ACPI stuff. How do I do that?

Thanks,
Jeremy
__________________
Registered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
jeremy1701 is offline   Reply With Quote
Old 05-17-2004   #2 (permalink)
ooop
Linux Newbie
 
Join Date: Apr 2004
Location: Stockholm, Sweden
Posts: 130
Send a message via ICQ to ooop
If you haven't compiled your kernel manually before, but instead used a binary package, then you probably haven't got a .configure file that reflects how your kernel looks.

In short, you will probably have to go through all the options once, but after that you can just make sure not to erase the .configure file, and then make subsequent changes without having to fix all options again.

What I would recommend is making sure you can boot from both kernels, so if you trash your new one, you have the old one to fall back on....
it's easily enough set up through GRUB or LILO...

good luck

/ooop
ooop is offline   Reply With Quote
Old 05-17-2004   #3 (permalink)
jeremy1701
Linux Guru
 
Join Date: Mar 2003
Location: Wisconsin
Posts: 1,904
Send a message via Yahoo to jeremy1701
Thanks, ooop. Is there any way to know for sure which modules my current kernel uses or has installed? Does lsmod show all the modules, or just the 'loaded' ones, are there modules that I need that might not be loaded? Can I use the output of lsmod as a guide to my new configuration?

No, I have never manually re-compiled my current kernel. The only other time I re-compiled it was a test to see if I could.

Thanks again!
Jeremy
__________________
Registered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
jeremy1701 is offline   Reply With Quote
Old 05-17-2004   #4 (permalink)
sarumont
Content Team Leader
 
sarumont's Avatar
 
Join Date: Apr 2003
Location: /dev/urandom
Posts: 3,662
lsmod only shows the currently loaded modules, but all the compiled modules can be found under /lib/module/current_kernel/. Usually, though, if you don't need it, it won't be loaded.
sarumont is offline   Reply With Quote
Old 05-18-2004   #5 (permalink)
jeremy1701
Linux Guru
 
Join Date: Mar 2003
Location: Wisconsin
Posts: 1,904
Send a message via Yahoo to jeremy1701
Excellent, that's exactly what I was looking for!

I'll let you know how it goes when I finally get around to it.

[crossing fingers]

Jeremy
__________________
Registered Linux user #346571
"All The Dude ever wanted was his rug back" - The Dude
jeremy1701 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 05:19 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0