LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2003, 11:09 PM   #1
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Rep: Reputation: 31
What do you do for "make menuconfig"


Dear all.

I have read and successfully tried the very usefull
http://www.linuxquestions.org/questi...hreadid=49035.

However, I wonder what should we remove/add when we do "make menuconfig" ?

For the first trial, I was removing every modules which is not in my computer (video driver, sound driver, network cards, etc).
But the result was not working when I reboot it (just hung, blank screen).
The original kernel image was also not working anymore.
I guess the new compilation has cleaned some necessary modules.

So I reinstalled the slack.
The second trial I only change the processor type, remove math emulation, and add some networking options (multicasting). It was working.

Everybody, please share, until what extends can we streamlined the kernel ?

Thanks.
 
Old 07-13-2003, 06:32 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
The simple answer to your question is that there is no simple answer to your question. A slightly better answer would be, 'it depends.'

What must be compiled into your kernel depends on (at least) two factors. The first factor is what hardware you have in your computer. Personally, I always remove everything in the SCSI Support section because my computer has no SCSI, only IDE.

The second factor to consider is what purpose(s) your computer will serve. For example, if you're building a webserver, you may want to leave out all sound support.

A good practice to follow while you're trying to figure out if you need a specific item, would be to click on 'HELP' and read what that option does before you eliminate it. Very often, the description there will tell you 'If you don't know what this option does, chances are you don't need it' (or words to that effect). Other times it may tell you 'You need this option' even if you don't think you do (for instance, with loopback support under Networking). This may actually be what was wrong with your first trial.

Another suggestion I'd make is to not cut out several options at a time (at least until you've gained some more experience). That way you'll have a better idea of which option you eliminated that you shouldn't have if the kernel doesn't boot.

In time you'll become more comfortable with the process and through trial and error, you'll find what you can cut.

Enjoy!
--- Cerbere
 
Old 07-13-2003, 08:14 AM   #3
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Have a look at the output of lsmod and the kernel log.That should give you an idea what is needed for your hardware to work.All the other stuff like network options and so on depends on your specific needs.
 
Old 07-13-2003, 03:51 PM   #4
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
>> Personally, I always remove everything in the SCSI Support section because my computer has no SCSI, only IDE.

Cool. What else ?
How about APM ? My friends always remove it for their PC, but I'm on a laptop.

A general question.
There are a lot of modules for a certain device, for example video cards. If I certainly know which video card I have,
Does removing the unnecessary modules increase the performance ?
Does promoting the necessary module to static give better performance ?

Thank you.
 
Old 07-13-2003, 06:41 PM   #5
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Basically the kernel options and modules vs. static is way overrated IMHO.If you got a decent box it shouldn't make much of a difference if the kernel is a couple bytes bigger or smaller -we're talking about around 1 MB of RAM.The patches that are available are way more interesting for increasing performance.
 
Old 07-14-2003, 02:36 PM   #6
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Rep: Reputation: 15
Quote:
How about APM ? My friends always remove it for their PC, but I'm on a laptop.
I compiled APM into the kernel for my laptop and it works great. It allows the computer to suspend and all of that as well as letting kde give a readout on the charge in the battery.

soup
 
Old 07-15-2003, 10:09 PM   #7
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Quote:
Basically the kernel options and modules vs. static is way overrated IMHO.If you got a decent box it shouldn't make much of a difference if the kernel is a couple bytes bigger or smaller -we're talking about around 1 MB of RAM.The patches that are available are way more interesting for increasing performance.
Thanks.
Then I'll leave the unused modules.
IMHE (In my humble experience),
I agree that it don't hurt the performance too much.

But what patches do you mean ?
 
Old 07-16-2003, 05:31 AM   #8
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
There are all kinds of patches available for the kernel - even got their own here.Some are geared towards faster response others toward security,and,and,and.
The most popular are probably Alan Cox's and Andrea Arcangeli's versions of the kernel.I am playing around with Con Koliva's kernel right now.
If you want stability you might want to go there.
 
Old 07-17-2003, 04:52 AM   #9
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Quote:
There are all kinds of patches available for the kernel - even got their own here
Where ?
 
Old 07-17-2003, 05:34 AM   #10
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
You wander to the top of this page - use the 'home' button - then on the that page look towards the right side.There is a kernel section that includes a patched lq-kernel.Or go http://sourceforge.net/projects/linuxquestions

Last edited by crashmeister; 07-17-2003 at 05:37 AM.
 
Old 07-17-2003, 08:40 AM   #11
Kocil
Member
 
Registered: Feb 2003
Distribution: Redhat since 5.2, Slackware since 9.0, Vector since 4.0
Posts: 209

Original Poster
Rep: Reputation: 31
Thanks all.
That's a wonderfull help for me.

Wish you a happy hacking.
 
  


Reply



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
Is it possible to use "make menuconfig" ONLY for new options after a Kernel upgrade ? nasty_daemon Linux - General 9 09-08-2005 11:21 AM
Errors Trying to "make menuconfig" kernel-source-2.6.10 Royle Debian 2 02-14-2005 06:53 AM
Slack 9.1 & "make menuconfig" options bawbag Slackware 3 10-08-2003 02:49 AM
problem with executing "make menuconfig" foxy17 Slackware 9 09-14-2003 07:17 AM
debian woody: error at "make menuconfig" Lingo Linux - Newbie 3 11-29-2002 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:01 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