I got a doozer of a problem-- I hope you all can help.

I recently upgraded to  Redhat 6.0 from 5.2  The upgrade left me with a
modular 2.2.5-15 non-SMP kernel. (Wheras before I was running a
self-compiled SMP kernel with Redhat 5.2)  I then installed the
2.2.5-15smp kernel rpm and repointed all the pointers in /boot and my
system is running great.

I don't fully understand the problem I am having:  It appears that the
rpm for the 2.2.15 headers (called 'kernel-headers') corresponds only to
a non-SMP kernel.  Specifically, I was trying to install OSS (sound
suuport) to get my soundblaster awe64 working.  During the compile
section of the install I got this:-==========================<clip>
sh ./check_shields.sh


Error: You do not appear to have kernel include files installed
properly.

The kernel you are currently running is 2.2.5-15smp. However
/usr/src/linux/include/linux/version.h
contains the sources/headers for "2.2.5-15".
You should make sure that /usr/src/linux/include contains the
sources/headers
for the kernel image that is being used on this system.

gcc -D__KERNEL__ -DMODULE -I/usr/src/linux-`uname -r`/include
-I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -DMODVERSIONS -D__SMP__ -D__SMP_PROF__
-ffixed-8  -c sndshield.c -o sndshield
/usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
In file included from /usr/src/linux/include/linux/smp.h:11,
                 from /usr/src/linux/include/linux/sched.h:20,
                 from sndshield.c:35:
/usr/src/linux/include/asm/smp.h:209: warning: implicit declaration of
function `GET_APIC_ID'
/usr/src/linux/include/asm/smp.h:209: `APIC_BASE' undeclared (first use
in this function)
/usr/src/linux/include/asm/smp.h:209: (Each undeclared identifier is
reported only once
/usr/src/linux/include/asm/smp.h:209: for each function it appears in.)
/usr/src/linux/include/asm/smp.h:209: `APIC_ID' undeclared (first use in

this function)
make: *** [sndshield] Error 1
*** Compiling sndshield failed - kernel version incompatible ***
This version of OSS is not compatible with the kernel you are using


Error: You do not appear to have kernel include files installed
properly.

The kernel you are currently running is 2.2.5-15smp. However
/usr/src/linux/include/linux/version.h
contains the sources/headers for "2.2.5-15".
You should make sure that /usr/src/linux/include contains the
sources/headers
for the kernel image that is being used on this system.

See /usr/lib/oss/Readme and /usr/lib/oss/install.log for more info.
===========end clip

Sure enough, the
usr/src/linux/include/linux/version.h file does have as its first line:
#define UTS_RELEASE "2.2.5-15"

this file comes from the kernel-headers RPM from redhat.

I guess my questions for you are:  What is going on?  Is this a problem
with SMP? How can I fix it?  Will recompiling the kernel with the
current source in SMP mode solve this problem?


Thanks!
Jon
[EMAIL PROTECTED]



-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to