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?
Cristian, any comments on this one?
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 help] gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c eepro100.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS` --- [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 2.2.5-22smp ----
This is fixed in the latest kernels in Raw Hide.
make that, will be fixed with kernel-2.2.12-3 in the next Raw Hide release.