From owner-freebsd-xen@FreeBSD.ORG Mon Dec 20 21:35:20 2010 Return-Path: Delivered-To: freebsd-xen@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 7A36D106564A for ; Mon, 20 Dec 2010 21:35:20 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from xps.daemonology.net (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx2.freebsd.org (Postfix) with SMTP id 420D614F16A for ; Mon, 20 Dec 2010 21:35:14 +0000 (UTC) Received: (qmail 41320 invoked from network); 20 Dec 2010 21:35:13 -0000 Received: from unknown (HELO xps.daemonology.net) (127.0.0.1) by localhost with SMTP; 20 Dec 2010 21:35:13 -0000 Message-ID: <4D0FCC11.2020306@freebsd.org> Date: Mon, 20 Dec 2010 13:35:13 -0800 From: Colin Percival User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.11) Gecko/20100803 Thunderbird/3.0.6 MIME-Version: 1.0 To: Collin Forbes References: <4D066D52.2080100@freebsd.org> <1292328289.26377.48.camel@pow> <4D07A52A.1080208@freebsd.org> <20101220212118.GA17665@gmail.com> In-Reply-To: <20101220212118.GA17665@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "freebsd-xen@freebsd.org" Subject: Re: FreeBSD/EC2 lives! X-BeenThere: freebsd-xen@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion of the freebsd port to xen - implementation and usage List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Dec 2010 21:35:20 -0000 On 12/20/10 13:21, Collin Forbes wrote: > the last line I see before the panic is: > > checking whether mlock is broken... Yep, known issue -- this is PR kern/140313. > I'm a debugging n00b however. What do you need in terms of a debugging > report? I have files in /var/crash as a result of the two panics at > exactly the same place. > > -rw-r--r-- 1 root wheel 2 Dec 20 21:16 bounds > -rw------- 1 root wheel 149546 Dec 20 20:45 core.txt.0 > -rw------- 1 root wheel 140384 Dec 20 21:16 core.txt.1 > -rw------- 1 root wheel 519 Dec 20 20:45 info.0 > -rw------- 1 root wheel 518 Dec 20 21:16 info.1 > -rw-r--r-- 1 root wheel 5 Dec 11 21:52 minfree > -rw------- 1 root wheel 118460416 Dec 20 20:45 vmcore.0 > -rw------- 1 root wheel 102764544 Dec 20 21:16 vmcore.1 Can you look in the core.txt.[01] files and make sure that the backtraces match the backtrace at http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/140313 Assuming they're the same, I don't think I need any more data... of course, if you want to dig through the FreeBSD kernel source code and figure out why the vm page queue mutex is not owned, that would be great. :-) (My guess is that the VM code was adjusted to push that lock down (i.e., hold it for less time) and the xen code wasn't modified at the same time, but I haven't had time to investigate this fully yet.) -- Colin Percival Security Officer, FreeBSD | freebsd.org | The power to serve Founder / author, Tarsnap | tarsnap.com | Online backups for the truly paranoid