Red Hat Bugzilla – Bug 8600
Unable to patch 2.2.12-20 kernel to 2.2.13
Last modified: 2008-05-01 11:37:53 EDT
I'm probably doing something wrong here, but I need someone to point the
I am having major corruption problems on the filesystem (similar symptoms
to bug 8474, and then some..) and I have not been able to retain my Oracle
8.1.5 database in an uncorrupt state for any length of time. Having read
the patch documentation for 2.2.14, it indicates that there are quite a
few fixes which may address my problems. Hence, I downloaded the 2.2.13
and 2.2.14 patches.
When I tried to apply the 2.2.13 patch to my existing source tree, using
the command line invocation, or the patch-kernel script, I appear to have
over 300 .rej files in the tree. I restored the tree from the rpm and had
the same problem. As this may be expected (assumption on my part that
the -20 suffix to the current kernel indicates that it may have been
partially patched) I tried to make the image. Make clean - OK; make dep;
OK, make zImage:
Everyting OK until the final link, when it complains about function
mem_init in mm.o
undefined reference to i386_endbase
Now, this is indeed the case that mm/init.o has a reference to
i386_endbase and there is no other reference to that. Greping through the
source, there would have been a reference in setup.c, but this change was
rejected in the patch execution. The only other reference is in smp.c
(but I'm only a lonely single processor. So, should I run the patch
again, and this time insist that it is applied everywhere, or should I
just insist against setup.c, or ????
Thanks for your help
When this is sorted, onto 2.2.14 !!!!
As you state, the kernel in the 2.2.12-20 rpm package is heavily patched, and
the kernel patches can't be applied against it. You would need to download the
full kernel source from...
...or from one of its mirrors, then configure and compile that.
I've been looking at producing a kernel-source-2.2.14-1.i386.rpm consisting of
the raw 2.2.14 kernel source with the relevant patches from the 2.2.12 rpm
applied to it, but that appears to be extremely tricky to get right as several
of the patches therein have been partly applied in the 2.2.14 source and also
partly not applied, whilst others appear to have been replaced by alternative
patches that fix the same problem.
I just wish that RedHat would produce such an RPM, but they apparently choose
not to do so.
You might try kernel-2.2.14-1.2.0 from Raw Hide. Dunno if it will fix your
problem since I know not what patches you are questing after.
Thanks for your help.
I've downloaded 2.2.14 from ftp://ftp.kernel.org/pub/linux/kernel/v2.2/
and hope this will fix the problems. If not, I'll be back...