Re: Your locking and rman changes to pci/if_*

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Thu, 17 Apr 2003 14:32:18 +0300
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 _at_ vm/vm_fault.c:206
> >  > 
> >  > Reverting to if_dc.c,v 1.96 makes the problem go away.
> >  > Please fix.
> > 
> > I think this indciates that something trap'ed in the kernel in the
> > middle of handling, say, another trap.
> > 
> > A stack trace from ddb or gdb would make this a lot easier to debug.
> 
> 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.
> 
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,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru_at_sunbay.com		Sunbay Software AG,
ru_at_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

Received on Thu Apr 17 2003 - 02:33:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC