From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 17:36:27 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D2F616A4CE for ; Mon, 17 Nov 2003 17:36:27 -0800 (PST) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 11CFC43FF2 for ; Mon, 17 Nov 2003 17:36:26 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 30496 invoked by uid 65534); 18 Nov 2003 01:36:24 -0000 Received: from unknown (EHLO [172.16.32.190]) (212.204.32.190) by mail.gmx.net (mp006) with SMTP; 18 Nov 2003 02:36:24 +0100 X-Authenticated: #2431876 From: Andreas Kohn To: Andre Oppermann In-Reply-To: <3FB8A79B.89C66105@pipeline.ch> References: <1069053107.706.10.camel@klamath> <3FB8A79B.89C66105@pipeline.ch> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-LZmncv5uBMK2u4edPKWP" Message-Id: <1069119383.2499.9.camel@klamath> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 18 Nov 2003 02:36:24 +0100 cc: Max Laier cc: current@freebsd.org Subject: Re: Panic in ip_input X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 01:36:27 -0000 --=-LZmncv5uBMK2u4edPKWP Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-11-17 at 11:48, Andre Oppermann wrote: > Max Laier wrote: > >=20 > > Hello Andreas, > >=20 > > Monday, November 17, 2003, 8:11:47 AM, you wrote: > > AK> #7 0xc05ed8a9 in ip_input (m=3D0x0) at > > AK> /usr/src/sys/netinet/ip_input.c:364 > > AK> #8 0xc05e6292 in div_output (so=3D0xc2f11d20, m=3D0xc16d6600, > > AK> sin=3D0xc2d834b0, > > AK> control=3D0x0) at /usr/src/sys/netinet/ip_divert.c:364 > >=20 > > AK> (kgdb) frame 7 > > AK> #7 0xc05ed8a9 in ip_input (m=3D0x0) at > > AK> /usr/src/sys/netinet/ip_input.c:364 > > AK> 364 m_free(m0); > > AK> (kgdb) p m0 > > AK> $1 =3D (struct mbuf *) 0x0 > > AK> (kgdb) l > > AK> 359 > > AK> 360 m0 =3D m; > > AK> 361 m =3D m->m_next; > > AK> 362 /* XXX: This is set by ip_fastforward */ > > AK> 363 if (m0->m_nextpkt =3D=3D (struct mbuf *)1) > > AK> 364 m_free(m0); > > AK> 365 } > > AK> 366 > > AK> 367 M_ASSERTPKTHDR(m); > > AK> 368 > >=20 > > AK> This panic is relatively easy to recreate. > >=20 > > AK> Some data points: > >=20 > > AK> The machine is an Athlon Thunderbird 1200 (CPUTYPE=3Dathlon-tbird i= n > > AK> make.conf), the NIC is a Realtek 8139. > > AK> net.inet.ip.fastforwarding is 0. > >=20 > > AK> I have a dump available (256M). What can I do to help fix this prob= lem? > >=20 > > What rev. of ip_input.c is this? Looks like head. Rev. 1.253 mangled > > the for(;;) in a strange way and added that very strange check ... can > > somebody just kill these bastard MT_TAG thing in flavour for real > > mbuf_tags, now? Please! >=20 > Green fixed the problem a couple of hours ago in ip_divert.c. The > m_nextpkt was uninitialized and happend to be 1 this time. Please > re-cvsup. Hi, seems to work okay. Thanks! --=20 Andreas Kohn --=-LZmncv5uBMK2u4edPKWP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/uXeXYucd7Ow1ygwRArcgAKCR++HvwSe/zR5iVidLKRh46DsEYACePPkb +CUhcA18F5gKiaDhnEleKQU= =BKE1 -----END PGP SIGNATURE----- --=-LZmncv5uBMK2u4edPKWP--