On Fri, Feb 22, 2013 at 02:33:43PM -0000, Kirill Tkhai wrote: > Public bug reported: > > Hi! > > I tried to boot sparc64 linux image > (http://packages.debian.org/sid/sparc64/linux- > image-2.6-sparc64-smp/download) with qemu and received the error. > > host:~$qemu-system-sparc64 -nographic -kernel vmlinuz-3.2.0-4-sparc64-smp > OpenBIOS for Sparc64 > Configuration device id QEMU version tion device id QEMUkernel addr n device > id QEMUkernel cmdline > CPUs: cmdline > x SUNW,UltraSPARC-IIi > UUID: 00UltraSPARC-IIi > Welcome to OpenBIOS v1.0 built on Aug 19 2012 13:06 > Type 'help' for detailed information > [sparc64] Kernel already loaded > Unhandled Exception 0x0000000000000020 > PC = 0x0000000000404000 NPC = 0x0000000000404004 > Stopping execution > > Also, I tried to follow instruction from Artyom Tarasenko blog > (http://tyom.blogspot.ru/2012/05/booting-linuxsparc64-on-todays- > openbios.html), but it's still impossible to boot linux.
I don't see any change in behavior from 1.3.0 (haven't looked back further). It appears to be attempting to boot garbage after the initial load. From the blog you mentioned you can prevent this with the -prom-env 'auto-boot?=false' option, which seems to work for me on both 1.3.0 and 1.4.0: mdroth@loki:~/w/qemu-build2$ sparc64-softmmu/qemu-system-sparc64 -kernel ~/w/qemu-test-images/sparc/sparc-test/vmlinux-2.6.11+tcx -prom-env 'auto-boot?=false' -L pc-bios/ -nographic OpenBIOS for Sparc64 Configuration device id QEMU version 1 machine id 0 kernel addr 404000 size b3d3d5 kernel cmdline CPUs: 1 x SUNW,UltraSPARC-IIi UUID: 00000000-0000-0000-0000-000000000000 Welcome to OpenBIOS v1.0 built on Aug 19 2012 13:06 Type 'help' for detailed information 0 > Can you test with a full boot using an image/initrd? I'd point you to the one at http://wiki.qemu.org/Testing but I've never managed to get it to work: sparc64-softmmu/qemu-system-sparc64 -kernel ~/w/qemu-test-images/sparc/sparc-test/vmlinux-2.6.11+tcx -initrd ~/w/qemu-test-images/sparc/sparc-test/linux.img -append "root=/dev/ram console=ttyS0 video=tcxfb:off" -L pc-bios/ -nographic -m 16M rom: requested regions overlap (rom /home/mdroth/w/qemu-test-images/sparc/sparc-test/linux.img. free=0x000001fff01b5fa0, addr=0x000001fff0000000) rom loading failed sparc-softmmu/qemu-system-sparc -kernel ~/w/qemu-test-images/sparc/sparc-test/vmlinux-2.6.11+tcx -hda ~/w/qemu-test-images/sparc/sparc-test/linux.img -append "root=/dev/ram console=ttyS0 video=tcxfb:off" -L pc-bios/ -nographic -m 16M Unhandled Exception 0x00000029 PC = 0xffd07470 NPC = 0xffd07474 Stopping execution Would be great if you had another you could add to the wiki. > > Regards, > Kirill > > ** Affects: qemu > Importance: Undecided > Status: New > > > ** Tags: linux sparc64 > > -- > You received this bug notification because you are a member of qemu- > devel-ml, which is subscribed to QEMU. > https://bugs.launchpad.net/bugs/1131757 > > Title: > QEMU 1.4.0 fails to boot sparc64 linux image > > Status in QEMU: > New > > Bug description: > Hi! > > I tried to boot sparc64 linux image > (http://packages.debian.org/sid/sparc64/linux- > image-2.6-sparc64-smp/download) with qemu and received the error. > > host:~$qemu-system-sparc64 -nographic -kernel vmlinuz-3.2.0-4-sparc64-smp > OpenBIOS for Sparc64 > Configuration device id QEMU version tion device id QEMUkernel addr n > device id QEMUkernel cmdline > CPUs: cmdline > x SUNW,UltraSPARC-IIi > UUID: 00UltraSPARC-IIi > Welcome to OpenBIOS v1.0 built on Aug 19 2012 13:06 > Type 'help' for detailed information > [sparc64] Kernel already loaded > Unhandled Exception 0x0000000000000020 > PC = 0x0000000000404000 NPC = 0x0000000000404004 > Stopping execution > > Also, I tried to follow instruction from Artyom Tarasenko blog > (http://tyom.blogspot.ru/2012/05/booting-linuxsparc64-on-todays- > openbios.html), but it's still impossible to boot linux. > > Regards, > Kirill > > To manage notifications about this bug go to: > https://bugs.launchpad.net/qemu/+bug/1131757/+subscriptions >