From owner-freebsd-stable@FreeBSD.ORG Wed Sep 9 18:24:13 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31F1B106566B for ; Wed, 9 Sep 2009 18:24:13 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0501E8FC17 for ; Wed, 9 Sep 2009 18:24:13 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id AA59146B2C; Wed, 9 Sep 2009 14:24:12 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id A0E3D8A01F; Wed, 9 Sep 2009 14:24:11 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Wed, 9 Sep 2009 13:38:59 -0400 User-Agent: KMail/1.9.7 References: <4AA7D8B3.1010203@unsane.co.uk> In-Reply-To: <4AA7D8B3.1010203@unsane.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200909091339.00193.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 09 Sep 2009 14:24:11 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Vincent Hoffman Subject: Re: general protection fault on boot. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2009 18:24:13 -0000 On Wednesday 09 September 2009 12:32:51 pm Vincent Hoffman wrote: > Hi all, > I've been running the 8.0-BETAs in a xen virtual machine > (hvm/fully virtualised) for testing and something between r196730 and > r196746 causes a general protection fault on boot. I'll try and narrow > it down if i get a chance but I'm a a bit busy at the moment. > > backtrace is available at > http://unsane.co.uk/~jhary/freebsd/GPF-09-09-09.gif > Xen dom0 is a centos5.3 box using the xen-3.3.1 rpms from > http://www.gitco.de/linux/i386/centos/5/rpms/ if thats of any use. > > Let me know if I need to provide any more info. Hmm, can you try reverting 196737? Or actually, can you print out the value of %ebx ('p $ebx' in ddb will work I think)? I wonder if this patch would fix it: Index: pmap.c =================================================================== --- pmap.c (revision 196974) +++ pmap.c (working copy) @@ -999,7 +999,7 @@ * coherence domain. */ mfence(); - for (; sva < eva; sva += cpu_clflush_line_size) + for (; sva <= eva; sva += cpu_clflush_line_size) clflush(sva); mfence(); } else { -- John Baldwin