Open jeremyherbert opened 1 year ago
Same here (Raspi Zero2w):
[Mon Jun 10 04:11:47 2024] WARNING: CPU: 2 PID: 11 at net/wireless/sme.c:1102 __cfg80211_roamed+0x3e0/0x3f8 [cfg80211] [Mon Jun 10 04:11:47 2024] Modules linked in: cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep vc4 snd_soc_hdmi_codec drm_display_helper cec brcmfmac_wcc drm_dma_helper drm_kms_helper brcmfmac brcmutil snd_soc_core cfg80211 hci_uart btbcm binfmt_misc bluetooth snd_compress raspberrypi_hwmon snd_pcm_dmaengine bcm2835_unicam dw9807_vcm bcm2835_codec(C) v4l2_dv_timings imx708 v4l2_fwnode v4l2_mem2mem bcm2835_isp(C) bcm2835_v4l2(C) v4l2_async bcm2835_mmal_vchiq(C) videobuf2_dma_contig videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 ecdh_generic ecc snd_bcm2835(C) snd_pcm videodev rfkill libaes snd_timer videobuf2_common snd mc vc_sm_cma(C) raspberrypi_gpiomem uio_pdrv_genirq uio drm fuse drm_panel_orientation_quirks dm_mod backlight ip_tables x_tables ipv6 i2c_mux_pinctrl i2c_mux i2c_bcm2835 [Mon Jun 10 04:11:47 2024] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G WC 6.6.31+rpt-rpi-v8 #1 Debian 1:6.6.31-1+rpt1 [Mon Jun 10 04:11:47 2024] Hardware name: Raspberry Pi Zero 2 W Rev 1.0 (DT) [Mon Jun 10 04:11:47 2024] Workqueue: cfg80211 cfg80211_event_work [cfg80211] [Mon Jun 10 04:11:47 2024] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [Mon Jun 10 04:11:47 2024] pc : cfg80211_roamed+0x3e0/0x3f8 [cfg80211] [Mon Jun 10 04:11:47 2024] lr : cfg80211_process_wdev_events+0x160/0x198 [cfg80211] [Mon Jun 10 04:11:47 2024] sp : ffffffc080073cd0 [Mon Jun 10 04:11:47 2024] x29: ffffffc080073cd0 x28: 0000000000000000 x27: 0000000000000000 [Mon Jun 10 04:11:47 2024] x26: ffffff8001d08028 x25: dead000000000100 x24: dead000000000122 [Mon Jun 10 04:11:47 2024] x23: ffffff80053d20c0 x22: ffffff80053d2050 x21: ffffff80053d2008 [Mon Jun 10 04:11:47 2024] x20: ffffff80053d2008 x19: ffffff8001dfa018 x18: 0000000000000000 [Mon Jun 10 04:11:47 2024] x17: 0000000000000000 x16: ffffffdd499020c0 x15: ff1e19ee1a2d002f [Mon Jun 10 04:11:47 2024] x14: 3262005e43420000 x13: 0000000000000000 x12: 0000000000000000 [Mon Jun 10 04:11:47 2024] x11: 00000000000003ce x10: 0000000000001a30 x9 : ffffffdce3e06db0 [Mon Jun 10 04:11:47 2024] x8 : ffffff8001e2d810 x7 : ffffff8001dae740 x6 : 0000000000000018 [Mon Jun 10 04:11:47 2024] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000 [Mon Jun 10 04:11:47 2024] x2 : ffffff8001e2bd80 x1 : ffffff8001dfa018 x0 : 0000000000000000 [Mon Jun 10 04:11:47 2024] Call trace: [Mon Jun 10 04:11:47 2024] cfg80211_roamed+0x3e0/0x3f8 [cfg80211] [Mon Jun 10 04:11:47 2024] cfg80211_process_wdev_events+0x160/0x198 [cfg80211] [Mon Jun 10 04:11:47 2024] cfg80211_process_rdev_events+0x38/0x60 [cfg80211] [Mon Jun 10 04:11:47 2024] cfg80211_event_work+0x30/0x50 [cfg80211] [Mon Jun 10 04:11:47 2024] process_one_work+0x148/0x3b8 [Mon Jun 10 04:11:47 2024] worker_thread+0x32c/0x450 [Mon Jun 10 04:11:47 2024] kthread+0x11c/0x128 [Mon Jun 10 04:11:47 2024] ret_from_fork+0x10/0x20 [Mon Jun 10 04:11:47 2024] ---[ end trace 0000000000000000 ]---
Describe the bug
iwconfig
reports that the network is not connected:iwgetid
is incorrect as the network does have an SSID:However, the device is connected (I can ssh into it) and
ip a
reports that an IP has been allocated:A backtrace is present in
dmesg
, see the logs section below.I have a systemd service which reboots the device after 5 minutes if it sees this problem. Eventually after 1-3 reboots this problem appears to be resolved.
Steps to reproduce the behaviour
Unsure - this seems to happen on startup when connecting to a wifi network for some devices. Inserting the same SD card into different RPis shows that some are more likely to have this issue, while some never show it.
Device (s)
Raspberry Pi Zero W / WH
System
Raspberry Pi reference 2022-09-22 Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, 8a42abcd1dbd8c9c1fdfca4e0c3778255b2f9cc4, stage2
Jan 5 2023 10:48:31 Copyright (c) 2012 Broadcom version 8ba17717fbcedd4c3b6d4bce7e50c7af4155cba9 (clean) (release) (start)
Linux wifi-b827eb74e320 5.15.84+ #1613 Thu Jan 5 11:58:09 GMT 2023 armv6l GNU/Linux
Logs
Additional context
No response