Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 574621 - Linux pvmmu guests (FC11, FC12, etc) crash on boot on AMD hosts with NPT disabled
Linux pvmmu guests (FC11, FC12, etc) crash on boot on AMD hosts with NPT disa...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kvm (Show other bugs)
5.5
All Linux
high Severity medium
: rc
: ---
Assigned To: Virtualization Maintenance
Virtualization Bugs
: ZStream
: 575257 590125 648984 (view as bug list)
Depends On:
Blocks: 578577 578579
  Show dependency treegraph
 
Reported: 2010-03-17 20:11 EDT by Marcelo Tosatti
Modified: 2018-10-27 07:23 EDT (History)
10 users (show)

See Also:
Fixed In Version: kvm-83-165.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-01-13 18:34:16 EST
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:0028 normal SHIPPED_LIVE Low: kvm security and bug fix update 2011-01-13 06:03:39 EST

  None (edit)
Description Marcelo Tosatti 2010-03-17 20:11:46 EDT
KVM: x86: ignore access permissions for hypercall patching

Ignore access permissions while patching hypercall instructions.
Otherwise KVM injects a page fault when trying to patch vmcall
on read-only text regions:

Freeing initrd memory: 8843k freed 
Freeing unused kernel memory: 660k freed 
Write protecting the kernel text: 4780k 
Write protecting the kernel read-only data: 1912k 
BUG: unable to handle kernel paging request at c01292e3
IP: [<c01292e3>] kvm_leave_lazy_mmu+0x43/0x70
*pde = 00910067 *pte = 00129161
Oops: 0003 [#1] SMP

CC: stable@kernel.org
Reported-and-Tested-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Comment 5 lihuang 2010-03-22 23:12:25 EDT
Hi Marcelo 
   Do we have reproducer for RHEL x86_64 host ?
Comment 6 Marcelo Tosatti 2010-03-23 14:20:05 EDT
*** Bug 575257 has been marked as a duplicate of this bug. ***
Comment 7 Marcelo Tosatti 2010-03-23 14:21:51 EDT
lihuang,

You need an AMD host without NPT and recent Linux guest (Fedora 12 for eg).
Comment 8 Marcelo Tosatti 2010-03-23 14:27:47 EDT
The original report can be found here:

https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/531823
Comment 9 lihuang 2010-03-23 16:09:21 EDT
(In reply to comment #7)
> lihuang,
> 
> You need an AMD host without NPT and recent Linux guest (Fedora 12 for eg).    

Yes . did reproduced with Fc12 guest when disable NPT.

Thank you.
Comment 14 Miya Chen 2010-04-08 04:49:10 EDT
Tested in kvm-83-165.el5, this problem does not exist.
cmd:
/usr/libexec/qemu-kvm -no-hpet -rtc-td-hack -usbdevice tablet -smp 2 -m 4G -drive file=f12_32.qcow2,if=ide -net nic,vlan=0,macaddr=20:88:99:11:99:11 -net tap,vlan=0,script=/etc/qemu-ifup -uuid `uuidgen` -cpu qemu64,+sse2 -vnc :16 -monitor stdio -boot n

result:
f12_32bit can be installed successfully and then can boot successfully.
Comment 16 Ben Hutchings 2010-04-29 10:10:32 EDT
(In reply to comment #14)
> Tested in kvm-83-165.el5, this problem does not exist.

This package does not seem to be available; is there a timetable to release it?
Comment 17 Marcelo Tosatti 2010-05-16 22:21:18 EDT
*** Bug 590125 has been marked as a duplicate of this bug. ***
Comment 18 Amit Shah 2010-05-18 11:32:23 EDT
*** Bug 590125 has been marked as a duplicate of this bug. ***
Comment 21 Miya Chen 2010-11-02 01:19:26 EDT
Based on comment#14, change status to verified.
Comment 23 errata-xmlrpc 2011-01-13 18:34:16 EST
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-0028.html
Comment 24 Glauber Costa 2011-03-01 15:10:43 EST
*** Bug 648984 has been marked as a duplicate of this bug. ***

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