lkml.org 
[lkml]   [2021]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [BISECTED] 5.12 hangs at reboot
On Mon, Apr 26, 2021 at 3:18 PM Harald Arnesen <harald@skogtun.org> wrote:
>
> Photos of the screen with lockdep enabled.

Ok, so this is certainly not all of it, but the rest must have
scrolled off even the hw scroll buffer. But you've caught at least one
interesting backtrace:

cfg80211_destroy_iface_wk() takes wiphy_lock
-> cfg80211_destroy_ifaces()
->ieee80211_del_iface
->ieeee80211_if_remove
->cfg80211_unregister_wdev
->unregister_netdevice_queue
->dev_close_many
->__dev_close_many
->raw_notifier_call_chain
->cfg80211_netdev_notifier_call

and that wants the rtnl lock. Which it won't get, because something
else is holding on to it.

At a guess, there is some other sequence that takes the rtnl lock, and
then takes the wiphy_lock inside of it, and we have a ABBA deadlock.

<insert-shocked-pikachu face>

I _hate_ that stupid rtnl lock. It's come up before. Several times.
It's probably the most broken lock in the kernel.

Linus

\
 
 \ /
  Last update: 2021-04-27 00:51    [W:0.864 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site