Re: Panic: witness_warn (r191682; shared rw udpinp (udpinp)...netinet6/udp6_usrreq.c:360)

From: David Wolfskill <david_at_catwhisker.org>
Date: Thu, 30 Apr 2009 14:36:21 -0700
On Fri, May 01, 2009 at 12:48:28AM +0400, Chagin Dmitry wrote:
> ...
> > This falls into the category of "unlikely software bugs" -- is there any 
> > chance this machine is overheating or has memory problems?  "show alllocks" 
> > would be helpful on general principle, though.
> > 
> 
> hi Robert,
> look at patch bellow (even not tested, only to show a problem):
> 
> diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c
> index 5393740..f8ac3f2 100644
> --- a/sys/netinet6/udp6_usrreq.c
> +++ b/sys/netinet6/udp6_usrreq.c
> _at__at_ -357,7 +357,6 _at__at_ udp6_input(struct mbuf **mp, int *offp, int proto)
>  			UDPSTAT_INC(udps_noportmcast);
>  			goto badheadlocked;
>  		}
> -		INP_RLOCK(last);
>  		INP_INFO_RUNLOCK(&V_udbinfo);
>  		if (last->inp_ppcb != NULL) {
>  			/*
> 
> 
> David, can you test this patch?


freebeast(8.0-C)[1] uname -a
FreeBSD freebeast.catwhisker.org 8.0-CURRENT FreeBSD 8.0-CURRENT #331 r191682M: Thu Apr 30 14:13:03 PDT 2009     root_at_freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/FREEBEAST  i386
freebeast(8.0-C)[2] 


I believe that qualifies as Goodness, as I was able to use ssh to
access the machine, so it's definitely up in multi-user mode.

Thanks!

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Thu Apr 30 2009 - 19:36:22 UTC

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