From owner-freebsd-current@FreeBSD.ORG Tue Feb 17 01:41:04 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 CCDD716A4CE for ; Tue, 17 Feb 2004 01:41:04 -0800 (PST) Received: from s1.vhost.cz (s1.vhost.cz [195.39.16.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2217D43D1D for ; Tue, 17 Feb 2004 01:41:04 -0800 (PST) (envelope-from konfer@mikulas.com) Received: (qmail 30233 invoked by uid 85); 17 Feb 2004 10:41:02 +0100 Received: from unknown (HELO mikulas.com) (jiri@mikulas.com@195.122.204.153) by s1.vhost.cz with AES256-SHA encrypted SMTP; 17 Feb 2004 10:41:02 +0100 Message-ID: <4031E1DA.7080208@mikulas.com> Date: Tue, 17 Feb 2004 10:41:46 +0100 From: Jiri Mikulas User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040130 X-Accept-Language: cs, en, en-us MIME-Version: 1.0 To: Max Laier References: <200402170316.10258.max@love2party.net> In-Reply-To: <200402170316.10258.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 cc: current@freebsd.org cc: Stefan Ehmann Subject: Re: PANIC: trap.c 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, 17 Feb 2004 09:41:05 -0000 I have CVSuped sources today morning (about 7:30 AM CET) and i got panic exactly after boot ~~~cut~~~ OK boot kernel /boot/kernel/kernel text=0x2920a0 data=0x30a58+0x57ea4 syms=[0x4+0x3df10+0x4+0]/ /boot/kernel/acpi.ko text=0x366dc data=0x17a4+0x116c syms=[0x4+0x6300+0x4+0x80]/ kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x91 fault code = supervisor read, page not present instruction pointer = 0x8:0xc0600d7e stack pointer = 0x10:0xc0821b7c frame pointer = 0x10:0xc0821b7c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 () trap number = 12 panic: page fault at line 819 in file /usr/src/sys/i386/i386/trap.c Uptime: 1s ~~~cut~~~ I have no vmcore :( This similar panic got Roman Divacky (xdivac02@stud.fit.vutbr.cz) with todays current ,but without using dummynet.. isn't it another independent problem ? thanks for your time.. :) Jiri >Okay, that was it: >We forgot to remove the tag for certain codepathes (ip_input -> ip_forward >-> ip_output) which was previously done by moving m to m->m_next (the >actual data after the MT_TAG). Please try the attached patch to >ip_input.c (forget the previous one) and report back if it works for you. > >Thanks in advance. > > > >------------------------------------------------------------------------ > >Index: ip_input.c >=================================================================== >RCS file: /home/ncvs/src/sys/netinet/ip_input.c,v >retrieving revision 1.262 >diff -u -r1.262 ip_input.c >--- ip_input.c 13 Feb 2004 19:20:43 -0000 1.262 >+++ ip_input.c 17 Feb 2004 02:03:45 -0000 >@@ -504,6 +504,10 @@ > } > pass: > >+ mtag = m_tag_find(m, PACKET_TAG_DUMMYNET, NULL); >+ if (mtag) >+ m_tag_delete(m, mtag); >+ > /* > * Process options and, if not destined for us, > * ship it on. ip_dooptions returns 1 when an > > > > >