scyto
Posts: 11
Joined: Mon Nov 04, 2019 7:01 am

WIFI Crash net/wireless/sme.c:752 __cfg80211_connect_result+0x3c0/0x410 [cfg80211]

Mon Nov 11, 2019 3:11 am

This is my first PI4 2gb, install from latest raspbian a week or so ago.
Raspbian Linux version 4.19.75-v7l+ ([email protected]) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1270 SMP Tue Sep 24 18:51:41 BST 2019
Built in wifi WLAN0


It has been dropping off the netywork after a few hours.
I seem to get these stack traces everytime:

Code: Select all

Nov 10 03:03:54 genmon kernel: [125997.788087] ------------[ cut here ]------------
Nov 10 03:03:54 genmon kernel: [125997.788183] WARNING: CPU: 0 PID: 6804 at net/wireless/sme.c:752 __cfg80211_connect_result+0x3c0/0x410 [cfg80211]
Nov 10 03:03:54 genmon kernel: [125997.788187] Modules linked in: 8021q garp stp llc rtc_ds1307 brcmfmac brcmutil sha256_generic cfg80211 raspberrypi_hwmon hwmon rfkill snd_bcm2835(C) snd_pcm snd_timer snd bcm2835_codec(C) v4l2_mem2mem bcm2835_v4l2(C) bcm2835_mmal_vchiq(C) i2c_bcm2835 videobuf2_dma_contig v4l2_common videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev media vc_sm_cma(C) rpivid_mem uio_pdrv_genirq fixed uio i2c_dev ip_tables x_tables ipv6
Nov 10 03:03:54 genmon kernel: [125997.788333] CPU: 0 PID: 6804 Comm: kworker/u8:2 Tainted: G        WC        4.19.75-v7l+ #1270
Nov 10 03:03:54 genmon kernel: [125997.788336] Hardware name: BCM2835
Nov 10 03:03:54 genmon kernel: [125997.788389] Workqueue: cfg80211 cfg80211_event_work [cfg80211]
Nov 10 03:03:54 genmon kernel: [125997.788410] [<c0212d10>] (unwind_backtrace) from [<c020d530>] (show_stack+0x20/0x24)
Nov 10 03:03:54 genmon kernel: [125997.788418] [<c020d530>] (show_stack) from [<c097fb20>] (dump_stack+0xd4/0x118)
Nov 10 03:03:54 genmon kernel: [125997.788426] [<c097fb20>] (dump_stack) from [<c0222330>] (__warn+0x104/0x11c)
Nov 10 03:03:54 genmon kernel: [125997.788434] [<c0222330>] (__warn) from [<c0222480>] (warn_slowpath_null+0x50/0x58)
Nov 10 03:03:54 genmon kernel: [125997.788489] [<c0222480>] (warn_slowpath_null) from [<bf41f6fc>] (__cfg80211_connect_result+0x3c0/0x410 [cfg80211])
Nov 10 03:03:54 genmon kernel: [125997.788593] [<bf41f6fc>] (__cfg80211_connect_result [cfg80211]) from [<bf3ef39c>] (cfg80211_process_wdev_events+0x104/0x160 [cfg80211])
Nov 10 03:03:54 genmon kernel: [125997.788694] [<bf3ef39c>] (cfg80211_process_wdev_events [cfg80211]) from [<bf3ef438>] (cfg80211_process_rdev_events+0x40/0x98 [cfg80211])
Nov 10 03:03:54 genmon kernel: [125997.788792] [<bf3ef438>] (cfg80211_process_rdev_events [cfg80211]) from [<bf3e92d4>] (cfg80211_event_work+0x24/0x2c [cfg80211])
Nov 10 03:03:54 genmon kernel: [125997.788846] [<bf3e92d4>] (cfg80211_event_work [cfg80211]) from [<c023db40>] (process_one_work+0x170/0x458)
Nov 10 03:03:54 genmon kernel: [125997.788854] [<c023db40>] (process_one_work) from [<c023de84>] (worker_thread+0x5c/0x5a4)
Nov 10 03:03:54 genmon kernel: [125997.788860] [<c023de84>] (worker_thread) from [<c0244170>] (kthread+0x138/0x168)
Nov 10 03:03:54 genmon kernel: [125997.788866] [<c0244170>] (kthread) from [<c02010ac>] (ret_from_fork+0x14/0x28)
Nov 10 03:03:54 genmon kernel: [125997.788870] Exception stack(0xeb15bfb0 to 0xeb15bff8)
Nov 10 03:03:54 genmon kernel: [125997.788874] bfa0:                                     00000000 00000000 00000000 00000000
Nov 10 03:03:54 genmon kernel: [125997.788879] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Nov 10 03:03:54 genmon kernel: [125997.788883] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Nov 10 03:03:54 genmon kernel: [125997.788893] ---[ end trace 77c2645e50b9a632 ]---
A google search did turn this old article up but i don't know if it applies as i have no idea what an orange pi is?
https://forum.armbian.com/topic/8408-or ... ct_result/

Does this look like the same issue (note my network does support `Unscheduled Automatic Power Save Delivery` and 80211r roaming.
Thee fixed in the linked post doesn't seem to be applicable to a pi?
The command

Code: Select all

journalctl | grep brcmfmac
seems to apply power saving is off at chipset level.
the command

Code: Select all

iw wlan0 get power_save
implies power saving is on.
I will try adding

Code: Select all

 /sbin/iwconfig wlan0 power off
to rc.local

Bottom line I am super confused is power management is on, off or anything to do with this issue or not!?

What can I do next to collect logs etc?

scyto
Posts: 11
Joined: Mon Nov 04, 2019 7:01 am

Re: WIFI Crash net/wireless/sme.c:752 __cfg80211_connect_result+0x3c0/0x410 [cfg80211]

Mon Nov 11, 2019 4:12 am

a github issue with the same connect_result
at least 3 folks seeing this
https://github.com/raspberrypi/linux/issues/3318

scyto
Posts: 11
Joined: Mon Nov 04, 2019 7:01 am

Re: WIFI Crash net/wireless/sme.c:752 __cfg80211_connect_result+0x3c0/0x410 [cfg80211]

Tue Nov 12, 2019 7:27 pm

I have tried disabling a slew of settings on my wifi equipment that are new or experimental - this has not resolved this issue.

Any suggestions?

Return to “Troubleshooting”