Date: Thu, 30 Apr 2009 14:36:21 -0700 From: David Wolfskill <david@catwhisker.org> To: Chagin Dmitry <dchagin@freebsd.org> Cc: Robert Watson <rwatson@freebsd.org>, current@freebsd.org Subject: Re: Panic: witness_warn (r191682; shared rw udpinp (udpinp)...netinet6/udp6_usrreq.c:360) Message-ID: <20090430213621.GA61978@albert.catwhisker.org> In-Reply-To: <20090430204828.GA6551@dchagin.static.corbina.ru> References: <20090430155408.GX1387@albert.catwhisker.org> <alpine.BSF.2.00.0904302026460.8997@fledge.watson.org> <20090430204828.GA6551@dchagin.static.corbina.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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@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@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.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
iEYEARECAAYFAkn6GdQACgkQmprOCmdXAD1OeACfVjwir7MN0RPTdLHw+RLs9jAN
m+QAnjdLYy3kvIfB0mthL/mH36WQQWRb
=9OK4
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090430213621.GA61978>
