linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CONFIG_ALPHA_SRM not compiling on 2.5
@ 2003-03-04 23:38 Christian
  2003-03-05  0:53 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2003-03-04 23:38 UTC (permalink / raw)
  To: linux-kernel

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.
-- 
############ Christian ##############
########## c_kujau@web.de ###########
#####################################


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CONFIG_ALPHA_SRM not compiling on 2.5
  2003-03-04 23:38 CONFIG_ALPHA_SRM not compiling on 2.5 Christian
@ 2003-03-05  0:53 ` Jan-Benedict Glaw
  2003-03-07 23:40   ` Christian
  0 siblings, 1 reply; 5+ messages in thread
From: Jan-Benedict Glaw @ 2003-03-05  0:53 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1209 bytes --]

On Wed, 2003-03-05 00:38:23 +0100, Christian <evilninja@gmx.net>
wrote in message <3E6538EF.3060602@gmx.net>:
> 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

> 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#

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

-- 
   Jan-Benedict Glaw       jbglaw@lug-owl.de    . +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));

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CONFIG_ALPHA_SRM not compiling on 2.5
  2003-03-05  0:53 ` Jan-Benedict Glaw
@ 2003-03-07 23:40   ` Christian
  2003-03-08 14:53     ` Ivan Kokshaysky
  0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2003-03-07 23:40 UTC (permalink / raw)
  To: linux-kernel

Jan-Benedict Glaw schrieb:
>
> 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
>>>
-------

hm, could be anything i guess. well, i'll have to google around a bit
and read even more...

Thank you,
Christian.

-- 
############ Christian ##############
########## c_kujau@web.de ###########
#####################################




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CONFIG_ALPHA_SRM not compiling on 2.5
  2003-03-07 23:40   ` Christian
@ 2003-03-08 14:53     ` Ivan Kokshaysky
  2003-03-08 17:36       ` Christian
  0 siblings, 1 reply; 5+ messages in thread
From: Ivan Kokshaysky @ 2003-03-08 14:53 UTC (permalink / raw)
  To: Christian; +Cc: linux-kernel

On Sat, Mar 08, 2003 at 12:40:27AM +0100, Christian wrote:
> Linux version 2.5.63 #7 Wed Mar 05 [...]
> 
> halt code = 7
> machine check while inPAL mode
> PC = 14a0c
> >>>

This has been fixed in 2.5.64.

Ivan.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: CONFIG_ALPHA_SRM not compiling on 2.5
  2003-03-08 14:53     ` Ivan Kokshaysky
@ 2003-03-08 17:36       ` Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Christian @ 2003-03-08 17:36 UTC (permalink / raw)
  To: linux-kernel

Ivan Kokshaysky schrieb:
> On Sat, Mar 08, 2003 at 12:40:27AM +0100, Christian wrote:
> 
>>Linux version 2.5.63 #7 Wed Mar 05 [...]
>>
>>halt code = 7
>>machine check while inPAL mode
>>PC = 14a0c
>>
> 
> This 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.

-- 
c_kujau@web.de


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-08 17:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-04 23:38 CONFIG_ALPHA_SRM not compiling on 2.5 Christian
2003-03-05  0:53 ` Jan-Benedict Glaw
2003-03-07 23:40   ` Christian
2003-03-08 14:53     ` Ivan Kokshaysky
2003-03-08 17:36       ` Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).