From owner-freebsd-current@FreeBSD.ORG Thu Nov 20 11:31:28 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 A25FA16A4CF for ; Thu, 20 Nov 2003 11:31:28 -0800 (PST) Received: from mail.speakeasy.net (mail5.speakeasy.net [216.254.0.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5DD043F93 for ; Thu, 20 Nov 2003 11:31:27 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 8239 invoked from network); 20 Nov 2003 19:31:27 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 20 Nov 2003 19:31:27 -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 hAKJVNFn031457; Thu, 20 Nov 2003 14:31:23 -0500 (EST) (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: <20031120190342.GA87876@xor.obsecurity.org> Date: Thu, 20 Nov 2003 14:31:23 -0500 (EST) From: John Baldwin To: Kris Kennaway X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: current@FreeBSD.org Subject: RE: spin lock sched lock held by 0xc25a8640 for > 5 seconds 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, 20 Nov 2003 19:31:28 -0000 On 20-Nov-2003 Kris Kennaway wrote: > I updated bento last night, and it panicked after a few hours with: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 01 > fault virtual address = 0xe5 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc052e219 > stack pointer = 0x10:0xe00d2c3c > frame pointer = 0x10:0xe00d2c64 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 40 (irq29: sym0) > spin lock sched lock held by 0xc25a8640 for > 5 seconds > panic: spin lock held too long > cpuid = 1; > Debugger("panic") > > Unfortunately it hangs there instead of breaking to DDB. > > The instruction pointer is in: > > ... > c052e000 t propagate_priority > c052e360 T init_turnstiles > ... > > I'm currently rebuilding without WITNESS_SKIPSPIN in case this catches it. Argh, I didn't catch that you trap 12'd before the sched_lock hang. Do you have INVARIANTS on? Also, do you possibly have a kernel.debug around that you could try to figure out what line that IP corresponds to? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/