On 30/12/13 21:11, Nick Couchman wrote:
Ah this is because of a bug in Solaris whereby it requests too many parameters to be returned with respect to the CIF method that is being called. The fix is for OpenBIOS to not allow the client to POP() more items from the stack than were there before the CIF call, for which I have a local patch whilst I wait for the QEMU guys to update their git repository from our SVN.
Please try the attached and let me know if you manage to get any further.
I tried the attached patch and the boot doesn't get any further for me (Solaris 9 64-bit). I've attached the output with DEBUG_CIF defined - it's quite verbose. I'm also not booting kadb at present, so it doesn't match Artyom's output exactly.
Thanks for this Nick.
I think I'm getting to roughly the same place here, so the problem is likely related to the various memory properties. One thing it does show is that my argument patch has an off-by-one error somewhere as most of those argument warnings should not be appearing...
ATB,
Mark.