CONFIG_ALPHA_SRM not compiling on 2.5
hi,
recently i decided to make an Alpha EV45 / Avanti here as a testbed for the latest 2.5 kernels. but it always fails to compile the kernel with
CONFIG_ALPHA_SRM=y
set. currently 2.4.20 is running stable with this option activiated.
having 2.5 compiled without SRM support, it won't boot (when initializing memory, first step after boot-select via aboot is done, it will get stuck.)
when compiling with SRM i get the following errors:
------------------------------------
lila:/usr/src/linux-2.5.x# make vmlinux make -f scripts/Makefile.build obj=scripts make -f scripts/Makefile.build obj=arch/alpha/kernel arch/alpha/kernel/asm-offsets.s make[1]: »arch/alpha/kernel/asm-offsets.s« is up to date. Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES= make -f scripts/Makefile.build obj=init Generating include/linux/compile.h (unchanged) make -f scripts/Makefile.build obj=usr make -f scripts/Makefile.build obj=arch/alpha/kernel [...and so on...] make -f scripts/Makefile.build obj=arch/alpha/lib echo ' Generating build number' Generating build number . ./scripts/mkversion > .tmp_version mv -f .tmp_version .version make -f scripts/Makefile.build obj=init Generating include/linux/compile.h (updated) gcc -Wp,-MD,init/.version.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev4 -Wa,-mev6 -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=version -DKBUILD_MODNAME=version -c -o init/version.o init/version.c ld -r -o init/built-in.o init/main.o init/version.o init/do_mounts.o init/initramfs.o ld -static -N -T arch/alpha/vmlinux.lds.s arch/alpha/kernel/head.o init/built-in.o --start-group usr/built-in.o arch/alpha/kernel/built-in.o arch/alpha/mm/built-in.o arch/alpha/math-emu/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o lib/lib.a arch/alpha/lib/lib.a drivers/built-in.o sound/built-in.o net/built-in.o --end-group -o vmlinux arch/alpha/kernel/built-in.o: In function `common_shutdown_1': arch/alpha/kernel/built-in.o(.text+0x2508): undefined reference to `dummy_con' arch/alpha/kernel/built-in.o(.text+0x251c): undefined reference to `take_over_console' arch/alpha/kernel/built-in.o(.text+0x2520): undefined reference to `take_over_console' make: *** [vmlinux] Error 1 lila:/usr/src/linux-2.5.x# ------------------------------------
gcc v2.95.4
make v3.79.1
binutils 2.12.90.0.1
(all taken from debian/stable)
i have tried this since 2.5.51 (?), and up to 2.5.60 the error is still there. what could be wrong?
Thank you,
Christian.
Signature · 3 lines
############ Christian ############## ########## [email protected] ########### #####################################
On Wed, 2003-03-05 00:38:23 +0100, Christian <[email protected]> wrote in message <[email protected]>:
Quoted 7 lines
hi,
recently i decided to make an Alpha EV45 / Avanti here as a testbed for the latest 2.5 kernels. but it always fails to compile the kernel with
CONFIG_ALPHA_SRM=y
Quoted 9 lines
arch/alpha/kernel/built-in.o: In function `common_shutdown_1':
arch/alpha/kernel/built-in.o(.text+0x2508): undefined reference to `dummy_con'
arch/alpha/kernel/built-in.o(.text+0x251c): undefined reference totake_over_console' arch/alpha/kernel/built-in.o(.text+0x2520): undefined reference totake_over_console'
make: *** [vmlinux] Error 1
lila:/usr/src/linux-2.5.x#
There seems to be a missing dependency then. Please ensure that you compile in the input subsystem core as well as virtual terminal support and support for console on virtual terminal.
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
Quoted 4 lines · Jan-Benedict Glaw
There seems to be a missing dependency then. Please ensure that you compile in the input subsystem core as well as virtual terminal support and support for console on virtual terminal.
oh, stupid me. yes, after selection input core support i was able to select VT / console on VT support.
enabling this (and SRM), 2.5.63 compiled instantly. but it won't boot now.
after typing "b" in SRM console (to start booting) and then after choosing the kernel on the aboot (a boot loader) prompt, this is what i get:
-------
Starting kernel boot/2.5.63/vmlinux [....]
Linux version 2.5.63 #7 Wed Mar 05 [...]
halt code = 7
machine check while inPAL mode
PC = 14a0c
Quoted 1 line
Quoted 1 line
Quoted 1 line
-------
hm, could be anything i guess. well, i'll have to google around a bit and read even more...
Thank you,
Christian.
Signature · 3 lines
############ Christian ############## ########## [email protected] ########### #####################################
Quoted 6 lines · Christian
Linux version 2.5.63 #7 Wed Mar 05 [...]
halt code = 7
machine check while inPAL mode
PC = 14a0cQuoted 1 line
Quoted 1 line
Quoted 1 line
This has been fixed in 2.5.64.
Ivan.
Quoted 11 lines · Ivan Kokshaysky
Quoted 6 lines · Christian
Linux version 2.5.63 #7 Wed Mar 05 [...]
halt code = 7
machine check while inPAL mode
PC = 14a0cThis has been fixed in 2.5.64.
oh, thanks, i'll give it a try.
since the problem resists over some versions of 2.5.5x up to 2.5.63 i thought it has not been noticed.
i'll post my results,
Christian.
Signature · 1 line
[email protected]