I'm using a universal-2006.0 install disk for amd64 on a dual opteron server: a fresh from scratch install.
I'm at stage 7.d in the install guide. I chose to use genkernel and the following commandline: genkernel --menuconfig --install kernel After laboriously working my way through all the config options, I saved the config file, exited menuconfig...and then the compile failed. Here is (I think) the relevant portion of /var/log/genkernel: ********* * Gentoo Linux Genkernel; Version 3.3.11 * Running with options: --menuconfig --install kernel * Linux Kernel 2.6.15-gentoo-r5 for x86_64... * kernel: >> Running mrproper... COMMAND: make -j2 CC="gcc" LD="ld" AS="as" mrproper CLEAN /usr/src/linux-2.6.15-gentoo-r5 CLEAN usr CLEAN scripts/basic CLEAN scripts/genksyms CLEAN scripts/kconfig CLEAN scripts/lxdialog CLEAN scripts/mod CLEAN scripts CLEAN include/config CLEAN .config .config.old include/asm include/linux/autoconf.h include/linux/version.h * config: Using config from /usr/share/genkernel/x86_64/kernel-config-2.6 * Previous config backed up to .config.bak * >> Running oldconfig... COMMAND: make -j2 CC="gcc" LD="ld" AS="as" oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o arch/x86_64/Kconfig .config:88:warning: trying to assign nonexistent symbol ACPI_BOOT .config:89:warning: trying to assign nonexistent symbol ACPI_INTERPRETER .config:101:warning: trying to assign nonexistent symbol ACPI_BUS [snip] * kernel: >> Cleaning... COMMAND: make -j2 CC="gcc" LD="ld" AS="as" clean awk: cmd. line:1: fatal: cannot open file `/usr/src/linux-2.6.15-gentoo-r5/include/linux/version.h' for reading (No such file or directory) * config: >> Invoking menuconfig... COMMAND: make j1 menuconfig COMMAND: make -j2 CC="gcc" LD="ld" AS="as" prepare CHK include/linux/version.h SYMLINK include/asm -> include/asm-x86_64 UPD include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CC arch/x86_64/kernel/asm-offsets.s GEN include/asm-x86_64/asm-offsets.h * >> Compiling 2.6.15-gentoo-r5 bzImage... COMMAND: make -j2 CC="gcc" LD="ld" AS="as" bzImage CHK include/linux/version.h HOSTCC scripts/genksyms/genksyms.o CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o SHIPPED scripts/genksyms/lex.c SHIPPED scripts/genksyms/parse.h SHIPPED scripts/genksyms/keywords.c SHIPPED scripts/genksyms/parse.c HOSTCC scripts/genksyms/lex.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/genksyms/parse.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/kallsyms make[2]: *** [scripts/mod/sumversion.o] Interrupt make[1]: *** [scripts/mod] Interrupt make[1]: *** [scripts/kallsyms] Interrupt make: *** [scripts] Interrupt ******** I looked, and version.h is indeed where it's supposed to be, and readable. I looked at /usr/share/genkernel/x86_64/kernel-config-2.6 and the "offending" symbols (ACPI_BOOT, et al.) are indeed there. After googling around gentoo's forums and bugzilla, I saw a few folk who saw similar problems with x86 architecture, so I doubt it's something amd64 specific. *If* the problem is with config file, then one can override it or not use genkernel at all as a workaround. But before I file a bug, I thought I'd check with you folks here first... Thanks! Kirk -- "Good boy, Dex!" -- Joseph "Sky Captain" Sullivan -- [email protected] mailing list
