[OpenWrt-Devel] Bumping net/wireless it s buggy ! 5.3-rc4-1 => 5.3 ( rc9) ?

Hauke Mehrtens hauke at hauke-m.de
Mon Sep 16 16:30:53 EDT 2019


Hi Sven,

On 9/16/19 8:10 PM, sven falempin wrote:
> Dear openWRT gurus,
> 
> the patch : https://github.com/torvalds/linux/commit/b67fd72e84a88cae64cea8ab47ccdaab3bb3094d#diff-35454f3f0395271a0e34581e160bea5f
> 
> Is missing from my build :
> ./build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-ipq40xx_generic/backports-5.3-rc4-1
> 
> # cat  /etc/openwrt_release
> DISTRIB_ID='OpenWrt'
> DISTRIB_RELEASE='SNAPSHOT'
> DISTRIB_REVISION='r10985-4364dd244c'
> DISTRIB_TARGET='ipq40xx/generic'
> DISTRIB_ARCH='arm_cortex-a7_neon-vfpv4'
> DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r10985-4364dd244c'
> DISTRIB_TAINTS='no-all busybox'
> 
> I tried to catch up the last commits, but it breaks my release.
> Moreover, util.c exploded ( trace below)
> 
> I do not know where backports-5.3-rc4-1 is inserted in linux-ipq, so I
> cannot check if it was updated on your side with my missing commit to
> be current.

The Package Makefile for backports is located here:
package/kernel/mac80211/Makefile

We backported some patches from more recent version, but the one you
linked is missing as far as I know. Please send a patch if you need it
so we can add it.

> Moreover I am not sure if this bug should be reported upstream on
> linux ASM or some nl80211 mailing list.

I think I also saw this once or twice, please report this upstream. Are
you using ath10k-ct driver which is still based on Linux 4.19 or do you
use the normal ath10k driver?

> Would it be possible to backport 5.3 that was release 22 hours ago
> over the 4.19 ? how to test it ? ( IE where is this backport copied /
> used )

My plan is to update the wireless subsystem to the one from Linux 5.4 in
about 4 weeks in OpenWrt master. Kernel 5.4 should be a LTS kernel so we
can follow that one and get security and other updates for the next few
years. OpenWrt 19.07 will stay at the wireless subsystem of Linux 4.19
and will get updated to the most recent 4.19 stable version every few
months.

Hauke

