1 |
I'm using a universal-2006.0 install disk for amd64 on a dual opteron |
2 |
server: a fresh from scratch install. |
3 |
|
4 |
I'm at stage 7.d in the install guide. I chose to use genkernel and the |
5 |
following commandline: |
6 |
|
7 |
genkernel --menuconfig --install kernel |
8 |
|
9 |
After laboriously working my way through all the config options, I saved |
10 |
the config file, exited menuconfig...and then the compile failed. Here |
11 |
is (I think) the relevant portion of /var/log/genkernel: |
12 |
|
13 |
********* |
14 |
* Gentoo Linux Genkernel; Version 3.3.11 |
15 |
* Running with options: --menuconfig --install kernel |
16 |
|
17 |
* Linux Kernel 2.6.15-gentoo-r5 for x86_64... |
18 |
* kernel: >> Running mrproper... |
19 |
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" mrproper |
20 |
CLEAN /usr/src/linux-2.6.15-gentoo-r5 |
21 |
CLEAN usr |
22 |
CLEAN scripts/basic |
23 |
CLEAN scripts/genksyms |
24 |
CLEAN scripts/kconfig |
25 |
CLEAN scripts/lxdialog |
26 |
CLEAN scripts/mod |
27 |
CLEAN scripts |
28 |
CLEAN include/config |
29 |
CLEAN .config .config.old include/asm include/linux/autoconf.h |
30 |
include/linux/version.h |
31 |
* config: Using config from /usr/share/genkernel/x86_64/kernel-config-2.6 |
32 |
* Previous config backed up to .config.bak |
33 |
* >> Running oldconfig... |
34 |
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" oldconfig |
35 |
HOSTCC scripts/basic/fixdep |
36 |
HOSTCC scripts/basic/split-include |
37 |
HOSTCC scripts/basic/docproc |
38 |
HOSTCC scripts/kconfig/conf.o |
39 |
HOSTCC scripts/kconfig/kxgettext.o |
40 |
HOSTCC scripts/kconfig/mconf.o |
41 |
SHIPPED scripts/kconfig/zconf.tab.c |
42 |
SHIPPED scripts/kconfig/lex.zconf.c |
43 |
SHIPPED scripts/kconfig/zconf.hash.c |
44 |
HOSTCC scripts/kconfig/zconf.tab.o |
45 |
HOSTLD scripts/kconfig/conf |
46 |
scripts/kconfig/conf -o arch/x86_64/Kconfig |
47 |
.config:88:warning: trying to assign nonexistent symbol ACPI_BOOT |
48 |
.config:89:warning: trying to assign nonexistent symbol ACPI_INTERPRETER |
49 |
.config:101:warning: trying to assign nonexistent symbol ACPI_BUS |
50 |
|
51 |
[snip] |
52 |
|
53 |
* kernel: >> Cleaning... |
54 |
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" clean |
55 |
awk: cmd. line:1: fatal: cannot open file |
56 |
`/usr/src/linux-2.6.15-gentoo-r5/include/linux/version.h' for reading |
57 |
(No such file or directory) |
58 |
* config: >> Invoking menuconfig... |
59 |
COMMAND: make j1 menuconfig |
60 |
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" prepare |
61 |
CHK include/linux/version.h |
62 |
SYMLINK include/asm -> include/asm-x86_64 |
63 |
UPD include/linux/version.h |
64 |
SPLIT include/linux/autoconf.h -> include/config/* |
65 |
CC arch/x86_64/kernel/asm-offsets.s |
66 |
GEN include/asm-x86_64/asm-offsets.h |
67 |
* >> Compiling 2.6.15-gentoo-r5 bzImage... |
68 |
COMMAND: make -j2 CC="gcc" LD="ld" AS="as" bzImage |
69 |
CHK include/linux/version.h |
70 |
HOSTCC scripts/genksyms/genksyms.o |
71 |
CC scripts/mod/empty.o |
72 |
HOSTCC scripts/mod/mk_elfconfig |
73 |
MKELF scripts/mod/elfconfig.h |
74 |
HOSTCC scripts/mod/file2alias.o |
75 |
SHIPPED scripts/genksyms/lex.c |
76 |
SHIPPED scripts/genksyms/parse.h |
77 |
SHIPPED scripts/genksyms/keywords.c |
78 |
SHIPPED scripts/genksyms/parse.c |
79 |
HOSTCC scripts/genksyms/lex.o |
80 |
HOSTCC scripts/mod/modpost.o |
81 |
HOSTCC scripts/genksyms/parse.o |
82 |
HOSTCC scripts/mod/sumversion.o |
83 |
HOSTLD scripts/genksyms/genksyms |
84 |
HOSTCC scripts/kallsyms |
85 |
make[2]: *** [scripts/mod/sumversion.o] Interrupt |
86 |
make[1]: *** [scripts/mod] Interrupt |
87 |
make[1]: *** [scripts/kallsyms] Interrupt |
88 |
make: *** [scripts] Interrupt |
89 |
|
90 |
******** |
91 |
|
92 |
I looked, and version.h is indeed where it's supposed to be, and |
93 |
readable. I looked at /usr/share/genkernel/x86_64/kernel-config-2.6 and |
94 |
the "offending" symbols (ACPI_BOOT, et al.) are indeed there. |
95 |
|
96 |
After googling around gentoo's forums and bugzilla, I saw a few folk who |
97 |
saw similar problems with x86 architecture, so I doubt it's something |
98 |
amd64 specific. |
99 |
|
100 |
*If* the problem is with config file, then one can override it or not |
101 |
use genkernel at all as a workaround. But before I file a bug, I thought |
102 |
I'd check with you folks here first... |
103 |
|
104 |
Thanks! |
105 |
|
106 |
Kirk |
107 |
-- |
108 |
"Good boy, Dex!" |
109 |
-- Joseph "Sky Captain" Sullivan |
110 |
-- |
111 |
gentoo-amd64@g.o mailing list |