Re: option driver freezing entire system

From: Jiri Kosina
Date: Tue Jan 26 2010 - 07:51:42 EST


On Fri, 22 Jan 2010, Kasper Sandberg wrote:

> > > > Please recompile your kernel with lockdep. This should improve
> > > > debugging.
> > >
> > > It is a debian unstable .32 kernel i run now, and grepping for lockdep
> > > reveals:
> > > CONFIG_LOCKDEP_SUPPORT=y
> > > only, is there anything more i should have? (never used lockdep before)
> >
> > CONFIG_PROVE_LOCKING could be helpful here. (be aware of the fact that
> > this will make your system noticeably slower).
>
> Sorry, i was just away a few days. I shall enable this setting tomorow
> and test, though it may take a few days for it to crash.

This option should ideally report the lock ordering violation before the
actual hang happens (if it is caused by improper locking semantics).

--
Jiri Kosina
SUSE Labs, Novell Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/