All Projects

IDCategoryTask TypePrioritySeveritySummaryReported InStatus
 2682 KernelBug ReportVery LowLow TP-Link Archer C7 v2 / 19.07.0-rc2 / 5GHz erratic openwrt-19.07Closed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce

 

Dev: TP-Link Archer C7 v2
File: openwrt-19.07.0-rc2-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin
OpenWrt 19.07.0-rc2 r10775-db8345d8e4 / LuCI openwrt-19.07 branch git-19.334.63023-039ef1f

Report details also here:

https://forum.openwrt.org/t/openwrt-19-07-0-second-release-candidate/49593/48?u=systemcrash

===

Kernel log prints the following with factory installed

ath10k-firmware-qca988x-ct

:

[   13.086218] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[   13.095400] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   13.101323] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   13.377901] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[   13.388608] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.482138] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[   13.491335] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   13.502212] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.685319] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   13.697084] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   13.708238] ath10k_pci 0000:00:00.0: Falling back to user helper
[   13.892125] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   13.901743] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   13.912891] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.096256] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   14.105887] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   14.116769] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.299239] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   14.308602] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   14.319477] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.501747] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   14.511104] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   14.521982] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.705019] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   14.714378] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   14.725254] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.909602] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   14.940268] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.949669] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.962074] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-64cc8007 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 156478f0
[   15.084602] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   15.095220] ath10k_pci 0000:00:00.0: Falling back to user helper
[   15.201357] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   15.210608] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   16.153935] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   16.170710] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   16.177043] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   16.185190] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20904 iram: 26072'
[   16.235030] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   16.247941] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000

5GHz throughput fine, but ping shabby/erratic:

64 bytes from 192.168.19.1: icmp_seq=0 ttl=64 time=84.622 ms
64 bytes from 192.168.19.1: icmp_seq=1 ttl=64 time=132.775 ms
64 bytes from 192.168.19.1: icmp_seq=2 ttl=64 time=126.104 ms
64 bytes from 192.168.19.1: icmp_seq=3 ttl=64 time=161.075 ms
64 bytes from 192.168.19.1: icmp_seq=4 ttl=64 time=152.727 ms
64 bytes from 192.168.19.1: icmp_seq=5 ttl=64 time=88.039 ms
64 bytes from 192.168.19.1: icmp_seq=6 ttl=64 time=244.452 ms
64 bytes from 192.168.19.1: icmp_seq=7 ttl=64 time=160.907 ms
64 bytes from 192.168.19.1: icmp_seq=8 ttl=64 time=93.757 ms
64 bytes from 192.168.19.1: icmp_seq=9 ttl=64 time=52.239 ms
64 bytes from 192.168.19.1: icmp_seq=10 ttl=64 time=42.693 ms
64 bytes from 192.168.19.1: icmp_seq=11 ttl=64 time=129.177 ms
64 bytes from 192.168.19.1: icmp_seq=12 ttl=64 time=9.369 ms
64 bytes from 192.168.19.1: icmp_seq=13 ttl=64 time=102.590 ms
64 bytes from 192.168.19.1: icmp_seq=14 ttl=64 time=1.520 ms
64 bytes from 192.168.19.1: icmp_seq=15 ttl=64 time=191.061 ms
64 bytes from 192.168.19.1: icmp_seq=16 ttl=64 time=9.951 ms
64 bytes from 192.168.19.1: icmp_seq=17 ttl=64 time=7.680 ms
64 bytes from 192.168.19.1: icmp_seq=18 ttl=64 time=122.895 ms
64 bytes from 192.168.19.1: icmp_seq=19 ttl=64 time=29.572 ms
64 bytes from 192.168.19.1: icmp_seq=20 ttl=64 time=53.503 ms
64 bytes from 192.168.19.1: icmp_seq=21 ttl=64 time=36.006 ms
64 bytes from 192.168.19.1: icmp_seq=22 ttl=64 time=188.858 ms
64 bytes from 192.168.19.1: icmp_seq=23 ttl=64 time=62.573 ms
64 bytes from 192.168.19.1: icmp_seq=24 ttl=64 time=7.543 ms
64 bytes from 192.168.19.1: icmp_seq=25 ttl=64 time=152.713 ms
64 bytes from 192.168.19.1: icmp_seq=26 ttl=64 time=25.517 ms

