From owner-freebsd-current Sat Jan 15 7: 1:46 2000 Delivered-To: freebsd-current@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 8E07414C96 for ; Sat, 15 Jan 2000 07:01:40 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 25C5D1CD4; Sat, 15 Jan 2000 23:01:38 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.1.1 10/15/1999 To: Alfred Perlstein Cc: Alexander Leidinger , current@FreeBSD.ORG Subject: Re: crash with ffs_softdep.c 1.52 In-Reply-To: Message from Alfred Perlstein of "Sat, 15 Jan 2000 07:07:31 PST." <20000115070730.M508@fw.wintelcom.net> Date: Sat, 15 Jan 2000 23:01:38 +0800 From: Peter Wemm Message-Id: <20000115150138.25C5D1CD4@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Alfred Perlstein wrote: > * Alexander Leidinger [000115 06:17] wrote: > > Hi, > > > > unfortunally no core dump, but I'm able to reproduce it (I just have to > > enable softupdates). > > how? It looks like splbio is not up but the softdep lock is held. The best thing is to look at this global variable for lkt_held: static struct lockit { int lkt_spl; pid_t lkt_held; } lk; and see which process held the lock. Do a traceback on that process as well.. > -Alfred > > > > > ---snip--- > > panic: softdep_disk_write_complete: lock is held > > Debugger("panic") > > Stopped at Debugger+0x36: mocb $0,in_Debugger.354 > > db> trace > > Debugger(x027c6a3) at Debugger+0x36 > > panic(c028a900, c33618c0, c0a54000, c3361a10, c02a4a34) at panic+0x70 > > softdep_disk_write_complete(c3361a10) at softdep_disk_write_complete+0x1f > > vfs_backgroundwritedone(c3361a10, c3361a10, c0a54000, c0aa3400, c0aa3400) a t vfs_backgroundwritedone+0x45 > > biodone(c3361a10, c0a54014, c3361a10) at biodone+0x5a > > dadone(c0aa0780, c0aa3400, c073ba20, 40000200, ffffffff) at dadone+0x202 > > camisr(c02d93b4, c02a4cec, c0241b30, 4000200, c0256486) at camisr+0x1ed > > swi_cambio(40000200, c0256486, c0255f21, 40000200, c0a32800) at swi_cambio+ 0xd > > splz_swi(c073bb20, 0, 10, c0240010, 10) at splz_swi+0x14 > > Xresume9() at Xresume9+0x2b > > --- interrupt, eip: 0xc024c6ce, esp = 0xc02a4d34, ebp = 0 --- > > default_halt() at default_halt+0x2 > > ---snip-- > > > > Bye, > > Alexander. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message