Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 657261 - Guest kernels need 'noapic' to get kexec working with virtio-blk
Guest kernels need 'noapic' to get kexec working with virtio-blk
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel (Show other bugs)
6.0
Unspecified Linux
medium Severity medium
: rc
: 6.1
Assigned To: Gleb Natapov
Red Hat Kernel QE team
:
: 655929 (view as bug list)
Depends On: 645278
Blocks: Rhel6KvmTier1
  Show dependency treegraph
 
Reported: 2010-11-25 05:44 EST by Amit Shah
Modified: 2013-12-08 19:51 EST (History)
11 users (show)

See Also:
Fixed In Version: kernel-2.6.32-92.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 645278
Environment:
Last Closed: 2011-05-19 08:29:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 07:58:07 EDT

  None (edit)
Comment 2 Amit Shah 2010-11-26 05:26:50 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).
Comment 3 Gleb Natapov 2010-11-26 06:37:23 EST
(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.
Comment 4 Dor Laor 2010-11-28 02:56:32 EST
Gleb, so you wasn't able to reproduce this? 
Amit, can you check this bug with the #645278 fix?
Comment 5 Gleb Natapov 2010-11-28 03:02:10 EST
(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?
Comment 6 Cong Wang 2010-11-28 21:18:29 EST
*** Bug 655929 has been marked as a duplicate of this bug. ***
Comment 7 Amit Shah 2010-11-28 22:42:31 EST
(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.
Comment 9 RHEL Product and Program Management 2010-12-14 12:40:12 EST
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.
Comment 10 Aristeu Rozanski 2010-12-16 15:53:49 EST
Patch(es) available on kernel-2.6.32-92.el6
Comment 13 Paul Wouters 2011-05-09 18:50:09 EDT
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.
Comment 15 errata-xmlrpc 2011-05-19 08:29:56 EDT
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

Note You need to log in before you can comment on or make changes to this bug.