From owner-freebsd-current@FreeBSD.ORG Tue Jun 29 18:52:54 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 DD5DB16A4CE for ; Tue, 29 Jun 2004 18:52:54 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id B897B43D31 for ; Tue, 29 Jun 2004 18:52:54 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 15805 invoked from network); 29 Jun 2004 18:52:49 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 29 Jun 2004 18:52:49 -0000 Received: from 131.106.56.214 (p58.n-nypop02.stsn.com [199.106.89.58]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i5TIqOgE011887; Tue, 29 Jun 2004 14:52:32 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Tue, 29 Jun 2004 14:51:56 -0400 User-Agent: KMail/1.6 References: <20040628202434.GA73213@atrbg11.informatik.tu-muenchen.de> <200406291200.12030.jhb@FreeBSD.org> <20040629163028.GM75577@atrbg11.informatik.tu-muenchen.de> In-Reply-To: <20040629163028.GM75577@atrbg11.informatik.tu-muenchen.de> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406291451.56446.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Daniel Lang Subject: Re: kern/68442: panic - acquiring duplicate lock of same type: "sleepq chain" 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: Tue, 29 Jun 2004 18:52:55 -0000 On Tuesday 29 June 2004 12:30 pm, Daniel Lang wrote: > Hi, > > [ I removed PR-audit address and Bjoern, continue on -current ] > > John Baldwin wrote on Tue, Jun 29, 2004 at 12:00:12PM -0400: > > > LOR2: > > > [..] > > > acquiring duplicate lock of same type: "sleepq chain" > > > 1st Giant @ /usr/src/sys/kern/uipc_syscalls.c:1735 > > > 2nd sleepq chain @ /usr/src/sys/kern/subr_sleepqueue.c:223 > > > > This message makes no sense at all as they aren't the same type. > > Well, I did not invent it :-/ I copy/pasted from the serial > console of the machine. > > > > And here the panic message: > > > [..] > > > Fatal trap 12: page fault while in kernel mode > > > cpuid = 1; apic id = 06 > > > fault virtual address = 0x34 > > > fault code = supervisor read, page not present > > > instruction pointer = 0x8:0xc053932b > > > stack pointer = 0x10:0xe53d8ab0 > > > frame pointer = 0x10:0xe53d8ad4 > > > code segment = base 0x0, limit 0xfffff, type 0x1b > > > = DPL 0, pres 1, def32 1, gran 1 > > > processor eflags = resume, IOPL = 0 > > > current process = 2550 (cvsupd) > > > [..] > > > > > > No ddb prompt, no crash-dump, no reboot. I need to go and > > > reset the thing (now for the dozenth time :-/). > > > > Can you pop up gdb -k on the kernel.debug and do 'l *0xc053932b' > > Ahh, so stupid, I was close. > > Colin: I missed '-k', so forget my private reply. > > But however it is futile, since the -current gdb (6.1.1) does > not allow -k. I've read on the list, that there is work in > progress right now. Ah, yes. You can use addr2line to get the address. Something like: % addr2line -e kernel.debug -f 0xc053932b -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org