I had another one of these panics.  The previous one was with -current
of CVSupped in early January, this one is with -current of February 6.

The panic seems to be triggered when I do a filesystem copy to an
online disk for backup purposes, like this:

        newfs /dev/ad2s5e
        tunefs -n enable /dev/ad2s5e
        fsck /dev/ad2s5e
        mount /dev/ad2s5e /mnt
        cd /mnt
        dump 0uaf - /home/hunter | restore -rf -

See below for details of the panic.  BTW, has the infamous "bremfree:
bp 0xxxxxx not locked" during the sync during the panic been fixed


    hunter# gdb --kernel -symbols=kernel.debug --core=vmcore.17 --exec=kernel.17
    GNU gdb 4.18
    Copyright 1998 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-unknown-freebsd"...Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/dbxread.c line 2629 
in elfstab_build_psymtabs
    Deprecated bfd_read called at 
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb.291/gdb/dbxread.c line 935 
in fill_symbuf

    IdlePTD at phsyical address 0x0046b000
    initial pcb at physical address 0x00373380
    panicstr: bremfree: bp 0xd27c5d0c not locked
    panic messages:
    panic: softdep_setup_inomapdep: found inode

    syncing disks... panic: bremfree: bp 0xd27c5d0c not locked
    Uptime: 1h47m41s
    /dev/vmmon: Module vmmon: unloaded

    dumping to dev ad0s2b, offset 2000128
    dump ata0: resetting devices .. done
    1023 1022 1021...
    #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:504
    504         if (!dodump)
    (kgdb) where
    #0  dumpsys () at /usr/src/sys/kern/kern_shutdown.c:504
    #1  0xc01bc2df in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:336
    #2  0xc01bc769 in panic (fmt=0xc02f9b82 "bremfree: bp %p not locked")
        at /usr/src/sys/kern/kern_shutdown.c:646
    #3  0xc01ec1b5 in bremfree (bp=0xd27c5d0c) at /usr/src/sys/kern/vfs_bio.c:545
    #4  0xc01ee3fd in getblk (vp=0xe5399760, blkno=96, size=16384, slpflag=0, 
        slptimeo=0) at /usr/src/sys/kern/vfs_bio.c:2220
    #5  0xc01ec28c in breadn (vp=0xe5399760, blkno=96, size=16384, rablkno=0x0, 
        rabsize=0x0, cnt=0, cred=0x0, bpp=0xe54ca8f4)
        at /usr/src/sys/kern/vfs_bio.c:603
    #6  0xc01ec259 in bread (vp=0xe5399760, blkno=96, size=16384, cred=0x0, 
        bpp=0xe54ca8f4) at /usr/src/sys/kern/vfs_bio.c:585
    #7  0xc027550c in ffs_update (vp=0xe5b028c0, waitfor=0)
        at /usr/src/sys/ufs/ffs/ffs_inode.c:101
    #8  0xc0282432 in ffs_fsync (ap=0xe54ca968)
        at /usr/src/sys/ufs/ffs/ffs_vnops.c:292
    #9  0xc0280bee in ffs_sync (mp=0xc61ce200, waitfor=2, cred=0xc2064c00, 
        td=0xc033f884) at vnode_if.h:441
    #10 0xc01f8be9 in sync (td=0xc033f884, uap=0x0)
        at /usr/src/sys/kern/vfs_syscalls.c:669
    #11 0xc01bbf28 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:245
    #12 0xc01bc769 in panic (fmt=0xc030bec0 "softdep_setup_inomapdep: found inode")
        at /usr/src/sys/kern/kern_shutdown.c:646
    #13 0xc027a026 in softdep_setup_inomapdep (bp=0xd2902014, ip=0xc7ef4d00, 
        newinum=197060) at /usr/src/sys/ufs/ffs/ffs_softdep.c:1220
    #14 0xc02738f0 in ffs_nodealloccg (ip=0xc7ef4d00, cg=18, ipref=196992, 
        mode=16832) at /usr/src/sys/ufs/ffs/ffs_alloc.c:1408
    #15 0xc027294b in ffs_hashalloc (ip=0xc7ef4d00, cg=18, pref=196992, 
        size=16832, allocator=0xc02736f8 <ffs_nodealloccg>)
        at /usr/src/sys/ufs/ffs/ffs_alloc.c:888
    #16 0xc02723dc in ffs_valloc (pvp=0xe5ab4720, mode=16832, cred=0xc7f14d00, 
        vpp=0xe54caac8) at /usr/src/sys/ufs/ffs/ffs_alloc.c:628
    #17 0xc0288dbe in ufs_mkdir (ap=0xe54cac14)
        at /usr/src/sys/ufs/ufs/ufs_vnops.c:1382
    #18 0xc0289f45 in ufs_vnoperate (ap=0xe54cac14)
        at /usr/src/sys/ufs/ufs/ufs_vnops.c:2657
    #19 0xc01fc758 in vn_mkdir (path=0x80a6eff "./atria/examples/clearcase/logs", 
        mode=511, segflg=UIO_USERSPACE, td=0xe5412f04) at vnode_if.h:537
    #20 0xc01fc57d in mkdir (td=0xe5412f04, uap=0xe54cad20)
        at /usr/src/sys/kern/vfs_syscalls.c:3102
    #21 0xc02c106c in syscall (frame={tf_fs = 1179695, tf_es = -1078001617, 
          tf_ds = -1078001617, tf_edi = 0, tf_esi = 140152896, 
          tf_ebp = -1077946252, tf_isp = -447959692, tf_ebx = 134901503, 
          tf_edx = 2, tf_ecx = 2, tf_eax = 136, tf_trapno = 12, tf_err = 2, 
          tf_eip = 134556851, tf_cs = 31, tf_eflags = 659, tf_esp = -1077946296, 
          tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:1034
    #22 0xc02b52fd in syscall_with_err_pushed ()
    #23 0x804a214 in ?? ()
    #24 0x804b183 in ?? ()
    #25 0x804b325 in ?? ()
    #26 0x804b325 in ?? ()
    #27 0x804b325 in ?? ()
    #28 0x804b325 in ?? ()
    #29 0x80485cd in ?? ()
    #30 0x8048135 in ?? ()

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to