Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34206 - [qemu] --enable-kvm doesn't work with linux-3.7.10

Attached to Project: Arch Linux
Opened by Alexandre Kandalintsev (exe2) - Thursday, 07 March 2013, 19:37 GMT
Last edited by Tobias Powalowski (tpowa) - Friday, 05 April 2013, 12:54 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With the latest kernel 3.7.10-1 this command hangs:
qemu-system-i386 --enable-kvm -curses

qemu cannot be killed even by SIGKILL, nor it can be strace'd.
Downgrading to 3.7.9 solves the problem.

Additional info:
qemu 1.4.0-2
linux-3.7.10
AMD Opteron(tm) Processor 1218

Steps to reproduce:
Just run the command above.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Friday, 05 April 2013, 12:54 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Thursday, 07 March 2013, 20:47 GMT
try to see if is working with kernel 3.8.2.
Comment by Alexandre Kandalintsev (exe2) - Friday, 08 March 2013, 13:29 GMT
I haven't tried it with the most recent kernel yet (because it's a production server and I can't stop it right now), but qemu works fine on my core2duo E7600. At least now we know that not all machines are affected.
Comment by Mark E. Lee (bluerider) - Monday, 11 March 2013, 20:21 GMT
Did you try it with "-enable-kvm" instead of "--enable-kvm"?
Comment by Alexandre Kandalintsev (exe2) - Wednesday, 13 March 2013, 00:42 GMT
Sorry, it was a typo. I just tried it with the correct key, it doesn't work even with kernel 3.8.2 from testing :(. I'm trying to analyze the diff between 3.7.10 and 3.7.9, but haven't found anything suspicious...

URL to view the diff: https://www.kernel.org/diff/diffview.cgi?file=/pub/linux/kernel/v3.x/incr/patch-3.7.9-10.xz
Comment by Alexandre Kandalintsev (exe2) - Wednesday, 13 March 2013, 00:56 GMT
According to strace it hangs very early on ioctl(7, KVM_CREATE_VCPU ...)

The strace is in attachment. Should I create an upstream bugreport?
   strace (56.5 KiB)
Comment by Mark E. Lee (bluerider) - Wednesday, 13 March 2013, 01:11 GMT
Try recompiling via the ABS and see if there's any difference.
Comment by Alexandre Kandalintsev (exe2) - Wednesday, 13 March 2013, 01:47 GMT
Are you talking about kernel or qemu?
Comment by Mark E. Lee (bluerider) - Wednesday, 13 March 2013, 01:53 GMT
Try recompiling qemu on the machine (where the Arch binaries don't work) using the ABS system.
Comment by Alexandre Kandalintsev (exe2) - Wednesday, 13 March 2013, 14:30 GMT
Uh, I tried to rebuild qemu from git against the latest linux and linux-headers packages. Yet the result the same. I also noticed that after booting a non-working kernel even working kernel doesn't work. So I need to reboot the machine twice after downgrade. This may be an indicator of buggy bios/firmware. I'd like to power cycle the server, but I'm not sure how much time it will take to bring it up :(

Since nobody else complaining about the problem it can affect only this buggy server with (according to dmidecode) MSI MS-7252 motherboard. So we can close the bug report.

Loading...