From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 14 15:37:41 2006 Return-Path: X-Original-To: freebsd-bugs@FreeBSD.org Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1C5F16A403 for ; Tue, 14 Nov 2006 15:37:41 +0000 (UTC) (envelope-from gallasch@free.de) Received: from smtp.free.de (smtp.free.de [193.28.225.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0481A43D76 for ; Tue, 14 Nov 2006 15:37:34 +0000 (GMT) (envelope-from gallasch@free.de) Received: (qmail 56806 invoked from network); 14 Nov 2006 15:37:33 -0000 Received: from buero.free.de (HELO [193.28.225.75]) (gallasch@free.de@[193.28.225.75]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Nov 2006 15:37:33 -0000 Message-ID: <4559E302.7020504@free.de> Date: Tue, 14 Nov 2006 16:38:42 +0100 From: Kai Gallasch User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Robert Watson References: <200611141012.kAEACM0o030094@freefall.freebsd.org> In-Reply-To: <200611141012.kAEACM0o030094@freefall.freebsd.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Cc: freebsd-bugs@FreeBSD.org Subject: Re: kern/104765: kernel panic 6.2 prerelease-20061017 amd64 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 15:37:41 -0000 Robert Watson wrote: > Synopsis: kernel panic 6.2 prerelease-20061017 amd64 >=20 > Responsible-Changed-From-To: freebsd-bugs->rwatson > Responsible-Changed-By: rwatson > Responsible-Changed-When: Tue Nov 14 10:05:50 UTC 2006 > Responsible-Changed-Why:=20 > Claim ownership, since I've been looking at issues similar or identical= > to this. Some questions: >=20 > (1) Could you let me know what versions of ip_output.c and tcp_usrreq.c= > you're running with? /usr/src/sys/netinet/ip_output.c * @(#)ip_output.c 8.3 (Berkeley) 1/21/94 * $FreeBSD: src/sys/netinet/ip_output.c,v 1.242.2.16 2006/10/24 13:23:03 rwatson Exp $ /usr/src/sys/netinet/tcp_usrreq.c * From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94 * $FreeBSD: src/sys/netinet/tcp_usrreq.c,v 1.124.2.3 2006/09/27 09:24:44 mux Exp $ >=20 > (2) Could you try the most recent patch attached to PR 102412? This is= > a patch to ip_ctloutput(). I've attached it below, but the chances= > are good that GNATS will mangle the patch. ok, I will apply the patch and rebuild. # cat /boot/loader.conf debug.mpsafenet=3D0 If I recompile and reboot - Should I set debug.mpsafenet=3D1 ?(which is its default value) Since I set this value to 0 the server didn't crash and reached 10 days uptime. >=20 > Index: ip_output.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /home/ncvs/src/sys/netinet/ip_output.c,v > retrieving revision 1.242.2.16 > diff -u -r1.242.2.16 ip_output.c > --- ip_output.c 24 Oct 2006 13:23:03 -0000 1.242.2.16 > +++ ip_output.c 26 Oct 2006 18:20:55 -0000 > @@ -1155,6 +1155,7 @@ > struct sockopt *sopt; > { > struct inpcb *inp =3D sotoinpcb(so); > + struct inpcbinfo *pcbinfo =3D inp->inp_pcbinfo; > int error, optval; > =20 > error =3D optval =3D 0; > @@ -1190,12 +1191,15 @@ > m_free(m); > break; > } > + INP_INFO_WLOCK(pcbinfo); > if (so->so_pcb =3D=3D NULL) { > + INP_INFO_WUNLOCK(pcbinfo); > m_free(m); > error =3D EINVAL; > break; > } > INP_LOCK(inp); > + INP_INFO_WUNLOCK(pcbinfo); > error =3D ip_pcbopts(inp, sopt->sopt_name, m); > INP_UNLOCK(inp); > return (error); >=20 >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D104765 > _______________________________________________ > freebsd-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-bugs > To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"=