From owner-freebsd-bugs Thu Jul 11 9:10:13 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA26A37B400 for ; Thu, 11 Jul 2002 09:10:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EFA943E31 for ; Thu, 11 Jul 2002 09:10:06 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6BGA6JU051225 for ; Thu, 11 Jul 2002 09:10:06 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6BGA6KW051224; Thu, 11 Jul 2002 09:10:06 -0700 (PDT) Date: Thu, 11 Jul 2002 09:10:06 -0700 (PDT) Message-Id: <200207111610.g6BGA6KW051224@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "David Hedley" Subject: Re: kern/33143: Kernel panic in uhci_abort_xfer_end Reply-To: "David Hedley" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/33143; it has been noted by GNATS. From: "David Hedley" To: "freebsd-gnats-submit@FreeBSD. org" , Cc: Subject: Re: kern/33143: Kernel panic in uhci_abort_xfer_end Date: Thu, 11 Jul 2002 17:05:34 +0100 The second panic is caused in /sys/ufs/ffs/ffs_softdep.c:acquire_lock (i.e. soft updates are on): acquire_lock(lk) struct lockit *lk; { pid_t holder; if (lk->lkt_held !=3D -1) { holder =3D lk->lkt_held; FREE_LOCK(lk); if (holder =3D=3D CURPROC->p_pid) panic("softdep_lock: locking against myself"); else panic("softdep_lock: lock held by %d", holder); } lk->lkt_spl =3D splbio(); (*) lk->lkt_held =3D CURPROC->p_pid; lockcnt++; } The second panic happens at the line indicated (*) when CURPROC =3D=3D = NULL (i.e. there is no current process) David -- Dr David Hedley, R&D Director, intY Ltd, Bristol, UK http://www.inty.net/ intY has scanned this email for all known viruses (www.inty.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message