For ref - 2.4GHz ping:

64 bytes from 192.168.19.1: icmp_seq=219 ttl=64 time=1.332 ms
64 bytes from 192.168.19.1: icmp_seq=220 ttl=64 time=1.625 ms
64 bytes from 192.168.19.1: icmp_seq=221 ttl=64 time=1.111 ms
64 bytes from 192.168.19.1: icmp_seq=222 ttl=64 time=1.558 ms
64 bytes from 192.168.19.1: icmp_seq=223 ttl=64 time=1.404 ms
64 bytes from 192.168.19.1: icmp_seq=224 ttl=64 time=1.596 ms
64 bytes from 192.168.19.1: icmp_seq=225 ttl=64 time=7.978 ms
64 bytes from 192.168.19.1: icmp_seq=226 ttl=64 time=7.733 ms
64 bytes from 192.168.19.1: icmp_seq=227 ttl=64 time=1.517 ms
64 bytes from 192.168.19.1: icmp_seq=228 ttl=64 time=9.955 ms
64 bytes from 192.168.19.1: icmp_seq=229 ttl=64 time=34.035 ms
64 bytes from 192.168.19.1: icmp_seq=230 ttl=64 time=1.359 ms
64 bytes from 192.168.19.1: icmp_seq=231 ttl=64 time=1.509 ms

Tried the above advice and removed

ath10k-firmware-qca988x-ct

and installed

ath10k-firmware-qca988x

- same results.

Kernel log looked like this:

[   13.881135] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.158416] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[   14.169302] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.271542] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[   14.286560] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   14.297460] ath10k_pci 0000:00:00.0: Falling back to user helper
[   14.479744] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   14.995308] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   15.004692] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   15.017752] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[   15.062794] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   15.073408] ath10k_pci 0000:00:00.0: Falling back to user helper
[   15.167769] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   15.178498] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   16.301698] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1

With ping:

64 bytes from 192.168.19.1: icmp_seq=0 ttl=64 time=33.290 ms
64 bytes from 192.168.19.1: icmp_seq=1 ttl=64 time=56.834 ms
64 bytes from 192.168.19.1: icmp_seq=2 ttl=64 time=1.313 ms
64 bytes from 192.168.19.1: icmp_seq=3 ttl=64 time=232.480 ms
64 bytes from 192.168.19.1: icmp_seq=4 ttl=64 time=219.849 ms
64 bytes from 192.168.19.1: icmp_seq=5 ttl=64 time=98.685 ms
64 bytes from 192.168.19.1: icmp_seq=6 ttl=64 time=120.222 ms
64 bytes from 192.168.19.1: icmp_seq=7 ttl=64 time=236.720 ms
64 bytes from 192.168.19.1: icmp_seq=8 ttl=64 time=242.812 ms
64 bytes from 192.168.19.1: icmp_seq=9 ttl=64 time=169.742 ms
64 bytes from 192.168.19.1: icmp_seq=10 ttl=64 time=262.349 ms
64 bytes from 192.168.19.1: icmp_seq=11 ttl=64 time=196.983 ms
64 bytes from 192.168.19.1: icmp_seq=12 ttl=64 time=118.585 ms
64 bytes from 192.168.19.1: icmp_seq=13 ttl=64 time=1.449 ms
64 bytes from 192.168.19.1: icmp_seq=14 ttl=64 time=13.646 ms
64 bytes from 192.168.19.1: icmp_seq=15 ttl=64 time=308.754 ms
64 bytes from 192.168.19.1: icmp_seq=16 ttl=64 time=189.855 ms
64 bytes from 192.168.19.1: icmp_seq=17 ttl=64 time=721.944 ms
64 bytes from 192.168.19.1: icmp_seq=18 ttl=64 time=539.833 ms
64 bytes from 192.168.19.1: icmp_seq=19 ttl=64 time=932.816 ms
64 bytes from 192.168.19.1: icmp_seq=20 ttl=64 time=283.675 ms
64 bytes from 192.168.19.1: icmp_seq=21 ttl=64 time=113.168 ms
64 bytes from 192.168.19.1: icmp_seq=22 ttl=64 time=276.538 ms
64 bytes from 192.168.19.1: icmp_seq=23 ttl=64 time=213.385 ms
64 bytes from 192.168.19.1: icmp_seq=24 ttl=64 time=20.263 ms

Tried with

ath10k-firmware-qca988x-ct-htt

variant also:

64 bytes from 192.168.19.1: icmp_seq=0 ttl=64 time=36.010 ms
64 bytes from 192.168.19.1: icmp_seq=1 ttl=64 time=20.136 ms
64 bytes from 192.168.19.1: icmp_seq=2 ttl=64 time=77.301 ms
64 bytes from 192.168.19.1: icmp_seq=3 ttl=64 time=1.603 ms
64 bytes from 192.168.19.1: icmp_seq=4 ttl=64 time=1.263 ms
64 bytes from 192.168.19.1: icmp_seq=5 ttl=64 time=241.632 ms
64 bytes from 192.168.19.1: icmp_seq=6 ttl=64 time=55.359 ms
64 bytes from 192.168.19.1: icmp_seq=7 ttl=64 time=17.019 ms
64 bytes from 192.168.19.1: icmp_seq=8 ttl=64 time=442.122 ms
64 bytes from 192.168.19.1: icmp_seq=9 ttl=64 time=242.875 ms
64 bytes from 192.168.19.1: icmp_seq=10 ttl=64 time=77.195 ms
64 bytes from 192.168.19.1: icmp_seq=11 ttl=64 time=383.413 ms
64 bytes from 192.168.19.1: icmp_seq=12 ttl=64 time=198.462 ms
64 bytes from 192.168.19.1: icmp_seq=13 ttl=64 time=609.896 ms
64 bytes from 192.168.19.1: icmp_seq=14 ttl=64 time=189.793 ms
Request timeout for icmp_seq 15
64 bytes from 192.168.19.1: icmp_seq=15 ttl=64 time=1690.473 ms
64 bytes from 192.168.19.1: icmp_seq=16 ttl=64 time=872.054 ms
64 bytes from 192.168.19.1: icmp_seq=17 ttl=64 time=178.592 ms
64 bytes from 192.168.19.1: icmp_seq=18 ttl=64 time=143.039 ms
64 bytes from 192.168.19.1: icmp_seq=19 ttl=64 time=235.958 ms
64 bytes from 192.168.19.1: icmp_seq=20 ttl=64 time=72.661 ms
64 bytes from 192.168.19.1: icmp_seq=21 ttl=64 time=203.631 ms

PS - DISMISS button for opkg update in the GUI is horse-shit. Waste of my clicks. Plz at least give auto-dismiss.

Edit: ping on 5GHz is a TON better when something is using/saturating the 5GHz link, e.g. TimeMachine backup is ongoing then boom. Stable:

