From owner-freebsd-current@FreeBSD.ORG Mon Jan 26 05:21:49 2004 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 DF6E216A4CE for ; Mon, 26 Jan 2004 05:21:49 -0800 (PST) Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4150B43D45 for ; Mon, 26 Jan 2004 05:21:47 -0800 (PST) (envelope-from andre@freebsd.org) Received: (qmail 59682 invoked from network); 26 Jan 2004 13:21:46 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.47]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 26 Jan 2004 13:21:46 -0000 Message-ID: <40151474.8010406@freebsd.org> Date: Mon, 26 Jan 2004 14:21:56 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: sebastian ssmoller References: <20040125203456.7bfaa67b.sebastian.ssmoller@gmx.net> In-Reply-To: <20040125203456.7bfaa67b.sebastian.ssmoller@gmx.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: panic: m_copm, length > size of mbuf chain 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, 26 Jan 2004 13:21:50 -0000 sebastian ssmoller wrote: > hi, > my system ran stable for several days now but suddenly this error occured. At this moment i did nothing special - just surfing the net ... > > cause i have no serial line attached i could only get the following infos: > Debugger(...) at Debugger+0x54 > panic(...) at panic+0xd5 > m_copym(...) > ip_fragment(...) > ip_output(...) > ip_forward(...) > > i didnt want to write down all these numbers(addresses) by hand, should i ? > > it seems to have to do something with inet/ip so i possibly should mention that i disabled "option inet6" in kernel and that i use "pf" as > packet filter. > > $ uname -a > FreeBSD tyrael.linnet 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Mon Jan 19 22:26:43 CET 2004 root@tyrael.linnet:/usr/obj/usr/src-current/sys/DEBUG i386 > > i can provide more info if needed... This looks like a host/network byte order problem in relation with the 'pf' packet filter. ip_output() expects the ip_off field to be in host byte order. If this is not the case you will get bogus length values for fragmentation. -- Andre