From owner-freebsd-bugs@FreeBSD.ORG Mon Mar 3 21:00:05 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C88B21065673 for ; Mon, 3 Mar 2008 21:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C99648FC18 for ; Mon, 3 Mar 2008 21:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m23L05fY075458 for ; Mon, 3 Mar 2008 21:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m23L05Xv075457; Mon, 3 Mar 2008 21:00:05 GMT (envelope-from gnats) Date: Mon, 3 Mar 2008 21:00:05 GMT Message-Id: <200803032100.m23L05Xv075457@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Kris Kennaway Cc: Subject: Re: kern/121322: 'panic: spin lock held too long' on reboot X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kris Kennaway List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2008 21:00:05 -0000 The following reply was made to PR kern/121322; it has been noted by GNATS. From: Kris Kennaway To: Lars Stokholm Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: kern/121322: 'panic: spin lock held too long' on reboot Date: Mon, 03 Mar 2008 21:56:52 +0100 Lars Stokholm wrote: >> Number: 121322 >> Category: kern >> Synopsis: 'panic: spin lock held too long' on reboot >> Confidential: no >> Severity: serious >> Priority: medium >> Responsible: freebsd-bugs >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Mon Mar 03 16:00:01 UTC 2008 >> Closed-Date: >> Last-Modified: >> Originator: Lars Stokholm >> Release: FreeBSD 7-STABLE >> Organization: >> Environment: > FreeBSD stokholm 7.0-STABLE FreeBSD 7.0-STABLE #2: Sun Mar 2 20:47:23 CET 2008 lars@stokholm:/usr/obj/usr/src/sys/STOKHOLM i386 >> Description: > After I enabled my processor's hyper threading capability, I'm beginning to get this, sometimes when I reboot: > > Rebooting... > cpu_reset: Stopping other CPUs > spin lock 0xc0c1ea40 (sched lock 0) held by 0xc2d9ecc0 (tid 100001) too long > panic: spin lock held too long > cpuid = 0 > > Needless to say, after which I have to cut the power manually. > > My processor is a Pentium 4 with hyper threading. Can you enable WITNESS and DDB and reproduce the problem? It will drop into the debugger and you can do 'show locks' to show who holds it, then 'bt <#>' that thread. > Here's my kernel config: > include GENERIC > ident STOKHOLM > nooptions SCHED_4BSD > options SCHED_ULE > device snd_ich > device speaker > device sound Kris