Skip site navigation (1)Skip section navigation (2)
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

--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 01, 2009 at 12:48:28AM +0400, Chagin Dmitry wrote:
> ...
> > This falls into the category of "unlikely software bugs" -- is there an=
y=20
> > chance this machine is overheating or has memory problems?  "show alllo=
cks"=20
> > would be helpful on general principle, though.
> >=20
>=20
> hi Robert,
> look at patch bellow (even not tested, only to show a problem):
>=20
> 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 !=3D NULL) {
>  			/*
>=20
>=20
> 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 r1916=
82M: 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]=20


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
--=20
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.

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkn6GdQACgkQmprOCmdXAD1OeACfVjwir7MN0RPTdLHw+RLs9jAN
m+QAnjdLYy3kvIfB0mthL/mH36WQQWRb
=9OK4
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090430213621.GA61978>