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

David Wolfskill david at catwhisker.org
Thu Apr 30 21:36:23 UTC 2009


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
> @@ -357,7 +357,6 @@ 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090430/7cefd473/attachment.pgp


More information about the freebsd-current mailing list