Subject: Re: boot load address
To: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
From: Anders Magnusson <ragge@ludd.ltu.se>
List: port-vax
Date: 03/13/2007 18:56:37
Correct, it's not likely that anyone can even manage to get a kernel 
small enough.
The right way to fix this would be to have boot relocate itself after 
loading, but
I do not think it's worth the effort.

I have increased it now, thanks.

-- Ragge

Hans Rosenfeld wrote:

>The boot program is currently loaded at address 0x2f0000, just below the
>first 3MB of physical memory. I just had a problem with a kernel big
>enough to cause boot to overwrite its stack and parts of itself while
>zeroing bss, which then caused a halt.
>
>I doubt that there are any VAXen with less than 3MB of memory on which
>anyone would want to run NetBSD, so moving boot to 0x3f0000 would
>probably not harm anyone but give us some more room for future bloat.
>
>I tested this on my 4k90, seems to work ok.
>
>
>  
>
>------------------------------------------------------------------------
>
>Index: sys/arch/vax/boot/Makefile.inc
>===================================================================
>RCS file: /cvsroot/src/sys/arch/vax/boot/Makefile.inc,v
>retrieving revision 1.12
>diff -u -r1.12 Makefile.inc
>--- sys/arch/vax/boot/Makefile.inc	6 Sep 2006 00:31:22 -0000	1.12
>+++ sys/arch/vax/boot/Makefile.inc	13 Mar 2007 17:25:52 -0000
>@@ -1,6 +1,6 @@
> #	$NetBSD: Makefile.inc,v 1.12 2006/09/06 00:31:22 matt Exp $
> 
>-RELOC=0x2f0000
>+RELOC=0x3f0000
> .PATH:	${.CURDIR}/../../vax ${.CURDIR}/../common
> 
> CPPFLAGS+=-I.
>  
>