From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 10:37:15 2004 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 8A39916A4CE for ; Wed, 28 Jan 2004 10:37:15 -0800 (PST) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1744743D45 for ; Wed, 28 Jan 2004 10:36:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 31059 invoked from network); 28 Jan 2004 18:36:54 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Jan 2004 18:36:54 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.10/8.12.10) with ESMTP id i0SIZwMC063934; Wed, 28 Jan 2004 13:36:35 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: "Erik Moe" , Date: Wed, 28 Jan 2004 13:03:38 -0500 User-Agent: KMail/1.5.4 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200401281303.38753.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: 5.2-RELEASE panic in turnstile_wait 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: Wed, 28 Jan 2004 18:37:15 -0000 On Tuesday 27 January 2004 10:06 pm, Erik Moe wrote: > panic: page fault > panic messages: > --- > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x6c > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0571bfd > stack pointer = 0x10:0xe3ab7c28 > frame pointer = 0x10:0xe3ab7c2c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 699 (zcat) > trap number = 12 > panic: page fault > > #4 0xc06b5113 in trap (frame= > {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -969008320, tf_esi > = -969012736, tf_ebp = -475300820, tf_isp = -475300844, tf_ebx = > -969008320, tf_edx = -969012736, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, > tf_err = 0, tf_eip = -1068033027, tf_cs = 8, tf_eflags = 65538, tf_esp = > -962721112, tf_ss = -475300780}) > at /usr/src/sys/i386/i386/trap.c:250 > #5 0xc06a7de8 in calltrap () at {standard input}:94 > #6 0xc0571efc in turnstile_wait (ts=0xc63e1b40, lock=0xc69e0aa8, > owner=0x0) at /usr/src/sys/kern/subr_turnstile.c:458 There is an extra frame in here that gdb misses. > (kgdb) frame 6 > #6 0xc0571efc in turnstile_wait (ts=0xc63e1b40, lock=0xc69e0aa8, > owner=0x0) at /usr/src/sys/kern/subr_turnstile.c:458 > 458 turnstile_setowner(ts, owner); The real panic is in turnstile_setowner(). If owner is indeed NULL (gdb sometimes messes up values of local variables and arguments) then that is why it is panicing. Can you pop up to frame 7 and print out *m? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org