On Fri, Jan 06, 2017 at 05:04:58PM +0000, Mark Cave-Ayland wrote: > On 30/12/16 19:57, Guenter Roeck wrote: > > Disabling "modern" mode enables boot to proceed as normal: > > $ ./qemu-system-sparc64 \ > -drive > file=debian-9.0-sparc64-NETINST1.iso,if=none,index=0,id=cd,media=cdrom \ > -device virtio-blk-pci,disable-modern=on,drive=cd \ > -nographic \ > -bios openbios-builtin.elf.nostrip \ > -m 256 > ... > > Guenter, can you try a similar command line and confirm whether it fixes > the issue for you under QEMU 2.7 and 2.8? I have no idea as to why the > difference in legacy/non-legacy codepaths should crash the kernel though. > Unfortunately, my qemu command line wizard capabilities are somewhat lacking. I had tried that before, but just could not figure out how to change my command line to include "disable-modern=on". If you have an idea, please let me know. Here it is:
${QEMU} -M ${mach} -cpu "${cpu}" -m 512 \ -drive file=${rootfs},if=virtio \ -net nic,model=virtio \ -kernel arch/sparc/boot/image -no-reboot \ -append "root=/dev/vda init=/sbin/init.sh console=ttyS0" \ -nographic Thanks, Guenter