[CentOS] Custom build kernel patch fails big time.

Robert Moskowitz rgm at htt-consult.com
Fri Sep 12 21:16:34 UTC 2008


Filipe Brandenburger wrote:
> On Fri, Sep 12, 2008 at 16:46, Robert Moskowitz <rgm at htt-consult.com> wrote:
>   
>> Oh, one question was asked about how the ~/rpmbuild/BUILD/kernel-2.16.18
>> directory looks like.  I think the linux-2.6.18.i386 (or i686) is not what
>> the patch is expecting?
>>     
>
> As some of the patches fail only 1/2 or 2/3 or 1/4, that means that
> there is a part of it that succeeded, so it's probably not a matter of
> directory layout.
>
> It seems that what you are trying to do is take a patch created on the
> latest kernel from kernel.org, and applying it verbatim to the latest
> CentOS kernel,

Quite wrong there.

The hipl main code comes with separate patches for each kernel. I AM 
using the one in the 2.6.18.0 directory.

>  which is far far far away from the latest kernel.org.
> The problem is that the kernel from kernel.org was probably changed a
> lot between the version used on CentOS and the latest version, in some
> areas the code may have changed so much that it's highly improbable
> that any non-trivial patch will succeed there. That's why this is
> called "back-porting", because there is actually quite a lot of effort
> into it.
>
> Filipe
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>   



More information about the CentOS mailing list