Red Hat Bugzilla – Bug 140354
/boot/config-2.6.9-1.667smp is missing CONFIG_4KSTACKS
Last modified: 2015-01-04 17:12:55 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2)
Description of problem:
Correct me if I'm wrong, but the file /boot/config-2.6.9-1.667smp is
supposed to be the kernel configuration file (.config) that was used
to compile vmlinuz-2.6.9-1.667smp, which is the standard SMP Fedora
Core 3 kernel.
If that assumption is correct, then there's a bug in that file. The
version magic for that kernel is "2.6.9-1.667smp SMP 686 REGPARM
4KSTACKS gcc-3.4". However, if I build a module using
/boot/config-2.6.9-1.667smp as my .config file, the module's version
magic is set to "2.6.9 SMP 686 REGPARM gcc-3.4". This is because
there is no entry for CONFIG_4KSTACKS in config-2.6.9-1.667smp, and so
during the kernel source configuration, that value gets set to "no".
The resulting modules are compiled with 8K stacks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cd /usr/src/linux-2.6.9/
2. make mrproper
3. cp /boot/config-2.6.9-1.667smp .config
4. make menuconfig (and then exit and save)
5. make prepare
The kernel source tree is now configured
6. compile an external module using /usr/src/linux-2.6.9/ as the
7. Try to insmod the module.
Actual Results: An error message like this is displayed:
Nov 18 18:28:35 sqa-07 kernel: ccil: version magic '2.6.9 SMP 686
REGPARM gcc-3.4' should be '2.6.9-1.667smp SMP 686 REGPARM 4KSTACKS
Expected Results: The module should have loaded without any
complaints about the version magic.
the config option is not present in the fedora kernel.
Then how come the kernel version magic has "4KSTACKS" in it? Look at
the error message that insmod displayed: should be '2.6.9-1.667smp SMP
686 REGPARM 4KSTACKS gcc-3.4'
Please ignore my previous comment. /usr/src/linux-2.6.9/ should just
not be used for compiling external modules, so any results from using
it are meaningless.