Re: panic: System call old.recv returning with 1 locks held

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Mon, 11 Sep 2006 20:59:53 +0200
Quoting Pawel Jakub Dawidek <pjd_at_FreeBSD.org> (Mon, 11 Sep 2006 20:02:05 +0200):

> On Mon, Sep 11, 2006 at 07:47:40PM +0200, Alexander Leidinger wrote:
> > Quoting Pawel Jakub Dawidek <pjd_at_FreeBSD.org> (Mon, 11 Sep 2006 12:01:18 +0200):
> > 
> > > In HEAD (not sure if it was MFCed) jhb_at_ added code to track number of
> > > mutexes/sx-locks acquired/released. So bascially this panic can happen
> > > when you leak a lock of any kind.
> > > 
> > > 'show alllocks' has to show them when the kernel (and modules) is
> > > compiled with WITNESS.
> > 
> > exclusive sleep mutex so_snd r=0 (0xc2b204c4) locked _at_ kern/uipc_socket.c:984
> [...]
> 
> Much easier now.
> 
> > How to track this down?
> 
> Try this patch:
> 
> 	http://people.freebsd.org/~pjd/patches/uipc_socket.c.2.patch

Works (send01 runs, but I start a complete test now). Thanks! I'm going
ahead and suggest to have at least rev 1.281 of uipc_socket.c in the
linuxolator-wiki.

Now... anyone up to porting the ltp to FreeBSD (or at least having a
look at the testcases and adopting them to our regression test)?

BTW: your key is expired.

Bye,
Alexander.

-- 
The slowest checker is always at the quick-check-out
lane.
http://www.Leidinger.net  Alexander _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild _at_ FreeBSD.org  : PGP ID = 72077137
Received on Mon Sep 11 2006 - 16:59:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC