[Bug 1158111] New: virt-manager fails to create a ppc64le virtual machine
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 Bug ID: 1158111 Summary: virt-manager fails to create a ppc64le virtual machine Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Factory Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Tools Assignee: virt-bugs@suse.de Reporter: tjcw@cantab.net QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 825241 --> http://bugzilla.opensuse.org/attachment.cgi?id=825241&action=edit Screenshot of boot failure I am running Tumbleweed 20191128 on an x86-64 system. I want to install a ppc64le virtual machine from the ubuntu-18.04.3-server-ppc64el.iso DVD image. When I try this using virt-manager, the DVD fails to boot with a message about 'Not a bootable device!' ; see attached screenshot. virt-manager works properly for this under OpenSUSE Leap 15.1 . Also qemu-system-ppc64 -cdrom ubuntu-18.04.3-server-ppc64el.iso -m size=1024 boots as far as the ubuntu installer, but this system has no virtual disk so I cannot install with it. Also this command seems to take 2 passes through the grub menu before it boots. To reproduce the problem, install the 'kvm' virtualisation software and the 'qemu-ppc' package. Then virt-manager 'create a new virtual machine' offers an architecture option ppc64le and a machine type pseries. Point it as the ubuntu-18.04.3-server-ppc64el.iso file which is downloadable from http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.3-server-ppc64... . Tumbleweed worked for this about a year ago; between then and now, qemu has changed from v3 to v4. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c1 --- Comment #1 from Chris Ward <tjcw@cantab.net> --- What are the parameters for qemu-system-ppc64 to get it to run from the command line the way that it runs under virt-manager ? On my Tumbleweed system, I tried 'qemu-system-ppc64 -cdrom ubuntu-19.10-server-ppc64el.iso -M pseries -cpu power9 -m size=1024 -hda /var/lib/libvirt/images/ubuntu19.04-ppc64le.qcow2' ; this resulted in an attempted installation with various 'illegal instruction' errors and the install failed; but when I tried the install under virt-manager on a Leap 15.1 system, the install succeeded. Then on my Tumbleweed system, I tried 'qemu-system-ppc64 -cdrom ubuntu-18.04.3-server-ppc64el.iso -m size=1024 -M pseries -cpu power9 -hda /var/lib/libvirt/images/ubuntu18.04-ppc64le.qcow2' ; this resulted in an attempted installation with various segmentation violations and the install failed; but when I tried the same command on a Leap 15.1 system, the install succeeded. So I'm not sure whether this is also a regression between qemu 3 and qemu 4, or whether it's just that I have not got the parameters to qemu-system-ppc64 right. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c2 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jfehlig@suse.com --- Comment #2 from James Fehlig <jfehlig@suse.com> --- Under the covers virt-manager uses libvirt. You can view the qemu command line libvirt generated in /var/log/libvirt/qemu/<vm-name>.log. Given the illegal instruction and segmentation violation errors you are encountering, I'd compare the '-M' and '-cpu' options generated by libvirt with your own. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c3 --- Comment #3 from Chris Ward <tjcw@cantab.net> --- Created attachment 825246 --> http://bugzilla.opensuse.org/attachment.cgi?id=825246&action=edit log files from libvirt trying to boot ppc64le DVDs -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c4 --- Comment #4 from Chris Ward <tjcw@cantab.net> --- Thanks ! On the leap 15.1 system, libvirt is specifying -machine pseries-3.1,accel=tcg,usb=off,dump-guest-core=off and no -cpu option where on the tumbleweed system I was specifying -M pseries -cpu power9 I will try installing using qemu-system-ppc64 with -machine pseries-3.1,accel=tcg,usb=off,dump-guest-core=off . The original problem is still there, though; virt-manager on the tumbleweed machine doesn't boot the ppc64le dvd. I will attach log files from libvirt. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c5 --- Comment #5 from Chris Ward <tjcw@cantab.net> --- qemu-system-ppc64 -cdrom ubuntu-19.10-server-ppc64el.iso -m size=1024 -hda /var/lib/libvirt/images/ubuntu19.04-ppc64le-2.qcow2 -machine pseries-3.1,accel=tcg,usb=off,dump-guest-core=off results in a boot from the DVD, but the console remains blank. qemu-system-ppc64 -cdrom ubuntu-19.10-server-ppc64el.iso -m size=1024 -hda /var/lib/libvirt/images/ubuntu19.04-ppc64le-2.qcow2 -machine pseries-3.1 results in a boot from the DVD, and the console comes to life. I will proceed with an install and see if it works. So it looks as if there is some incompatibility between tumbleweed qemu's pseries-4.1 emulation and the ubuntu DVD, which results in the 'illegal instruction' reports. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c6 --- Comment #6 from Chris Ward <tjcw@cantab.net> --- On the tumbleweed system, qemu-system-ppc64 -cdrom ubuntu-19.10-server-ppc64el.iso -M pseries-3.1 -hda /var/lib/libvirt/images/ubuntu19.04-ppc64le-2.qcow2 results in a successful install. So it looks as if there is a bug in qemu 4 emulation of pseries-4.1 (qemu indicates that '-M pseries' is mapped to '-M pseries-4.1). It is alternatively possible that ubuntu-19.10-server-ppc64el.iso wouldn't install on a real pseries-4.1 machine, but this seems unlikely. I will open a separate bug for this regression in qemu; https://bugzilla.opensuse.org/show_bug.cgi?id=1158111 should be used to address the problem in virt-manager which causes the failure to boot. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1158111 http://bugzilla.opensuse.org/show_bug.cgi?id=1158111#c7 --- Comment #7 from Chris Ward <tjcw@cantab.net> --- The bug with qemu-system-ppc64 -M pseries is reported as https://bugzilla.opensuse.org/show_bug.cgi?id=1158148 . -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com