From owner-freebsd-current@FreeBSD.ORG Wed Nov 19 10:09:14 2003 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 8CEF316A4CF for ; Wed, 19 Nov 2003 10:09:14 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6842C43FE0 for ; Wed, 19 Nov 2003 10:09:12 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 18093 invoked from network); 19 Nov 2003 18:09:11 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 19 Nov 2003 18:09:11 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id hAJI96Fn024983; Wed, 19 Nov 2003 13:09:07 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031117024240.GA21469@xor.obsecurity.org> Date: Wed, 19 Nov 2003 13:09:05 -0500 (EST) From: John Baldwin To: Kris Kennaway X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: alpha@freebsd.org cc: current@freebsd.org cc: David O'Brien Subject: Re: Alpha SMP panic 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: Wed, 19 Nov 2003 18:09:14 -0000 On 17-Nov-2003 Kris Kennaway wrote: > On Sun, Nov 16, 2003 at 06:39:17PM -0800, David O'Brien wrote: >> # cd /usr/src ; cvs -qR up -PdA >> ... >> U sys/netgraph/bluetooth/include/ng_btsocket_hci_raw.h >> U sys/netgraph/bluetooth/include/ng_btsocket_l2cap.h >> U sys/netgraph/bluetooth/include/ng_btsocket_rfcomm.h >> panic: Assertion td->td_turnstile != NULL failed at >> ../../../kern/subr_turnstile.c:427 >> cpuid = 1; >> panic >> spin lock sched lock held by 0xfffffc001f053c80 for > 5 seconds > > I'm able to easily produce this on two amd64 machines too. Can you try this: http://www.FreeBSD.org/~jhb/patches/spurious.patch It includes the TD_ON_RUNQ() fix as well as some assertions that should hopefully catch the bug the assertion above is catching if it's not a case of nesting on a turnstile. A backtrace from the first panic might help if you can get it. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/