[OpenBIOS] OpenSolaris starts to live on SPARC64

Artyom Tarasenko atar4qemu at googlemail.com
Mon Apr 5 23:19:30 CEST 2010


2010/4/3 Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>:
> Mark Cave-Ayland wrote:
>
>> So looks like its possibly related to the MMU? What I do find interesting
>> aswell is that the getprop CIF calls seem to throw argument count errors
>> too...
>
> On closer inspection, the key turned out to be the argument count errors. It
> seems that the client interface code for returning arguments back to the
> caller was broken (off by one error) :(
>
> I believe I've fixed this in r732 and now get this:
>
>
> 0 > go
> Jumping to entry point 00000000010071d8 for type 0000000000000001...
> switching to new context: entry point 0x10071d8 stack 0x00000000ffe02a91
> krtld: load_exec: fail to expand cpu/$CPU

Looks like the last stage of the kernel loader wasn't able to determine the
CPU model? Or at least didn't like it. Maybe the OpenSolaris version
you are booting doesn't support the specified (or default) cpu model?

> krtld: error during initial load/link phase
>
> krtld could neither locate nor resolve symbols for:
>    /platform/sun4u/kernel/sparcv9/unix
> in the boot archive. Please verify that this file
> matches what is found in the boot archive.
> You may need to boot using the Solaris failsafe to fix this.
> panic - kernel: Unable to boot
> EXIT
> 0 >

And... Solaris 2.5.1 on sparc32 also looks pretty similar with r733:

Jumping to entry point 00004000 for type 00000005...
null path
krtld: error during initial load/link phase
Unhandled Exception 0x00000007
PC = 0x0010724c NPC = 0x00107250
Stopping execution

Unmodified Solaris 2.6 doesn't get this far, I guess due to the 80
chars limitation. Will check the patched version later.

But all in all it looks like the problem is buried in OpenBIOS, since
qemu is definitely good enough to boot 2.5.1 under sparc32.

> Which is an improvement ;)  Incidentally, it may be worth someone trying a
> Linux boot again to see if my last CIF fix enables things to get a bit
> further there too.
>
>
> ATB,
>
> Mark.
>
> --
> Mark Cave-Ayland - Senior Technical Architect
> PostgreSQL - PostGIS
> Sirius Corporation plc - control through freedom
> http://www.siriusit.co.uk
> t: +44 870 608 0063
>
> Sirius Labs: http://www.siriusit.co.uk/labs
>
> --
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you
>


-- 
Regards,
Artyom Tarasenko

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



More information about the OpenBIOS mailing list