Bug 148806
Summary: | shipped kernel .config files are broken | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Martin Wilck <martin.wilck> | ||||||
Component: | kernel | Assignee: | Ernie Petrides <petrides> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | CC: | petrides, riel | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-02-26 01:49:20 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Martin Wilck
2005-02-15 19:15:57 UTC
Created attachment 111105 [details]
list of missing CONFIGs
a list of CONFIGs set to y or m in the working .config but missing inn the
shipped one
Created attachment 111107 [details]
list of unused configs
list of configs that are set to y or m in the shipped file but are undefined
after make oldconfig.
Both attachments were generated for the i686-hugemem config. Note that the "missing" list contains stuff like CONFIG_HIGHMEM CONFIG_HIGHPTE CONFIG_X86_4G_VM_LAYOUT CONFIG_X86_LOCAL_APIC CONFIG_X86_PAE CONFIG_X86_PGE You'll say compiling bzImage is unsupported. Fine, but in order to use the diskdump/netdump features and the "crash" utility it is necessary to rebuild the kernel with the -g switch. This bug makes this unnecessarily hard to do. Hello, Martin. I believe that this is a problem in your build procedure. After doing this: cp configs/kernel-i686-hugemem.config .config You should do the following 4 makes (note that the "-g" arg is optional): make oldconfig make dep make SPEC_CFLAGS=-g bzImage make modules Please reopen this bug if this doesn't work for you. (I'm not sure, but you I think you should do "make mrproper" before the "cp".) Yes, this works (of course). The less destructive steps outlined in my initial report above "work", too. But "make oldconfig; make dep" destroys the "RedHat-adapted" include files under include/, in particular include/linux/autoconf.h and the .ver files. That takes away the possibility to build modules safely against original RH headers and breaks the kernel-source RPM installation. If only the files under configs were identical to those generated by the "make oldconfig" step above, it'd be sufficient to copy the config file and "make bzImage". To my understanding, this is how the kernel compilation under RedHat is supposed to work (it used to be a RH bonus to "make it simple" this way). Shouldn't be too hard to fix in the SPEC file either. Anyway this isn't a showstopper, it's just annoying; so I'm not reopening this bug. |