I built the kernel and got this: root@jackrune(rw):~# uname -a Linux jackrune 6.6.63-v8+ #3 SMP PREEMPT Tue Dec 3 10:09:16 CST 2024 aarch64 GNU/Linux I must've done something wrong, though, as I get this: Dec 06 07:08:10 jackrune kernel: ------------[ cut here ]------------ Dec 06 07:08:10 jackrune kernel: WARNING: CPU: 0 PID: 42 at net/wireless/nl80211.c:3822 nl80211_send_chandef+0x188/0x1a0 [cfg80211] Dec 06 07:08:10 jackrune kernel: Modules linked in: brcmfmac_wcc binfmt_misc brcmfmac brcmutil cfg80211 hci_uart bcm2835_codec(C) btbcm bluetooth bcm2> Dec 06 07:08:10 jackrune kernel: CPU: 0 PID: 42 Comm: kworker/0:2 Tainted: G C 6.6.63-v8+ #3 Dec 06 07:08:10 jackrune kernel: Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT) Dec 06 07:08:10 jackrune kernel: Workqueue: events request_firmware_work_func Dec 06 07:08:10 jackrune kernel: pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) Dec 06 07:08:10 jackrune kernel: pc : nl80211_send_chandef+0x188/0x1a0 [cfg80211] Dec 06 07:08:10 jackrune kernel: lr : nl80211_send_chandef+0x3c/0x1a0 [cfg80211] Dec 06 07:08:10 jackrune kernel: sp : ffffffc08048b710 Dec 06 07:08:10 jackrune kernel: x29: ffffffc08048b710 x28: ffffff80045e1014 x27: ffffffec8b872308 Dec 06 07:08:10 jackrune kernel: x26: ffffffecf2a4d870 x25: ffffffecf26b5008 x24: ffffffc08048bb68 Dec 06 07:08:10 jackrune kernel: x23: ffffffc08048b7d8 x22: ffffff8007b48000 x21: ffffff8004c8b000 Dec 06 07:08:10 jackrune kernel: x20: ffffff8003e27d00 x19: ffffffc08048b7d8 x18: 0000000000000000 Dec 06 07:08:10 jackrune kernel: x17: ffffff93456ad000 x16: ffffffecf2119150 x15: 0000000000000000 Dec 06 07:08:10 jackrune kernel: x14: 0000000000000000 x13: 0000000000636570 x12: 730000d022000000 Dec 06 07:08:10 jackrune kernel: x11: 0000000000000097 x10: 0000000000001a60 x9 : ffffffec8b88656c Dec 06 07:08:10 jackrune kernel: x8 : ffffff8007b48528 x7 : ffffff8007b48528 x6 : 00000000000003e8 Dec 06 07:08:10 jackrune kernel: x5 : ffffff800591fe40 x4 : 0000000000000000 x3 : 000000000058e1e8 Dec 06 07:08:10 jackrune kernel: x2 : ffffff8001fd0000 x1 : 0000000000000000 x0 : 0000000000000000 Dec 06 07:08:10 jackrune kernel: Call trace: Dec 06 07:08:10 jackrune kernel: nl80211_send_chandef+0x188/0x1a0 [cfg80211] Dec 06 07:08:10 jackrune kernel: nl80211_send_iface+0x72c/0x7c8 [cfg80211] Dec 06 07:08:10 jackrune kernel: nl80211_notify_iface+0x60/0xd8 [cfg80211] Dec 06 07:08:10 jackrune kernel: cfg80211_register_wdev+0x9c/0x118 [cfg80211] Dec 06 07:08:10 jackrune kernel: cfg80211_netdev_notifier_call+0xf4/0x558 [cfg80211] Dec 06 07:08:10 jackrune kernel: notifier_call_chain+0x78/0x148 Dec 06 07:08:10 jackrune kernel: raw_notifier_call_chain+0x20/0x38 Dec 06 07:08:10 jackrune kernel: call_netdevice_notifiers_info+0x60/0xb8 Dec 06 07:08:10 jackrune kernel: register_netdevice+0x5ac/0x698 Dec 06 07:08:10 jackrune kernel: register_netdev+0x2c/0x58 Dec 06 07:08:10 jackrune kernel: brcmf_net_attach+0x134/0x178 [brcmfmac] Dec 06 07:08:10 jackrune kernel: brcmf_attach+0x238/0x4e8 [brcmfmac] Dec 06 07:08:10 jackrune kernel: brcmf_sdio_firmware_callback+0x7fc/0x960 [brcmfmac] Dec 06 07:08:10 jackrune kernel: brcmf_fw_request_done+0x150/0x198 [brcmfmac] Dec 06 07:08:10 jackrune kernel: brcmf_fw_request_done_alt_path+0xa0/0xf8 [brcmfmac] Dec 06 07:08:10 jackrune kernel: request_firmware_work_func+0x58/0xb0 Dec 06 07:08:10 jackrune kernel: process_one_work+0x148/0x3b8 Dec 06 07:08:10 jackrune kernel: worker_thread+0x32c/0x450 Dec 06 07:08:10 jackrune kernel: kthread+0x11c/0x128 Dec 06 07:08:10 jackrune kernel: ret_from_fork+0x10/0x20 Dec 06 07:08:10 jackrune kernel: ---[ end trace 0000000000000000 ]--- and this: Dec 06 07:19:17 jackrune kernel: ------------[ cut here ]------------ Dec 06 07:19:17 jackrune kernel: WARNING: CPU: 3 PID: 332 at net/wireless/nl80211.c:3822 nl80211_send_chandef+0x188/0x1a0 [cfg80211] Dec 06 07:19:17 jackrune kernel: Modules linked in: ghash_generic ghash_ce gf128mul gcm ccm 8021q algif_aead crypto_null garp stp llc ctr iptable_nat > Dec 06 07:19:17 jackrune kernel: CPU: 3 PID: 332 Comm: iwd Tainted: G WC 6.6.63-v8+ #3 Dec 06 07:19:17 jackrune kernel: Hardware name: Raspberry Pi 3 Model B Plus Rev 1.3 (DT) Dec 06 07:19:17 jackrune kernel: pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) Dec 06 07:19:17 jackrune kernel: pc : nl80211_send_chandef+0x188/0x1a0 [cfg80211] Dec 06 07:19:17 jackrune kernel: lr : nl80211_send_chandef+0x3c/0x1a0 [cfg80211] Dec 06 07:19:17 jackrune kernel: sp : ffffffc080a93650 Dec 06 07:19:17 jackrune kernel: x29: ffffffc080a93650 x28: ffffff8005961ed4 x27: ffffff800ad3eb58 Dec 06 07:19:17 jackrune kernel: x26: ffffff8007b48810 x25: ffffffec8b8ea838 x24: ffffffffffffffff Dec 06 07:19:17 jackrune kernel: x23: ffffffc080a93718 x22: ffffff8007b48000 x21: ffffff8004c8b000 Dec 06 07:19:17 jackrune kernel: x20: ffffff8008bae400 x19: ffffffc080a93718 x18: 0000000000000000 Dec 06 07:19:17 jackrune kernel: x17: ffffff9345707000 x16: ffffffecf2119150 x15: 0000000000000000 Dec 06 07:19:17 jackrune kernel: x14: 009009f090d000c6 x13: 0000000000636570 x12: 730000d022000000 Dec 06 07:19:17 jackrune kernel: x11: 000000000000013a x10: 0000000000001a60 x9 : ffffffec8b88656c Dec 06 07:19:17 jackrune kernel: x8 : ffffff8007b48528 x7 : ffffff8007b48528 x6 : 00000000000003e8 Dec 06 07:19:17 jackrune kernel: x5 : ffffff800591fe40 x4 : 0000000000000000 x3 : 000000000058e1e8 Dec 06 07:19:17 jackrune kernel: x2 : ffffff800643dc40 x1 : 0000000000000000 x0 : 0000000000000000 Dec 06 07:19:17 jackrune kernel: Call trace: Dec 06 07:19:17 jackrune kernel: nl80211_send_chandef+0x188/0x1a0 [cfg80211] Dec 06 07:19:17 jackrune kernel: nl80211_send_iface+0x72c/0x7c8 [cfg80211] Dec 06 07:19:17 jackrune kernel: nl80211_dump_interface+0x10c/0x200 [cfg80211] Dec 06 07:19:17 jackrune kernel: genl_dumpit+0x48/0xd8 Dec 06 07:19:17 jackrune kernel: netlink_dump+0x130/0x330 Dec 06 07:19:17 jackrune kernel: __netlink_dump_start+0x258/0x348 Dec 06 07:19:17 jackrune kernel: genl_family_rcv_msg_dumpit+0x90/0x120 Dec 06 07:19:17 jackrune kernel: genl_rcv_msg+0x128/0x298 Dec 06 07:19:17 jackrune kernel: netlink_rcv_skb+0x64/0x138 Dec 06 07:19:17 jackrune kernel: genl_rcv+0x40/0x60 Dec 06 07:19:17 jackrune kernel: netlink_unicast+0x2fc/0x370 Dec 06 07:19:17 jackrune kernel: netlink_sendmsg+0x1c4/0x448 Dec 06 07:19:17 jackrune kernel: __sock_sendmsg+0x64/0xc0 Dec 06 07:19:17 jackrune kernel: __sys_sendto+0x114/0x178 Dec 06 07:19:17 jackrune kernel: __arm64_sys_sendto+0x30/0x48 Dec 06 07:19:17 jackrune kernel: invoke_syscall+0x50/0x128 Dec 06 07:19:17 jackrune kernel: el0_svc_common.constprop.0+0xc8/0xf0 Dec 06 07:19:17 jackrune kernel: do_el0_svc+0x24/0x38 Dec 06 07:19:17 jackrune kernel: el0_svc+0x38/0xd0 Dec 06 07:19:17 jackrune kernel: el0t_64_sync_handler+0x100/0x130 Dec 06 07:19:17 jackrune kernel: el0t_64_sync+0x190/0x198 Dec 06 07:19:17 jackrune kernel: ---[ end trace 0000000000000000 ]--- I'll start over and try it again and see how far I get. On Fri, Dec 6, 2024 at 1:36 AM Arend Van Spriel <arend.vanspriel@xxxxxxxxxxxx> wrote: > > On December 6, 2024 7:53:28 AM Renjaya Raga Zenta > <renjaya.zenta@xxxxxxxxxxxxxxx> wrote: > > > On Thu, 5 Dec 2024 14:10:51 +0100 Arend Van Spriel wrote: > >> Can you try the patch attached? > > > > I've just tried this in 6.6, obviously the errors disappear. Tested with > > DUMP_OBSS enabled. > > Thanks, Renjaya > > It was the pragmatic fix. There still seems a potential issue in how > brcmfmac provides the channels to cfg80211. > > > Will this also land to stable? > > I have not formally submitted it to linux-wireless. I will add the > appropriate tags for stable. > > Regards, > Arend > > >