Tech Support > Operating Systems > Linux / Variants > Program for finding what drivers to add in new kernel?
Program for finding what drivers to add in new kernel?
Posted by Baard Ove Kopperud on February 2nd, 2004


I'm toying with the idea of compiling a new
kernel. My goal is to get something less
blouted than the generic-kernel supplied with
my installation.

However, I'm ver uncertain about what drivers/
modules I need... what must I absolutly have?
what do I need to support my hardware?

I was therefor wondering if there are any
programs to map-out exactly what sort of
hardware I use -- and what drivers I need...
or alternatively, a program that shows what
of all my drivers are actually being used.

If the program outputed something that could
easely be used to configure the kernel, it would
be a great pluss.

-Koppe

--
Baard Ove KOPPERUD | bokoppeNOSpamHere@frisurf.no
Furu |
2625 FAABERG | AIM : bokopperud
NORWAY | ICQ#: 24367492

Posted by Lenard on February 2nd, 2004


begin On Mon, 02 Feb 2004 08:27:55 +0100, Baard Ove Kopperud typed:

lspci -v ; lists your hardware

cat /proc/modules ; lists the modules loaded

make oldconfig ; creates a basic .config file for kernel compiling based
on your hardware.

Please read the kernel-HOWTO found here;
http://www.linuxdocs.org/HOWTOs/Kernel-HOWTO.html

And the documentation that comes with the kernel source package.


--
end
There's no attachment here, your newsreader is broken by Microsoft's choice!!
http://support.microsoft.com/default...;EN-US;q265230



Posted by Jeroen Geilman on February 2nd, 2004


Lenard wrote:

Erm.. no.
make oldconfig just compiles a new kernel with an old .config file; this
may or may not have anything to do with your hardware.
It also doesn't in any way *create* a .config file - instead, it uses
one that you have provided.
So if you are running a kernel that has no support for half your
hardware, and you copy the .config file that was used to create that
kernel to a new source tree, and run "make oldconfig" - you will end up
with a new kernel that still doesn't support half your hardware.

Indeedy ;-)

--
Jeroen Geilman

Analog bits courtesy of adaptr.


Similar Posts