Date: Sat, 15 Jan 2000 23:01:38 +0800 From: Peter Wemm <peter@netplex.com.au> To: Alfred Perlstein <bright@wintelcom.net> Cc: Alexander Leidinger <Alexander@Leidinger.net>, current@FreeBSD.ORG Subject: Re: crash with ffs_softdep.c 1.52 Message-ID: <20000115150138.25C5D1CD4@overcee.netplex.com.au> In-Reply-To: Message from Alfred Perlstein <bright@wintelcom.net> of "Sat, 15 Jan 2000 07:07:31 PST." <20000115070730.M508@fw.wintelcom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Alfred Perlstein wrote:
> * Alexander Leidinger <Alexander@Leidinger.net> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000115150138.25C5D1CD4>
