On 24/04/11 00:17, Nick Couchman wrote:
Okay, I got passed the issue with formatting the root filesystem. Apparently there are some limitations on the C/H/S parameters you use for the disk that correspond with how UFS wants to format a new filesystem. I'm not sure what exactly those limitations are at this point, but, by adjusting a couple of the C/H/S settings when using format to set up the disk I was able to get it to work correctly. So, I now have Solaris 9 installed on qemu-system-sparc with OpenBIOS! I'll probably go back to Solaris 8 as that one has a free binary license while Solaris 9 is a commercial license, IIRC. I do own a Solaris 9 commercial license, but I like the free idea, better.
Awesome! If you can make a note of what you had to do in order to get it to work and post it to the list, I'm sure lots of people will be very grateful :)
Anyway, now I'm on to an issue with networking - I've used the following two qemu network parameter combinations: -net nic -net tap,ifname=tap0 -net nic -net user
In the first instance, tap0 was configured on my Linux box and added to my bridge br0. In both cases the Solaris system is unable to obtain a DHCP address - the DHCP client times out. Not sure if I should be using a different parameter set, or if this is another area that needs some work either for OpenBIOS or qemu?
Okay - I missed this as when I was stepping through the installer I didn't bother with any of the networking stuff. However there is definitely a bug here - running tcpdump on the bridge interface shows data packets with junk in them rather than a proper DHCP request, so I'm wondering if OpenBIOS doesn't initialise something in the NIC correctly? Or maybe it's another alignment issue with the the LANCE buffers?
Anyway, I'll take a look but it may take me a little time to figure out what's going on.
ATB,
Mark.