From: pageexec@freemail.hu Subject: Re: guest patched with pax causes "set_cr0: 0xffff88000[...] #GP, reserved bits 0x8004003?" flood on host Date: Thu, 11 Mar 2010 11:31:17 +0200 Message-ID: <4B98C675.22780.5AAA17C0@pageexec.freemail.hu> References: <4B97C614.3030802@nagafix.co.uk>, <4B989162.4080008@redhat.com> Reply-To: pageexec@freemail.hu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: kvm@vger.kernel.org To: Antoine Martin , Avi Kivity Return-path: Received: from r00tworld.com ([212.85.137.21]:56611 "EHLO r00tworld.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751401Ab0CKLVr (ORCPT ); Thu, 11 Mar 2010 06:21:47 -0500 In-reply-to: <4B989162.4080008@redhat.com> Content-description: Mail message body Sender: kvm-owner@vger.kernel.org List-ID: On 11 Mar 2010 at 8:44, Avi Kivity wrote: > On 03/10/2010 06:17 PM, Antoine Martin wrote: > > Hi, > > > > I've updated my host kernel headers to 2.6.33, rebuilt glibc (and the > > base system), rebuilt kvm. > > ... and now I get hundreds of those in dmesg on the host when I start > > a guest kernel that worked fine before. (2.6.33 + pax patch v5) > > set_cr0: 0xffff88000ec29d58 #GP, reserved bits 0x80040033 > > set_cr0: 0xffff88000f3cdb38 #GP, reserved bits 0x8004003b > > set_cr0: 0xffff88000f3dbc88 #GP, reserved bits 0x80040033 > > set_cr0: 0xffff88000f83b958 #GP, reserved bits 0x8004003b > > The guest is clearly confused. Can you bisect kvm to find out what > introduced this problem? the guest is calling pax_{open,close}_kernel that flip cr0.wp off/on, respectively. Antoine, can you decode some of those rip values please (or better, send me the corresponding vmlinux and all logs)?