Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Vitaliy Makkoveev
> On 4 Dec 2021, at 22:40, Stefan Sperling wrote: > > On Sat, Dec 04, 2021 at 09:32:40PM +0300, Vitaliy Makkoveev wrote: >> I think rtm_80211info() could follow the if_link_state_change() >> way and use task for that. > > Indeed. I did not realize that if_link_state_change() schedules a task. >

Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Stefan Sperling
On Sat, Dec 04, 2021 at 09:32:40PM +0300, Vitaliy Makkoveev wrote: > I think rtm_80211info() could follow the if_link_state_change() > way and use task for that. Indeed. I did not realize that if_link_state_change() schedules a task. This means ieee80211_set_link_state() is already deferring

Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Stefan Sperling
On Sat, Dec 04, 2021 at 07:19:23PM +0100, Stefan Sperling wrote: > For this particular case, yes. > But that won't solve ieee80211_set_link_state() being called from > interrupt context, would it? Below is a breakdown of all callers by context. I grepped for direct callers. My search did not see

Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Vitaliy Makkoveev
> On 4 Dec 2021, at 21:19, Stefan Sperling wrote: > > On Sat, Dec 04, 2021 at 07:06:35PM +0100, Tobias Heider wrote: >> On Sat, Dec 04, 2021 at 06:50:54PM +0100, Stefan Sperling wrote: >>> On Sat, Dec 04, 2021 at 10:37:53AM -0600, Scott Cheloha wrote: Hit a witness panic during boot

Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Stefan Sperling
On Sat, Dec 04, 2021 at 07:06:35PM +0100, Tobias Heider wrote: > On Sat, Dec 04, 2021 at 06:50:54PM +0100, Stefan Sperling wrote: > > On Sat, Dec 04, 2021 at 10:37:53AM -0600, Scott Cheloha wrote: > > > Hit a witness panic during boot yesterday. Can't repro, have never > > > seen it before. The

Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Tobias Heider
On Sat, Dec 04, 2021 at 06:50:54PM +0100, Stefan Sperling wrote: > On Sat, Dec 04, 2021 at 10:37:53AM -0600, Scott Cheloha wrote: > > Hit a witness panic during boot yesterday. Can't repro, have never > > seen it before. The photo is a mess (ask if you want it) but the > > backtrace is: > > > >

Re: panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Stefan Sperling
On Sat, Dec 04, 2021 at 10:37:53AM -0600, Scott Cheloha wrote: > Hit a witness panic during boot yesterday. Can't repro, have never > seen it before. The photo is a mess (ask if you want it) but the > backtrace is: > > panic > witness_checkorder > rw_enter_write > solock > route input >

panic: ieee80211_set_link_state() calls rtm_80211info() from timeout context

2021-12-04 Thread Scott Cheloha
Hit a witness panic during boot yesterday. Can't repro, have never seen it before. The photo is a mess (ask if you want it) but the backtrace is: panic witness_checkorder rw_enter_write solock route input ieee80211_set_link_state ieee80211_recv_4way_msg3 ieee80211_eapol_key_input

Re: raspberry pi 4 model b: xhci0: host system error

2021-12-04 Thread Mark Kettenis
> Date: Mon, 1 Nov 2021 22:33:50 + > From: Klemens Nanni I just committed a fix for this. Should be in the next snapshot. > Neither RAMDISK nor GENERIC.MP from snapshots boot on my Raspberry 4 > Model B unless I disable xhci(4). > > I flashed miniroot70.img to an SD card, booted from it,