Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2025 21:34:59 +0100
From:      =?UTF-8?Q?Tilman_Keskin=C3=B6z?= <arved@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        freebsd-wireless@FreeBSD.org
Subject:   Re: page fault during rtw89 detach in ieee80211_ratectl_rate
Message-ID:  <209ea0ef-1d23-4372-8b6b-45508030f2fa@FreeBSD.org>
In-Reply-To: <7q7rr115-n642-1937-616q-9o4r374821po@SerrOFQ.bet>
References:  <e91de9ba-ed02-4a46-9a96-33e08325feb6@FreeBSD.org> <7q7rr115-n642-1937-616q-9o4r374821po@SerrOFQ.bet>

next in thread | previous in thread | raw e-mail | index | archive | help

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}
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?209ea0ef-1d23-4372-8b6b-45508030f2fa>