[CentOS] Adding patch to Centos Kernel - early build failure

Wed Sep 3 15:48:11 UTC 2008
Akemi Yagi <amyagi at gmail.com>

On Wed, Sep 3, 2008 at 3:37 AM, Dunc <centos at duncb.co.uk> wrote:
> Hi Guys
>
> I'm trying to add the patch mentioned in this thread to the plain Centos
> kernel
>
> http://lists.centos.org/pipermail/centos/2008-August/062845.html
>
> I've followed the directions on the wiki for building a custom kernel, but
> after applying all the patches it fails with:
>
> make[1]: *** [nonint_oldconfig] Error 4
> make: *** [nonint_oldconfig] Error 2
> error: Bad exit status from /var/tmp/rpm-tmp.74263 (%prep)
>
> RPM build errors:
>   Bad exit status from /var/tmp/rpm-tmp.74263 (%prep)
>
> Can anyone help with this? Or is there an easier way to apply the patch, as
> I'm not wanting to change the config of the kernel in any way?

Just wanted to make sure you ran the rpmbuild command with
--target=`uname -m` ?  Or did you attempt to build it for an arch that
is different from the running kernel?

Now...

This bug looks quite nasty and seems to be affecting a good number of
people.  There is a long discussion thread on the Scientific Linux and
someone there is offering patched SL kernels:

http://listserv.fnal.gov/scripts/wa.exe?A2=ind0808&L=scientific-linux-users&T=0&P=17645

In a case like this, Johnny Hughes used to build a patched version of
CentOS kernels.  Seems like he is not available at this moment.  Would
some other CentOS dev be able to do this for affected CentOS users?

Akemi