Date: Tue, 17 Feb 2004 10:41:46 +0100 From: Jiri Mikulas <konfer@mikulas.com> To: Max Laier <max@love2party.net> Cc: Stefan Ehmann <shoesoft@gmx.net> Subject: Re: PANIC: trap.c Message-ID: <4031E1DA.7080208@mikulas.com> In-Reply-To: <200402170316.10258.max@love2party.net> References: <Pine.NEB.3.96L.1040215214140.61630G-100000@fledge.watson.org> <200402170316.10258.max@love2party.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
>
>
>
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4031E1DA.7080208>
