Re: compiling a new kernel

From: Lenard (lenard_at_127.0.0.1)
Date: 05/23/04


Date: Sun, 23 May 2004 12:30:52 GMT

On Sun, 23 May 2004 11:42:31 +0000, Michael wrote:

> I thought this was going to be easy - but then again it never is....
>
> I have compiled a new kernel from version 2.4.20-31.9 sources. The
> trouble is the default configuation is all wrong (not like the kernel
> already compiled) no several things are broken that I cannot fix.

<snip>
> does anyone have a "default" .config file for the kernel for RedHat 9
> kernel 2.4.20-31.9 so I can start again?

You do.... look in /boot and you will find a file like config-2.4.20-31.9
just copy that to the proper location and rename it.

If you want to create your own custom kernel for your system, please read;

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-custom-kernel.html
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

Hint: 'make mrproper' followed by 'make oldconfig' will cleanup the failed
attempt(s) and generate a workable base .config file based on your current
(working) kernel with the extra features not needed turned off.

-- 
"In short, without this exclusive franchise, called the Windows API,
we would have been dead a long time ago." M$ Senior VP Bob Muglia '96


Relevant Pages

  • Re: compiling a new kernel
    ... >>trouble is the default configuation is all wrong (not like the kernel ... >>already compiled) no several things are broken that I cannot fix. ... > If you want to create your own custom kernel for your system, ...
    (linux.redhat.install)
  • The Debian Way-NVIDIA
    ... following kernel options has been reported to cause trouble with the nvidia ... suspect these options as the likely cause of the trouble. ... and there is no folder i386/kernel/acpi ... Registered Linux user # 367800 ...
    (Debian-User)
  • Re: Strange reaction to keyboard at first login
    ... "input: AT Translated Set 2 ... considered recompiling the kernel and using the above as a module and ... and this clears the trouble. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: mkroot: label / not found
    ... > installed and working without trouble for a couple of months. ... this was the first reboot? ... Try the 2.6.12-1.1447 or older kernel. ... Supposedly upgrading ...
    (Fedora)
  • Re: The Debian Way-NVIDIA
    ... Note, however, that each of the following kernel options has been reported to cause trouble with the nvidia driver: ... If for some reason you don't disable them, and then your X display doesn't work properly with the nvidia driver, you should suspect these options as the likely cause of the trouble. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)