Bug 610911
Summary: | Host KVM MMU bug causes crashes in guest Anaconda / python programs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Scott Dowdle <dowdle> | ||||
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | amit.shah, amyagi, anton, berrange, bjrosen, clalance, dougsland, dwmw2, ehabkost, extras-orphan, gansalmon, gcosta, itamar, jaswinder, jclift, jforbes, jonathan, jpirko, kernel-maint, knoel, madhu.chinakonda, markmc, mishu, notting, ondrejj, quintela, scottt.tw, virt-maint | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | kernel-2.6.33.6-147.2.4.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-08-03 01:11:38 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Scott Dowdle
2010-07-02 18:08:22 UTC
This also affects me. Using a F13 workstation, running RHEL 6 beta 2 (either x86_64 or i386) is unusably flaky under KVM. :( Running it under VirtualBox works, as does running other guest OS's under KVM, so this appears to be a bug in KVM + RHEL 6 beta 2 not working correctly together. I suspect it may be related to BZ# 609071 or BZ# 607650. 607650 talks of a host kernel problem that's resolved by upstream commit 3be2264be3c00865116f997dc53ebcc90fe7fc4b That commit should soon find its way to stable kernels and to Fedora (or be backported). Wow. More and more bugs I try to browse to give me the "You are not authorized to access bug #xxxxxxx"... and that's what happens to bug #607650 that you mention. :( (In reply to comment #3) > Wow. More and more bugs I try to browse to give me the "You are not authorized > to access bug #xxxxxxx"... and that's what happens to bug #607650 that you > mention. :( A few bugs get reported during the regular testing of upcoming Red Hat releases and are not visible to non-Red Hat people. IIRC these bugs are normally opened to all once some release milestones are met. In any case, we've identified the bug and the commit that's needed to fix it. I'll also update the subject line to better describe the bug. Hi Scott, Avi Kivity, the Engineer who has been fixing this problem, has created a kernel rpm for testing with. On my F13 workstation it's working fine and RHEL 6 beta 2 inside kvm is happy. Are you able to give this a shot as well, and let us know how it goes? http://justinclift.fedorapeople.org/bz610911/kernel-2.6.33.6-147.avi.fc13.x86_64.rpm http://justinclift.fedorapeople.org/bz610911/kernel-devel-2.6.33.6-147.avi.fc13.x86_64.rpm http://justinclift.fedorapeople.org/bz610911/kernel-headers-2.6.33.6-147.avi.fc13.x86_64.rpm That commit is: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=3be2264be3c00865116f997dc53ebcc90fe7fc4b I assume we want this similar fix too? http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=91546356d0e550fa23abf7f4b04a903c2855761f Hi Chuck, not sure. Ask Avi or Andrea maybe? (In reply to comment #5) > Hi Scott, > > Avi Kivity, the Engineer who has been fixing this problem, has created a kernel > rpm for testing with. > > On my F13 workstation it's working fine and RHEL 6 beta 2 inside kvm is happy. > > Are you able to give this a shot as well, and let us know how it goes? > > > http://justinclift.fedorapeople.org/bz610911/kernel-2.6.33.6-147.avi.fc13.x86_64.rpm > > http://justinclift.fedorapeople.org/bz610911/kernel-devel-2.6.33.6-147.avi.fc13.x86_64.rpm > > http://justinclift.fedorapeople.org/bz610911/kernel-headers-2.6.33.6-147.avi.fc13.x86_64.rpm Works for me. I was able to successfully install RHEL6Beta x86_64 Workstation and ran it for a while without any problems. I could only get 800x600 in virt-manager selecting RHEL6 as the distro profile when creating but I don't know if that is a kernel thing or not. With other OSes, I'm able to get 1024x768. So, the problem appears to be fixed! Those commits are important, but they don't fix the problem reported here. I'll post patches for the Fedora kernel. Scott, thanks for testing. *** Bug 616011 has been marked as a duplicate of this bug. *** Avi has identified upstream commit 06f334e2b509b4c9f6c4cec7e0e56444a2730922 from kvm.git as fixing this issue: http://git.kernel.org/?p=linux/kernel/git/avi/kvm.git;a=commitdiff;h=06f334e2b509b4c9f6c4cec7e0e56444a2730922 Please backport to the F13 kernel. Created attachment 433437 [details]
Fedora 13 patch (2.6.33 kernel)
Patch went in 2.6.34.1-25.fc13 Will this fix make it to 2.6.35? 2.6.34.1-25.fc13 isn't in testing, is it going to be put into the F13 repos or is it just going to be available from the rawhide repo? (In reply to comment #14) > Will this fix make it to 2.6.35? Yes. I'll submit it tomorrow, with -stable updates to follow. (In reply to comment #15) > 2.6.34.1-25.fc13 isn't in testing, is it going to be put into the F13 repos or > is it just going to be available from the rawhide repo? You can get it from koji for now -- there are still too many bugs to keep it from going into F13 updates-testing just yet. Chuck, is it possible to push a 2.6.33 update with just the patch added on top, to avoid the long 2.6.34 cycle? This bug is hitting many people. Patch added to 2.6.33.6-147.2.2.fc13 kernel-2.6.33.6-147.2.4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/kernel-2.6.33.6-147.2.4.fc13 kernel-2.6.33.6-147.2.4.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update kernel'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/kernel-2.6.33.6-147.2.4.fc13 *** Bug 618227 has been marked as a duplicate of this bug. *** I believe the problem I am/was having stems from the same cause. My RHEL6beta x86_64 KVM guest was quite unstable on a Fedora12/13 host but ran fine on a CentOS-5.5 host. I installed the test kernel-2.6.33.6-147.2.4.fc13 on the Fedora13 host. This did not fix the problem. Then I applied a workaround [1] (offered for RHEL6beta) to the 6beta guest and this seems to have resolved the instability issue. I am now testing the patched kernel-2.6.32-44.2.el6 on this guest (with the workaround removed). [1] Boot/install the guest with transparent huge pages off using the kernel command line parameter: 'transparent_hugepage=never' kernel-2.6.33.6-147.2.4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |