Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 12:52:37 GMT
From:      Duizzer <stepanvv@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   amd64/138029: periodically kernel panic and reboot 
Message-ID:  <200908211252.n7LCqb63097843@www.freebsd.org>
Resent-Message-ID: <200908211300.n7LD0ATQ001649@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138029
>Category:       amd64
>Synopsis:       periodically kernel panic and reboot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 21 13:00:10 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Duizzer
>Release:        FreeBSD 7.2-RELEASE #10
>Organization:
Skiline
>Environment:
FreeBSD gate.net.skyline 7.2-RELEASE FreeBSD 7.2-RELEASE #10: Sat May  9 13:17:55 EEST 2009     stepan@gate.net.skyline:/usr/obj/usr/src/sys/CUSTOM  amd64
>Description:
Help!!!
periodically kernel panic and reboot

 cat backtrace.7.txt
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x258
fault code              = supervisor read data, page not present
instruction pointer     = 0x8:0xffffffff8036714d
stack pointer           = 0x10:0xfffffffec06bf9d0
frame pointer           = 0x10:0xffffff0038983370
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 2255 (ipcad)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 13h36m43s
Physical memory: 2038 MB
Dumping 218 MB: 203 187 171 155 139 123 107 91 75 59 43 27 11

Reading symbols from /boot/kernel/geom_mirror.ko...Reading symbols from /boot/kernel/geom_mirror.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/geom_mirror.ko
#0  doadump () at pcpu.h:195
195             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
(kgdb) list *0xffffffff8036714d
0xffffffff8036714d is in _mtx_lock_sleep (/usr/src/sys/kern/kern_mutex.c:341).
336                      */
337                     v = m->mtx_lock;
338                     if (v != MTX_UNOWNED) {
339                             owner = (struct thread *)(v & ~MTX_FLAGMASK);
340     #ifdef ADAPTIVE_GIANT
341                             if (TD_IS_RUNNING(owner)) {
342     #else
343                             if (m != &Giant && TD_IS_RUNNING(owner)) {
344     #endif
345                                     if (LOCK_LOG_TEST(&m->lock_object, 0))
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xffffff0038983370 in ?? ()
#2  0xffffffff80374e19 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#3  0xffffffff80375222 in panic (fmt=0x104 <Address 0x104 out of bounds>) at /usr/src/sys/kern/kern_shutdown.c:574
#4  0xffffffff805b3ed3 in trap_fatal (frame=0xffffff0038983370, eva=) at /usr/src/sys/amd64/amd64/trap.c:757
#5  0xffffffff805b42a5 in trap_pfault (frame=0xfffffffec06bf920, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:673
#6  0xffffffff805b4be4 in trap (frame=0xfffffffec06bf920) at /usr/src/sys/amd64/amd64/trap.c:444
#7  0xffffffff80598d4e in calltrap () at /usr/src/sys/amd64/amd64/exception.S:209
#8  0xffffffff8036714d in _mtx_lock_sleep (m=0xffffff00690e06a8, tid=18446742975147422576, opts=)
    at /usr/src/sys/kern/kern_mutex.c:339
#9  0xffffffff80409941 in bpf_attachd (d=0xffffff0004dffc00, bp=0xffffff00690e0680) at /usr/src/sys/net/bpf.c:337
#10 0xffffffff8040abc5 in bpfioctl (dev=) at /usr/src/sys/net/bpf.c:1179
#11 0xffffffff802f71dd in devfs_ioctl_f (fp=0xffffff003802b480, com=2149597804, data=)
    at /usr/src/sys/fs/devfs/devfs_vnops.c:602
#12 0xffffffff803b0984 in kern_ioctl (td=0xffffff0038983370, fd=148, com=2149597804, data=0xffffff00045723a0 "ng140")
    at file.h:269
#13 0xffffffff803b0c8a in ioctl (td=0xffffff0038983370, uap=0xfffffffec06bfbf0) at /usr/src/sys/kern/sys_generic.c:571
#14 0xffffffff805b4527 in syscall (frame=0xfffffffec06bfc80) at /usr/src/sys/amd64/amd64/trap.c:900
#15 0xffffffff80598f5b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:330
#16 0x000000080096f07c in ?? ()
(kgdb) bt full
#0  doadump () at pcpu.h:195
No locals.
#1  0xffffff0038983370 in ?? ()
No symbol table info available.
#2  0xffffffff80374e19 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
        _ep = (struct eventhandler_entry *) 0xffffff0038983370
        _el = (kgdb) quit

>How-To-Repeat:
random
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908211252.n7LCqb63097843>