Panic on very recent -CURRENT

From: Robin P. Blanchard <robin.blanchard_at_gactr.uga.edu>
Date: Mon, 17 May 2004 11:40:29 -0400
Ident of kernel at:
http://people.gactr.uga.edu/robin/kernel_ident.txt


# gdb -k /usr/obj/usr/src/sys/fbsd5.vpn/kernel.debug ./vmcore.5 
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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-undermydesk-freebsd"...
panic: lockmgr: locking against myself
panic messages:
---
panic: lockmgr: locking against myself
at line 370 in file /usr/src/sys/kern/kern_lock.c
cpuid = 0; 

syncing disks, buffers remaining... 1401 1401 1400 panic: bremfree: removing
a buffer not on a queue
at line 649 in file /usr/src/sys/kern/vfs_bio.ccpuid = 0; 
Uptime: 3h52m23s
Dumping 127 MB
 16 32 48 64 80 96 112

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
236             dumping++;
(kgdb) exec-file /boot/kernel/kernel
(kgdb) bt full
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:236
No locals.
#1  0xc04cdcc6 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:370
No locals.
#2  0xc04ce0fc in __panic () at /usr/src/sys/kern/kern_shutdown.c:548
        td = (struct thread *) 0xc27dc6e0
        bootopt = 260
        newpanic = 0
        ap = 0xd255d834 "(\025ãÄ(\025ãÄTØUÒ»ÎQÀ(\025ãÄ(\025ãÄ(\025ãÄ\""
        buf = "lockmgr: locking against myself", '\0' <repeats 224 times>
#3  0xc051cfc1 in bremfreel (bp=0xc4e31528) at
/usr/src/sys/kern/vfs_bio.c:649
        old_qindex = 0
#4  0xc051cebb in bremfree (bp=0x0) at /usr/src/sys/kern/vfs_bio.c:631
No locals.
#5  0xc052193e in getblk (vp=0xc26ea924, blkno=12000, size=2048, slpflag=0,
slptimeo=0, flags=0)
    at /usr/src/sys/kern/vfs_bio.c:2472
        lockflags = 0
        bp = (struct buf *) 0xc4e31528
#6  0xc05b2b59 in ffs_sbupdate (mp=0xc2686300, waitfor=2) at
/usr/src/sys/ufs/ffs/ffs_vfsops.c:1482
        fs = (struct fs *) 0xc269d800
        bp = (struct buf *) 0x0
        blks = 1
        space = (void *) 0xc26cb000
        i = 0
        size = 2048
        error = 0
        allerror = 0
#7  0xc05b24c2 in ffs_sync (mp=0xc263d400, waitfor=2, cred=0xc0eb9200,
td=0xc0698ae0)
    at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1207
        nvp = (struct vnode *) 0x0
        vp = (struct vnode *) 0xc26ea924
        devvp = (struct vnode *) 0xc26ea924
        ip = (struct inode *) 0x0
        ump = (struct ufsmount *) 0xc2686300
        fs = (struct fs *) 0xc269d800
        error = 0
        count = 0
        lockreq = 65554
        allerror = 0
#8  0xc05363de in sync (td=0xc0698ae0, uap=0x0) at
/usr/src/sys/kern/vfs_syscalls.c:136
        mp = (struct mount *) 0xc263d400
        nmp = (struct mount *) 0x0
        asyncflag = 0
#9  0xc04cd854 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:302
        bp = (struct buf *) 0xc4dadd68
        iter = 0
        nbusy = 1400
        pbusy = 1400
        subiter = 50
#10 0xc04ce0fc in __panic () at /usr/src/sys/kern/kern_shutdown.c:548
        td = (struct thread *) 0xc27dc6e0
        bootopt = 256
        newpanic = 0 
        ap = 0xd255da1c "\""
        buf = "lockmgr: locking against myself", '\0' <repeats 224 times>
#11 0xc04bfe65 in lockmgr (lkp=0xc0ece5c4, flags=2, interlkp=0x1000000,
td=0xc27dc6e0)
    at /usr/src/sys/kern/kern_lock.c:439
        error = 0
        thr = (struct thread *) 0xc27dc6e0
        extflags = 16777216
        lockflags = 2
#12 0xc05cd70a in _vm_map_lock_read (map=0x0, file=0x0, line=0) at
machine/pcpu.h:156
No locals.
#13 0xc05d1508 in vm_map_lookup (var_map=0xd255db1c, vaddr=0, fault_typea=1
'\001', out_entry=0xd255db20, 
    object=0x0, pindex=0x0, out_prot=0x0, wired=0xd255daf8) at
