aparcar / openwrt

Staging tree of Paul Spooren
Other
8 stars 1 forks source link

FS#521 - kernel warning in mac802 11 / ibss_leave / r3472 #543

Open aparcar opened 7 years ago

aparcar commented 7 years ago

bittorf:

it is a "TP-LINK TL-WR1043ND".

[46258.340310] ------------[ cut here ]------------ [46258.345255] WARNING: CPU: 0 PID: 10086 at compat-wireless-2017-01-31/net/mac80211/ibss.c:1082 ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211]() [46258.359026] Modules linked in: ath9k ath9k_common ath9k_hw ath nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage ohci_platform ohci_hcd ehci_platform ehci_hcd sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash [last unloaded: crc_ccitt] [46258.487331] CPU: 0 PID: 10086 Comm: kworker/u2:0 Not tainted 4.4.47 #0 [46258.494018] Workqueue: phy0 ieee80211_ibss_leave [mac80211] [46258.499637] Stack : 80e34b40 80e34b40 00000001 800a7590 818ee5bc 80410d63 803aa280 00002766 [46258.499637] 803d4ab4 809dfab4 80410000 800a550c 00000001 800a7590 803af978 80410000 [46258.499637] 00000003 809dfab4 80410000 80095528 00000001 809dfaec 00000000 801f3b30 [46258.499637] 00000001 801f3b00 80f13acc 80e12300 80e12200 70687930 00000000 00000000 [46258.499637] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [46258.499637] ... [46258.535670] Call Trace: [46258.538143] [<80071e10>] show_stack+0x50/0x84 [46258.542555] [<80081b9c>] warn_slowpath_common+0xa0/0xd0 [46258.547819] [<80081c54>] warn_slowpath_null+0x18/0x24 [46258.553014] [<80f1268c>] ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211] [46258.560637] [46258.562148] ---[ end trace eb9418c3bbf97ef5 ]---

uci config is: wireless.radio0=wifi-device wireless.radio0.type='mac80211' wireless.radio0.country='US' wireless.radio0.channel='11' wireless.radio0.frag='off' wireless.radio0.noscan='1' wireless.radio0.path='platform/ath9k' wireless.radio0.hwmode='11ng' wireless.radio0.ht_capab='SHORT-GI-40' 'DSSS_CCK-40' wireless.radio0.htmode='HT20' wireless.radio0.beacon_int='250' wireless.@wifi-iface[0]=wifi-iface wireless.@wifi-iface[0].device='radio0' wireless.@wifi-iface[0].network='wlan' wireless.@wifi-iface[0].mode='adhoc' wireless.@wifi-iface[0].bssid='02:ca:ff:ee:00:11' wireless.@wifi-iface[0].ssid='bb' wireless.@wifi-iface[0].mcast_rate='6000' wireless.@wifi-iface[0].macaddr='64:70:02:5c:1b:3c'

aparcar commented 7 years ago

bittorf:

another one on PPC/WDR4900 with r3439

[35257.598507] ------------[ cut here ]------------ [35257.603129] WARNING: at compat-wireless-2017-01-31/net/mac80211/ibss.c:1082 [35257.610079] Modules linked in: ath9k ath9k_common ath9k_hw ath snd_usb_audio nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda snd_usbmidi_lib nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat em_nbyte sch_dsmark sch_pie sch_codel sch_gred em_cmp cls_basic act_ipt sch_red sch_prio em_meta act_police em_text sch_sfq sch_fq act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore nls_utf8 zram lz4_decompress lz4_compress lzo_compress lzo_decompress zsmalloc usb_storage gpio_keys leds_gpio scsi_mod mbcache button_hotplug input_core crc16 crc32c_generic [last unloaded: sd_mod] [35257.771965] [35257.771965] GPR00: c9952128 c710fbc0 c7a3a760 00000000 c710fbf4 00000000 00000001 00000000 [35257.771965] GPR08: c721ed14 00000001 c99a1b26 00000000 000000ff 00000000 c003c9dc c694dde0 [35257.771965] GPR16: c7b76070 00000fff 00000fff c709c138 c6ead000 c7058b60 00000000 00000087 [35257.771965] GPR24: 00000000 c710fc68 c721ed14 00000000 c7058b60 c71909d8 c6e24420 c7b76070 [35257.801687] NIP [c995224c] ieee80211_get_vht_mask_from_cap+0x1964/0x1c64 [mac80211] [35257.809350] LR [c9952478] ieee80211_get_vht_mask_from_cap+0x1b90/0x1c64 [mac80211] [35257.816908] Call Trace: [35257.819364] [c710fbc0] [c9952128] ieee80211_get_vht_mask_from_cap+0x1840/0x1c64 [mac80211] (unreliable) [35257.828769] [c710fc60] [c9952538] ieee80211_get_vht_mask_from_cap+0x1c50/0x1c64 [mac80211] [35257.837043] [c710fd30] [c9952af4] ieee80211_ibss_rx_queued_mgmt+0x264/0x370 [mac80211] [35257.844968] [c710fe20] [c9953da8] ieee80211_ibss_leave+0x7a8/0x17b0 [mac80211] [35257.852195] [c710fe80] [c0037f60] process_one_work+0x208/0x380 [35257.858024] [c710fea0] [c0038348] worker_thread+0x270/0x48c [35257.863594] [c710fef0] [c003caa4] kthread+0xc8/0xcc [35257.868470] [c710ff40] [c000cb3c] ret_from_kernel_thread+0x5c/0x64 [35257.874642] --- interrupt: 0 at (null) [35257.874642] LR = (null) [35257.881508] Instruction dump: [35257.884467] 38810034 387e0528 7f984800 419e024c 4bf3a9a9 2f830000 40be0030 3d40c99a [35257.892224] 394a1b26 3b600001 892a0003 69290001 <0f090000> 2f890000 41be01d0 39200001 [35257.900154] ---[ end trace 0d26307f39730729 ]---

aparcar commented 7 years ago

bittorf:

i can see it with r3503 too - it does not seem to break the connection.

aparcar commented 6 years ago

glycoknob:

Issue is still there with lede-r3843-4db583b

<4>[105103.805924] ------------[ cut here ]------------

<4>[105103.811069] WARNING: CPU: 0 PID: 10685 at compat-wireless-2017-01-31/net/mac80211/ibss.c:1082 ieee80211_get_vht_mask_from_cap+0x1a50/0x1b90 [mac80211]() <0>[105103.825340] Kernel panic - not syncing: panic_on_warn set ... <0>[105103.825340]