From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58295) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPZMK-0000qA-Q4 for qemu-devel@nongnu.org; Fri, 06 Jan 2017 13:35:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPZMG-0007N3-RO for qemu-devel@nongnu.org; Fri, 06 Jan 2017 13:35:24 -0500 Received: from bh-25.webhostbox.net ([208.91.199.152]:37340) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPZMG-0006z9-Kg for qemu-devel@nongnu.org; Fri, 06 Jan 2017 13:35:20 -0500 Date: Fri, 6 Jan 2017 10:34:36 -0800 From: Guenter Roeck Message-ID: <20170106183436.GA19862@roeck-us.net> References: <4b04ec32-b647-5047-7830-269cfc217550@ilande.co.uk> <3bee832c-1d2a-50a2-a763-c58ab34caf08@roeck-us.net> <3a90611b-a7c4-31c4-b373-3a16ddae5f4c@ilande.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a90611b-a7c4-31c4-b373-3a16ddae5f4c@ilande.co.uk> Subject: Re: [Qemu-devel] Problems with qemu "modern" virtio on sparc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark Cave-Ayland Cc: "qemu-devel@nongnu.org >> QEMU Developers" , "Michael S. Tsirkin" 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