Modify

Opened 2 years ago

Last modified 2 years ago

#20338 new defect

mt7620a multissid bug

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

enabling more than 1 SSID in CC 15.05-RC3 results in following kernel warning:

[   34.030000] ------------[ cut here ]------------
[   34.030000] WARNING: CPU: 0 PID: 15 at /home/buildbot/slave-local/ramips_mt7620/build/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/compat-wireless-2015-03-09/drivers/net/wireless/rt2x00/rt2800lib.c:1095 rt2800_get_txwi_rxwi_size+0x19c/0x268 [rt2800lib]()
[   34.060000] Modules linked in: pppoe ppp_async l2tp_ppp iptable_nat rt2800usb rt2800soc rt2800pci rt2800mmio rt2800lib pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_htc ath9k_common xt_time xt_tcpudp xt_state xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_esp xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc rt2x00usb rt2x00soc rt2x00pci rt2x00mmio rt2x00lib nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ah ip_tables crc_itu_t crc_ccitt ath9k_hw ath mt76pci mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp6 xfrm6_tunnel xfrm6_mode_tunnel xfrm6_mode_transport xfrm6_mode_beet esp6 ah6 ipcomp xfrm4_tunnel xfrm4_mode_tunnel xfrm4_mode_transport xfrm4_mode_beet esp4 ah4 tunnel6 tunnel4 af_key xfrm_user xfrm_ipcomp xfrm_algo ipv6 eeprom_93cx6 chainiv eseqiv crypto_wq sha1_generic krng rng md5 hmac des_generic deflate zlib_inflate zlib_deflate cbc authenc aead arc4 crypto_blkcipher crypto_hash leds_gpio dwc2_platform dwc2 ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[   34.180000] CPU: 0 PID: 15 Comm: kworker/0:1 Not tainted 3.18.17 #1
[   34.190000] Workqueue: events linkwatch_event
[   34.190000] Stack : 00000001 00000000 8792a000 802ce944 873d3c38 873c402c 00000447 8739b140
[   34.190000] 	  00000008 0000001c 00000001 80047654 0000000f 8003a0ac 87940248 8739b140
[   34.190000] 	  802f383c 87945a5c 87945a5c 80047654 00000003 80037a9c 00000447 00000170
[   34.190000] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.190000] 	  6e657665 00007374 00000000 00000000 00000000 00000000 87805c00 8110b700
[   34.190000] 	  ...
[   34.230000] Call Trace:
[   34.230000] [<80014134>] show_stack+0x48/0x70
[   34.230000] [<8002436c>] warn_slowpath_common+0x84/0xb4
[   34.240000] [<80024424>] warn_slowpath_null+0x18/0x24
[   34.250000] [<873c402c>] rt2800_get_txwi_rxwi_size+0x19c/0x268 [rt2800lib]
[   34.250000] 
[   34.250000] ---[ end trace efb719fc2ff85369 ]---

after enabling all 8 SSIDs 2 of them don't broadcast any beacons

Attachments (0)

Change History (7)

comment:1 Changed 2 years ago by anonymous

updated to latest trunk, the problem remains

comment:2 follow-up: Changed 2 years ago by anonymous

first virtual interface that is created for 2.4GHz radio has the same MAC address as the 5GHz radio. could this be the cause of the warning?

comment:3 in reply to: ↑ 2 Changed 2 years ago by anonymous

Replying to anonymous:

first virtual interface that is created for 2.4GHz radio has the same MAC address as the 5GHz radio. could this be the cause of the warning?

changing MAC address does not resolved the problem.
here's warning message on Xiaomi MiWiFi Mini with CC final build:

[   26.970000] ------------[ cut here ]------------
[   26.970000] WARNING: CPU: 0 PID: 1114 at /home/buildbot/slave-local/ramips_mt7620/build/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/linux-ramips_mt7620/compat-wireless-2015-03-09/drivers/net/wireless/rt2x00/rt2800lib.c:1095 0x8726402c [rt2800lib@87260000+0x15f60]()
[   27.000000] Modules linked in: pppoe ppp_async iptable_nat rt2800soc rt2800pci rt2800mmio rt2800lib pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc rt2x00soc rt2x00pci rt2x00mmio rt2x00lib nf_reject_ipv4 nf_nat_masquerade_ipv4 nf_nat_ftn
[   27.080000] CPU: 0 PID: 1114 Comm: hostapd Not tainted 3.18.20 #1
[   27.080000] Stack : 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
          ...
