From owner-freebsd-current@FreeBSD.ORG Fri Jan 8 13:47:18 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DC571065676 for ; Fri, 8 Jan 2010 13:47:18 +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 2DC298FC17 for ; Fri, 8 Jan 2010 13:47:18 +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 D3F3646B09; Fri, 8 Jan 2010 08:47:17 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id DFF5C8A025; Fri, 8 Jan 2010 08:47:16 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 8 Jan 2010 08:26:05 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.2-CBSD-20091103; KDE/4.3.1; amd64; ; ) References: <20100105060748.GA16239@stlux503.dsto.defence.gov.au> <201001070935.52783.jhb@freebsd.org> <20100108061951.GA47507@stlux503.dsto.defence.gov.au> In-Reply-To: <20100108061951.GA47507@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201001080826.05461.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 08 Jan 2010 08:47:17 -0500 (EST) 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 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: "Wilkinson, Alex" Subject: Re: Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 13:47:18 -0000 On Friday 08 January 2010 1:19:51 am Wilkinson, Alex wrote: >=20 > 0n Thu, Jan 07, 2010 at 09:35:52AM -0500, John Baldwin wrote:=20 >=20 > >Can you go to frame 9 and do 'p rv', 'p mpred', and 'p *mpred'? Can= =20 you also do 'p vm_reserv_array' >=20 > (kgdb) up 9 > #9 0xc0b04452 in vm_reserv_alloc_page (object=3D0xc207c000, pindex=3D287= 95) at=20 /usr/src/sys/vm/vm_reserv.c:320 > 320 if (rv->object =3D=3D object && vm_reserv_has_pindex(rv, pindex)) { > (kgdb) p rv > $1 =3D 0xc445d060 > (kgdb) p *mpred > $2 =3D {pageq =3D {tqe_next =3D 0xc75bb360, tqe_prev =3D 0xc75bb000}, lis= tq =3D=20 {tqe_next =3D 0xc75bb360, tqe_prev =3D 0xc8595170}, left =3D 0xc7612a20, ri= ght =3D=20 0xcb721d80, object =3D 0xc207c000,=20 > pindex =3D 28989, phys_addr =3D 3876835328, md =3D {pv_list =3D {tqh_fi= rst =3D 0x0,=20 tqh_last =3D 0x0}, pat_mode =3D 1}, queue =3D 0 '\0', segind =3D 0 '\0', fl= ags =3D 152,=20 order =3D 0 '\0', pool =3D 0 '\0',=20 > cow =3D 0, wire_count =3D 1, hold_count =3D 0, oflags =3D 0, act_count = =3D 0 '\0',=20 busy =3D 0 '\0', valid =3D 255 '=FF', dirty =3D 255 '=FF'} > (kgdb) p vm_reserv_array > $3 =3D 0xc4454000 > (kgdb)=20 Can you add a printf to vm_reserv_startup() to print out the size it=20 calculates and then boot a kernel with that and reply with the size it=20 computes? =2D-=20 John Baldwin