Re: page fault during rtw89 detach in ieee80211_ratectl_rate
- In reply to: Bjoern A. Zeeb: "Re: page fault during rtw89 detach in ieee80211_ratectl_rate"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Mar 2025 20:34:59 UTC
On 3/11/25 10:59, Bjoern A. Zeeb wrote:
> How did you "detach"? Did you down the interface or run netif stop
> wlan0 or ..?
I am not quite sure, what wifibox does, I didn't see a netif stop in the
wifibox shellscript
What was happening: I booted the laptop, rtw89 didn't associate within
30 seconds. (This happens sometimes, I don't know why).
Probably while I was firing up wifibox (/usr/local/etc/rc.d/wifibox
onestart), the interface associated, and then the panic happend. (I
actually managed to reproduce it once today)
> ni and iv_bss should be the same but I see what you mean;
> net80211 swapped the iv_bss away from under us.
>
> Can you file a bug report Blocking 273621 for this. Feel free to just
> point at the mail in the list archive for details:
> https://lists.freebsd.org/archives/freebsd-wireless/2025-March/003038.html
>
>
> That way we can track it properly.
Done
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285338
Thanks!
>> #16 ieee80211_ratectl_rate (ni=0x0, ni@entry=0xfffffe012641b440,
>> arg=0x0,
>> iarg=0) at /usr/src/sys/net80211/ieee80211_ratectl.h:133
>> vap = <optimized out>
>> #17 linuxkpi_ieee80211_tx_status_ext (hw=hw@entry=0xfffffe012641b440,
>> txstat=txstat@entry=0xfffffe00d07ef828)
>> at /usr/src/sys/compat/linuxkpi/common/src/linux_80211.c:7007
>> txs = {flags = 1, status = IEEE80211_RATECTL_TX_FAIL_UNSPECIFIED,
>> pktlen = 26, final_rate = 0, short_retries = 0, long_retries
>> = 0,
>> rssi = 0 '\000', spare = '\000' <repeats 14 times>}
>> skb = 0xfffffe0127cf4000
>> ni = 0xfffffe0128901000
>> info = 0xfffffe0127cf4040
>> status = <optimized out>
>> #18 0xffffffff80a1fd25 in ieee80211_tx_status_ext (hw=0x0,
>> hw@entry=0xfffffe012641b440, txstat=0xfffffe00d07ef828)
>> at /usr/src/sys/compat/linuxkpi/common/include/net/mac80211.h:2240
>> No locals.
>> #19 linuxkpi_ieee80211_tx_status (hw=0x0, hw@entry=0xfffffe012641b440,
>> skb=skb@entry=0xfffffe0127cf4000)
>> at /usr/src/sys/compat/linuxkpi/common/src/linux_80211.c:7060
>> status = {sta = 0x0, info = 0xfffffe0127cf4040, ack_hwtstamp = 0,
>> n_rates = 0 '\000', rates = 0x0, skb = 0xfffffe0127cf4000,
>> free_list = 0x0}
>>
>