[   27.120000] Call Trace:[<80013d30>] 0x80013d30
[   27.120000] [<80013d30>] 0x80013d30
[   27.130000] [<8726402c>] 0x8726402c [rt2800lib@87260000+0x15f60]
[   27.130000] [<80023f64>] 0x80023f64
[   27.140000] [<8726402c>] 0x8726402c [rt2800lib@87260000+0x15f60]
[   27.140000] [<87270000>] 0x87270000 [rt2800lib@87260000+0x15f60]
[   27.150000] [<8002401c>] 0x8002401c
[   27.150000] [<871a5830>] 0x871a5830 [mac80211@87180000+0x580f0]
[   27.160000] [<8015d1cc>] 0x8015d1cc
[   27.160000] [<8726402c>] 0x8726402c [rt2800lib@87260000+0x15f60]
[   27.170000] [<87264368>] 0x87264368 [rt2800lib@87260000+0x15f60]
[   27.180000] [<8717b7e0>] 0x8717b7e0 [rt2x00lib@87178000+0x7730]
[   27.180000] [<87178020>] 0x87178020 [rt2x00lib@87178000+0x7730]
[   27.190000] [<8717c1d8>] 0x8717c1d8 [rt2x00lib@87178000+0x7730]
[   27.190000] [<80211ea8>] 0x80211ea8
[   27.200000] [<871a7b24>] 0x871a7b24 [mac80211@87180000+0x580f0]
[   27.200000] [<871a7be0>] 0x871a7be0 [mac80211@87180000+0x580f0]
[   27.210000] [<87276604>] 0x87276604 [rt2800mmio@87276000+0x1520]
[   27.220000] [<80048c08>] 0x80048c08
[   27.220000] [<80026a8c>] 0x80026a8c
[   27.220000] [<80026468>] 0x80026468
[   27.230000] [<8004b75c>] 0x8004b75c
[   27.230000] [<800407ac>] 0x800407ac
[   27.230000] [<800267d4>] 0x800267d4
[   27.240000] [<8003cf5c>] 0x8003cf5c
[   27.240000] [<80004830>] 0x80004830
[   27.240000] [<8003d0c0>] 0x8003d0c0
[   27.250000] [<80008f18>] 0x80008f18
[   27.250000] [<8009fa34>] 0x8009fa34
[   27.260000] [<80084ebc>] 0x80084ebc
[   27.260000] [<80008b5c>] 0x80008b5c
[   27.260000] [<800b611c>] 0x800b611c
[   27.270000] [<80042e18>] 0x80042e18
[   27.270000] [<800a6164>] 0x800a6164
[   27.270000] [<8003d0c0>] 0x8003d0c0
[   27.280000] [<8009eb74>] 0x8009eb74
[   27.280000] [<800d7798>] 0x800d7798
[   27.280000] [<8009f4a4>] 0x8009f4a4
[   27.290000] [<800b88e0>] 0x800b88e0
[   27.290000] [<8009fa8c>] 0x8009fa8c
[   27.290000] [<800527e8>] 0x800527e8
[   27.300000] [<80006b5c>] 0x80006b5c
[   27.300000]
[   27.300000] ---[ end trace 8fded4b546752e30 ]---

comment:4 Changed 2 years ago by anonymous

still happens in latest trunk..

comment:5 follow-up: Changed 2 years ago by anonymous

the patch fixed this bug! https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027616.html

why it was never merged with sources?

comment:6 Changed 2 years ago by evaxige@…

#19189 and #20338 (this ticket) is the same thing.

comment:7 in reply to: ↑ 5 Changed 2 years ago by anonymous

Replying to anonymous:

the patch fixed this bug! https://lists.openwrt.org/pipermail/openwrt-devel/2014-August/027616.html

why it was never merged with sources?

that patch merged in r47668.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.