FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 09-03-2008, 04:34 PM
Default make menuconfig

Hi people
can anyone help me setting the kernel with only the strictly needed modules for the my
laptop's hardware? Here is my 'lspci' print and a generic description of the laptop:

laptop: IBM Thinkpad R60
Intel Centrino duo T2300 1,66 Ghz
512 Mb ram
80 Gb sata HD
Wireless network card: Intel 3945 a/b/g
Ethernet network card: Broadcom Gigabit BCM5751M

Not interested in having firewire,PCMCIA or bluetooth support.

lspci--> see attached .txt file

thanks in advance

The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

---- File information -----------
File: lspci.txt
Date: 3 Sep 2008, 18:31
Size: 2113 bytes.
Type: Text
Old 09-03-2008, 06:10 PM
Default make menuconfig

<vetrocemento <at> gmail.com> writes:

> Hi people
> can anyone help me setting the kernel with only the strictly needed modules
for the my
> laptop's hardware?


Here is a very basic url to help you get started:


There is another method using 'genkernel' but, I would
not recommend that (many others will disagree)...

I brought up the subject, recently, about this very issue,
but it seems no many believe folks need a wiki (which is
maintained) related to kernel building that does not
involve genkernel.

From Gmane.org you can find this tread:

From: James <wireless <at> tampabay.rr.com>
Subject: make oldconfig
Newsgroups: gmane.linux.gentoo.user
Date: 2008-08-04 21:04:44 GMT (4 weeks, 1 day, 20 hours and 59 minutes ago)

It seems your posting validates my previous concerns.....
(ouch, now that's going to leave a mark)....

Old 09-04-2008, 03:29 AM
Default make menuconfig

James <wireless <at> tampabay.rr.com> writes:

> <vetrocemento <at> gmail.com> writes:
<in private email to me, which I choose to post here:

"thanks for precious link to the wiki.
though, I was lookin for advices to maintain kernel size as small as possible
(and have a fast
boot up), not simply to configure it, but the wiki is pretty exhaustive, so I'll
use it to make some
.configs and test them.
again, thanks
G "

Well, you are welcome. We that use gentoo are very proud of
our distro, event tho we argue amongst ourselves, it's to make
gentoo better for everyone to use.....

Using gentoo is not easy, as you have 100% control over your
hardware and OS.

That said, I posted what I posted to make a point, that we (imho)
need documentation other than genkernel for folks to use to
address issues such as you have articulated. I'm not saying
it would be easy, but, that questions on kernel building come
up time and time again.....

If you have specific questions, please ask them on this list.
Despite the fact that 'old hacks' take pot-shots at one another,
your questions are our concern; so don't be shy about asking
for help on this group. After all, most folks on this list
have learned to ignore my musings, unless it merits additional

Now, how to make a small kernel. Well for starters you can add -Os
such as what I have done for this 586 machine this
line to your make.conf file:

CFLAGS="-Os -march=i586 "

the -Os is to build a small kernel, here is some links that will help:




< there is some urls that further discuss the -Os option for
building small, but I cannot find them. Maybe someone else
will add these links to this thread, or you can google them

As far as make menuconfig, just use loadable modules to keep the
kernel size small, and eliminate as much as you can. Eliminate
a few items, rebuild a kernel and test frequently. Continue (repeat)
until you get a small, fast kernel that runs on your limited
resources as you like.

As far as fast booting, check into the parallel booting (whatever)
that is fairly new. I have not explored it yet, but, others
on this list know about speeding up the boot process.



Thread Tools

All times are GMT. The time now is 10:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org