locking against myself in getcacheblk()?

Matthew Dillon dillon at apollo.backplane.com
Sun Dec 26 11:10:41 PST 2010


:Hi.
:I managed to trigger this panic while trying to find out how to
:reliably reproduce another panic (lockmgr: non-zero exclusive count).
:Just issue the following command on a machine running recent -DEVELOPMENT
:(either on i386 or x86_64):
:
:$ grep -r --mmap SomeString /usr/pkgsrc
:
:If this won't trigger the panic but you need kern/vmcore, please let me
:know and I can upload mine to my leaf account.
:
:Best Regards,
:YONETANI Tomokazu.

    How much ram do you have in that machine (so I can reproduce the test).
    I have a feeling that cache cycling of VM pages might tend to trigger
    the (second) panic more often.

    non-zero exclusive counts usually mean an extra lock release or a
    missing lock acquisition for a lockmgr lock.  It can be a little
    trickly if it is a vnode lock since a completely unrelated bit of
    code might be causing the situation and then later on a perfectly
    fine piece of code triggers it.

					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list