i386/189183: Kernel Panic

Roar Pettersen rope1968 at gmail.com
Thu May 1 11:20:00 UTC 2014


>Number:         189183
>Category:       i386
>Synopsis:       Kernel Panic
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 11:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Roar Pettersen
>Release:        FreeBSD 9.2-STABLE #1 r265172
>Organization:
Private
>Environment:
FreeBSD safir.XXX.no 9.2-STABLE FreeBSD 9.2-STABLE #1 r265172: Thu May  1 11:44:24 CEST 2014     root at safir.XXX.no:/usr/obj/usr/src/sys/SAFIR  i386
>Description:
Kernel panic after few minuttes uptime with portupgrade compiling.

# kgdb kernel.debug /var/crash/vmcore.0
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 "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:


Fatal trap 1: privileged instruction fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x20:0xc09490c4
stack pointer           = 0x28:0xf00fabb8
frame pointer           = 0x28:0xf00fabd4
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         = 53950 (cc1)
trap number             = 1
panic: privileged instruction fault
cpuid = 0
KDB: stack backtrace:
#0 0xc0743eef at kdb_backtrace+0x4f
#1 0xc070ee8f at panic+0x16f
#2 0xc099fa43 at trap_fatal+0x323
#3 0xc09a0c5a at trap+0x61a
#4 0xc098a34c at calltrap+0x6
#5 0xc094ca12 at vm_map_madvise+0xd2
#6 0xc0950231 at sys_madvise+0xa1
#7 0xc09a019a at syscall+0x34a
#8 0xc098a3b1 at Xint0x80_syscall+0x21
Uptime: 12m55s
Physical memory: 3314 MB
Dumping 148 MB: 133 117 101 85 69 53 37 21 5

#0  doadump (textdump=1) at pcpu.h:249
249             __asm("movl %%fs:%1,%0" : "=r" (td)
(kgdb) backtrace
#0  doadump (textdump=1) at pcpu.h:249
#1  0xc070ebd5 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:454
#2  0xc070eed2 in panic (fmt=<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c:642
#3  0xc099fa43 in trap_fatal (frame=0xf00fab78, eva=0) at /usr/src/sys/i386/i386/trap.c:1036
#4  0xc09a0c5a in trap (frame=0xf00fab78) at /usr/src/sys/i386/i386/trap.c:746
#5  0xc098a34c in calltrap () at /usr/src/sys/i386/i386/exception.s:170
#6  0xc09490c4 in vm_map_lookup_entry (map=0xc7a5f760, address=700502016, entry=0xf00fac14)
    at /usr/src/sys/vm/vm_map.c:1070
#7  0xc094ca12 in vm_map_madvise (map=0xc7a5f760, start=700502016, end=700522496, 
    behav=<value optimized out>) at /usr/src/sys/vm/vm_map.c:2077
#8  0xc0950231 in sys_madvise (td=0xc885b8d0, uap=0xf00faccc) at /usr/src/sys/vm/vm_mmap.c:764
#9  0xc09a019a in syscall (frame=0xf00fad08) at subr_syscall.c:135
#10 0xc098a3b1 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:270
#11 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) list *0xc09490c4
0xc09490c4 is in vm_map_lookup_entry (/usr/src/sys/vm/vm_map.c:1070).
1065             */
1066            cur = map->root;
1067            if (cur == NULL)
1068                    *entry = &map->header;
1069            else if (address >= cur->start && cur->end > address) {
1070                    *entry = cur;
1071                    return (TRUE);
1072            } else if ((locked = vm_map_locked(map)) ||
1073                sx_try_upgrade(&map->lock)) {
1074                    /*
(kgdb) 
>How-To-Repeat:
Compiling programs
>Fix:


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


More information about the freebsd-i386 mailing list