PIII patches and bproc
Tue, 16 Jan 2001 12:17:53 -0500
First off, i know the answer is going to be "well, don't apply the PII
patches". Yeah, that works, but i'm looking to have both. sue me :>
anyway, what i've done is patched a 2.2.18 kernel with bproc and with
the PIII patches ( from http://people.redhat.com/dledford/PIII.html ).
The PIII patch rearanges some headers, and moves some stuff (like
the unlazy_fpu() macro ) into asm-i386/i387.h.
So i added #include <asm/i387.h> to vmadump.c, rebuilt, and when the
vmadump.o module is loaded, it can't find the symbol kern_fpu_lock:
root@mcbain2 bproc-2.0.2]# insmod vmadump/vmadump.o
vmadump/vmadump.o: unresolved symbol kern_fpu_lock
root@mcbain2 bproc-2.0.2]# grep kern_fpu_lock /boot/System.map-2.2.18
80247e24 D kern_fpu_lock
kern_fpu_lock is declared (after the patch) in
spinlock_t kern_fpu_lock = SPIN_LOCK_UNLOCKED;
and the asm/i387.h header declares
extern spinlock_t kern_fpu_lock;
As i say, i know this is "unsupported", but perchance someone out
there has tried to get both the PIII patches and bproc working
Thanks for any advice.
[ Rob Latham <email@example.com> Developer, Admin, Alchemist ]
[ Paralogic Inc. - www.plogic.com ]
[ EAE8 DE90 85BB 526F 3181 1FCF 51C4 B6CB 08CC 0897 ]