Bug 515549 - upstream qemu issues on rhel 5.4
Summary: upstream qemu issues on rhel 5.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: beta
: ---
Assignee: Eduardo Habkost
QA Contact: Lawrence Lim
URL:
Whiteboard:
: 516228 (view as bug list)
Depends On:
Blocks: 5.4, TechnicalNotes
TreeView+ depends on / blocked
 
Reported: 2009-08-04 17:55 UTC by Michael S. Tsirkin
Modified: 2018-10-19 18:41 UTC (History)
14 users (show)

Fixed In Version: kvm-83-110.el5
Doc Type: Bug Fix
Doc Text:
the application binary interface (ABI) between the KVM userspace (e.g. qemu-kvm) and the KVM kernel modules may change in future updates. Using the latest upstream qemu-kvm package is unsupported due to ABI differences. (BZ#515549)
Clone Of:
Environment:
Last Closed: 2010-03-30 07:55:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch 1 fixes the main issue (4.57 KB, patch)
2009-08-04 18:01 UTC, Michael S. Tsirkin
no flags Details | Diff
patch 2 fixes bug introduced by patch 1 (1.47 KB, patch)
2009-08-04 18:02 UTC, Michael S. Tsirkin
no flags Details | Diff
patch 3 fixes build with config from my box so I could work on 1&2 (748 bytes, patch)
2009-08-04 18:03 UTC, Michael S. Tsirkin
no flags Details | Diff
Screenshot-kernel panic (19.54 KB, image/png)
2009-12-29 07:13 UTC, Golita Yue
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0271 0 normal SHIPPED_LIVE Important: kvm security, bug fix and enhancement update 2010-03-29 13:19:48 UTC

Description Michael S. Tsirkin 2009-08-04 17:55:08 UTC
Description of problem:
running upstream qemu on rhel 5.4 hangs on boot

Version-Release number of selected component (if applicable): 5.4

How reproducible:
always

Steps to Reproduce:
1.check out qemu kvm b7e0dba1a864767ad5836f944f3d6dd89ebcdc7a

2. boot linux.

Actual results:

timer is not being deliverd and kernel hangs on boot
  

Expected results:

should boot

Additional info:
using -no-kvm-irqchip works around this issue

Comment 1 Michael S. Tsirkin 2009-08-04 18:01:51 UTC
Created attachment 356216 [details]
patch 1 fixes the main issue

Comment 2 Michael S. Tsirkin 2009-08-04 18:02:35 UTC
Created attachment 356217 [details]
patch 2 fixes bug introduced by patch 1

Comment 3 Michael S. Tsirkin 2009-08-04 18:03:42 UTC
Created attachment 356218 [details]
patch 3 fixes build with config from my box so I could work on 1&2

Comment 5 Eduardo Habkost 2009-08-04 19:08:37 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
ABI stability: the ABI between userspace (e.g. qemu-kvm) and the KVM kernel modules is likely to change in future updates.

Comment 7 Michael S. Tsirkin 2009-08-05 12:25:01 UTC
fixing component: it's kvm, not kernel

Comment 8 Michael S. Tsirkin 2009-08-05 13:00:54 UTC
Eduardo, that's a pretty obscure note. Maybe note upstream qemu-kvm specifically?
- qemu revisions built from latest qemu-kvm tree are known to fail on boot
- As a work around, specify  -no-kvm-irqchip on the command line
- The issue will be fixed in a future errata

Comment 12 Eduardo Habkost 2009-08-05 14:25:42 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1 +1 @@
-ABI stability: the ABI between userspace (e.g. qemu-kvm) and the KVM kernel modules is likely to change in future updates.+ABI stability: the ABI between userspace (e.g. qemu-kvm) and the KVM kernel modules is likely to change in future updates. Running latest upstream qemu-kvm isn't supported because of the ABI differences (see bug 515549).

Comment 13 Michael S. Tsirkin 2009-08-05 17:10:39 UTC
Got this from the user that reported this originally:

> Date: Wed, 5 Aug 2009 10:00:36 -0700
> From: Ramachandra Pai
> 
> Big Positive ACK!  yes it fixes the problem.

Comment 19 Eduardo Habkost 2009-08-17 19:51:18 UTC
*** Bug 516228 has been marked as a duplicate of this bug. ***

Comment 23 Ryan Lerch 2009-08-26 01:22:14 UTC
Release note updated. If any revisions are required, please set the 
"requires_release_notes"  flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

Diffed Contents:
@@ -1 +1 @@
-ABI stability: the ABI between userspace (e.g. qemu-kvm) and the KVM kernel modules is likely to change in future updates. Running latest upstream qemu-kvm isn't supported because of the ABI differences (see bug 515549).+the application binary interface (ABI) between the KVM userspace (e.g. qemu-kvm) and the KVM kernel modules may change in future updates. Using the latest upstream qemu-kvm package is unsupported due to ABI differences. (BZ#515549)

Comment 35 Golita Yue 2009-12-29 07:10:39 UTC
(In reply to comment #0)
Michael,

How did you configure the qemu-kvm? Could you please add your steps in this bug?

I just use "configure && make && make install" to combine the qemu-kvm, then start guest. But the guest failed in kernel panic. Attached the Screenshot.
I tried on kvm-83-113.el5.

Comment 36 Golita Yue 2009-12-29 07:13:20 UTC
Created attachment 380752 [details]
Screenshot-kernel panic

Comment 40 Golita Yue 2010-01-27 09:37:27 UTC
I could not reproduce this bug on kvm-83-152.el5 
(commit 34f6b13147766789fc2ef289f5b420f85e51d049)

Comment 44 errata-xmlrpc 2010-03-30 07:55:34 UTC
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-2010-0271.html


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