kern/134531: kernel crash related to routes/zebra

ivan ivan at
Thu May 14 10:20:04 UTC 2009

>Number:         134531
>Category:       kern
>Synopsis:       kernel crash related to routes/zebra
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 14 10:20:01 UTC 2009
>Originator:     ivan
>Release:        7.0
FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Nov 13 19:39:32 YEKT 2008     ivan at  i386
In /var/log/messages

 kernel_read: rtm->rtm_msglen 12653, nbytes 132, type 73
 kernel: rn_addmask: mask impossibly already in tree
 kernel: bge1: discard frame w/o packet header
 kernel: bge1: discard frame w/o packet header
 syslogd: kernel boot file is /boot/kernel/kernel
 kernel: 118> ether 00:13:d4:e9:f7:ae
 savecore: reboot after panic: page fault
 savecore: writing core to vmcore.0

in vmcore (kgdb)

nread portion of the kernel message buffer:                                     
Fatal trap 12: page fault while in kernel mode                                  
cpuid = 1; apic id = 01                                                         
fault virtual address   = 0x0                                                   
fault code              = supervisor write, protection violation                
instruction pointer     = 0x20:0xc07a490d                                       
stack pointer           = 0x28:0xe95f8a50                                       
frame pointer           = 0x28:0xe95f8a64                                       
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         = 29848 (zebra)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 2m17s
Physical memory: 3571 MB
Dumping 215 MB: 200 184 168 152 136 120 104 88 72 56 40 24 8

#0  doadump () at pcpu.h:195
warning: Source file is more recent than executable.

In vmcore after bt
#0  doadump () at pcpu.h:195
#1  0xc075a117 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc075a3d9 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0a6f22c in trap_fatal (frame=0xe95f8a10, eva=0) at
#4  0xc0a6f4b0 in trap_pfault (frame=0xe95f8a10, usermode=0, eva=0) at
#5  0xc0a6fe5c in trap (frame=0xe95f8a10) at /usr/src/sys/i386/i386/trap.c:490
#6  0xc0a55ddb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc07a490d in mb_free_ext (m=0xc74df300) at atomic.h:175
#8  0xc07a5d05 in m_pullup (n=0xc74df300, len=4) at mbuf.h:510
#9  0xc080123a in route_output (m=0xc74df300, so=0xc720ddec) at
#10 0xc07fd329 in raw_usend (so=0xc720ddec, flags=Variable "flags" is not
) at /usr/src/sys/net/raw_usrreq.c:267
#11 0xc07fff65 in rts_send (so=0xc720ddec, flags=0, m=0xc74df300, nam=0x0,
control=0x0, td=0xc7155c60)
    at /usr/src/sys/net/rtsock.c:277
#12 0xc07ad635 in sosend_generic (so=0xc720ddec, addr=0x0, uio=0xe95f8c60,
top=0xc74df300, control=0x0, 
    flags=0, td=0xc7155c60) at /usr/src/sys/kern/uipc_socket.c:1240
#13 0xc07a95ff in sosend (so=0xc720ddec, addr=0x0, uio=0xe95f8c60, top=0x0,
control=0x0, flags=0, td=0xc7155c60)
    at /usr/src/sys/kern/uipc_socket.c:1286
#14 0xc0793bfb in soo_write (fp=0xc7087120, uio=0xe95f8c60,
active_cred=0xc7ff8800, flags=0, td=0xc7155c60)
    at /usr/src/sys/kern/sys_socket.c:103
#15 0xc078d2a7 in dofilewrite (td=0xc7155c60, fd=5, fp=0xc7087120,
auio=0xe95f8c60, offset=-1, flags=0)
    at file.h:254
#16 0xc078d588 in kern_writev (td=0xc7155c60, fd=5, auio=0xe95f8c60) at
#17 0xc078d5ff in write (td=0xc7155c60, uap=0xe95f8cfc) at
#18 0xc0a6f805 in syscall (frame=0xe95f8d38) at
#19 0xc0a55e40 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
#20 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)



More information about the freebsd-bugs mailing list