/usr/src/sys/vm/vm_map.c:2867
        entry = 0x0
        map = 0xc0ece588
        prot = 0 '\0'
        fault_type = 1 '\001'
#14 0xc05c716f in vm_fault (map=0xc0ece588, vaddr=0, fault_type=1 '\001',
fault_flags=0)
    at /usr/src/sys/vm/vm_fault.c:232
        prot = 192 'À'
        is_first_object_locked = -766125352
        result = 0
        growstack = 1
        wired = -766125288
        map_generation = -1033337320
        next_object = 0x0
        marray = {0x0, 0x0, 0xc0d30820, 0xc0532e4c, 0xc2688618, 0x10002,
0xc8989070, 0xc27ccf00, 0x8051000, 
  0xc0e75af8, 0xc0ece628, 0xd255db6c, 0xc06164dd, 0xc0c381c0, 0x0, 0x246}
        hardfault = 0
        faultcount = -1058216568
        fs = {m = 0xd255db34, object = 0xc05402b0, pindex =
14014576280821825536, first_m = 0xc0e6edd8, 
  first_object = 0xc2688618, first_pindex = 14014576280821825536, map =
0xc0ece588, entry = 0xc0dde568, 
  lookup_still_valid = 0, vp = 0xd255db34}
#15 0xc061a995 in trap_pfault (frame=0xd255dbf4, usermode=0, eva=16) at
/usr/src/sys/i386/i386/trap.c:710
        va = 0
        vm = (struct vmspace *) 0x0
        map = 0xc0ece588
        rv = -1058216568
        ftype = 1 '\001'
        td = (struct thread *) 0xc27dc6e0
        p = (struct proc *) 0xc27dd1b8
#16 0xc061a65d in trap (frame=
      {tf_fs = 672530456, tf_es = 16, tf_ds = 16, tf_edi = -1058216568,
tf_esi = -1032160388, tf_ebp = -766124984, tf_isp = -766125024, tf_ebx = 0,
tf_edx = 0, tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip =
-1067654093, tf_cs = 8, tf_eflags = 66118, tf_esp = 3, tf_ss = 0}) at
/usr/src/sys/i386/i386/trap.c:420
        td = (struct thread *) 0xc27dc6e0
        p = (struct proc *) 0xc27dd1b8
        sticks = 3528842444
        i = 0
        ucode = 0
        type = 12
        code = 0
        eva = 16
#17 0xc05ce433 in vm_map_simplify_entry (map=0xc0ece588, entry=0xc27a7b7c) at
/usr/src/sys/vm/vm_map.c:1041
        next = 0x0
        prev = 0x0
        prevsize = 0
        esize = 0
#18 0xc05ce064 in vm_map_insert (map=0xc27a7b7c, object=0xc0ece588, offset=0,
start=134553600, 
    end=134557696, prot=7 '\a', max=7 '\a', cow=0) at
/usr/src/sys/vm/vm_map.c:815
        new_entry = 0x0
        prev_entry = 0xc27a7b7c
        temp_entry = 0xc27a7b7c
        protoeflags = 0
#19 0xc05dd536 in obreak (td=0x0, uap=0x0) at /usr/src/sys/vm/vm_unix.c:119
        vm = (struct vmspace *) 0xc0ece588
        new = 0
        old = 134553600
        base = 0
        datalim = -4545005548382553220
        vmemlim = 9223372036854775807
        rv = 0
        error = 0
        do_map_wirefuture = 0
#20 0xc061b200 in syscall (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134557696, tf_esi =
134553600, tf_ebp = -1077942680, tf_isp = -766124684, tf_ebx = 672459276,
tf_edx = 672449032, tf_ecx = 672449028, tf_eax = 17, tf_trapno = 12, tf_err =
2, tf_eip = 671988075, tf_cs = 31, tf_eflags = 643, tf_esp = -1077942708,
tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:1004
        params = 0xbfbfe650---Can't read userspace from dump, or kernel
process---

(kgdb)


---------------------------------------
Robin P. Blanchard
Systems Integration Specialist
Georgia Center for Continuing Education
fon: 706.542.2404 < > fax: 706.542.6546
---------------------------------------
Received on Mon May 17 2004 - 06:40:34 UTC

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