Comment 0 for bug 1787408

Revision history for this message
bugproxy (bugproxy) wrote :

== Comment: #0 - Murilo Opsfelder Araujo <email address hidden> - 2018-08-15 15:08:52 ==
---Problem Description---
qemu 1:2.11+dfsg-1ubuntu7.4 hangs when -cpu POWER9 is specified.

Bisecting qemu, I found this patch:

https://git.qemu.org/?p=qemu.git;a=commitdiff;h=c8fd8373e42821984400382cd91b8bf4e7c14e3b

With a small tweak, it applies on qemu 2.11.1 from bionic and fixes the hang.

This was originally reported as a kernel bug at https://github.com/linuxppc/linux/issues/168

Contact Information = Murilo Opsfelder Araujo <email address hidden>

---uname output---
Linux jaspion1 4.15.0-30-generic #32-Ubuntu SMP Thu Jul 26 17:43:11 UTC 2018 ppc64le ppc64le ppc64le GNU/Linux

Machine Type = na

---Debugger---
A debugger is not configured

---Steps to Reproduce---
 wget https://openpower.xyz/job/initramfs/job/buildroot-master/lastSuccessfulBuild/artifact/rootfs-le.cpio.xz

qemu-system-ppc64 -nographic -vga none -M pseries,cap-htm=off -cpu POWER9 -m 1G -kernel /boot/vmlinux-$(uname -r) -initrd rootfs-le.cpio.xz

Userspace tool common name: qemu

The userspace tool has the following bit modes: 64-bit

Userspace rpm: qemu

Userspace tool obtained from project website: na

*Additional Instructions for Murilo Opsfelder Araujo <email address hidden>:
-Attach ltrace and strace of userspace application.

== Comment: #1 - Murilo Opsfelder Araujo <email address hidden> - 2018-08-15 15:26:53 ==
I'll provide a debdiff.