> 
> Please advise.
> 
> 
> # [ 6872.302513] ------------[ cut here ]------------
> [ 6872.302926] WARNING: CPU: 0 PID: 0 at
> backports-5.3-rc4-1/net/wireless/util.c:1171
> cfg80211_calculate_bitrate+0x1d8/0x24c [cfg80211]
> [ 6872.306319] invalid rate bw=4, mcs=15, nss=4
> [ 6872.318171] Modules linked in: pppoe ppp_async iptable_nat
> ipt_MASQUERADE ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack
> xt_REDIRECT xt_FLOWOFFLOAD pppox ppp_generic nf_nat_ipv4 nf_nat
> nf_flow_table_hw nf_flow_table nf_conntrack_rtcache
> nf_conntrack_netlink nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time
> xt_tcpudp xt_multiport xt_mark
> xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4
> nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle
> iptable_filter ip_tables hwmon crc_ccitt compat xt_set ip_set_list_set
> ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet
> ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac
> ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport
> ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port
> ip_set_bitmap_ipmac ip_set_bitmap_ip
> [ 6872.370738]  ip_set nfnetlink nf_log_ipv6 nf_log_common
> ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
> nf_reject_ipv6 ip_tunnel tun vxlan udp_tunnel ip6_udp_tunnel leds_gpio
> xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom gpio_button_hotplug
> [ 6872.393242] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W
>   4.19.69 #0
> [ 6872.415448] Hardware name: Generic DT based system
> [ 6872.422962] [<c030e2c4>] (unwind_backtrace) from [<c030ad20>]
> (show_stack+0x10/0x14)
> [ 6872.427552] [<c030ad20>] (show_stack) from [<c0782d50>]
> (dump_stack+0x88/0x9c)
> [ 6872.435646] [<c0782d50>] (dump_stack) from [<c031b898>] (__warn+0xd4/0xf0)
> [ 6872.442671] [<c031b898>] (__warn) from [<c031b8ec>]
> (warn_slowpath_fmt+0x38/0x48)
> [ 6872.450470] [<c031b8ec>] (warn_slowpath_fmt) from [<bf235fbc>]
> (cfg80211_calculate_bitrate+0x1d8/0x24c [cfg80211])
> [ 6872.459339] [<bf235fbc>] (cfg80211_calculate_bitrate [cfg80211])
> from [<bf2d58e8>] (ieee80211s_update_metric+0x78/0x9c [mac80211])
> [ 6872.469580] [<bf2d58e8>] (ieee80211s_update_metric [mac80211]) from
> [<bf288954>] (ieee80211_tx_monitor+0x768/0xb4c [mac80211])
> [ 6872.481163] [<bf288954>] (ieee80211_tx_monitor [mac80211]) from
> [<bf288dc0>] (ieee80211_tx_status+0x88/0x90 [mac80211])
> [ 6872.492320] [<bf288dc0>] (ieee80211_tx_status [mac80211]) from
> [<bf3cd6e4>] (ath10k_txrx_tx_unref+0x540/0x58c [ath10k_core])
> [ 6872.502657] [<bf3cd6e4>] (ath10k_txrx_tx_unref [ath10k_core]) from
> [<bf3c6dd0>] (ath10k_htt_t2h_msg_handler+0x610/0x1fb8 [ath10k_core])
> [ 6872.513377] [<bf3c6dd0>] (ath10k_htt_t2h_msg_handler [ath10k_core])
> from [<bf417fb4>] (ath10k_pci_htt_rx_cb+0x1c8/0x218 [ath10k_pci])
> [ 6872.525404] [<bf417fb4>] (ath10k_pci_htt_rx_cb [ath10k_pci]) from
> [<bf3e3bb8>] (ath10k_ce_per_engine_service+0x80/0xd8 [ath10k_core])
> [ 6872.537968] [<bf3e3bb8>] (ath10k_ce_per_engine_service
> [ath10k_core]) from [<bf3e3c7c>]
> (ath10k_ce_per_engine_service_any+0x6c/0x98 [ath10k_core])
> [ 6872.549388] [<bf3e3c7c>] (ath10k_ce_per_engine_service_any
> [ath10k_core]) from [<bf419cac>] (ath10k_pci_napi_poll+0x64/0x100
> [ath10k_pci])
> [ 6872.561741] [<bf419cac>] (ath10k_pci_napi_poll [ath10k_pci]) from
> [<c067f978>] (net_rx_action+0x138/0x2fc)
> [ 6872.574009] [<c067f978>] (net_rx_action) from [<c03021c8>]
> (__do_softirq+0xe0/0x268)
> [ 6872.583626] [<c03021c8>] (__do_softirq) from [<c031f9e4>]
> (irq_exit+0x9c/0xfc)
> [ 6872.591537] [<c031f9e4>] (irq_exit) from [<c035f130>]
> (__handle_domain_irq+0x9c/0xac)
> [ 6872.598579] [<c035f130>] (__handle_domain_irq) from [<c0537378>]
> (gic_handle_irq+0x5c/0x90)
> [ 6872.606451] [<c0537378>] (gic_handle_irq) from [<c0301a0c>]
> (__irq_svc+0x6c/0x90)
> [ 6872.614508] Exception stack(0xc0b01f30 to 0xc0b01f78)
> [ 6872.622180] 1f20:                                     00000000
> 01a07230 dfb352c4 c0313a40
> [ 6872.627274] 1f40: ffffe000 c0b04c6c 00000001 c0b04cac c0a3bda8
> 00000000 00000000 00000000
> [ 6872.635411] 1f60: 1f0fb000 c0b01f80 c03082f4 c03082f8 60000013 ffffffff
> [ 6872.643622] [<c0301a0c>] (__irq_svc) from [<c03082f8>]
> (arch_cpu_idle+0x34/0x38)
> [ 6872.650074] [<c03082f8>] (arch_cpu_idle) from [<c0341ad4>]
> (do_idle+0xf8/0x208)
> [ 6872.657704] [<c0341ad4>] (do_idle) from [<c0341e40>]
> (cpu_startup_entry+0x18/0x20)
> [ 6872.664727] [<c0341e40>] (cpu_startup_entry) from [<c0a00d1c>]
> (start_kernel+0x428/0x438)
> [ 6872.672406] ---[ end trace 0eec939763ac67c4 ]---
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190916/fdf22936/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list