Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 10:19:23 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Ollivier Robert <roberto@eurocontrol.fr>
Cc:        FreeBSD Current Users' list <freebsd-current@FreeBSD.ORG>, mckusick@mckusick.com
Subject:   Re: Panic: lockmgr: pid 5, not exclusive lock holder 0 unlocking
Message-ID:  <Pine.BSF.4.21.0007251016160.517-100000@green.dyndns.org>
In-Reply-To: <20000725093521.A636@caerdonn.eurocontrol.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 25 Jul 2000, Ollivier Robert wrote:

> I just got two panics tonight, the same each time. Current from yesterday,
> after the latest round of patch from Kirk. The second panic is exactly the
> same including the trace.

Welp, I didn't get em before, but I do now.  I'll see what I can do to figure
this one out, but don't know at all if I'll be able to solve it.  My
backtrace is similar.  The important par about the backtrace is the
part before the panic:

#9  0xc0164695 in panic (fmt=0xc02662eb "bqrelse: multiple refs") at ../../kern/kern_shutdown.c:553
#10 0xc018f3b5 in bqrelse (bp=0xc373e100) at ../../kern/vfs_bio.c:1195
#11 0xc018e9b9 in vfs_backgroundwritedone (bp=0xc37812e0) at ../../kern/vfs_bio.c:696
#12 0xc0190fbd in bufdone (bp=0xc37812e0) at ../../kern/vfs_bio.c:2666
#13 0xc0190f06 in bufdonebio (bp=0xc37812e0) at ../../kern/vfs_bio.c:2617
#14 0xc0221258 in ad_interrupt (request=0xc10f43c0) at ../../sys/bio.h:103
#15 0xc021f756 in ata_intr (data=0xc0c7ff80) at ../../dev/ata/ata-all.c:1126
#16 0xc024b747 in splx (ipl=0xc018e41a) at ../../i386/isa/ipl_funcs.c:181
#17 0xc018e41a in bread (vp=0xcf889600, blkno=0x260030, size=0x1800, cred=0x0, bpp=0xd0476ad0)
    at ../../kern/vfs_bio.c:459
#18 0xc01fa070 in ffs_blkfree (ip=0xd0476b58, bno=0x1373c8, size=0x2000) at ../../ufs/ffs/ffs_alloc.c:1346
#19 0xc0201153 in indir_trunc (ip=0xd0476b58, dbn=0x24cf40, level=0x0, lbn=0xc, countp=0xd0476b48)
    at ../../ufs/ffs/ffs_softdep.c:2098
#20 0xc0200f29 in handle_workitem_freeblocks (freeblks=0xc0ce9200) at ../../ufs/ffs/ffs_softdep.c:2002
#21 0xc02009b0 in softdep_setup_freeblocks (ip=0xc0f4ac00, length=0x0) at ../../ufs/ffs/ffs_softdep.c:1710
#22 0xc01fbac6 in ffs_truncate (vp=0xd036a800, length=0x0, flags=0x0, cred=0xc0ce9080, p=0xd03333c0)
    at ../../ufs/ffs/ffs_inode.c:196
#23 0xc020bc12 in ufs_setattr (ap=0xd0476e44) at ../../ufs/ufs/ufs_vnops.c:498
#24 0xc020dedd in ufs_vnoperate (ap=0xd0476e44) at ../../ufs/ufs/ufs_vnops.c:2291
#25 0xc0199cb8 in open (p=0xd03333c0, uap=0xd0476f80) at vnode_if.h:305
#26 0xc02479d1 in syscall2 (frame={tf_fs = 0x2f, tf_es = 0x2f, tf_ds = 0x2f, tf_edi = 0xbfbff9f0, tf_esi = 0xbfbff9d8, 
      tf_ebp = 0xbfbff964, tf_isp = 0xd0476fd4, tf_ebx = 0xbfbff9d8, tf_edx = 0x7ffff, tf_ecx = 0x7ffff, tf_eax = 0x5, 
      tf_trapno = 0xc, tf_err = 0x2, tf_eip = 0x804d788, tf_cs = 0x1f, tf_eflags = 0x246, tf_esp = 0xbfbff928, 
      tf_ss = 0x2f}) at ../../i386/i386/trap.c:1128
#27 0xc023bab5 in Xint0x80_syscall ()
#28 0x8048ec2 in ?? ()
#29 0x8048139 in ?? ()

At frame 10, the lock is held in multiple:
(kgdb) p bp->b_lock
$1 = {
  lk_interlock = {
    lock_data = 0x0
  }, 
  lk_flags = 0x440, 
  lk_sharecount = 0x0, 
  lk_waitcount = 0x0, 
  lk_exclusivecount = 0x2, 
  lk_prio = 0x14, 
  lk_wmesg = 0xc0265fe4 "bufwait", 
  lk_timo = 0x0, 
  lk_lockholder = 0x752f
}

--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0007251016160.517-100000>