Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 09:10:06 -0700 (PDT)
From:      "David Hedley" <david@inty.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/33143: Kernel panic in uhci_abort_xfer_end
Message-ID:  <200207111610.g6BGA6KW051224@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/33143; it has been noted by GNATS.

From: "David Hedley" <david@inty.net>
To: "freebsd-gnats-submit@FreeBSD. org" <freebsd-gnats-submit@FreeBSD.org>,
	<rv@openusenet.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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207111610.g6BGA6KW051224>