64 bytes from 192.168.19.1: icmp_seq=1 ttl=64 time=74.032 ms
64 bytes from 192.168.19.1: icmp_seq=2 ttl=64 time=1.397 ms
64 bytes from 192.168.19.1: icmp_seq=3 ttl=64 time=1.281 ms
64 bytes from 192.168.19.1: icmp_seq=4 ttl=64 time=1.322 ms
64 bytes from 192.168.19.1: icmp_seq=5 ttl=64 time=4.756 ms
64 bytes from 192.168.19.1: icmp_seq=6 ttl=64 time=1.339 ms
64 bytes from 192.168.19.1: icmp_seq=7 ttl=64 time=1.309 ms
64 bytes from 192.168.19.1: icmp_seq=8 ttl=64 time=5.388 ms
64 bytes from 192.168.19.1: icmp_seq=9 ttl=64 time=1.497 ms
64 bytes from 192.168.19.1: icmp_seq=10 ttl=64 time=1.116 ms
64 bytes from 192.168.19.1: icmp_seq=11 ttl=64 time=7.326 ms
64 bytes from 192.168.19.1: icmp_seq=12 ttl=64 time=3.464 ms
64 bytes from 192.168.19.1: icmp_seq=13 ttl=64 time=2.244 ms
64 bytes from 192.168.19.1: icmp_seq=14 ttl=64 time=1.118 ms
64 bytes from 192.168.19.1: icmp_seq=15 ttl=64 time=1.496 ms
64 bytes from 192.168.19.1: icmp_seq=16 ttl=64 time=2.007 ms
64 bytes from 192.168.19.1: icmp_seq=17 ttl=64 time=1.472 ms
64 bytes from 192.168.19.1: icmp_seq=18 ttl=64 time=117.913 ms
1326KernelBug ReportVery LowMediumKernel crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Archer C7 v2

- Software versions of OpenWrt/LEDE release, packages, etc.

OpenWrt SNAPSHOT r5994-fd30187c87 / LuCI Master (git-18.031.70145-518ac52)

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

install snapshot, let it run, normal usage, connect disconnect etc.

info from kernel log:

[14458.634926] ath10k_pci 0000:01:00.0: failed to delete peer c4:b3:01:8f:ef:62 for vdev 0: -145
[14458.643587] ath10k_pci 0000:01:00.0: found sta peer c4:b3:01:8f:ef:62 (ptr 86958c00 id 27) entry on vdev 0 after it was supposedly removed
[14458.656870] ————[ cut here ]———— [14458.661686] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.673453] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink 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 iptable_mangle
[14458.745995] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14458.775167] CPU: 0 PID: 13630 Comm: hostapd Not tainted 4.9.77 #0
[14458.781337] Stack : 804f765a 00000035 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14458.789882] 804f37a0 000003e9 00000000 00000000 00000000 800a9934 8043f378 80480000
[14458.798426] 00000003 000003e9 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000074
[14458.806971] 00000000 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14458.815516] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14458.824051] ...
[14458.826552] Call Trace:
[14458.829043] [<8006b2c8>] show_stack+0×54/0×88 [14458.833482] [<8007ff40>] warn+0xe4/0×118 [14458.837657] [<80080008>] warn_slowpath_null+0x1c/0×34 [14458.842880] [<87706fd8>] sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.848830] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14458.854870] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14458.861694] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14458.869154] —[ end trace e47c69f6c533b83e ]— [14461.914797] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer c4:b3:01:8f:ef:62 on vdev 0: -145
[14461.924661] ath10k_pci 0000:01:00.0: failed to add peer c4:b3:01:8f:ef:62 for vdev 0 when adding a new sta: -145
[14746.711911] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer 2c:0e:3d:12:09:95: -11
[14746.720962] wlan0: failed to remove key (0, 2c:0e:3d:12:09:95) from hardware (-11)
[14746.753467] ath10k_pci 0000:01:00.0: cipher 0 is not supported
[14746.759445] ath10k_pci 0000:01:00.0: failed to remove peer wep key 0: -122
[14746.766463] ath10k_pci 0000:01:00.0: failed to clear all peer wep keys for vdev 0: -122
[14746.774607] ath10k_pci 0000:01:00.0: failed to disassociate station: 2c:0e:3d:12:09:95 vdev 0: -122
[14746.783787] ————[ cut here ]———— [14746.788602] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.800249] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink 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 iptable_mangle
[14746.872787] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14746.901958] CPU: 0 PID: 13630 Comm: hostapd Tainted: G W 4.9.77 #0
[14746.909370] Stack : 804f765a 00000043 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14746.917913] 804f37a0 000003e1 00000000 00000000 00000000 800a9934 8043f378 80480000
[14746.926458] 00000003 000003e1 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000073
[14746.935002] 8049ae60 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14746.943547] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14746.952092] ...
[14746.954583] Call Trace:
[14746.957064] [<8006b2c8>] show_stack+0×54/0×88 [14746.961495] [<8007ff40>]
warn+0xe4/0×118 [14746.965666] [<80080008>] warn_slowpath_null+0x1c/0×34 [14746.970889] [<87706f88>] sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.976845] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14746.982873] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14746.989699] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14746.997160] —[ end trace e47c69f6c533b83f ]— [14750.071885] ath10k_pci 0000:01:00.0: failed to delete peer 2c:0e:3d:12:09:95 for vdev 0: -11
[14750.080493] ath10k_pci 0000:01:00.0: found sta peer 2c:0e:3d:12:09:95 (ptr 86115e00 id 57) entry on vdev 0 after it was supposedly removed
[14753.111859] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[14756.151812] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[14759.191795] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[14762.231753] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[14765.271707] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[88965.620794] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer a4:2b:b0:df:39:70: -11
[88965.630032] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[111930.445474] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111933.485423] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111937.165444] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111940.205359] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111947.165313] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111950.205384] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111957.165174] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111960.205293] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111964.685124] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111967.725111] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111974.525032] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111977.565030] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111984.524945] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111987.564913] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111994.524853] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111997.564835] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112004.524759] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112007.564726] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

 1294 PackagesBug ReportVery LowLow ip-tiny / ip-full insanity lede-17.01Closed Task Description

