From: Johannes Berg <johannes@sipsolutions.net>
To: Linus Torvalds <torvalds@linux-foundation.org>,
Harald Arnesen <harald@skogtun.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Kalle Valo <kvalo@codeaurora.org>,
linux-wireless@vger.kernel.org
Subject: Re: [BISECTED] 5.12 hangs at reboot
Date: Mon, 26 Apr 2021 21:19:49 +0200 [thread overview]
Message-ID: <6e1052a5506acb0c5ba3b4954f199ee0c494c1c3.camel@sipsolutions.net> (raw)
In-Reply-To: <CAHk-=wgA1Ma6e5qZO1EP9oMveLPJFbj=SC1R0ZewCmC-u0_r=A@mail.gmail.com>
On Mon, 2021-04-26 at 18:59 +0000, Linus Torvalds wrote:
> On Mon, Apr 26, 2021 at 11:47 AM Harald Arnesen <harald@skogtun.org> wrote:
> >
> > Bisected to commit 776a39b8196dbca4afb69669db0d9926ffac29ab, and
> > reverting this makes the machine reboot as usual.
>
> Hmm. That was already in rc1, so this isn't some late untested
> last-minute commit that broke things for you.
At least _that_ isn't, could be some other change elsewhere triggered
it? OTOH, then bisect should've landed there, and not on this, since
this came in early and merges with other stuff would've happened later.
So ...
> Which implies that it's likely something fairly specific to your
> setup (either the config or the hardware - or possibly Void Linux
> doing something other distros don't).
Probably hardware (well, driver), cfg80211_destroy_ifaces() calls into
the driver.
Which wireless driver are you using? Looking at all of the ones in 5.12,
I see that
* ath6kl obviously deadlocks immediately regardless of this change
(Kalle, ISTR pointing this out to you a long time ago while I was
developing the locking changes here?).
* wil6210 is broken if you use P2P, and I can only blame myself for
that, will send a fix; maybe that's the difference in your distro?
But I think P2P on 60 GHz is not used much.
* brcmfmac looks a bit fishy, but that seems unrelated to my code, I'll
send an RFC patch to see what's that really doing
* staging/rtl8723bs also looks bad, and needs to use
cfg80211_unregister_netdevice() instead of just
unregister_netdevice(), I'll also send a patch.
The others look fine. Not sure why I didn't see this before, I went over
it with a fine comb back then ... sorry.
Are you using one of the above?
The other special thing might be that you're actually explicitly
deleting (virtual) wireless interfaces, which isn't *that* common,
though of course not really uncommon either.
> Mind also attaching a dmesg of an affected kernel (or with the revert
> in place, I guess - it shouldn't matter until the reboot ;)
>
> 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
>
> (b) make sure to reboot in text mode so that any lockdep messages
> would actually be visible.
>
> Maybe Johannes will go "Doh!" and see what's wrong.
Almost certainly will :)
And here I was so happy that this survived from rc1 until the release
with just a handful of issues ;-)
Thanks!
johannes
next prev parent reply other threads:[~2021-04-26 19:20 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-26 18:43 Harald Arnesen
2021-04-26 18:59 ` Linus Torvalds
2021-04-26 19:19 ` Johannes Berg [this message]
2021-04-26 20:23 ` Harald Arnesen
2021-04-26 19:29 ` Harald Arnesen
2021-04-26 19:38 ` Johannes Berg
2021-04-26 19:45 ` Linus Torvalds
2021-04-26 19:46 ` Johannes Berg
2021-04-26 19:51 ` Linus Torvalds
2021-04-26 20:11 ` Johannes Berg
2021-04-26 20:25 ` Harald Arnesen
[not found] ` <151b7e41-a415-e780-eb90-6ca16c113066@skogtun.org>
2021-04-26 22:49 ` Linus Torvalds
2021-04-27 7:43 ` Herbert Xu
2021-04-27 8:49 ` Johannes Berg
2021-04-26 20:10 ` Harald Arnesen
2021-04-26 20:26 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6e1052a5506acb0c5ba3b4954f199ee0c494c1c3.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=harald@skogtun.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®