From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 02:52:58 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 221C216A4CE for ; Mon, 17 Nov 2003 02:52:58 -0800 (PST) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 499BD43FB1 for ; Mon, 17 Nov 2003 02:52:55 -0800 (PST) (envelope-from andreas.kohn@gmx.net) Received: (qmail 26910 invoked by uid 65534); 17 Nov 2003 10:52:54 -0000 Received: from unknown (HELO mobile.ankon.homeip.net) (139.30.33.179) by mail.gmx.net (mp005) with SMTP; 17 Nov 2003 11:52:54 +0100 X-Authenticated: #2431876 Date: Mon, 17 Nov 2003 11:53:02 +0100 From: Andreas Kohn To: Max Laier Message-Id: <20031117115302.4e215fe9.andreas.kohn@gmx.net> In-Reply-To: <4212255218.20031117090256@love2party.net> References: <1069053107.706.10.camel@klamath> <4212255218.20031117090256@love2party.net> Organization: X-Mailer: Sylpheed version 0.9.5-gtk2-20030906 (GTK+ 2.2.4; i386-portbld-freebsd5.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: sam@freebsd.org cc: andre@freebsd.org 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: Mon, 17 Nov 2003 10:52:58 -0000 On Mon, 17 Nov 2003 09:02:56 +0100 Max Laier wrote: > Hello Andreas, > > Monday, November 17, 2003, 8:11:47 AM, you wrote: > AK> #7 0xc05ed8a9 in ip_input (m=0x0) at > AK> /usr/src/sys/netinet/ip_input.c:364 > AK> #8 0xc05e6292 in div_output (so=0xc2f11d20, m=0xc16d6600, > AK> sin=0xc2d834b0, > AK> control=0x0) at /usr/src/sys/netinet/ip_divert.c:364 > > AK> (kgdb) frame 7 > AK> #7 0xc05ed8a9 in ip_input (m=0x0) at > AK> /usr/src/sys/netinet/ip_input.c:364 > AK> 364 m_free(m0); > AK> (kgdb) p m0 > AK> $1 = (struct mbuf *) 0x0 > AK> (kgdb) l > AK> 359 > AK> 360 m0 = m; > AK> 361 m = m->m_next; > AK> 362 /* XXX: This is set by ip_fastforward */ > AK> 363 if (m0->m_nextpkt == (struct mbuf *)1) > AK> 364 m_free(m0); > AK> 365 } > AK> 366 > AK> 367 M_ASSERTPKTHDR(m); > AK> 368 > > > AK> This panic is relatively easy to recreate. > > AK> Some data points: > > AK> The machine is an Athlon Thunderbird 1200 (CPUTYPE=athlon-tbird in > AK> make.conf), the NIC is a Realtek 8139. > AK> net.inet.ip.fastforwarding is 0. > > AK> I have a dump available (256M). What can I do to help fix this problem? > > 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! > > -- > Best regards, > Max mailto:max@love2party.net > Hi, It should be ip_input.c 1.255 (can't check now), and I will try the rev 1.256 as soon as I return to that machine. Thanks, Andreas