Environment: Powered by LuCI lede-17.01 branch (git-17.298.45605-07e7ff0) / LEDE Reboot 17.01.4 r3560-79f57e422d
Model TP-Link Archer C7 v2
Firmware Version LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.298.45605-07e7ff0)
Kernel Version 4.4.92
mips_24kc / ar71xx

Description:

Installing strongswan-full got me here. Install ip-tiny, and ip works ‘correctly’, but claims to provide xfrm, but does not. Remove ip-tiny, install ip-full, busybox owns the show, but xfrm works when calling the ip binary with full path. Remove ip-full, install ip-tiny, and ip rules once again, but no ip xfrm.

ip-tiny also claims to provide ip xfrm, but does not. Can provide further info if necessary.

console session follows:

```
# opkg install ip-full
...

# opkg install strongswan-full
Installing strongswan-full (5.5.3-1) to root...
...

# opkg whatprovides ip
What provides ip

  ip-full

# opkg files ip-full
Package ip-full (4.4.0-10) is installed on root and has the following files:
/usr/sbin/ip

# /usr/sbin/ip -V
ip utility, iproute2-ss4.4.0-10-lede

# which ip
/usr/sbin/ip

# export
...
export PATH=’/usr/sbin:/usr/bin:/sbin:/bin’

# ls -l /sbin/ip
lrwxrwxrwx 1 root root 14 Oct 17 19:46 /sbin/ip → ../bin/busybox
# ls -l /usr/sbin/ip
-rwxr-xr-x 1 root root 229044 Dec 30 20:26 /usr/sbin/ip
# ls -l /usr/bin/ip
ls: /usr/bin/ip: No such file or directory

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# ip -V
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# /usr/sbin/ip -V
ip utility, iproute2-ss4.4.0-10-lede

# /usr/sbin/ip xfrm
Usage: ip xfrm XFRM-OBJECT { COMMAND | help }
where XFRM-OBJECT := state | policy | monitor

# opkg remove ip-full
Removing package ip-full from root...

# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-full_4.4.0-10_mips_24kc.ipk Configuring ip-full.

# ip
BusyBox v1.25.1 () multi-call binary.

...

# opkg remove ip-full
No packages removed.
Collected errors:
* print_dependents_warning: Package ip-full is depended upon by packages:
* print_dependents_warning: strongswan

# opkg remove strongswan –force-depends
Removing package strongswan from root...
Stopping strongSwan IPsec...

# opkg remove ip-full
Removing package ip-full from root...

# opkg install ip-tiny
Installing ip-tiny (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-tiny_4.4.0-10_mips_24kc.ipk Configuring ip-tiny.

# ip -V
ip utility, iproute2-ss4.4.0-10-lede

# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# opkg whatprovides ip
What provides ip

  ip-tiny

# opkg files ip-tiny
Package ip-tiny (4.4.0-10) is installed on root and has the following files:
/usr/bin/ip

# export
...
export PATH=’/usr/sbin:/usr/bin:/sbin:/bin’

# ls -l /usr/sbin/ip
ls: /usr/sbin/ip: No such file or directory
# ls -l /usr/bin/ip
-rwxr-xr-x 1 root root 159196 Dec 30 20:27 /usr/bin/ip
# ls -l /bin/ip
ls: /bin/ip: No such file or directory
# ls -l /sbin/ip
lrwxrwxrwx 1 root root 14 Oct 17 19:46 /sbin/ip → ../bin/busybox
#

# opkg remove ip-tiny
Removing package ip-tiny from root...

# opkg remove ip-full
No packages removed.

# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading ...
Configuring ip-full.
# ip
BusyBox v1.25.1 () multi-call binary.
...

# opkg remove ip-full
Removing package ip-full from root...
# opkg install strongswan-full
Package strongswan-full (5.5.3-1) installed in root is up to date.

# ip
BusyBox v1.25.1 () multi-call binary.

# rm /sbin/ip

# opkg remove strongswan-full –force-depends
Removing package strongswan-full from root...
# opkg install strongswan-full
Installing strongswan-full (5.5.3-1) to root...
Downloading ...
Installing ip-tiny (4.4.0-10) to root...
Downloading ...
Installing strongswan (5.5.3-1) to root...
Downloading ...
Configuring ip-tiny.
Configuring strongswan.

# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# ip xfrm
Object “xfrm” is unknown, try “ip help”.

# opkg remove strongswan-full –force-depends
Removing package strongswan-full from root...

# opkg remove strongswan –force-depends
Removing package strongswan from root...
Stopping strongSwan IPsec...

# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# opkg remove ip-tiny
Removing package ip-tiny from root...

# ip
-ash: ip: not found
# ls -l /usr/sbin/ip
ls: /usr/sbin/ip: No such file or directory
# ls -l /usr/bin/ip
ls: /usr/bin/ip: No such file or directory
# ls -l /sbin/ip
ls: /sbin/ip: No such file or directory
# ls -l /bin/ip
ls: /bin/ip: No such file or directory

# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading ...
Configuring ip-full.

# ip xfrm
-ash: ip: not found
# ip
-ash: ip: not found

# which ip
/usr/sbin/ip

# ip
-ash: ip: not found
# ls -l /usr/sbin/ip
-rwxr-xr-x 1 root root 229044 Dec 30 20:26 /usr/sbin/ip

# which busybox
/bin/busybox

# ln -s /bin/busybox /sbin/ip
# ip
BusyBox v1.25.1 () multi-call binary.
...

# opkg remove ip-full
Removing package ip-full from root...
# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-full_4.4.0-10_mips_24kc.ipk Configuring ip-full.
# ip
BusyBox v1.25.1 () multi-call binary.
...

# opkg remove ip-full
Removing package ip-full from root...
# opkg install ip-tiny
Installing ip-tiny (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-tiny_4.4.0-10_mips_24kc.ipk Configuring ip-tiny.
# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...

# which ip
/usr/bin/ip

# /usr/bin/ip xfrm
Object “xfrm” is unknown, try “ip help”.

# export
...
export PATH=’/usr/sbin:/usr/bin:/sbin:/bin’

# opkg remove ip-tiny
Removing package ip-tiny from root...
# opkg install ip-full
Installing ip-full (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-full_4.4.0-10_mips_24kc.ipk Configuring ip-full.
# which ip
/usr/sbin/ip

# opkg whatprovides ip
What provides ip

  ip-full

# opkg files ip
Package ip-full (4.4.0-10) is installed on root and has the following files:
/usr/sbin/ip

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# strace ip
execve(”/usr/sbin/ip”, [”ip”], [/* 12 vars */]) = 0
set_thread_area(0x78001d48) = 0
set_tid_address(0x77ffacac) = 26625
open(”/etc/ld-musl-mips-sf.path”, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open(”/lib/libgcc_s.so.1”, O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=77040, ...}) = 0
read(3, “\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\10\0\0\0\1\0\0(\20\0\0\0004”..., 936) = 936
mmap2(NULL, 143360, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x77f32000
mmap2(0x77f54000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0×12000) = 0x77f54000
close(3) = 0
mprotect(0×445000, 4096, PROT_READ) = 0
socket(AF_NETLINK, SOCK_RAW|SOCK_CLOEXEC, NETLINK_ROUTE) = 3
setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
setsockopt(3, SOL_SOCKET, SO_RCVBUF, [1048576], 4) = 0
bind(3, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=00000000}, 12) = 0
getsockname(3, {sa_family=AF_NETLINK, nl_pid=26625, nl_groups=00000000}, [12]) = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1516802132, tv_nsec=297396679}) = 0
close(3) = 0
writev(2, [{iov_base=”“, iov_len=0}, {iov_base=”Usage: ip [ OPTIONS ] OBJECT { C”..., iov_len=810}], 2Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }
     OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |
                  -h[uman-readable] | -iec |
                  -f[amily] { inet | inet6 | ipx | dnet | mpls | bridge | link } |
                  -4 | -6 | -I | -D | -B | -0 |
                  -l[oops] { maximum-addr-flush-attempts } | -br[ief] |
                  -o[neline] | -t[imestamp] | -ts[hort] | -b[atch] [filename] |
                  -rc[vbuf] [size] | -n[etns] name | -a[ll] | -c[olor]}

) = 810
exit_group(-1) = ?
+++ exited with 255 +++

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# opkg remove ip-tiny
No packages removed.
# opkg remove ip-full
Removing package ip-full from root...

# ip
BusyBox v1.25.1 () multi-call binary.

Usage: ip [OPTIONS] {address | route | link | rule} {COMMAND}

ip [OPTIONS] OBJECT {COMMAND}
where OBJECT := {address | route | link | rule}
OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }

# opkg install strongswan-full
Installing strongswan-full (5.5.3-1) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/packages/strongswan-full_5.5.3-1_mips_24kc.ipk Installing ip-tiny (4.4.0-10) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/base/ip-tiny_4.4.0-10_mips_24kc.ipk Installing strongswan (5.5.3-1) to root...
Downloading http://ftp.halifax.rwth-aachen.de/lede/releases/17.01.4/packages/mips_24kc/packages/strongswan_5.5.3-1_mips_24kc.ipk Configuring ip-tiny.
Configuring strongswan.

# which ip
/usr/bin/ip
# ip xfrm
Object “xfrm” is unknown, try “ip help”.
# ip
Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }

     ip [ -force ] -batch filename

where OBJECT := { link | address | addrlabel | route | rule | neighbor | ntable |

                 tunnel | tuntap | maddress | mroute | mrule | monitor | xfrm |
                 netns | l2tp | fou | tcp_metrics | token | netconf }

...
```

Possible causes: http://lists.infradead.org/pipermail/lede-commits/2016-November/001266.html

Showing tasks 1 - 3 of 3 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing