Bug 140354 - /boot/config-2.6.9-1.667smp is missing CONFIG_4KSTACKS
/boot/config-2.6.9-1.667smp is missing CONFIG_4KSTACKS
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Depends On:
  Show dependency treegraph
Reported: 2004-11-22 11:03 EST by Timur Tabi
Modified: 2015-01-04 17:12 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-22 14:53:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Timur Tabi 2004-11-22 11:03:51 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):

How reproducible:

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
kernel tree.
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.

Additional info:
Comment 1 Dave Jones 2004-11-22 14:53:08 EST
the config option is not present in the fedora kernel.
Comment 2 Timur Tabi 2004-11-22 15:04:51 EST
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'
Comment 3 Timur Tabi 2004-11-22 19:04:36 EST
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.

Note You need to log in before you can comment on or make changes to this bug.