Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 May 2004 11:40:29 -0400
From:      "Robin P. Blanchard" <robin.blanchard@gactr.uga.edu>
To:        <current@freebsd.org>
Subject:   Panic on very recent -CURRENT
Message-ID:  <9B5C1FCAFB35084787C21EFFFA78DD9EE393@EBE1.gc.nat>

next in thread | raw e-mail | index | archive | help
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=20
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 =3D 0;=20

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



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