Re: 8265 / 9560 problems + 7260 + AX200

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sun, 17 Apr 2022 07:30:55 UTC
On Fri, 15 Apr 2022 12:01:20 +0000 (UTC)
"Bjoern A. Zeeb" <bz@FreeBSD.org> wrote:

> On Fri, 15 Apr 2022, Bjoern A. Zeeb wrote:
> 
> > I currently have a stack of 4 things open, given me an hour or so and
> > I'll send out that script to collect the data.
> 
> Okay, I've put a dtrace script here (which is slight modification of
> something I've used earlier this year):
> 
>          https://people.freebsd.org/~bz/wireless/iwlwifi-cmds2.d
> 
> I've tested in my one of my lab environments but I have all auto-loading etc.
> disabled there.    I put instructions into the file how to best run
> this, especially in case you can reproduce the problem on initial
> start.
> 
> If you have questions please drop me a line.
> 
> Later,
> /bz
> 
> -- 
> Bjoern A. Zeeb                                                     r15:7
> 

Not sure why, but the D script you pointed fails to run on main, amd64
at git 32c3e0f04921f1641c431433cf00ab2a1d9c100e (my first update on
main after receiving the mail) with error message below.

     ===== Quot =====

dtrace: failed to compile script iwlwifi-cmds2.d:
"/usr/lib/dtrace/ipfw.d", line 1: operator
-> cannot be applied to a forward declaration: no struct ip_fw_args
definition is available

     ===== End quot =====

The script runs fine on stable/13, amd64 at git
8b01c3026b78152d9e0ca6f3758ea226f32e48b9 and already sent the result
directly to bz@.

Alternatively to main, I've cherry-picked 6 commits below in
conjunction with updating stable/13 to git
f66bb161ab7a8d3f888882a8d2ff5ce6f78ef762.

 *LinuxKPI: skbuff: dev_kfree_skb_irq() and improvements
  https://cgit.freebsd.org/src/commit/?id=952643ea452655a8e80d1b5e1cc2cae35cb73870

 *LinuxKPI: skbuff: start implementing skb_copy()
  https://cgit.freebsd.org/src/commit/?id=349b042b90057c1e9dbb64dfdb894fe03ea20a1d

 *LinuxKPI: 802.11: implement ieee80211_probereq_get()
  https://cgit.freebsd.org/src/commit/?id=ade774b19f9a7b35f01cbca68e51a768d1dd0773

 *LinuxKPI: 802.11: start adding rate control to ieee80211_tx_status()
  https://cgit.freebsd.org/src/commit/?id=383b3e8f509f9658329d33d7da5473b881c37349

 *LinuxKPI: 802.11: use an sx lock to protect the list of vifs
  https://cgit.freebsd.org/src/commit/?id=8891c45563f8d3b657a876197c66e00e75214909

 *LinuxKPI: 802.11: improve hw_scan
  https://cgit.freebsd.org/src/commit/?id=d9945d7821b9baf724a704d37d33b9adcad70030

I'll send the result directly to bz@ shortly.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>