[OpenBIOS] SOLVED: the mystery of Solaris on SPARC32 and the missing Forth arguments

Artyom Tarasenko atar4qemu at gmail.com
Fri Oct 29 12:30:02 CEST 2010


On Thu, Oct 28, 2010 at 11:01 PM, Mark Cave-Ayland
<mark.cave-ayland at siriusit.co.uk> wrote:
> Hi all,
>
> So I spent some time stepping through OpenBIOS SPARC32 with various debug
> options enabled trying to figure out why it was overwriting the wrong part
> of memory, and in r923 I believe I fixed a fairly obvious bug in the SPARC32
> memory allocation routines.

Great job!

While back I was asking how totavail and totmap are supposed to work
and why did OpenBIOS
decrease the totmap. Now you've explained it. :-).

> With this fixed in SVN trunk, I now get much further booting my Solaris 8
> installation ISO:
>
>
> Configuration device id QEMU version 1 machine id 32
> CPUs: 1 x FMI,MB86904
> UUID: 00000000-0000-0000-0000-000000000000
> Welcome to OpenBIOS v1.0 built on Oct 28 2010 20:58
>  Type 'help' for detailed information
> Trying cdrom:d...
> Not a bootable ELF image
> Loading a.out image...
> Loaded 7680 bytes
> entry point is 0x4000
> bootpath: /iommu/sbus/espdma/esp/sd at 2,0:d
>
> Jumping to entry point 00004000 for type 00000005...
> switching to new context:
> device auxio size -1
> SunOS Release 5.8 Version Generic_108528-09 32-bit
> Copyright 1983-2001 Sun Microsystems, Inc.  All rights reserved.
> qemu: fatal: Trap 0x29 while interrupts disabled, Error state

Looks pretty much the same as with OBP.

> Artyom, do you see a similar improvement with your test Solaris images too?

Won't have the time for it for the next few days, sorry. Meanwhile can
you try booting with "-b" option?
I guess it should do the trick.

-- 
Regards,
Artyom Tarasenko

solaris/sparc under qemu blog: http://tyom.blogspot.com/



More information about the OpenBIOS mailing list