Re: PANIC: trap.c

From: Jiri Mikulas <konfer_at_mikulas.com>
Date: Tue, 17 Feb 2004 10:41:46 +0100
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_at_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
>_at__at_ -504,6 +504,10 _at__at_
> 	}
> 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
>  
>
>
>  
>
Received on Tue Feb 17 2004 - 00:41:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC