Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2003 07:13:02 -0500
From:      Mike Makonnen <mtm@identd.net>
To:        jeff@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: cvs commit: src/sys/kern kern_lock.c
Message-ID:  <20030224121303.DJPO1817.out006.verizon.net@kokeb.ambesa.net>

next in thread | raw e-mail | index | archive | help

>jeff        2003/02/16 02:39:49 PST
>
>  Modified files:
>    sys/kern             kern_lock.c 
>  Log:
>   - Add a WITNESS_SLEEP() for the appropriate cases in lockmgr().
>  
>  Revision  Changes    Path
>  1.64      +7 -0      src/sys/kern/kern_lock.c

I now get the following:


rebka# /daemon/build/current/rebka/src/sys/kern/kern_lock.c:239: could sleep with "buf queue lock" locked from /daemon/build/current/rebka/src/sys/kern/vfs_bio.c:2143
Debugger("witness_sleep")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> tr
Debugger(c04a73dc,c04e005e,ef,c04e4d42,c04e769b) at Debugger+0x54
witness_sleep(1,c172c708,c04e005e,ef,c09f11e0) at witness_sleep+0x123
lockmgr(c172c7cc,10001,c172c708,c09f11e0,12) at lockmgr+0x71
vop_sharedlock(c5bfdc98,0,c04e95be,35c,c02efcf1) at vop_sharedlock+0x7d
vn_lock(c172c708,12,c09f11e0,85f,c05b1d00) at vn_lock+0xeb
flushbufqueues(c05b1d00,0,c04e765b,11e,64) at flushbufqueues+0xfb
buf_daemon(0,c5bfdd48,c04df6c2,365,0) at buf_daemon+0xd5
fork_exit(c033e2e0,0,c5bfdd48) at fork_exit+0xc4
fork_trampoline() at fork_trampoline+0x1a
--- trap 0x1, eip = 0, esp = 0xc5bfdd7c, ebp = 0 ---


-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | Fingerprint: D228 1A6F C64E 120A A1C9  A3AA DAE1 E2AF DBCC 68B9

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?20030224121303.DJPO1817.out006.verizon.net>