From owner-freebsd-current@FreeBSD.ORG Tue Nov 23 01:13:10 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 BC15A16A4CF for ; Tue, 23 Nov 2004 01:13:10 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 0ADB443D62 for ; Tue, 23 Nov 2004 01:13:10 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 83603 invoked from network); 23 Nov 2004 01:13:08 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 23 Nov 2004 01:13:08 -0000 X-pair-Authenticated: 80.164.63.199 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.1/8.13.1) with ESMTP id iAN1D7mu038636; Tue, 23 Nov 2004 02:13:07 +0100 (CET) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.1/8.13.1/Submit) id iAN1D7mE038635; Tue, 23 Nov 2004 02:13:07 +0100 (CET) (envelope-from pho) Date: Tue, 23 Nov 2004 02:13:07 +0100 From: Peter Holm To: John Baldwin Message-ID: <20041123011307.GA38559@peter.osted.lan> References: <20041122143804.GA36649@peter.osted.lan> <200411221657.36659.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411221657.36659.jhb@FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: current@FreeBSD.org cc: phk@FreeBSD.org Subject: Re: panic: sleeping thread owns a non-sleepable lock 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, 23 Nov 2004 01:13:10 -0000 On Mon, Nov 22, 2004 at 04:57:36PM -0500, John Baldwin wrote: > On Monday 22 November 2004 09:38 am, Peter Holm wrote: > > During stress test with GENERIC HEAD from Nov 20 08:40 UTC I got: > > Sleeping on "fdesc" with the following non-sleepable locks held: > > exclusive sleep mutex fdesc r = 0 (0xc08d15a0) locked @ > > kern/kern_descrip.c:2425 and then > > panic: sleeping thread (pid 92279) owns a non-sleepable lock > > > > http://www.holm.cc/stress/log/cons89.html > > Yes, the panic is a result of the earlier warning. Poul-Henning touched this > code last, so it is probably something for him to look at. I'm unsure how > msleep() is getting called, however. The turnstile panic is not important, > can you find the thread that went to sleep (should be pid 92279) and get > stack trace for that? > The ddb trace is in the log, just before call doadump. Let me know if you need any gdb output. -- Peter Holm