Lock order reversals using bce in 7.1

Gavin Atkinson gavin at FreeBSD.org
Mon Jan 12 02:38:09 PST 2009


On Sun, 2009-01-11 at 17:16 +0000, Pete French wrote:
> Here is a better set of images. This machine was compiled
> with the following config file:
> 
> include         GENERIC
> ident           DEBUG
> 
> options         KDB
> options         DDB
> options         SW_WATCHDOG
> options         DEBUG_VFS_LOCKS
> options         MUTEX_DEBUG
> options         WITNESS
> options         WITNESS_KDB

You don't want WITNESS_KDB, but WITNESS_SKIPSPIN would probably be
sensible to include.

> options         LOCK_PROFILING
> options         INVARIANTS
> options         INVARIANT_SUPPORT
> options         DIAGNOSTIC
> 
> On booting it almost immediately does this:
> 
>         http://www.twisted.org.uk/~pete/71_lor.png

That's due to WITNESS_KDB and probably unrelated to your problems.

Gavin


More information about the freebsd-stable mailing list