Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
kernel build problem

kernel build problem

2002-05-14       - By D. Hugh Redelmeier

 Back
Reply:     1     2     3     4     5     6  

| From: Michael Schwendt <msrh@(protected) >

| With regard to the comment by Thomas Molina, I don 't do the "make
| clean ", but that shouldn 't matter, because when I exit "make
| menuconfig " or "make xconfig ", the config file is correct already.

I agree. He may be right that there is a bug there, but it isn 't what
I 'm tripping over.

| Usually I do:
|
| make mrproper
| cp configs/kernel-2.4.18-athlon.config .config
| make menuconfig
| [just save & exit]
| make dep bzImage modules modules_install
|
| You 've found a bug. The real difference is that you load a config
| file from within "make xconfig ". Most people including me don 't do
| that, but create the .config before running either "make oldconfig ",
| "make menuconfig ", or "make xconfig ".
|
| I can reproduce your problem when I run:
|
| make mrproper
| make xconfig
| [load "configs/kernel-2.4.18-athlon.config "]
| [save & exit]
| make dep bzImage
|
| This gives both zlib inflate and deflate as module only,
| which breaks the kernel build.

Yes. Very interesting. I 've poked at this some more.

Just running xconfig a second time and only save-and-exiting solves
my problem!

Theory: if a config comes in through .config, the settings become
correct.

Evidence (from Michael, but replicate by me):
cp configs/kernel-2.4.18-athlon.config .config
make xconfig
   save and exit
[.config will be good]

Evidence:
rm .config,
make xconfig
   load configs/kernel-2.4.18-athlon.config
   save and exit
[.config will be bad]
make xconfig
   save and exit
[.config will be good]


Theory: even if a config gets loaded without .config, if you visit the
right menus, the settings become correct.

Evidence:
rm .config,
make xconfig
   load configs/kernel-2.4.18-athlon.config
   visit "Code maturity level options "; cancel out
   save and exit
[.config will be good]

Evidence:
rm .config,
make xconfig
   load configs/kernel-2.4.18-athlon.config
   visit "Mulitimedia devices "; cancel out
   save and exit
[.config will be half good: it differs from the good for by
CONFIG_RAMFS being y, not m and not having a
CONFIG_HIGHMEM_EMULATION comment]


Theory: if the initial settings come from .config, even loading a
config file doesn 't get you to a bad state:

Evidence:
cp configs/kernel-2.4.18-athlon.config .config
make xconfig
   load configs/kernel-2.4.18-athlon.config
   save and exit
[.config will be good]

This last observation surprises me: I infer that 'Load Configuration
from File " does not reset all settings. If you want to "load from
zero " you must erase .config before running xconfig. This feels like
a bug, but I haven 't seen documentation so it is hard to say


GLobal theory: the code that implements constraints isn 't run in all
the places that it should be.

Thanks for your help,

Hugh Redelmeier
hugh@(protected) voice: +1 416 482-8253

PS: I 'm trying to record this stuff in
    < http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=64814 >