Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2000 11:48:27 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Doug Rabson <dfr@FreeBSD.org>, alpha@FreeBSD.org
Subject:   RE: cvs commit: src/sys/boot/alpha/common main.c src/sys/boot/al
Message-ID:  <XFMail.001026114827.jhb@FreeBSD.org>
In-Reply-To: <200010252336.QAA58536@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 25-Oct-00 Doug Rabson wrote:
> dfr         2000/10/25 16:36:02 PDT
> 
>   Modified files:
>     sys/boot/alpha/common main.c 
>     sys/boot/alpha/libalpha start.S 
>   Log:
>   Move the call to extend_heap() from main to start so that if our BSS
>   expands beyond the limit we will extend the address space before trying
>   to zero the BSS. This should give us plenty of headroom for modest
>   expansion of the loader.

My loader still doesn't boot on my Miata. :(  It hangs claiming that it executed
the HALT instruction (not that it actually died with a stack fault like before
though):

...
Loading /boot/loader
/
halted CPU 0

halt code = 5
HALT instruction executed
PC = 2000a0c0
boot failure
>>>

I can't get the most recent boot1 installed because disklabel
claims that it doesn't have space to write boot1 (?!)

> sudo disklabel -B da0
disklabel: No space left on device
> ls -l /boot/boot1
-r-xr-xr-x  1 root  wheel  7400 Oct 26 11:26 /boot/boot1

000000002000a060 T memsize
000000002000a060 t gcc2_compiled.
000000002000a0c0 T extend_heap
000000002000a160 T main

Looks like it is dying right at the beginning of extend_heap:

000000002000a0c0 <extend_heap>:
    2000a0c0:   00 10 3f 24     ldah    t0,4096(zero)
    2000a0c4:   04 04 ff 47     clr     t3
    2000a0c8:   c8 00 41 a4     ldq     t1,200(t0)
    2000a0cc:   02 04 41 40     addq    t1,t0,t1

Hope this helps...

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001026114827.jhb>