From owner-freebsd-current@FreeBSD.ORG Thu May 8 09:53:49 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 E02BF37B401 for ; Thu, 8 May 2003 09:53:49 -0700 (PDT) Received: from mail.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A93C43FB1 for ; Thu, 8 May 2003 09:53:49 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 14868 invoked from network); 8 May 2003 16:53:52 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 8 May 2003 16:53:52 -0000 Received: from laptop.baldwin.cx ([216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h48GrYp0008966; Thu, 8 May 2003 12:53:36 -0400 (EDT) (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: Date: Thu, 08 May 2003 12:53:39 -0400 (EDT) From: John Baldwin To: "Robin P. Blanchard" cc: current@freebsd.org Subject: RE: Fxp / polling / witness 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: Thu, 08 May 2003 16:53:50 -0000 On 08-May-2003 Robin P. Blanchard wrote: > Latest sources with following debugging options set yields the panic below. > > makeoptions DEBUG=-g > options KTRACE > options DDB > options DDB_UNATTENDED > options ALT_BREAK_TO_DEBUGGER > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options WITNESS_SKIPSPIN > >#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 > 238 dumping++; > (kgdb) bt >#0 doadump () at /usr/src/sys/kern/kern_shutdown.c:238 >#1 0xc01d8133 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:370 >#2 0xc01d847b in panic () at /usr/src/sys/kern/kern_shutdown.c:543 >#3 0xc01fb681 in witness_lock (lock=0xc1526160, flags=8, > file=0xc0308197 "/usr/src/sys/dev/fxp/if_fxp.c", line=1465) > at /usr/src/sys/kern/subr_witness.c:722 What is the actual panic? Is it this one? KASSERT((lock1->li_lock->lo_flags & LO_WITNESS) == 0, ("lock missing witness structure")); Looks like the lock may be used after it was destroyed or some such. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/