Subject: Re: panic: lockmgr: locking against myself
To: None <current-users@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: current-users
Date: 11/14/2007 00:17:56
On Sat, Nov 10, 2007 at 05:36:16PM +0100, Thomas Klausner wrote:
> My NetBSD-4.99.35/amd64 from Nov 8 just hang with:
> panic: lockmgr: locking against myself (type *0* flags 400, sharecount
> 0, exclusivecount 1, recurselevel 0, waitcount 0, wmesg vnlock, lock_addr 0x0,
> unlock_addr 0x0)
> It didn't finish 'syncing disks...'.
> 
> At the time, it had moderate network traffic and a bulk build running.

I updated to 4.99.36/amd64 from Nov 13 and started a bulk build.
The machine stopped in perl (the third package).
In dmesg I found:
viaide2:1:0: timeout waiting for DRQ, st=0x50, err=0x00
wd3a: device timeout writing fsbn 307412320 of 307412320-307412339 (wd3 bn 307412383; cn 304972 tn 9 sn 40), retrying
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff80348639 cs 8 rflags 10646 cr2  0 cpl 3 rsp ffff80004cff49f0
panic: trap
syncing disks... 

 Thomas