From owner-freebsd-current@FreeBSD.ORG Fri Jul 16 16:21:32 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 90A8B16A4CE for ; Fri, 16 Jul 2004 16:21:32 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E06943D5E for ; Fri, 16 Jul 2004 16:21:32 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i6GGL9Fw010736; Fri, 16 Jul 2004 12:21:09 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i6GGL98r010733; Fri, 16 Jul 2004 12:21:09 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Fri, 16 Jul 2004 12:21:09 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Willem Jan Withagen In-Reply-To: <0b4001c46b49$d146f6d0$471b3dd4@digiware.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: spin lock sched lock held by 0xffffff007b712250 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: Fri, 16 Jul 2004 16:21:32 -0000 On Fri, 16 Jul 2004, Willem Jan Withagen wrote: > After todays kernelbuild the system seem to be a lot better... > It can take quite some buildworld abuse, but still: > > spin lock sched lock held by 0xffffff007b712250 for > 5 seconds > panic: spin lock held too long > cpuid = 1; > KDB: enter: panic > > But I'm not shure what I could/should do now, since the KDB > introduction. Normally I'd expect to see: db> We have trouble entering the debugger when in a critical section/and or have sched_lock held -- I think this is because we try to halt the other CPUs and that gets nastily stuck in some form. We need to fix this. This could well be a symptom of some of the other hangs we've been seeing, and I've seen similar things on my test box with preemption enabled. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research