menuconfig .config snooping (was Re: 2.5.69 doesn't boot)
A message that is not in the archive (sent off-list or not yet received): [email protected]
[etienne@localhost linux-2.5.68]$ cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
[etienne@localhost linux]$ tar -xzf linux-2.5.68.tar.gz [etienne@localhost linux]$ cd linux-2.5.68
[etienne@localhost linux-2.5.68]$ make menuconfig > log /boot/config-2.4.20-8:28: trying to assign nonexistent symbol MAX_USER_RT_PRIO/boot/config-2.4.20-8:29: trying to assign nonexistent symbol MAX_RT_PRIO /boot/config-2.4.20-8:42: trying to assign nonexistent symbol HIGHIO /boot/config-2.4.20-8:65: trying to assign nonexistent symbol AMD_PM768 ........ edited ...........
[etienne@localhost linux-2.5.68]$ tail -3 log
# using defaults found in /boot/config-2.4.20-8 # interrupted
Maybe linux-2.5 shall not use defaults of linux-2.4 ? Repeat solution (not that intuitive):
cp arch/i386/defconfig .config
Etienne.
............................................
Quoted 27 lines · --- Ed L Cashin
Quoted 5 lines · Etienne
Quoted 5 lines
Quoted 4 lines
# Character devices
#
#CONFIG_VTis not set
#CONFIG_SERIAL_NONSTANDARDis not setQuoted 7 lines
Quoted 1 line
No VT console is set.
Did someone noticed that if a user want to test Linux-2.5, he downloads for the first time a 2.5 kernel, extract and type
make menuconfig
and that takes its default (.config) from the only kernel available on his (really standard) distribution - a 2.4.* kernel.That isn't true is it? In the absence of a .config file, does menuconfig really look for a configuration somewhere other than its own kernel source tree? Looks to me like it's getting the configuration from the defaults.
ecashin@meili bk-linux$ make menuconfig
make -fscripts/Makefile.buildobj=scripts
gcc -Wp,-MD,scripts/.fixdep.d -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -oscripts/fixdepscripts/fixdep.c
...
./scripts/kconfig/mconfarch/i386/Kconfig
#
Quoted 2 lines
# using defaults found in arch/i386/defconfig #
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com