Red Hat Bugzilla – Bug 657261
Guest kernels need 'noapic' to get kexec working with virtio-blk
Last modified: 2013-12-08 19:51:55 EST
Host: 2.6.32-70.el6.x86_64 Guest: 2.6.32-71.el6.x86_64 qemu-kvm: qemu-kvm-0.12.1.2-2.113.el6.x86_64 cmd line to reproduce: /usr/libexec/qemu-kvm -m 1G -smp 2 -drive file=/guests/rhel6-devel.qcow2,if=none,id=dr0 -device virtio-blk-pci,drive=dr0 -serial stdio -vnc :1 -snapshot if the guest is not booted with 'noapic', kexec fails with virtio devices. If the guest is booted with 'noapic', kexec in the guest works fine (with 'noapic' for kexec kernels as well, else it doesn't work).
(In reply to comment #2) > Host: 2.6.32-70.el6.x86_64 > Guest: 2.6.32-71.el6.x86_64 > qemu-kvm: qemu-kvm-0.12.1.2-2.113.el6.x86_64 > > cmd line to reproduce: > > /usr/libexec/qemu-kvm -m 1G -smp 2 -drive > file=/guests/rhel6-devel.qcow2,if=none,id=dr0 -device virtio-blk-pci,drive=dr0 > -serial stdio -vnc :1 -snapshot > > if the guest is not booted with 'noapic', kexec fails with virtio devices. All failures of kexec related to virtio should be tracked in Bug #645278. This bug is about guest reset during kexec. I was able to reproduce guest reset only with x2apic and it is knows guest bug fixed upstream. I backported the fix to RHEL6.
Gleb, so you wasn't able to reproduce this? Amit, can you check this bug with the #645278 fix?
(In reply to comment #4) > Gleb, so you wasn't able to reproduce this? Depends on what "this" means. The bug report is very unclear. I was able to reproduce reboot during second kexec. This is guest bug. Patch was posted. Reported virtio issue tracked by another bug (fwiw I was not able to reproduce it). > Amit, can you check this bug with the #645278 fix?
*** Bug 655929 has been marked as a duplicate of this bug. ***
(In reply to comment #4) > Amit, can you check this bug with the #645278 fix? I can't reproduce it even w/o the fix.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
Patch(es) available on kernel-2.6.32-92.el6
I can confirm this. I was just bitten by it as well on 2.6.18-238.9.1. Adding noapic fixed it for me.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0542.html