From owner-freebsd-current@FreeBSD.ORG Thu Aug 21 07:40:20 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B44616A4BF for ; Thu, 21 Aug 2003 07:40:20 -0700 (PDT) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8690843FBF for ; Thu, 21 Aug 2003 07:40:18 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2084 invoked from network); 21 Aug 2003 14:40:17 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 21 Aug 2003 14:40:17 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h7LEeG9s098844; Thu, 21 Aug 2003 10:40:16 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200308202301.h7KN1WOI068795@grimreaper.grondar.org> Date: Thu, 21 Aug 2003 10:40:40 -0400 (EDT) From: John Baldwin To: Mark Murray cc: current@FreeBSD.org Subject: Re: Current panic in pmap/VM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 21 Aug 2003 14:40:20 -0000 On 20-Aug-2003 Mark Murray wrote: > John Baldwin writes: >> > pmap_ts_referenced() >> > vm_pageout_scan() >> > vm_pageout() >> > fork_exit() >> > fork_trampoline() >> > >> > I'm happy to try patches if anyone has ideas. >> >> Having the fault address as well as the source file/line of >> where the fault occurs could be helpful. > > From 2 panics, I have 2 addresses - 0xc02cbbab and 0xc02cfb9b (Custom > kernels, so I doubt those will help). Those are code addresses, not the faulting virtual addresses. > The source file is src/sys/i386/i386/pmap.c, and it is in the > pmap_ts_referenced() function (a short function) at about line 2895. Line 2895 in my pmap.c is: int pmap_ts_referenced(vm_page_t m) { register pv_entry_t pv, pvf, pvn; pt_entry_t *pte; <<<< here That's not code. :) Pop up gdb -k on your kernel.debug and do 'l *0xc02cbbab' and 'l *0xc02cfb9b' to get the exact line it faulted at. > I'll need to put a serial debugger on to go any further. Does this > work, or will I be wasting effort? (Getting that cable in is going > to be a _pain_). I don't think you need serial ddb yet. s -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/