Fatal Trap 12 in kernel module uipc_mbuf2.c

Boris B. Samorodov bsam at ipt.ru
Mon Sep 6 00:20:18 PDT 2004


On Mon, Sep 06, 2004 at 12:59:02AM +0200, Andre Oppermann wrote:
> 
> Does it panic 'reliablily' in the same place or is it more of a random
> occurence?  I'm not long in the office tomorrow (my test machine is there)
> but I'll try to reproduce it within the next few days.

Recompiled today to 5.3-BETA3. Here is the results.

# uname -a

FreeBSD gw.ipt.ru 5.3-BETA3 FreeBSD 5.3-BETA3 #7: Mon Sep  6 09:26:53 MSD 2004     bsam at gw.ipt.ru:/usr/obj/usr/src/sys/GW  i386
------
# addr2line -e /boot/kernel/kernel.debug 0xc053a0b0

/usr/src/sys/kern/uipc_mbuf2.c:389

------
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address	= 0xdeadc0e6
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc053a0b0
stack pointer	        = 0x10:0xc7fcb8e8
frame pointer	        = 0x10:0xc7fcb8f0
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		= 37 (swi1: net)
[thread 100038]
Stopped at      m_tag_locate+0x40:      cmpl    %ecx,0x8(%edx)
db> bt full
No such command
db> where
m_tag_locate(c1541300,0,f,0,c14c3c00) at m_tag_locate+0x40
ether_output_frame(c1380000,c1541300,6,c7fcb9ac,c7fcb944) at ether_output_frame+0x3a
ether_output(c1380000,c1541300,c7fcb9ac,c153b6b4,c7fcb9b0) at ether_output+0x41e
ip_output(c1541300,0,c7fcb9a8,1,0) at ip_output+0x8e9
ip_forward(c1541300,1,12,0,1) at ip_forward+0x390
ip_input(c1541300,0,c06b91b3,e5,c073bd98) at ip_input+0x54c
netisr_processqueue(c073bd98,c070a9c0,1,c06aed23,c12c6dc0) at netisr_processqueue+0x8e
swi_net(0,0,c06ad32e,268,0) at swi_net+0xe9
ithread_loop(c1296b00,c7fcbd48,c06ad119,32c,deadc0de) at ithread_loop+0x172
fork_exit(c04e0060,c1296b00,c7fcbd48) at fork_exit+0xc6
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xc7fcbd7c, ebp = 0 ---
db> panic
panic: from debugger
cpuid = 0
Uptime: 4m3s
Dumping 126 MB
 16 32 48 64 80 96 112
Dump complete
Shutting down ACPI
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.
Rebooting...
-----

> Andre

WBR
-- 
bsam


More information about the freebsd-current mailing list