From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 04:33:03 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 B311C37B401 for ; Thu, 17 Apr 2003 04:33:03 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0881243FBF for ; Thu, 17 Apr 2003 04:33:00 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h3HBWNhJ097154 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 17 Apr 2003 14:32:24 +0300 (EEST) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h3HBWIqa097140; Thu, 17 Apr 2003 14:32:18 +0300 (EEST) (envelope-from ru) Date: Thu, 17 Apr 2003 14:32:18 +0300 From: Ruslan Ermilov To: Nate Lawson Message-ID: <20030417113218.GA96808@sunbay.com> References: <16029.64451.191705.186274@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i cc: Andrew Gallatin cc: current@freebsd.org Subject: Re: Your locking and rman changes to pci/if_* 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, 17 Apr 2003 11:33:04 -0000 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 17, 2003 at 01:18:49AM -0700, Nate Lawson wrote: > On Wed, 16 Apr 2003, Andrew Gallatin wrote: > > Ruslan Ermilov writes: > > > : dc0: detached > > > : panic: blockable sleep lock (sleep mutex) Giant @ vm/vm_fault.c:206 > > >=20 > > > Reverting to if_dc.c,v 1.96 makes the problem go away. > > > Please fix. > >=20 > > I think this indciates that something trap'ed in the kernel in the > > middle of handling, say, another trap. > >=20 > > A stack trace from ddb or gdb would make this a lot easier to debug. >=20 > Yes, backtrace please. Also, you might want to try removing the > bus_child_present() check in xl_detach and just unconditionally call > xl_stop(). Ian Dowse has indicated to me that some of the drivers > (dc) have routines which need to always be called in detach, even if the > hardware is not present. >=20 Yes, Ian's patch did the trick. Let me know if you still want a backtrace, and should it be against the kernel with debug information or not. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+npDCUkv4P6juNwoRAr+TAJ4jb1PpVf0krla8BkT+Gf0aWvSxKACeJ6e9 t2/UfHXz9IUVaK57eg42E+0= =IpMp -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0--