Bug 3911

Summary: Problem in kernel version support on SMP
Product: [Retired] Red Hat Linux Reporter: fred-m
Component: kernelAssignee: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: gafton
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-31 16:25:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description fred-m 1999-07-06 08:22:10 UTC
When I compile an SMP kernel from the Red Hat 6.0 kernel
sources with CONFIG_MODVERSIONS, the exported kernel
symbols do not have "smp_" on the version:
% grep printk /proc/ksyms
c01165dc printk_R1b7d4074

This might be a problem with the headers, because I am also
having problems to compile modules on this machine.

These problems do not happen when I compile a 2.2.5 kernel
from the "standard" sources:
% grep printk /proc/ksyms
c01143ac printk_Rsmp_1b7d4074

Two notes:
- This one might be related to bugs 3151, 3072, etc.
- Upgrading from 5.2 didn't detect the computer as an SMP
machine, I had to install the SMP kernel later. Any chance
that this might be related to the cause?

Comment 1 Preston Brown 1999-07-12 17:09:59 UTC
Cristian, any comments on this one?

Comment 2 Pekka Savola 1999-07-13 09:43:59 UTC
I have noticed the same (rather annoying) problem with a clean RH6.0
install into a dual-P3 computer.  For example, compiling a new network
driver (manually) causes errors - if I recompiled the whole kernel it
would no doubt work:
--- [ straight from eepro100.c - leaving -DMODVERSIONS thing off is no
gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c
eepro100.c `[ -f /usr/include/linux/modversions.h ] && echo
[root@dstar src]# insmod eepro100.o
eepro100.o: kernel-module version mismatch
        eepro100.o was compiled for kernel version 2.2.5-22
        while this kernel is version 2.2.5-22smp.
[root@dstar src]# uname -r

Comment 3 Bill Nottingham 1999-08-31 16:24:59 UTC
This is fixed in the latest kernels in Raw Hide.

Comment 4 Bill Nottingham 1999-08-31 16:25:59 UTC
make that, will be fixed with kernel-2.2.12-3 in the
next Raw Hide release.