Thanks, Artyom.

Heads up: Solaris 2.5.1 doesn't boot with OpenBIOS.  I'll be happy to
help with some regression testing, if you like.

-peter

On Dec 31, 2013, at 8:02 AM, Artyom Tarasenko <atar4q...@gmail.com> wrote:
> On Tue, Dec 31, 2013 at 2:43 AM, Peter Bartoli <pe...@bartoli.org> wrote:
>> 
>> On Dec 28, 2013, at 2:00 AM, Artyom Tarasenko <atar4q...@gmail.com> wrote:
>> 
>> Actually QEMU does set variables in NVRAM (hw/sparc/sun4m.c:151), and
>> afaik uses the layout of open-sourced OBP. The problem is that earlier
>> versions of OBP seemed to have a different layout, or maybe just a
>> magic constant is missing somewhere.
>> 
>> 
>> Is there a specific version of OBP that you're aware of that works?  That'd
>> sure be nice.
> 
> No, not that I know of. In theory the 4.x versions should work, but I
> never saw one for a sun4m machine.
> 
> Artyom
> 
> -- 
> Regards,
> Artyom Tarasenko
> 
> linux/sparc and solaris/sparc under qemu blog:
> http://tyom.blogspot.com/search/label/qemu

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1262081

Title:
  qemu-system-sparc  in qemu 1.7.0 fails to boot with Sun ROM

Status in QEMU:
  New

Bug description:
  
  1.7.0 seems to have broken booting on SPARC ... at least with a Sun ROM.  
Everything fails with "data access exception."  1.6.{1,2} qemu-system-sparc 
binaries both boot the same images that 1.7.0 fails to boot.

  Type  help  for more information
  ok boot disk1
  Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@1,0  File and 
args: 
  Data Access Exception

  Starting with following command:

  sudo qemu-system-sparc -m 256 -M SS-5 -nographic -bios 
/home/img/ROMs/sun/ss5-170.bin \
    -prom-env 'boot-device=disk1' -prom-env 'auto-boot?=true' \
    -drive file=/home/doc/VMs/slagheap/sd0.raw,if=scsi,bus=0,unit=3 \
    -drive file=/home/doc/VMs/slagheap/sd1.raw,if=scsi,bus=0,unit=1 \
    -drive file=/home/doc/VMs/slagheap/sd2.raw,if=scsi,bus=0,unit=2 \
    -net nic,macaddr=DE:EE:DD:FF:EE:DD,model=lance \
    -net 
tap,ifname=tap0,script=/home/doc/VMs/slagheap/ifup,downscript=/home/doc/VMs/slagheap/ifdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1262081/+subscriptions

Reply via email to