Re: [BISECTED] 5.12 hangs at reboot
From: Johannes Berg
Date: Mon Apr 26 2021 - 16:26:53 EST
On Mon, 2021-04-26 at 22:10 +0200, Harald Arnesen wrote:
> Linus Torvalds [26.04.2021 20:59]:
>
> > There's a lockdep assertion there, but you don't seem to have lockdep
> > enabled. So it be interesting to see what happens if you
> >
> > (a) enable lockdep
>
> At the risk of sounding stupid: where is this config option?
CONFIG_PROVE_LOCKING
I have no idea *where* it is either (in menuconfig or so), so if you're
in menuconfig, just hit / and enter PROVE_LOCKING. It'll come up with a
list of entries (probably only one) labeled (1), (2), ... Hit the number
key with the right number and menuconfig will take you there.
If you can't enable it, then you need DEBUG_KERNEL first.
But if you can e.g. switch to a VT (ctrl-alt-fn) and get a stackdump
shown on the screen while it hangs while shutting down (need to wait 2-3
minutes I guess), that's probably enough.
johannes