From owner-freebsd-hackers@FreeBSD.ORG Wed Aug 15 18:15:31 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C74816A417 for ; Wed, 15 Aug 2007 18:15:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 4D51213C48A for ; Wed, 15 Aug 2007 18:15:31 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8k) with ESMTP id 203510357-1834499 for multiple; Wed, 15 Aug 2007 14:15:24 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l7FIFHI7036918; Wed, 15 Aug 2007 14:15:18 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Wed, 15 Aug 2007 12:41:29 -0400 User-Agent: KMail/1.9.6 References: <1fc8a2a60708142327p3f9ff079l345d47f9ceb6f489@mail.gmail.com> In-Reply-To: <1fc8a2a60708142327p3f9ff079l345d47f9ceb6f489@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708151241.29534.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 15 Aug 2007 14:15:18 -0400 (EDT) X-Virus-Scanned: ClamAV 0.88.3/3964/Wed Aug 15 10:21:53 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Nex Mon Subject: Re: questions on nonsleepable lock X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Aug 2007 18:15:31 -0000 On Wednesday 15 August 2007 02:27:56 am Nex Mon wrote: > Hello All, > > Can someone point me out or explain the technical details of this kernel > panic: > > sleeping thread (tid 100093, pid 2676) owns nonsleepable lock > panic: sleeping thread > -- > -- > > > Is this caused by incorrect use of mutex or semaphores? Is this > related to kernel scheduling? Can this be addressed at the > user process? I've tried looking throught the freebsd mailing list > archives and documentations but coudn't find a real good answer to > solve or prevent this problem. > > Im using freebsd 6.1 with SMP enabled on a Xeon dual core hardware. The > system has several busy applications running, But the load average is very > minimal, around 8.55 and no process hogging the CPU. So I expect my system > should be running smoothly without in problem. > > I appreciate any help. I know there was at least one bug that could result in this, but the root cause was either a deadlock or use after free, etc. It should be fixed in 6-stable. I can't recall further what it is though. -- John Baldwin