Re: [Hampshire] Kernel compilation

Top Page

Reply to this message
Author: Stuart Sears
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Kernel compilation
On 17/09/09 20:53, Graeme Hilton wrote:
> (sorry for top post, need to figure out how to change my phone settings)
>
> I've been using make oldconfig when going from one kernel to the next,
> answering the necessary questions as they come up. As the first kernel I
> had was a CentOS kernel it's probably got lots of stuff in there I don't
> need, but wouldn't have the first clue about getting rid of.
>
> Obviously there's something changing between my 2.6.26 kernel config and the
> 27 that means the kernel won't boot. I just can't figure out what that is.
> I've looked through the changelog for that kernel, but nothing's leaping out
> at me.


If you want a Red Hat (or Centos) compatible-ish kernel package for
2.6.31, you could consider the rawhide source rpms from the fedora
project... That would at least let you see the patches and configs applied.

# yum --enablerepo=rawhide list kernel*
[...]
Available Packages
kernel.i686     2.6.31-23.fc12           rawhide
kernel-PAE.i686 2.6.31-23.fc12           rawhide
[...]


With the source RPMs from those you may have better luck - they include
any patches applied during the build process.
(with the added bonus that you could end up with a kernel RPM not just a
binary an modules, which can be easily installed and removed, creating
the initrd where appropriate)

Kind Regards,

Stuart
--
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.