OpenWrt/LEDE Project

Welcome to the OpenWrt/LEDE Project bug reporting and issue tracking system

Problems to be reported here are for the OpenWrt/LEDE Project targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt/LEDE Project website. Problems related to LuCI or OpenWrt packages need to be reported in their repositories:

Notifications of all submissions and task changes are sent to lede-bugs@infradead.org.

OpenedIDCategory  ascTask TypePrioritySeveritySummaryReported InStatus
29.03.20192209Base systemBug ReportVery LowHighInconsistent behaviour of HOST_CONFIGURE_CMD vs CONFIGU...TrunkUnconfirmed Task Description

Target checks via:

if [ -x $(CONFIGURE_CMD) ]; then

yet host does:

if [ -x configure ]; then

So trying to use this, will fail for the target, but not for the host.

CONFIGURE_CMD = ./buildtools/bin/waf configure
HOST_CONFIGURE_CMD = ./buildtools/bin/waf configure

This results in

./buildtools/bin/waf: binary operator expected

for the target.

The check is flawed in both cases, the host does not check for the custom configure command and the target is doing a file check only, so you have to ensure the actual “configure” argument is first in the CONFIGURE_ARGS.

CONFIGURE_ARGS:=configure $(CONFIGURE_ARGS)

This is confusing and both cases should work similar and check for CONFIGURE_CMD and maybe we should add a CONFIGURE_CMD_ARGS variable, that can hold custom arguments.

03.04.20192220Base systemBug ReportVery LowHighath10k NEW kernel thread crash in CT htt firmware - ath...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9754-fbe2e7d15e
Trunk Pulled April 1st.
Archer C7v2

Unclear how to reproduce, just happens.

Supplying init logs and kernel trace logs:

[ 31.099086] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 31.108127] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 31.116173] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 31.389333] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[ 31.400044] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.491602] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[ 31.500774] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 31.511656] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.687486] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 31.696848] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 31.707378] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.949406] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[ 31.960559] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.095183] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[ 32.104800] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[ 32.115944] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.291783] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[ 32.301402] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 32.312279] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.487841] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 32.497209] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[ 32.508092] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.684408] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[ 32.693770] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[ 32.704646] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.879819] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[ 32.889172] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[ 32.900050] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.076143] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[ 33.089091] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 33.098473] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 33.110860] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-fW-022-883e26a8 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 crc32 7a67ce60
[ 33.219987] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 33.230599] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.382851] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 33.392104] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 34.332647] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 34.350100] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [ 34.356422] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [ 34.364543] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [ 34.432688] 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
[ 34.445504] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0×10000000 [ 34.579131] ath: EEPROM regdomain: 0×0 [ 34.579137] ath: EEPROM indicates default country code should be used
[ 34.579140] ath: doing EEPROM country→regdmn map search
[ 34.579152] ath: country maps to regdmn code: 0x3a
[ 34.579158] ath: Country alpha2 being used: US
[ 34.579161] ath: Regpair used: 0x3a
[ 34.652355] ath: EEPROM regdomain: 0×0 [ 34.652362] ath: EEPROM indicates default country code should be used
[ 34.652365] ath: doing EEPROM country→regdmn map search
[ 34.652378] ath: country maps to regdmn code: 0x3a
[ 34.652383] ath: Country alpha2 being used: US
[ 34.652386] ath: Regpair used: 0x3a
[ 34.669837] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 34.671315] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12 50893 seconds later: [50893.910674] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50893.961879] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.015322] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.064267] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.115474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.166670] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.217864] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.269072] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.320275] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.371474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.422686] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.473885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.525096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.576362] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.627495] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.678696] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.732123] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.781096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.834596] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.883493] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.934705] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.985904] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50896.978515] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[50896.986336] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50897.033922] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50900.018475] ath10k_pci 0000:00:00.0: wmi command 40859 timeout, restarting hardware
[50900.026455] ath10k_pci 0000:00:00.0: failed to send wmi nop: -11
[50900.032989] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[50900.048476] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 87385a00 vdev: 0 addr: 50:f5:da:36:35:2c
[50900.059639] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85914a00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[50900.070766] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86c43400 vdev: 1 addr: 32:b5:c2:96:62:fd
[50900.081883] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86e1f000 vdev: 0 addr: 30:b5:c2:96:62:fd
[50900.093145] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50900.355684] ieee80211 phy0: Hardware restart was requested
[50900.361749] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -143
[50900.369442] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[50901.941908] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[50901.959432] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [50901.965928] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [50901.974101] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [50902.043511] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[50902.058893] ath10k_pci 0000:00:00.0: set-coverage-class, phyclk: 88 value: 0
[50902.079716] ath10k_pci 0000:00:00.0: device successfully recovered
[50902.086147] ath10k_pci 0000:00:00.0: Invalid state: 3 in ath10k_htt_tx_32, warning will not be repeated.
[50902.086152] ————[ cut here ]———— [50902.086232] WARNING: CPU: 0 PID: 4533 at /home/vagrant/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2019-03-25-2e917efb/ath10k-4.19/htt_tx.c:1253 ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086235] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic 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_TRACE xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[50902.086394] sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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 ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[50902.086515] CPU: 0 PID: 4533 Comm: kworker/0:1 Not tainted 4.14.109 #0
[50902.086640] Workqueue: events_freezable ieee80211_alloc_hw_nm [mac80211]
[50902.086644] Stack : 00000009 000004e5 87d58468 800b2878 804aeb00 87c07cb4 85da4ddc 80501947
[50902.086665] 804aac3c 87c07c8c 80500000 800b36d4 87d58468 00000000 87c07c68 dabdb416
[50902.086684] 00000000 00000000 00000000 00000000 00000004 8040f32c 00000001 68775f6e
[50902.086702] 735f6672 80500000 000001be 65657a61 00000000 00000000 87154274 87124968
[50902.086721] 00000009 000004e5 87d58468 8723cbf0 00000000 00000000 00000000 80650000
[50902.086739] ...
[50902.086745] Call Trace:
[50902.086767] [<8006a90c>] show_stack+0×58/0×100 [50902.086791] [<80084fa0>]
warn+0xe4/0×118 [50902.086802] [<80085064>] warn_slowpath_null+0x1c/0×28 [50902.086866] [<87124968>] ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086896] [<87103d04>] 0x87103d04
[50902.086913] —[ end trace db720eb818c982c2 ]— [50902.086925] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086938] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086945] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.086967] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086977] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086984] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.097084] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
...repeats...
[55789.947757] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55789.998968] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
55792.860153] ath10k_pci 0000:00:00.0: wmi command 36893 timeout, restarting hardware
[55792.867970] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55792.875741] ath10k_pci 0000:00:00.0: failed to delete peer b0:19:c6:64:f9:69 for vdev 0: -11
[55792.884453] ath10k_pci 0000:00:00.0: found sta peer b0:19:c6:64:f9:69 (ptr 86e1f600 id 33) entry on vdev 0 after it was supposedly removed
[55792.897563] ————[ cut here ]———— [55792.902662] WARNING: CPU: 0 PID: 2420 at backports-4.19.23-1/net/mac80211/sta_info.c:1004 sta_set_sinfo+0xbac/0xc58 [mac80211]
[55792.914415] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic 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_TRACE xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[55792.986359] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55792.986485] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.003634] sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport 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 ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[55793.062374] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.070938] CPU: 0 PID: 2420 Comm: hostapd Tainted: G W 4.14.109 #0
[55793.078506] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.086883] Stack : 80520000 804d84a4 00000000 00000000 804aeb00 85da1b04 87dd02dc 80501947
[55793.095767] 804aacd0 00000974 80653670 000003ec 85da1cb4 00000001 85da1ab8 b78f71e9
[55793.104653] 00000000 00000000 80650000 00012a38 00000000 00000000 00000008 00000000
[55793.114085] 000002ce 861a1102 000002cc 00000000 80000000 00000000 87064a04 87007c2c
[55793.123006] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.131158] 00000009 000003ec 85da1cb4 87ff8800 00000002 802697c4 00000000 80650000
[55793.139658] ...
[55793.142953] Call Trace:
[55793.145468] [<8006a90c>] show_stack+0×58/0×100 [55793.149997] [<80084fa0>] warn+0xe4/0×118 [55793.154512] [<80085064>] warn_slowpath_null+0x1c/0×28 [55793.160292] [<87007c2c>] sta_set_sinfo+0xbac/0xc58 [mac80211]
[55793.166181] [<87007db8>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[55793.173452] [<8778f17c>] cfg80211_check_station_change+0x1be0/0x2c54 [cfg80211]
[55793.180959] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.188700] —[ end trace db720eb818c982c3 ]— [55793.224635] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.275831] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...
[55796.220118] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[55796.245481] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55796.296663] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55796.317807] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 8561b600 vdev: 0 addr: 50:f5:da:36:35:2c
[55796.328987] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85322c00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[55796.340121] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb200 vdev: 1 addr: 32:b5:c2:96:62:fd
[55796.351253] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb000 vdev: 0 addr: 30:b5:c2:96:62:fd
[55796.860635] irq 15: nobody cared (try booting with the “irqpoll” option)
[55796.867447] CPU: 0 PID: 15620 Comm: kworker/u2:0 Tainted: G W 4.14.109 #0
[55796.875540] Workqueue: ath10k_wq ath10k_core_create [ath10k_core]
[55796.881718] Stack : ffffffff 00000003 80653ae0 800b2878 804aeb00 87c07cc4 86e123dc 80501947
[55796.890201] 804aac3c 87c07c9c 80500000 800b36d4 80653ae0 00000000 87c07c78 86c8eb6e
[55796.898683] 00000000 00000000 00000000 000151c0 00000000 00000000 00000008 00000000
[55796.907167] 00000323 80500000 00000322 00000000 00000000 8050b6a4 0000000f 00011000
[55796.915650] ffffffff 00000003 80653ae0 80506ae8 00000000 802697c4 00000000 80650000
[55796.924134] ...
[55796.926615] Call Trace:
[55796.929112] [<8006a90c>] show_stack+0×58/0×100 [55796.933620] [<800b6f6c>]
report_bad_irq.isra.0+0×54/0xf0
[55796.939179] [<800b72f4>] note_interrupt+0×284/0×330 [55796.944142] [<800b488c>] handle_irq_event_percpu+0x4c/0×64 [55796.949706] [<800b48e0>] handle_irq_event+0x3c/0x6c
[55796.954650] [<800b7ca4>] handle_level_irq+0×110/0×154 [55796.959772] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.964903] [<802d4750>] ar724x_pci_irq_handler+0xa4/0xdc
[55796.970376] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.975502] [<80219354>] ath79_intc_irq_handler+0×94/0xec
[55796.980981] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.986117] [<804144d4>] do_IRQ+0x1c/0x2c
[55796.990185] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55796.995306] [<800658d8>] handle_int+0×138/0×144 [55796.999900] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55797.005018] handlers:
[55797.007333] [<877134a0>] ath10k_pci_irq_msi_fw_mask [ath10k_pci]
[55797.013420] Disabling IRQ #15
[55797.285000] ieee80211 phy0: Hardware restart was requested
[55800.300248] ath10k_pci 0000:00:00.0: bss channel survey timed out
[55801.740207] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[55801.850097] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [55801.856213] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [55801.864353] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [55802.950176] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[55808.120391] ath10k_pci 0000:00:00.0: device successfully recovered
[55808.126726] net_ratelimit: 79 callbacks suppressed
[55808.126736] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126748] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126756] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.126771] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126780] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126787] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.560031] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.567607] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.575152] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.670084] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.677616] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.790161] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.797700] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.890070] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.897614] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.000079] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.007588] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.110035] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.117559] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.125363] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.220094] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.227789] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.330097] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.337638] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.440112] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.447645] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.550389] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.557931] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.660388] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon


06.04.20192226Base systemBug ReportVery LowHighzyxel P-2812HNU-F1 initramfs has been broken with LZMA:...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

zyxel P-2812HNU-F1

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

since r47026 up to the latest trunk

- Steps to reproduce
boot with serial connection stop autoboot, load initramfs, boot from ram get error

- Reason it is important

initramfs is needed for a first install.

- Posible solution
include/configs/p2812hnufx.h
probably needs:
#define CONFIG_SYS_BOOTM_LEN 0×1000000 /* 16 MB */

like in this commit for a similar modem
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=ea12a80276c0aca680d67515e7f651e2cef3f3ee

- error logs
“recent” trunk snapshot(I threw away the last compiled version for it still gave the same error)

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2013.10-openwrt5 (Nov 18 2014 - 19:54:01) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
P-2812HNU-Fx # tftpboot openwrt-lantiq-xrx200-zyxel_p-2812hnu-f1-initramfs-kernel.bin
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-zyxel_p-2812hnu-f1-initramfs-kernel.bin'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ######################################
done
Bytes transferred = 6183929 (5e5bf9 hex)
P-2812HNU-Fx # bootm $fileaddr
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.103
   Created:      2019-02-27  11:12:48 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    6183865 Bytes = 5.9 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 7 - must RESET b
ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)

last known working version

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2013.10-openwrt5 (Nov 18 2014 - 19:54:01)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2013.10-openwrt5 (Nov 18 2014 - 19:54:01) P-2812HNU-Fx

Board: ZyXEL P-2812HNU-Fx
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  0
P-2812HNU-Fx # tftpboot openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs
ltq_phy: addr 0, link 0, speed 10, duplex 0
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x81000000
Loading: T T T T T T T T T T
Retry count exceeded; starting again
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 0, speed 10, duplex 0
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x81000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##########
         1.6 MiB/s
done
Bytes transferred = 4707233 (47d3a1 hex)
P-2812HNU-Fx # bootm $fileaddr
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-3.18.11
   Created:      2015-04-25   1:54:58 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    4707169 Bytes = 4.5 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.18.11 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44945) ) #2 Sat Apr 25 03:54:35 CEST 2015
[    0.000000] SoC: VR9 rev 1.1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[    0.000000] MIPS: machine is P2812HNUF1 - ZyXEL P-2812HNU-F1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x07ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x07ffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00021000
[    0.000000] Readback ErrCtl register=00021000
[    0.000000] Memory: 121772K/131072K available (3506K kernel code, 149K rwdata, 1036K rodata, 3160K init, 206K bss, 9300K reserved)
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 500MHz
[    0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[    0.032000] pid_max: default: 32768 minimum: 301
[    0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.044000] pinctrl core: initialized pinctrl subsystem
[    0.048000] NET: Registered protocol family 16
[    0.056000] pinctrl-xway 1e100b10.pinmux: Init done
[    0.060000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[    0.164000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[    0.168000] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[    0.172000]  MEM 0x0000000018000000..0x0000000019ffffff
[    0.176000]   IO 0x000000001ae00000..0x000000001affffff
[    0.188000] gpio-stp-xway 1e100bb0.stp: Init done
[    0.192000] usbcore: registered new interface driver usbfs
[    0.196000] usbcore: registered new interface driver hub
[    0.200000] usbcore: registered new device driver usb
[    0.204000] PCI host bridge to bus 0000:00
[    0.208000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[    0.212000] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    0.216000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.220000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[    0.224000] Switched to clocksource MIPS
[    0.228000] NET: Registered protocol family 2
[    0.232000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.248000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.252000] TCP: reno registered
[    0.256000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.268000] NET: Registered protocol family 1
[    5.124000] gptu: totally 6 16-bit timers/counters
[    5.132000] gptu: misc_register on minor 63
[    5.136000] gptu: succeeded to request irq 126
[    5.140000] gptu: succeeded to request irq 127
[    5.144000] gptu: succeeded to request irq 128
[    5.148000] gptu: succeeded to request irq 129
[    5.152000] gptu: succeeded to request irq 130
[    5.156000] gptu: succeeded to request irq 131
[    5.164000] ralink,eeprom ralink_eep: using RT3062.eeprom as eeprom
[    5.168000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a1x.bin
[    5.176000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 6A60000
[    5.184000] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 6A60000
[    5.288000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    5.296000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.304000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.312000] msgmni has been set to 237
[    5.316000] io scheduler noop registered
[    5.320000] io scheduler deadline registered (default)
[    5.328000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[    5.336000] console [ttyLTQ0] enabled
[    5.336000] console [ttyLTQ0] enabled
[    5.344000] bootconsole [early0] disabled
[    5.344000] bootconsole [early0] disabled
[    5.352000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    5.352000] nand: Samsung NAND 128MiB 3,3V 8-bit
[    5.352000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    5.368000] Scanning device for bad blocks
[    5.424000] Bad eraseblock 591 at 0x0000049e0000
[    5.428000] Bad eraseblock 616 at 0x000004d00000
[    5.464000] 4 ofpart partitions found on MTD device 10000000.nand-parts
[    5.468000] Creating 4 MTD partitions on "10000000.nand-parts":
[    5.476000] 0x000000000000-0x000000040000 : "uboot"
[    5.480000] 0x000000040000-0x000000060000 : "uboot-env"
[    5.488000] 0x000000060000-0x000000260000 : "kernel"
[    5.492000] 0x000000260000-0x000008000000 : "ubi"
[    5.600000] libphy: lantiq,xrx200-mdio: probed
[    5.620000] net-xrx200: invalid MAC, using random
[    5.688000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    5.756000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    5.824000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    5.892000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    5.960000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    5.968000] wdt 1f8803f0.watchdog: Init done
[    5.972000] TCP: cubic registered
[    5.976000] NET: Registered protocol family 17
[    5.980000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    5.992000] Bridge firewalling registered
[    5.996000] 8021q: 802.1Q VLAN Support v1.8
[    6.004000] UBI error: ubi_auto_attach: no valid UBI magic found [    6.016000] Freeing unused kernel memory: 3160K (8049a000 - 807b0000)
[    6.036000] init: failed to symlink /tmp -> /var
[    6.040000] init: Console is alive
[    6.048000] init: - watchdog -
[    6.076000] dwc2 1e101000.ifxhcd: requested GPIO 489
[    6.936000] dwc2 1e101000.ifxhcd: DWC OTG Controller
[    6.936000] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[    6.944000] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[    6.952000] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[    6.952000] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[    6.964000] hub 1-0:1.0: USB hub found
[    6.968000] hub 1-0:1.0: 1 port detected
[    7.832000] dwc2 1e106000.ifxhcd: DWC OTG Controller
[    7.832000] dwc2 1e106000.ifxhcd: new USB bus registered, assigned bus number 2
[    7.840000] dwc2 1e106000.ifxhcd: irq 91, io mem 0x00000000
[    7.848000] dwc2 1e106000.ifxhcd: Hardware does not support descriptor DMA mode -
[    7.848000] dwc2 1e106000.ifxhcd: falling back to buffer DMA mode.
[    7.860000] hub 2-0:1.0: USB hub found
[    7.864000] hub 2-0:1.0: 1 port detected
[    8.048000] init: - preinit -
[    8.160000] random: procd urandom read with 31 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.688000] eth0: port 0 got link
[   11.280000] procd: - early -
[   11.280000] procd: - watchdog -
[   11.852000] procd: - ubus -
[   12.864000] procd: - init -
Please press Enter to activate this console.
[   13.884000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH

[   13.908000] NET: Registered protocol family 10
[   13.916000] NET: Registered protocol family 8
[   13.920000] NET: Registered protocol family 20
[   13.932000] PPP generic driver version 2.4.2
[   13.940000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   13.964000] MEI CPE Driver, Version 1.2.0

[   13.964000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###


Lantiq CPE API Driver version: DSL CPE API V4.11.4
[   13.988000]
[   13.988000] Predefined debug level: 2
[   14.000000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[   14.004000] Backport generated by backports.git backports-20150129-0-gdd4a670
[   14.016000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.028000] Infineon Technologies DEU driver version 2.0.0
[   14.032000] IFX DEU DES initialized (multiblock).
[   14.036000] IFX DEU AES initialized (multiblock).
[   14.040000] IFX DEU ARC4 initialized (multiblock).
[   14.044000] IFX DEU SHA1 initialized.
[   14.048000] IFX DEU MD5 initialized.
[   14.052000] IFX DEU SHA1_HMAC initialized.
[   14.056000] IFX DEU MD5_HMAC initialized.
[   14.068000] nf_conntrack version 0.5.0 (1952 buckets, 7808 max)
[   14.092000] NET: Registered protocol family 24
[   14.116000] xt_time: kernel timezone is -0000
[   14.140000] cfg80211: Calling CRDA to update world regulatory domain
[   14.164000] cfg80211: World regulatory domain updated:
[   14.168000] cfg80211:  DFS Master region: unset
[   14.172000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   14.180000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.188000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   14.196000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   14.204000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.212000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   14.220000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   14.232000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   14.240000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   14.328000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   14.332000] rt2800pci 0000:00:0e.0: failed to load eeprom property
[   14.336000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   14.348000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   14.356000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
ioctl ATM_SETESI: No such device
[   20.824000] PTM 1.0.27    PTM (E1) firmware version 0.30
[   20.828000] ifxmips_ptm: PTM init succeed
[   22.760000] device eth0.1 entered promiscuous mode
[   22.764000] device eth0 entered promiscuous mode
[   22.776000] br-lan: port 1(eth0.1) entered forwarding state
[   22.780000] br-lan: port 1(eth0.1) entered forwarding state
[   24.784000] br-lan: port 1(eth0.1) entered forwarding state
[   31.808000] random: nonblocking pool is initialized



BusyBox v1.23.2 (2015-04-25 03:40:56 CEST) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 CHAOS CALMER (Bleeding Edge, r45578)
 -----------------------------------------------------
  * 1 1/2 oz Gin            Shake with a glassful
  * 1/4 oz Triple Sec       of broken ice and pour
  * 3/4 oz Lime Juice       unstrained into a goblet.
  * 1 1/2 oz Orange Juice
  * 1 tsp. Grenadine Syrup
 -----------------------------------------------------
root@OpenWrt:/#
17.04.20192240Base systemBug ReportVery LowHighLantiq: AVM FRITZ!Box 7320 only one ETH port is workingAllUnconfirmed Task Description

Router has 2 ethernet ports, but the only first one is working.

22.06.20192332Base systemBug ReportVery LowHighCustom DNS servers settings not work on WAN6 interface openwrt-18.06Waiting on reporter Task Description

Supply the following if possible:
- Device problem occurs on
x86-64 virtual machine hosted by ESXI6.7u2

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.2 r7676-cddd7b4c77 / LuCI openwrt-18.06 branch (git-19.170.32094-4d6d8bc)

- Steps to reproduce
all steps performed on LUCI
1. Set WAN interface to ignore peer DNS to use custom DNS 127.0.0.1
2. Set WAN6 interface to ignore peer DNS to use custom DNS ::1
3. Start WAN (PPPOE) and WAN6 (DNCPv6 client)

issue: Check effective DNS, custom WAN6 DNS setting is ignored

/tmp/resolv.conf.auto
# Interface lan
nameserver 127.0.0.1
# Interface wan
nameserver 127.0.0.1
# Interface wan_6
nameserver 240e:58:c000:1600:180:168:255:118
nameserver 240e:58:c000:1000:116:228:111:18


16.07.20192390Base systemBug ReportVery LowHighIssues with PowerLAN devicesTrunkUnconfirmed Task Description

Since switching my WNDR3700v1 from Netgear’s firmware to OpenWrt 18.06.2 r7676-cddd7b4c77, I am experiencing the following issues:

1) PowerLAN adapters and network devices connected through it are only seen by the router if the first PowerLAN adapter is connected through a crossover cable. With the manufacturer’s firmware, it was possible to connect the adapter by standard ethernet cable.

2) A printer connected through PowerLAN does not get assigned an IP4 network address, even though I have defined a static address for it in the DHCP section of OpenWrt; (it does get an IPv6 address though). The missing IP4 network address prevents the scanner part of the printer from sending scans to a network folder on my NAS connected through ethernet cable to the router. This issue also did not exist with the original Netgear firmware.

 


24.08.20192462Base systemBug ReportVery LowHighwrt32x WIFI was breaking on 2 sec I did not get full co...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on wrt32x
- Software versions of OpenWrt 19.07

I tested these images on wrt32x and wrt3600, but unfortunately I gave up there was a problem on wrt32x WIFI was breaking the computer and in the relayd wrt3600 → wrt32x the maximum speed on the bridge is 10Mb. I do not observe this for version 18.06 (images downloaded from eko.one.pl). And after disconnection I did not get full connection speed of 866.7 Mb / s to the router. Although I will say that options 19.07 in Lucia look encouraging.

15.09.20192496Base systemBug ReportVery LowHighWPA3-SAE can't be enabled on mt76 deviceTrunkUnconfirmed Task Description

Device: Netgear EX2700

Version: OpenWrt 19.07-SNAPSHOT r10532-cf3b50377e / LuCI openwrt-19.07 branch (git-19.256.45060-8a2f1c7)

Steps to reproduce: Enable WPA3 or WPA3-Mixed Mode via LuCI.

Result:
Wifi won’t come up. Works fine with WPA2.

Sun Sep 15 20:08:18 2019 kern.info kernel: [ 1638.740004] device wlan0 left promiscuous mode
Sun Sep 15 20:08:18 2019 kern.info kernel: [ 1638.740123] br-lan: port 2(wlan0) entered disabled state
Sun Sep 15 20:08:18 2019 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sun Sep 15 20:08:18 2019 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Sep 15 20:08:18 2019 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:18 2019 daemon.notice netifd: Network device 'wlan0-1' link is down
Sun Sep 15 20:08:19 2019 kern.info kernel: [ 1639.020561] br-guest: port 2(wlan0-1) entered disabled state
Sun Sep 15 20:08:19 2019 kern.info kernel: [ 1639.023338] device wlan0-1 left promiscuous mode
Sun Sep 15 20:08:19 2019 kern.info kernel: [ 1639.023357] br-guest: port 2(wlan0-1) entered disabled state
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-1 from bridge br-guest: No such device
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Sep 15 20:08:19 2019 daemon.notice hostapd: nl80211: Failed to remove interface wlan0 from bridge br-lan: Invalid argument
Sun Sep 15 20:08:19 2019 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Sun Sep 15 20:08:19 2019 daemon.notice netifd: radio0 (1867): command failed: Not supported (-122)
Sun Sep 15 20:08:19 2019 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Sun Sep 15 20:08:19 2019 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Sep 15 20:08:21 2019 kern.info kernel: [ 1639.912716] ieee80211 phy0: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration start
Sun Sep 15 20:08:21 2019 kern.info kernel: [ 1639.913245] ieee80211 phy0: rt2800_rf_self_txdc_cal: Info - RF Tx self calibration end
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.824164] ieee80211 phy0: rt2800_loft_iq_calibration: Info - LOFT Calibration Done!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.828164] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Start!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.842569] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Done! CH = 0, (gain= 0, phase=3f)
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.843488] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Start!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.857895] ieee80211 phy0: rt2800_iq_search: Info - IQCalibration Done! CH = 1, (gain= 0, phase= 2)
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.857931] ieee80211 phy0: rt2800_loft_iq_calibration: Info - TX IQ Calibration Done!
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.871433] ieee80211 phy0: rt2800_rxiq_calibration: Info - RXIQ G_imb=1, Ph_rx=-6
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.881694] ieee80211 phy0: rt2800_rxiq_calibration: Info - RXIQ G_imb=0, Ph_rx=2
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.888849] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.894441] br-lan: port 2(wlan0) entered blocking state
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.894456] br-lan: port 2(wlan0) entered disabled state
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.894799] device wlan0 entered promiscuous mode
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Sep 15 20:08:22 2019 daemon.err hostapd: Using interface wlan0 with hwaddr XX:XX:XX:XX:XX:XX and ssid "HOME"
Sun Sep 15 20:08:22 2019 daemon.err hostapd: Interface initialization failed
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.994731] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.994904] br-lan: port 2(wlan0) entered blocking state
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1641.994914] br-lan: port 2(wlan0) entered forwarding state
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Sep 15 20:08:22 2019 daemon.err hostapd: wlan0: Unable to setup interface.
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:22 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Sep 15 20:08:22 2019 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1642.002616] device wlan0 left promiscuous mode
Sun Sep 15 20:08:22 2019 kern.info kernel: [ 1642.002723] br-lan: port 2(wlan0) entered disabled state
Sun Sep 15 20:08:22 2019 daemon.notice hostapd: ELOOP: remaining socket: sock=22 eloop_data=0x77d76c60 user_data=0 handler=0x46a4f5
Sun Sep 15 20:08:22 2019 daemon.notice netifd: radio0 (1867): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 1120 path ()
Sun Sep 15 20:08:22 2019 daemon.notice netifd: radio0 (1867): Device setup failed: HOSTAPD_START_FAILED


11.11.20192591Base systemBug ReportVery LowHighInternet drop out on LAN wget YouTube on Fritz!Box 4040TrunkUnconfirmed Task Description

Recently I’ve upgraded from a Buffalo WZR-HP-AG300H to a Fritz!Box 4040. My download speed doubled on my 400Mbit cable connection but since then I do experience as well a lot of instabilities where my previous setup was 100% stable. The OpenWrt router runs behind a DS-lite cable router (Fritz!Box 6591).

Just by watching a YouTube video (e.g. music) or by downloading with wget some files (e.g. Linux Iso images) via the LAN interface, OpenWrt on the Fritz!Box 4040 will randomly drop the internet connection completely. It disconnects the router, no ping with IPv4 or IPv6 is possible then anymore from my machine. Strangely I can access the web interface only via Wifi to reboot the router. The lost connection doesn’t come back after some time, the router requires a reboot.

If I avoid YouTube/wget, the OpenWrt router runs quite well when just doing normal internet browsing and running a web server behind the OpenWrt router.

In the log files I do not see any special hint what might cause the drop outs. I’ve tested multiple different setups already, ordered a second Fritz!Box 4040 to exclude a hardware issue, tested with 2 different cable routers, did a factory reset, flashed the latest OpenWrt snapshot (plus added luci) and used the standard configs, nothing seems to help. I assume that it is related somehow to IPv6. There are other users with the Fritz!Box 4040 that do not experience these issues, but they use it only with IPv4. As I have DS-lite, I need to use IPv6 to avoid the 6to4 tunneling on the cable router.

- Fritz!Box 4040
- OpenWrt 18.06.4 + Dev Snapshot 2019-11-10
- IPv4 and IPv6 incl. Prefix delegation to LAN interface
- Watch YouTube videos or download files with wget

For reference, I did a post on the forum: https://forum.openwrt.org/t/fritz-box-4040-drops-out-internet-connection-if-watching-youtube-from-lan/46753

12.11.20192593Base systemBug ReportVery LowHighno AC wifi with ath10k on 19.07-rc1openwrt-19.07Waiting on reporter Task Description

- Archer C7, Netgear R7800
- 19.07-RC1 default
- install image, configure wifi, try to connect, in my case i’m getting 300Mbps rate, others report as low as up to 54 (legacy only)

 

R7800 report: https://forum.openwrt.org/t/openwrt-19-07-0-first-release-candidate/48040/33

Archer C7 v2 report: https://forum.openwrt.org/t/openwrt-19-07-rc1-archer-c7-v2-5g-wifi-died-after-trying-to-change-channels/48182/7

the situation is the same with intree 4.9.200 driver or any of the latest backports installed on client PC

30.11.20192643Base systemBug ReportVery LowHighEspressoBin: Internal error: synchronous parity or ECC ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)

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

11595-g5d2a900163

- Steps to reproduce

Boot and wait about an hour. Here are a series of kernel panics:

[ 4228.773060] Internal error: synchronous parity or ECC error: 86000018 [#1] SMP
[ 4228.777653] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ipt_MASQUERADE ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_FLOWOFFLOAD xt_CT 
nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt
_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptabl
e_mangle iptable_filter ipt_ECN ip_tables compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[ 4228.850958]  nf_reject_ipv6 tun gpio_button_hotplug
[ 4228.855992] Process kworker/1:2 (pid: 594, stack limit = 0x00000000a141aece)
[ 4228.863262] CPU: 1 PID: 594 Comm: kworker/1:2 Not tainted 4.19.85 #0
[ 4228.869776] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[ 4228.876450] Workqueue:            (null) (events)
[ 4228.881258] pstate: 80400085 (Nzcv daIf +PAN -UAO)
[ 4228.886204] pc : kthread_data+0x8/0x40
[ 4228.890035] lr : wq_worker_sleeping+0xc/0xb0
[ 4228.894410] sp : ffffff8009463d60
[ 4228.897819] x29: ffffff8009463d60 x28: 0000000000000000 
[ 4228.903281] x27: 0000000000000000 x26: ffffff80080b5318 
[ 4228.908746] x25: 0000000000000000 x24: ffffffc03e479a18 
[ 4228.914213] x23: ffffff8008868738 x22: ffffff800884e018 
[ 4228.919678] x21: ffffff8008853500 x20: ffffffc03e479500 
[ 4228.925146] x19: ffffffc03ffdd500 x18: 0000000000000000 
[ 4228.930609] x17: 0000000000000000 x16: 0000000000000000 
[ 4228.936076] x15: 0000000000000000 x14: 0000000000000000 
[ 4228.941541] x13: 0000000000000002 x12: 0000000000000001 
[ 4228.947006] x11: ffffffc03ffd94d0 x10: 00000000000007c0 
[ 4228.952472] x9 : ffffffc03e13d668 x8 : ffffff80088a9b08 
[ 4228.957937] x7 : 0000000000000000 x6 : 00000000050ebc0a 
[ 4228.963404] x5 : 0000000000000004 x4 : 0000000000000002 
[ 4228.968869] x3 : 00000000fffffff9 x2 : 0000000800000000 
[ 4228.974335] x1 : 0000000000000001 x0 : ffffffc03e479500 
[ 4228.979797] Call trace:
[ 4228.982331]  kthread_data+0x8/0x40
[ 4228.985813]  wq_worker_sleeping+0xc/0xb0
[ 4228.989859]  __schedule+0x140/0x570
[ 4228.993436]  schedule+0x58/0x80
[ 4228.996656]  worker_thread+0x370/0x468
[ 4229.000513]  kthread+0x110/0x120
[ 4229.003829]  ret_from_fork+0x10/0x1c
[ 4229.007521] Code: d65f03c0 d503201f a9be7bfd 910003fd (f9000bf3) 
[ 4229.013769] ---[ end trace 4f1be3f746ce5030 ]---
[ 4229.024169] Kernel panic - not syncing: Fatal exception
[ 4229.026728] SMP: stopping secondary CPUs
[ 4229.030757] Kernel Offset: disabled
[ 4229.034342] CPU features: 0x0,00002008
[ 4229.038186] Memory Limit: none
[ 4229.044024] Rebooting in 3 seconds..
[ 3676.038431] Internal error: synchronous parity or ECC error: 86000018 [#1] SMP
[ 3676.043028] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ipt_MASQUERADE ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_FLOWOFFLOAD xt_CT 
nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt
_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptabl
e_mangle iptable_filter ipt_ECN ip_tables compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[ 3676.116317]  nf_reject_ipv6 tun gpio_button_hotplug
[ 3676.121338] Process kworker/0:1 (pid: 41, stack limit = 0x000000008b9ea8ea)
[ 3676.128509] CPU: 0 PID: 41 Comm: kworker/0:1 Not tainted 4.19.85 #0
[ 3676.134953] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[ 3676.141596] Workqueue:            (null) (events)
[ 3676.146426] pstate: 60400085 (nZCv daIf +PAN -UAO)
[ 3676.151361] pc : update_cfs_group+0x0/0xb0
[ 3676.155565] lr : dequeue_task_fair+0x440/0x960
[ 3676.160130] sp : ffffff8008a23cf0
[ 3676.163535] x29: ffffff8008a23cf0 x28: ffffffc03ffcd500 
[ 3676.169001] x27: ffffffc0043a5e80 x26: ffffff80088523f0 
[ 3676.174466] x25: afb504000afb5041 x24: ffffff80088c85c0 
[ 3676.179932] x23: 00000357e4f6aec0 x22: ffffff800884e018 
[ 3676.185397] x21: 0000000000000009 x20: ffffffc0043a5f40 
[ 3676.190863] x19: ffffffc03ffcd580 x18: 0000000000000000 
[ 3676.196329] x17: 0000000000000000 x16: 0000000000000000 
[ 3676.201793] x15: 0000000000000000 x14: 0000000000000000 
[ 3676.207259] x13: 0000000000000000 x12: 0000000000000000 
[ 3676.212726] x11: 0000000000000000 x10: 00000000000007c0 
[ 3676.218191] x9 : ffffffc0042eea68 x8 : ffffff80088a9b08 
[ 3676.223657] x7 : 0000000000000001 x6 : 00000000050e6eea 
[ 3676.229122] x5 : 00000000000000e8 x4 : ffffffc0043a3ff0 
[ 3676.234587] x3 : ffffffc03ffcdef8 x2 : ffffffc0043a5f70 
[ 3676.240053] x1 : 0000000000000001 x0 : ffffffc0043a5f40 
[ 3676.245519] Call trace:
[ 3676.248032]  update_cfs_group+0x0/0xb0
[ 3676.251887]  deactivate_task+0x6c/0x80
[ 3676.255740]  __schedule+0x10c/0x570
[ 3676.259321]  schedule+0x58/0x80
[ 3676.262546]  worker_thread+0x370/0x468
[ 3676.266400]  kthread+0x110/0x120
[ 3676.269715]  ret_from_fork+0x10/0x1c
[ 3676.273393] Code: a9425bf5 a8c37bfd d65f03c0 d503201f (f9404407) 
[ 3676.279660] ---[ end trace fa914749a4dc6031 ]---
[ 3676.285581] Kernel panic - not syncing: Fatal exception
[ 3676.289785] SMP: stopping secondary CPUs
[ 3676.293816] Kernel Offset: disabled
[ 3676.297399] CPU features: 0x0,00002008
[ 3676.301249] Memory Limit: none
[ 3676.304922] Rebooting in 3 seconds..
[12929.680240] Internal error: synchronous parity or ECC error: 86000018 [#1] SMP
[12929.684836] Modules linked in: ath9k ath9k_common xt_connlimit nf_conncount iptable_nat ipt_MASQUERADE ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_NETMAP xt_FLOWOFFLOAD xt_CT nf_nat_ipv4 nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_recent xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_condition xt_comment xt_bpf xt_addrtype xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY ts_kmp ts_fsm ts_bm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables
[12929.758123]  nf_reject_ipv6 tun gpio_button_hotplug
[12929.763145] Process kworker/0:0 (pid: 5, stack limit = 0x00000000f766a017)
[12929.770227] CPU: 0 PID: 5 Comm: kworker/0:0 Not tainted 4.19.85 #0
[12929.776582] Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)
[12929.783224] Workqueue:            (null) (events)
[12929.788054] pstate: 80400085 (Nzcv daIf +PAN -UAO)
[12929.792990] pc : __schedule+0x348/0x570
[12929.796923] lr : __schedule+0x2d0/0x570
[12929.800862] sp : ffffff800804bd90
[12929.804268] x29: ffffff800804bd90 x28: 0000000000000000 
[12929.809733] x27: ffffffc03ffccef0 x26: ffffffc03ffccea0 
[12929.815199] x25: 0000000000000000 x24: ffffffc00427af10 
[12929.820664] x23: ffffff8008666460 x22: ffffff800884e018 
[12929.826129] x21: ffffffc00427de80 x20: ffffffc00427aa00 
[12929.831595] x19: ffffffc03ffcd500 x18: 0000000000000000 
[12929.837061] x17: 0000000000000000 x16: 0000000000000000 
[12929.842526] x15: 0000000000000000 x14: 0000000000000000 
[12929.847992] x13: 0000000000000002 x12: 0000000000000000 
[12929.853458] x11: ffffffc03ffc94d0 x10: 00000000000007c0 
[12929.858924] x9 : ffffffc004230168 x8 : ffffff80088a9b08 
[12929.864388] x7 : 0000000000000000 x6 : 000000199ea477c6 
[12929.869855] x5 : 000000000000030f x4 : 00000bc26cff1000 
[12929.875320] x3 : ffffffc03ffcdef8 x2 : ffffffc03ffcdef8 
[12929.880785] x1 : ffffffc03ffcdef8 x0 : 0000000000000008 
[12929.886251] Call trace:
[12929.888764]  __schedule+0x348/0x570
[12929.892348]  schedule+0x58/0x80
[12929.895575]  worker_thread+0x370/0x468
[12929.899428]  kthread+0x110/0x120
[12929.902742]  ret_from_fork+0x10/0x1c
[12929.906418] Code: b5fffeb7 d4210000 f9800291 c85f7e80 (927ef800) 
[12929.912686] ---[ end trace 5f4e2dd5c1da7acd ]---
[12929.918593] Kernel panic - not syncing: Fatal exception
[12929.922812] SMP: stopping secondary CPUs
[12929.926844] Kernel Offset: disabled
[12929.930426] CPU features: 0x0,00002008
[12929.934277] Memory Limit: none
[12929.937946] Rebooting in 3 seconds..
01.12.20192647Base systemBug ReportVery LowHighEA6350v3 (IPQ4018) memory usage climbs until processes ...openwrt-19.07Unconfirmed Task Description

Device is Linksys EA6350v3

Issue occurs on 19.07 rc1, 19.07 rc2 and snapshot r11595 (snapshot version is by memory, but pretty sure that’s what I had on it).

Information for this bug report is based on 19.07 rc2 with the following packages installed for future potential use, but most not in use:
luci-app-sqm luci-proto-wireguard luci-app-wireguard ca-bundle curl https_dns_proxy luci-app-https_dns_proxy luci-app-statistics luci-app-samba kmod-usb-printer p910nd luci-app-p910nd diffutils minidlna luci-app-minidlna

Note: sqm, wireguard, https_dns_proxy, samba, usb printer, p910nd server, and minidlna are NOT in use. These are just the typical packages I add to my
router for future use.

Steps to reproduce:
Problem occurs after router runs for a few hours. EA6350v3 is set up as a wired access point for an EdgeRouter X (also on 19.07 rc2). The Edgerouter provides sqm and DNS and DHCP for LAN, guest and IOT VLANs. There are ~3 “Guest” 2.4 G wifi clients (a smart switch, an IP camera, a DEEBOT vacuum); the IOT VLAN is mapped to a physical port with an Ooma Telo plugged in (I know - I need to map the guest devices to IOT wifi someday...). The LAN is mapped to a physical port with a Roku 3 plugged in and to normal wifi. There are another ~4 or 5 5GHz wifi clients on the LAN wifi (a laptop, a couple Amazon Echo’s, a Google Home Mini, a Samsung Orbit Android phone) and a 2.4G LG Android phone on the 2.4 GHz wifi. CPU loading is quite low.

Memory usage starts out rather high (~100MB, climbs and climbs, eventually drops, climbs again, repeats. Eventually (a day or two) processes start getting killed to free up memory and things start dying. I have an EA8500 setup almost identically as a second AP in the house, and it’s memory usage sits around 50 MB versus 100MB to 200+MB for the EA6350v3. Something’s just not right...

The final message in the logs that repeats until processes begin to get killed is:

kern.warn kernel: [15897.905286] ath10k_ahb a000000.wifi: failed to increase tx pending count: -16, dropping

But the weird memory usage pattern precedes this message in the logs.

I’ve attached memory usage graphs and system and kernel logs from 19.07 rc2 to illustrate the problem. rc1 and snapshot behaved the same. This post also has logs showing processes getting killed if that helps diagnose: https://forum.openwrt.org/t/ipq4018-linksys-ea6350v3-wifi-dead-after-24-48-hrs/49080/3?u=eginnc

17.12.20192681Base systemBug ReportVery LowHighISP's DHCP option 121 makes 18.06.5 get no default GWopenwrt-18.06Unconfirmed Task Description

HW: TP-Link TL-WR1043ND v1
Openwrt affected: tried 18.06.4, 18.06.5

DHCP offer from ISP:

22:48:09.365836 00:04:96:51:fe:50 > 74:ea:3a:d1:2d:16, ethertype IPv4 (0x0800), length 354: (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 340)
    10.45.64.5.67 > 213.xx.xx.23.68: BOOTP/DHCP, Reply, length 312, hops 1, xid 0x3313791, secs 63, Flags [none]
	  Your-IP 213.xx.xx.23
	  Gateway-IP 10.45.64.5
	  Client-Ethernet-Address 74:ea:3a:d1:2d:16
	  Vendor-rfc1048 Extensions
	    Magic Cookie 0x63825363
	    DHCP-Message Option 53, length 1: Offer
	    Server-ID Option 54, length 4: 46.xx.xx.202
	    Lease-Time Option 51, length 4: 43200
	    Subnet-Mask Option 1, length 4: 255.255.255.128
	    Default-Gateway Option 3, length 4: 213.xx.xx.5
	    Domain-Name-Server Option 6, length 8: 10.81.3.19,10.59.3.19
	    Domain-Name Option 15, length 10: "abcxyz.ru"
	    BR Option 28, length 4: 213.xx.xx.127
	    Classless-Static-Route Option 121, length 14: (213.xx.xx.0/25:213.xx.xx.5),(default:213.xx.xx.5)

18.06.5 reaction to Classless-Static-Route Option 121:

root@OpenWrt:~# ip r
192.168.1.0/24 dev br-lan scope link  src 192.168.1.1
213.хх.хх.0/25 via 213.хх.хх.5 dev eth0.2  src 213.хх.хх.23

Fixing:

root@OpenWrt:~# ip r del 213.xx.xx.0/25
root@OpenWrt:~# ip r add 213.xx.xx.0/25 dev eth0.2 src 213.xx.xx.23
root@OpenWrt:~# ip r add default via 213.xx.xx.5 dev eth0.2
root@OpenWrt:~# ip r
default via 213.xx.xx.5 dev eth0.2 
192.168.2.0/24 dev br-lan scope link  src 192.168.2.1 
213.xx.xx.0/25 dev eth0.2 scope link  src 213.xx.xx.23

All things above rised from my attempt to switch from 15.05.1 to new stable 18.06.x branch of Openwrt
15.05.1 works without a glitch with this ISP.

09.01.20202719Base systemBug ReportVery LowHighBuffalo WBMR-HP-G300H: DSL does not connect at all with...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Buffalo WBMR-HP-G300H
- Software versions of OpenWrt/LEDE release, packages, etc.: OpenWRT 19.07, kmod-ltq-adsl-ar9-fw-a 0.1-1, which shows up as 4.4.4.0.0.1 in dsl_control status.
- Steps to reproduce:

1. Get an ADSL line from Rostelecom.
2. Upgrade the router to OpenWRT 19.07.
3. Reboot.

Result: DSL does not connect. In /etc/init.d/dsl_control status, it goes through all phases, then briefly shows as “Up”, but then the “dsl0” interface is not created, and the following lines are logged in dmesg:

 [   56.597766] [DSL_BSP_Showtime 914]: Datarate US intl = 1024000, fast = 0
 [   56.603091] [DSL_BSP_Showtime 934]: no hookup from ATM driver to set cell rate

The error does not exist with the 4.5.4.9.1.1 firmware obtained from unofficial sources. The bug has been submitted through the affected ADSL line with the unofficial firmware.

Status:

# /etc/init.d/dsl_control status
ATU-C Vendor ID: Broadcom 161.149
ATU-C System Vendor ID: 00,00,00,00,00,00,00,00
Chipset: Ifx-AR9
Firmware Version: 4.5.4.9.1.1
API Version: 3.24.4.4
XTSE Capabilities: 0×4, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0, 0×0 Annex: A
Line Mode: G.992.1 (ADSL)
Profile:
Line State: UP [0×801: showtime_tc_sync]
Forward Error Correction Seconds (FECS): Near: 413342 / Far: 0
Errored seconds (ES): Near: 0 / Far: 0
Severely Errored Seconds (SES): Near: 0 / Far: 0
Loss of Signal Seconds (LOSS): Near: 0 / Far: 0
Unavailable Seconds (UAS): Near: 253 / Far: 253
Header Error Code Errors (HEC): Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P): Near: / Far:
Pre-emtive CRC errors (CRCP_P): Near: / Far:
Power Management Mode: L0 - Synchronized
Latency [Interleave Delay]: 8.0 ms [Interleave] 8.0 ms [Interleave]
Data Rate: Down: 9.952 Mb/s / Up: 1.024 Mb/s
Line Attenuation (LATN): Down: 32.2 dB / Up: 19.5 dB
Signal Attenuation (SATN): Down: 32.6 dB / Up: 19.5 dB
Noise Margin (SNR): Down: 6.1 dB / Up: 13.0 dB
Aggregate Transmit Power (ACTATP): Down: 20.0 dB / Up: 12.3 dB
Max. Attainable Data Rate (ATTNDR): Down: 8.848 Mb/s / Up: 1.204 Mb/s
Line Uptime Seconds: 1164
Line Uptime: 19m 24s

(yes, very bad line)

Config:

config atm-bridge ‘atm’

option vpi '1'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
option vci '50'
option unit '0'
option atmdev '0'

config dsl ‘dsl’

option annex 'a'
option firmware '/lib/firmware/dsl_ar9_firmware_adsl_a-04.05.04.09.01.01.bin'

config interface ‘wan’

option ifname 'dsl0'
option proto 'pppoe'
option ipv6 '1'
option username 'censored'
list dns '8.8.8.8'
list dns '8.8.4.4'
option peerdns '0'
option keepalive '60 5'
option password 'censored'
15.01.20202739Base systemBug ReportVery LowHighArbitrary File CreationAllUnconfirmed Task Description

There is no restriction on the path of the system log file(logread),which lead to overwritten important file,such as /etc/passwd. if /etc/passwd was overwritened,it will cause a denial of service. when a router was infected, The only way to fix is flash firmware.

In the background, function External Linkstart_service_file will deal the system logging request and use logread` to save log in specified file.

 PROG=/sbin/logread  
    
    start_service_file()                                                              
    {                                                                                 
            PIDCOUNT="$(( ${PIDCOUNT} + 1))"                                          
            local pid_file="/var/run/logread.${PIDCOUNT}.pid"                         
                                                                                      
            [ "$2" = 0 ] || {                                                         
                    echo "validation failed"                                          
                    return 1                                                          
            }                                                                         
            [ -z "${log_file}" ] && return                                            
                                                                                      
            mkdir -p "$(dirname "${log_file}")"                                       
                                                                                      
            procd_open_instance                                                       
            procd_set_param command "$PROG" -f -F "$log_file" -p "$pid_file"          
            [ -n "${log_size}" ] && procd_append_param command -S "$log_size"         
            procd_close_instance                                                      
    }   

POC

1. set the path of sustem log and buffer size

In System → logging page,System log buffer sizeset to 1KiB ,Write system log to file set to /etc/passwd. At the end , clicking “Save & Apply” button.

2. reboot or wait a moment

In order to produce some log to overwriten /etc/passwd , it need to reboot OpenWrt (the fasest way ) or wait a monent.

3. result

Denial of service: the LuCi web page display “Dad Gateway”. the same time , the internet was offline.

22.01.20202764Base systemBug ReportVery LowHighucert: ucert -A output is invalidTrunkUnconfirmed Task Description

ucert -A generates something that ucert cannot read back.

This happens because ucert -A appears to be appending several libubox “blobs” together, but cert_load() uses libubox’ blob_parse_untrusted() which expects to get a buffer with a single blob inside, and no padding.

Thus a valid ucert file with certificate and signature will be *bigger* than the first blob inside it, and blob_parse_untrusted() in libubox won’t even try to process it.

Since this renders ucert useless, severity is set to high.

This is related to  FS#2762  and FS#2763

30.01.20202783Base systemBug ReportVery LowHighTP-Link Archer A7 v5 can't be flashet via tftpopenwrt-19.07Unconfirmed Task Description

Device: TP-Link Archer A7 (RU) Ver 5.0
Software: OpenWRT 19.07.0

I just bought this router. And I trying to flash it with openwrt-19.07.0-ath79-generic-tplink_archer-a7-v5-squashfs-factory.bin trough tftp.
In wireshark I clearly see that file was downloaded. But router didn’t flashed.
I tried to flash snapshot image wtih same result.
I checked sha256 sums and it matches.

When I reproduced same steps with original TP-Link update image it worked well. Seems like something prevents router from flashing OpenWRT image.

30.01.20202785Base systemBug ReportVery LowHighkernel loading during netboot fails on mikrotik devicesopenwrt-19.07Unconfirmed Task Description

Devices tested:

  • Mikrotik rb433
  • Mikrotik rb435g

Software version: Using the v19.07.1 tag.

Issue: There are a few packages, whose are leading the ramdisk “unbbotable”, more precise the device is not able to load the kernel. First this happened by kmod-scsi-core , I thought it must be some kernel-related issue. Afterthat I realised that either I enable the aforementioned kernel-module, or the libraries called libpcre and libpci, the boot procedure will stop at:

Gateway: 192.168.1.254
transfer started ................................... transfer ok, time=2.61s
setting up elf image... OK
jumping to kernel code OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos juhosg@openwrt.org Decompressing kernel... done!
Starting kernel at 80060000...

Compiling these packages only as a module results a nice bootable image. Firstly I thought that maybe my ramdisk is too large, but it is about only 4,5 MB - previously using older trunk I was able to boot up images over 5 MByte.
I have pasted the config file to the ticket. If you switch libpcre and libpci to M instead of * it will boot.

This issue was not there before, using the image built from 18.06.

31.01.20202791Base systemBug ReportVery LowHighIPv6 router advertisments lost after upgrade to 19.07openwrt-19.07Unconfirmed Task Description

I’ve just upgraded my linksys wrt-1200ac from 18.06.4 to 19.07.0

I’ve got a more-or-less out-of-the-box configuration with wired and wireless clients all connected to the ‘br-lan’ bridge. My ISP provides native IPv6. I’ve got odhcpd-ip6only installed, and a mixture of clients, some using SLAAC and some using DHCPv6.

When a wireless client that is configured for SLAAC (e.g. an android phone) connects, it sends an IPv6 router solicitation to ff02::1 and receives a router advertisement on its fe80::<something> address. That still works fine. But the client never receives any further router adverts, so the route times out after 1800 seconds and IPv6 connectivity is lost.

This is *only* going wrong with wireless clients: tcpdump on a wired client shows router adverts arriving on ff02::1 every few minutes. But tcpdump on a wireless client shows no router adverts after the initial one.

I’ve retested with 18.06.4 and the problem does not exist in that version.

16.02.20202835Base systemBug ReportVery LowHighMT7621: Clients disconnects.openwrt-19.07Unconfirmed Task Description

Hi! I have MT7621 and when to router connected more than 10 peoples router start disconnecting some peoples(have two networks guest and main on 2,4).

There is my settings:
config wifi-iface ‘default_radio0’ option device ‘radio0’ option network ‘lan’ option mode ‘ap’ option wpa_disable_eapol_key_retries ‘1’ option key ‘WIFIPASS’ option ssid ‘WIFINAME’ option encryption ‘psk2+ccmp’ option disassoc_low_ack ‘0’ (guest network have same settings)

Other info:
Newifi-D2
MediaTek MT7621 ver:1 eco:3
OpenWrt 19.07.1 r10911-c155900f66 / LuCI openwrt-19.07 branch git-20.045.27998-49999e9

I also noticed that before the client is disconnected from the network, it will lose the Internet.

 

Issue on github: https://github.com/openwrt/mt76/issues/358

Many peoples with Newifi3 D2 have same problem(in github links and more details).

PLEASE, FIX IT!

18.02.20202844Base systemBug ReportVery LowHighath10k on archer C7 v2: high latencyopenwrt-19.07Unconfirmed Task Description

On my Archer C7 v2, since the upgrade from 18.06 to 19.07, I sometimes get very high latency on my 5 GHz wifi network:

This is when pinging a wireless client from the router itself.

ping 192.168.12.167
PING 192.168.12.167 (192.168.12.167): 56 data bytes
64 bytes from 192.168.12.167: seq=0 ttl=64 time=1.334 ms
64 bytes from 192.168.12.167: seq=1 ttl=64 time=2.002 ms
64 bytes from 192.168.12.167: seq=2 ttl=64 time=1004.448 ms
64 bytes from 192.168.12.167: seq=3 ttl=64 time=4.342 ms
64 bytes from 192.168.12.167: seq=4 ttl=64 time=1.072 ms
64 bytes from 192.168.12.167: seq=5 ttl=64 time=2.074 ms
64 bytes from 192.168.12.167: seq=6 ttl=64 time=2.505 ms
64 bytes from 192.168.12.167: seq=7 ttl=64 time=1.059 ms
64 bytes from 192.168.12.167: seq=8 ttl=64 time=1.746 ms
64 bytes from 192.168.12.167: seq=9 ttl=64 time=1.176 ms
64 bytes from 192.168.12.167: seq=10 ttl=64 time=1.086 ms
64 bytes from 192.168.12.167: seq=11 ttl=64 time=1.072 ms
64 bytes from 192.168.12.167: seq=12 ttl=64 time=815.290 ms
64 bytes from 192.168.12.167: seq=13 ttl=64 time=1004.417 ms
64 bytes from 192.168.12.167: seq=14 ttl=64 time=4.294 ms
64 bytes from 192.168.12.167: seq=15 ttl=64 time=4.520 ms
64 bytes from 192.168.12.167: seq=16 ttl=64 time=1003.250 ms
64 bytes from 192.168.12.167: seq=17 ttl=64 time=3.125 ms
64 bytes from 192.168.12.167: seq=18 ttl=64 time=1.019 ms
64 bytes from 192.168.12.167: seq=19 ttl=64 time=2.066 ms
^C
--- 192.168.12.167 ping statistics ---
20 packets transmitted, 20 packets received, 0% packet loss
round-trip min/avg/max = 1.019/193.094/1004.448 ms

The upgrade to 19.07.1 didn’t solve the issue. What (temporarily) seem to work is to restart the wlan0 interface. After a few hours the problem comes back. The client is very close to the AP (less than 3 meters, although there is a floor between). Signal quality is reported as very good.

Station 54:60:09:d3:e4:d6 (on wlan0)
        inactive time:  540 ms
        rx bytes:       1082546
        rx packets:     6294
        tx bytes:       15523400
        tx packets:     11636
        tx retries:     0
        tx failed:      1
        rx drop misc:   0
        signal:         -66 [-76, -68, -71] dBm
        signal avg:     -62 [-72, -64, -67] dBm
        tx bitrate:     390.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 1
        rx bitrate:     390.0 MBit/s VHT-MCS 8 80MHz short GI VHT-NSS 1
        rx duration:    422088 us
        last ack signal:-95 dBm
        authorized:     yes
        authenticated:  yes
        associated:     yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:      no
        DTIM period:    2
        beacon interval:100
        short slot time:yes
        connected time: 447 seconds

I am using stock 19.07.1 firmware. I also tried changing the regulatory domain from CA to US but it didn’t help.
I will now try with the non-ct driver and firmware to see if it helps, as it worked fine on 18.06 which didn’t include the -ct firmware by default.

cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path 'pci0000:00/0000:00:00.0'
        option htmode 'VHT80'
        option noscan '1'
        option country 'US'
        option channel '149'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option key 'removed'
        option network 'lan'
        option mode 'ap'
        option ssid 'myssid5'
        option encryption 'psk2+ccmp'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/ahb/ahb:apb/18100000.wmac'
        option noscan '1'
#       option country 'CA'
        option htmode 'HT40'
        option require_mode 'g'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'myssid'
        option encryption 'psk2+ccmp'
        option key 'removed'
        option ieee80211w '1'
21.02.20202847Base systemBug ReportVery LowHighbetween ath79-master-r12157-a1cfe0dcbb and ath79-master...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Netgear WNDR3700v2

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

between ath79-master-r12157-a1cfe0dcbb and ath79-master-r12259 including the rename from wndr3700v2 to wndr3700-v2 OpenWrt lost its capability to detect the two radios.

- Steps to reproduce

 


root@router:/tmp# cat /etc/banner

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r12157-a1cfe0dcbb


root@router:/tmp# dmesg
[ 0.000000] Linux version 4.19.98 (moeller@work-horse) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12053-9e799f3eee)) #0 Fri Jan 31 22:29:40 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3700v2
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0×98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57516K/65536K available (4327K kernel code, 176K rwdata, 1020K rodata, 1188K init, 206K bss, 8020K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 680.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007800] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074071] pid_max: default: 32768 minimum: 301
[ 0.078916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085519] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.096880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106751] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112960] pinctrl core: initialized pinctrl subsystem
[ 0.119019] NET: Registered protocol family 16
[ 0.428745] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.435198] MEM 0×0000000010000000..0x0000000016ffffff
[ 0.440426] IO 0×0000000000000000..0×0000000000000000 [ 0.463018] PCI host bridge to bus 0000:00
[ 0.467126] pci_bus 0000:00: root bus resource [mem 0×10000000-0x16ffffff]
[ 0.474044] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.479604] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.486385] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.494769] pci 0000:00:11.0: [168c:ff1d] type 00 class 0×020000 [ 0.494800] pci 0000:00:11.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495095] pci 0000:00:12.0: [168c:ff1d] type 00 class 0×020000 [ 0.495122] pci 0000:00:12.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495679] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.495708] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 0.502528] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 0.512297] clocksource: Switched to clocksource MIPS
[ 0.518346] NET: Registered protocol family 2
[ 0.523491] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.531183] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.538204] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.544573] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551058] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.556944] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.563492] NET: Registered protocol family 1
[ 0.567890] PCI: CLS 0 bytes, default 32
[ 0.570473] Crashlog allocated RAM at address 0x3f00000
[ 0.576987] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.589206] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.595083] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.615469] io scheduler noop registered
[ 0.619388] io scheduler deadline registered (default)
[ 0.625206] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.632106] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.639111] console [ttyS0] disabled
[ 0.642766] 18020000.uart: ttyS0 at MMIO 0×18020000 (irq = 10, base_baud = 10625000) is a 16550A
[ 0.651550] console [ttyS0] enabled
[ 0.658520] bootconsole [early0] disabled
[ 0.672685] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.677766] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.684156] Creating 4 MTD partitions on “spi0.0”:
[ 0.688944] 0×000000000000-0×000000050000 : “u-boot” [ 0.694662] 0×000000050000-0×000000070000 : “u-boot-env” [ 0.700642] 0×000000070000-0x000000ff0000 : “firmware” [ 0.709051] 2 netgear-fw partitions found on MTD device firmware
[ 0.715111] Creating 2 MTD partitions on “firmware”:
[ 0.720073] 0×000000000000-0x0000001c4440 : “kernel” [ 0.725799] 0x0000001c4440-0x000000f80000 : “rootfs” [ 0.731378] mtd: device 4 (rootfs) set to be root filesystem
[ 0.738413] 1 squashfs-split partitions found on MTD device rootfs
[ 0.744648] 0x0000007b0000-0x000000f80000 : “rootfs_data” [ 0.750780] 0x000000ff0000-0×000001000000 : “art” [ 0.756658] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 0.762862] rtl8366s rtl8366s: cannot find mdio node phandle
[ 0.768528] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 0.774813] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 0.826529] libphy: rtl8366s: probed
[ 0.831545] libphy: Fixed MDIO Bus: probed
[ 1.184018] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.193617] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.533893] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.543585] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.552067] NET: Registered protocol family 10
[ 1.561269] Segment Routing with IPv6
[ 1.565090] NET: Registered protocol family 17
[ 1.569586] 8021q: 802.1Q VLAN Support v1.8
[ 1.585516] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.596158] Freeing unused kernel memory: 1188K
[ 1.600682] This architecture does not have kernel memory protection.
[ 1.607138] Run /sbin/init as init process
[ 2.582308] random: fast init done
[ 2.807119] init: Console is alive
[ 2.810741] init: - watchdog -
[ 6.241610] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.383455] usbcore: registered new interface driver usbfs
[ 6.389022] usbcore: registered new interface driver hub
[ 6.394453] usbcore: registered new device driver usb
[ 6.430284] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 6.445010] SCSI subsystem initialized
[ 6.453749] ehci-platform: EHCI generic platform driver
[ 7.058167] ehci-platform 1b000000.usb: EHCI Host Controller
[ 7.063869] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 7.071783] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 7.102319] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 7.109300] hub 1-0:1.0: USB hub found
[ 7.113454] hub 1-0:1.0: 2 ports detected
[ 7.120810] ohci_hcd: USB 1.1 ‘Open’ Host Controller (OHCI) Driver
[ 7.128705] ohci-platform: OHCI generic platform driver
[ 7.134182] ohci-platform 1c000000.usb: Generic Platform OHCI controller
[ 7.140911] ohci-platform 1c000000.usb: new USB bus registered, assigned bus number 2
[ 7.148855] ohci-platform 1c000000.usb: irq 14, io mem 0x1c000000
[ 7.227154] hub 2-0:1.0: USB hub found
[ 7.231244] hub 2-0:1.0: 2 ports detected
[ 7.239911] usbcore: registered new interface driver usb-storage
[ 7.246968] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 7.257068] init: - preinit -
[ 7.952485] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 8.224006] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 8.239044] scsi host0: usb-storage 1-1:1.0
[ 8.607425] random: procd: uninitialized urandom read (4 bytes read)
[ 9.217736] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.313323] scsi 0:0:0:0: Direct-Access SanDisk Ultra 1.01 PQ: 0 ANSI: 2
[ 9.324268] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB)
[ 9.435234] sd 0:0:0:0: [sda] Write Protect is off
[ 9.440027] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 9.441159] sd 0:0:0:0: [sda] No Caching mode page found
[ 9.446536] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 9.467635] sda: sda1 sda2
[ 9.485172] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 9.512732] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.803851] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.855143] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.937787] random: jshn: uninitialized urandom read (4 bytes read)
[ 10.734464] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.792658] eth0: link up (1000Mbps/Full duplex)
[ 11.797336] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.002121] mount_root: loading kmods from internal overlay
[ 21.065763] kmodloader: loading kernel modules from etc/modules-boot.d/*
[ 21.074086] kmodloader: done loading kernel modules from
etc/modules-boot.d/*
[ 22.067245] jffs2: notice: (573) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 38 of xref (1 dead, 0 orphan) found.
[ 22.083539] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 22.104478] block: extroot: not configured
[ 22.493615] jffs2: notice: (571) jffs2_build_xattr_subsystem: complete building xattr subsystem, 4 of xdatum (3 unchecked, 1 orphan) and 38 of xref (1 dead, 0 orphan) found.
[ 22.512972] mount_root: loading kmods from internal overlay
[ 22.571532] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 22.586940] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[ 23.297496] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 23.311711] block: extroot: not configured
[ 23.317033] mount_root: switching to jffs2 overlay
[ 23.391179] overlayfs: upper fs does not support tmpfile.
[ 23.402971] urandom-seed: Seeding with /etc/urandom.seed
[ 23.506382] eth0: link down
[ 23.522968] procd: - early -
[ 23.525956] procd: - watchdog -
[ 24.224357] procd: - watchdog -
[ 24.227866] procd: - ubus -
[ 24.305816] urandom_read: 2 callbacks suppressed
[ 24.305823] random: ubusd: uninitialized urandom read (4 bytes read)
[ 24.321238] random: ubusd: uninitialized urandom read (4 bytes read)
[ 24.330097] procd: - init -
[ 25.653767] kmodloader: loading kernel modules from /etc/modules.d/*
[ 25.815614] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 25.855111] tun: Universal TUN/TAP device driver, 1.6
[ 25.878662] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 25.922686] gre: GRE over IPv4 demultiplexor driver
[ 25.944224] ip_gre: GRE over IPv4 tunneling driver
[ 26.291706] Mirror/redirect action on
[ 26.325462] u32 classifier
[ 26.328171] input device check on
[ 26.331822] Actions configured
[ 26.380723] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 26.388336] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 26.401462] urngd: v1.0.2 started.
[ 26.492389] usbcore: registered new interface driver usbserial_generic
[ 26.498978] usbserial: USB Serial support registered for generic
[ 26.558787] wireguard: WireGuard 0.0.20200128 loaded. See www.wireguard.com for information.
[ 26.567273] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 26.778103] xt_time: kernel timezone is -0000
[ 26.798642] ath9k_pci_owl_loader 0000:00:11.0: enabling device (0000 → 0002)
[ 26.806040] ath9k_pci_owl_loader 0000:00:12.0: enabling device (0000 → 0002)
[ 26.824088] ath9k_pci_owl_loader 0000:00:12.0: fixup device configuration
[ 26.832789] ath9k_pci_owl_loader 0000:00:11.0: fixup device configuration
[ 26.861449] pci 0000:00:12.0: [168c:0029] type 00 class 0×028000 [ 26.861487] pci 0000:00:12.0: reg 0×10: [mem 0×10010000-0x1001ffff]
[ 26.861542] pci 0000:00:12.0: PME# supported from D0 D3hot
[ 26.862141] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 26.877545] pci 0000:00:11.0: [168c:0029] type 00 class 0×028000 [ 26.877582] pci 0000:00:11.0: reg 0×10: [mem 0×10000000-0x1000ffff]
[ 26.877638] pci 0000:00:11.0: PME# supported from D0 D3hot
[ 26.878247] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 27.066477] random: crng init done
[ 27.156340] PPP generic driver version 2.4.2
[ 27.183974] PPP MPPE Compression module registered
[ 27.199611] NET: Registered protocol family 24
[ 27.218213] PPTP driver version 0.8.5
[ 27.368426] ath9k 0000:00:12.0: enabling device (0000 → 0002)
[ 27.408317] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 27.416965] ath: EEPROM regdomain: 0×0 [ 27.416971] ath: EEPROM indicates default country code should be used
[ 27.416974] ath: doing EEPROM country→regdmn map search
[ 27.416984] ath: country maps to regdmn code: 0x3a
[ 27.416989] ath: Country alpha2 being used: US
[ 27.416992] ath: Regpair used: 0x3a
[ 27.433820] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’ [ 27.435348] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0010000, irq=19
[ 27.442114] ath9k 0000:00:11.0: enabling device (0000 → 0002)
[ 27.584297] ath: phy1: Ignoring endianness difference in EEPROM magic bytes.
[ 27.592914] ath: EEPROM regdomain: 0×0 [ 27.592920] ath: EEPROM indicates default country code should be used
[ 27.592923] ath: doing EEPROM country→regdmn map search
[ 27.592933] ath: country maps to regdmn code: 0x3a
[ 27.592938] ath: Country alpha2 being used: US
[ 27.592940] ath: Regpair used: 0x3a
[ 27.607441] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 27.608985] ieee80211 phy1: Atheros AR9280 Rev:2 mem=0xb0000000, irq=18
[ 27.702755] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 44.364371] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:
[ 44.414576] Adding 976560k swap on /dev/sda1. Priority:-2 extents:1 across:976560k
[ 48.643400] eth0: link up (1000Mbps/Full duplex)
[ 48.648969] br-lan: port 1(eth0) entered blocking state
[ 48.654275] br-lan: port 1(eth0) entered disabled state
[ 48.659807] device eth0 entered promiscuous mode
[ 48.692372] br-lan: port 1(eth0) entered blocking state
[ 48.697596] br-lan: port 1(eth0) entered forwarding state
[ 48.703176] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 48.790578] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 48.835679] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 48.951180] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 49.712398] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 51.437743] eth1: link up (1000Mbps/Full duplex)
[ 51.513573] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 51.582425] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.2: link becomes ready
[ 51.589118] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[ 54.282504] ath: EEPROM regdomain: 0×8114 [ 54.286516] ath: EEPROM indicates we should expect a country code
[ 54.292634] ath: doing EEPROM country→regdmn map search
[ 54.297928] ath: country maps to regdmn code: 0×37 [ 54.302722] ath: Country alpha2 being used: DE
[ 54.307157] ath: Regpair used: 0×37 [ 54.310630] ath: regdomain 0×8114 dynamically updated by user
[ 54.316523] ath: EEPROM regdomain: 0×8114 [ 54.320516] ath: EEPROM indicates we should expect a country code
[ 54.326609] ath: doing EEPROM country→regdmn map search
[ 54.331904] ath: country maps to regdmn code: 0×37 [ 54.336698] ath: Country alpha2 being used: DE
[ 54.341125] ath: Regpair used: 0×37 [ 54.344620] ath: regdomain 0×8114 dynamically updated by user
[ 54.836482] pppoe-wan: renamed from ppp0
[ 57.427192] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 57.492852] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 57.616731] br-lan: port 2(wlan0) entered blocking state
[ 57.622045] br-lan: port 2(wlan0) entered disabled state
[ 57.627773] device wlan0 entered promiscuous mode
[ 57.632654] br-lan: port 2(wlan0) entered blocking state
[ 57.637986] br-lan: port 2(wlan0) entered forwarding state
[ 57.693619] br-lan: port 3(wlan1) entered blocking state
[ 57.698935] br-lan: port 3(wlan1) entered disabled state
[ 57.704667] device wlan1 entered promiscuous mode
[ 58.525536] br-lan: port 2(wlan0) entered disabled state
[ 58.531209] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 58.537780] br-lan: port 3(wlan1) entered blocking state
[ 58.543145] br-lan: port 3(wlan1) entered forwarding state
[ 58.750884] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 58.757483] br-lan: port 2(wlan0) entered blocking state
[ 58.762856] br-lan: port 2(wlan0) entered forwarding state
[84181.737818] pppoe-wan: renamed from ppp0
[144550.658055] pppoe-wan: renamed from ppp0
[159913.299297] eth1: link down
[159918.352853] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[159919.249344] eth1: link up (1000Mbps/Full duplex)
[159919.251734] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[159923.807531] eth1: link down
[159924.830488] eth1: link up (1000Mbps/Full duplex)
[159931.219728] eth1: link down
[159936.244722] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[159950.979373] eth1: link up (1000Mbps/Full duplex)
[159950.982129] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[160110.252218] pppoe-wan: renamed from ppp0
[246512.671046] pppoe-wan: renamed from ppp0
[260793.131776] pppoe-wan: renamed from ppp0
[347195.313169] pppoe-wan: renamed from ppp0
[433596.980231] pppoe-wan: renamed from ppp0
[449177.428433] pppoe-wan: renamed from ppp0
[535580.336441] pppoe-wan: renamed from ppp0
root@router:~#

BusyBox v1.31.1 () built-in shell (ash)

_______                     ________        __

| |.—–.—–.—–.| | | |.—-.| |_
| - || _ | -| || | | || _|| _|
|
_|| |_||||||| ||

        |__| W I R E L E S S   F R E E D O M

—————————————————– OpenWrt SNAPSHOT, r12259-2f1cc5c3d5


root@router:~# dmesg
[ 0.000000] Linux version 4.19.101 (moeller@work-horse) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r12053-9e799f3eee)) #0 Tue Feb 18 15:10:31 2020
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3700 v2
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] random: get_random_bytes called from start_kernel+0×98/0x4a8 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 57452K/65536K available (4336K kernel code, 180K rwdata, 1020K rodata, 1240K init, 206K bss, 8084K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] CPU clock: 680.000 MHz [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007802] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074072] pid_max: default: 32768 minimum: 301
[ 0.078916] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085519] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.096900] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.106767] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.112979] pinctrl core: initialized pinctrl subsystem
[ 0.119049] NET: Registered protocol family 16
[ 0.428873] PCI host bridge /ahb/apb/pcie-controller@17010000 ranges:
[ 0.435329] MEM 0×0000000010000000..0x0000000016ffffff
[ 0.440561] IO 0×0000000000000000..0×0000000000000000 [ 0.463724] PCI host bridge to bus 0000:00
[ 0.467827] pci_bus 0000:00: root bus resource [mem 0×10000000-0x16ffffff]
[ 0.474747] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.480307] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.487093] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.495479] pci 0000:00:11.0: [168c:ff1d] type 00 class 0×020000 [ 0.495512] pci 0000:00:11.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.495815] pci 0000:00:12.0: [168c:ff1d] type 00 class 0×020000 [ 0.495841] pci 0000:00:12.0: reg 0×10: [mem 0×00000000-0x0000ffff]
[ 0.496401] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.496430] pci 0000:00:11.0: BAR 0: assigned [mem 0×10000000-0x1000ffff]
[ 0.503258] pci 0000:00:12.0: BAR 0: assigned [mem 0×10010000-0x1001ffff]
[ 0.513082] clocksource: Switched to clocksource MIPS
[ 0.519172] NET: Registered protocol family 2
[ 0.524330] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.532014] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.539035] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.545408] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551886] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.557771] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.564323] NET: Registered protocol family 1
[ 0.568729] PCI: CLS 0 bytes, default 32
[ 0.571378] Crashlog allocated RAM at address 0x3f00000
[ 0.577915] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.590375] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.596252] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.616936] io scheduler noop registered
[ 0.620852] io scheduler deadline registered (default)
[ 0.626692] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.633681] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.640613] console [ttyS0] disabled
[ 0.644274] 18020000.uart: ttyS0 at MMIO 0×18020000 (irq = 10, base_baud = 10625000) is a 16550A
[ 0.653058] console [ttyS0] enabled
[ 0.660028] bootconsole [early0] disabled
[ 0.674536] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[ 0.679618] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.686021] Creating 4 MTD partitions on “spi0.0”:
[ 0.690808] 0×000000000000-0×000000050000 : “u-boot” [ 0.696550] 0×000000050000-0×000000070000 : “u-boot-env” [ 0.702548] 0×000000070000-0x000000ff0000 : “firmware” [ 0.711065] 2 netgear-fw partitions found on MTD device firmware
[ 0.717127] Creating 2 MTD partitions on “firmware”:
[ 0.722090] 0×000000000000-0x0000001c5440 : “kernel” [ 0.727837] 0x0000001c5440-0x000000f80000 : “rootfs” [ 0.733518] mtd: device 4 (rootfs) set to be root filesystem
[ 0.740540] 1 squashfs-split partitions found on MTD device rootfs
[ 0.746771] 0x0000007e0000-0x000000f80000 : “rootfs_data” [ 0.752926] 0x000000ff0000-0×000001000000 : “art” [ 0.758843] Realtek RTL8366S ethernet switch driver version 0.2.2
[ 0.765052] rtl8366s rtl8366s: cannot find mdio node phandle
[ 0.770719] rtl8366s rtl8366s: using GPIO pins 5 (SDA) and 7 (SCK)
[ 0.777005] rtl8366s rtl8366s: RTL8366 ver. 1 chip found
[ 0.827344] libphy: rtl8366s: probed
[ 0.833038] libphy: Fixed MDIO Bus: probed
[ 1.184827] ag71xx 19000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.194429] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[ 1.534679] ag71xx 1a000000.eth: connected to PHY at rtl8366s:04 [uid=001cc960, driver=Generic PHY]
[ 1.544386] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: rgmii
[ 1.552885] NET: Registered protocol family 10
[ 1.562197] Segment Routing with IPv6
[ 1.566017] NET: Registered protocol family 17
[ 1.570511] 8021q: 802.1Q VLAN Support v1.8
[ 1.587431] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.598222] Freeing unused kernel memory: 1240K
[ 1.602744] This architecture does not have kernel memory protection.
[ 1.609207] Run /sbin/init as init process
[ 2.583093] random: fast init done
[ 2.802168] init: Console is alive
[ 2.805875] init: - watchdog -
[ 6.090295] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.231212] usbcore: registered new interface driver usbfs
[ 6.236831] usbcore: registered new interface driver hub
[ 6.242219] usbcore: registered new device driver usb
[ 6.281739] SCSI subsystem initialized
[ 6.292568] usbcore: registered new interface driver usb-storage
[ 6.299577] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.309264] init: - preinit -
[ 8.224350] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.466243] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.754611] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.618495] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 9.752825] urandom_read: 4 callbacks suppressed
[ 9.752833] random: procd: uninitialized urandom read (4 bytes read)
[ 10.673421] eth0: link up (1000Mbps/Full duplex)
[ 10.678056] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 20.006729] mount_root: loading kmods from internal overlay
[ 20.070104] kmodloader: loading kernel modules from etc/modules-boot.d/*
[ 20.078087] kmodloader: done loading kernel modules from
etc/modules-boot.d/*
[ 20.858277] jffs2_scan_eraseblock(): End of filesystem marker found at 0×30000 [ 20.865541] jffs2_build_filesystem(): unlocking the mtd device...
[ 20.865544] done.
[ 20.873637] jffs2_build_filesystem(): erasing all blocks after the end marker...
[ 78.939877] done.
[ 78.949323] jffs2: notice: (558) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 78.965200] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 78.972247] block: unable to load configuration (fstab: Entry not found)
[ 78.979108] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 78.985665] block: unable to load configuration (fstab: Entry not found)
[ 78.992448] block: attempting to load /etc/config/fstab
[ 79.062790] block: extroot: not configured
[ 79.566994] jffs2: notice: (556) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 80.268686] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 80.275845] block: unable to load configuration (fstab: Entry not found)
[ 80.282637] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 80.289201] block: unable to load configuration (fstab: Entry not found)
[ 80.296055] block: attempting to load /etc/config/fstab
[ 80.301752] block: extroot: not configured
[ 80.307978] mount_root: overlay filesystem has not been fully initialized yet
[ 80.321266] mount_root: switching to jffs2 overlay
[ 80.389579] overlayfs: upper fs does not support tmpfile.
[ 83.093791] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 83.182093] eth0: link down
[ 83.196988] procd: - early -
[ 83.199968] procd: - watchdog -
[ 83.834517] procd: - watchdog -
[ 83.837950] procd: - ubus -
[ 83.904783] random: ubusd: uninitialized urandom read (4 bytes read)
[ 83.912132] random: ubusd: uninitialized urandom read (4 bytes read)
[ 83.919702] procd: - init -
[ 84.893323] kmodloader: loading kernel modules from /etc/modules.d/*
[ 85.045275] tun: Universal TUN/TAP device driver, 1.6
[ 85.069431] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 85.119219] gre: GRE over IPv4 demultiplexor driver
[ 85.139270] ip_gre: GRE over IPv4 tunneling driver
[ 85.484432] Mirror/redirect action on
[ 85.511393] u32 classifier
[ 85.514167] input device check on
[ 85.517816] Actions configured
[ 85.563375] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
[ 85.570932] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
[ 85.594056] urngd: v1.0.2 started.
[ 85.779351] usbcore: registered new interface driver usbserial_generic
[ 85.786017] usbserial: USB Serial support registered for generic
[ 85.834097] wireguard: WireGuard 0.0.20200215 loaded. See www.wireguard.com for information.
[ 85.842525] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 86.062495] xt_time: kernel timezone is -0000
[ 86.197742] random: crng init done
[ 86.337283] PPP generic driver version 2.4.2
[ 86.361591] PPP MPPE Compression module registered
[ 86.378734] NET: Registered protocol family 24
[ 86.408191] PPTP driver version 0.8.5
[ 86.566705] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 104.504191] eth0: link up (1000Mbps/Full duplex)
[ 104.509789] br-lan: port 1(eth0) entered blocking state
[ 104.515094] br-lan: port 1(eth0) entered disabled state
[ 104.520630] device eth0 entered promiscuous mode
[ 104.604615] br-lan: port 1(eth0) entered blocking state
[ 104.609845] br-lan: port 1(eth0) entered forwarding state
[ 104.615450] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 104.663301] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 104.708562] IPv6: ADDRCONF(NETDEV_UP): eth1.2: link is not ready
[ 104.808242] IPv6: ADDRCONF(NETDEV_UP): eth1.7: link is not ready
[ 105.553190] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 106.773996] eth1: link up (1000Mbps/Full duplex)
[ 106.851719] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 106.911421] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.2: link becomes ready
[ 106.918175] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.7: link becomes ready
[ 108.903192] pppoe-wan: renamed from ppp0
root@router:~#

Note, the lack of anything related to the ath9K driver in the second dmesg.

Following the instructions on External Linkhttps://openwrt.org/docs/guide-user/network/wifi/basic to regenerate the wireless configuration:
rm -f /etc/config/wireless
wifi config

resulted in an empty /etc/config/wireless:
root@router:~# ls -all /etc/config/wireless
-rw-r–r– 1 root root 0 Feb 21 23:12 /etc/config/wireless
root@ router:~# cat /etc/config/wireless

Due to the rename of the platform from wndr3700v2 to wndr3700-v2 the build config had to be edited (recreated by a new run of menuconfig).

Let me know if I can do anything to help get this debugged.

25.02.20202856Base systemBug ReportVery LowHighWifi "dies" (hostapd drops all clients) on some ar71xx ...openwrt-19.07New Task Description

This issue is very strange, i don’t even know if it’s just faulty hardware but i have it happening on multiple devices now

Most affected hardware

  • Nanobridge M5 , in this case transmitting enough data can trigger it almost instantly
  • TL-WR841ND , in this case i had it happen like 3-4 times a year
  • CPE 210 v3 , in this case it happens like each week

For the last one, which is running 19.07 i found on the system log

Tue Feb 25 07:38:58 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac1]
Tue Feb 25 07:38:58 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: disassociated due to inactivity
Tue Feb 25 07:38:59 2020 daemon.info hostapd: wlan0: STA [redacted mac1] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Feb 25 07:41:32 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED [redacted mac2]
Tue Feb 25 07:41:32 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: disassociated due to inactivity
Tue Feb 25 07:41:33 2020 daemon.info hostapd: wlan0: STA [redacted mac2] IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Feb 25 07:42:49 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 07:49:55 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 07:55:02 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:00:15 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:05:25 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:10:44 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
Tue Feb 25 08:16:00 2020 daemon.notice hostapd: wlan0: AP-STA-POLL-OK [redacted mac3]
10.03.20202893Base systemBug ReportVery LowHighEthernet port not receiving data on Ubiquiti LiteAP ac ...TrunkUnconfirmed Task Description

Hi,

The Ubiquiti LiteAP ac (LAP-120) does not receive incoming packets via eth0 with the latest snapshot (OpenWrt SNAPSHOT, r12498-2a18840cc7):

root@OpenWrt:/# ifconfig 
br-lan    Link encap:Ethernet  HWaddr B4:FB:E4:FA:FA:FA
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fdaa:a708:e003::1/60 Scope:Global
          inet6 addr: fe80::b6fb:e4ff:fefa:fafa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:4420 (4.3 KiB)

eth0      Link encap:Ethernet  HWaddr B4:FB:E4:FA:FA:FA  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6622 (6.4 KiB)
          Interrupt:4

It works correctly with latest stable, 19.07.2.

Using tcpdump on the connected computer I see outgoing traffic from the device, but incoming traffic does not reach the device.

The device correctly detects link changes, but different link speeds make no difference:

[ 1536.519019] eth0: link down
[ 1536.522824] br-lan: port 1(eth0) entered disabled state
[ 1537.561807] eth0: link up (1000Mbps/Full duplex)
[ 1537.566554] br-lan: port 1(eth0) entered blocking state
[ 1537.571932] br-lan: port 1(eth0) entered forwarding state
[ 1541.719009] eth0: link down
[ 1541.722824] br-lan: port 1(eth0) entered disabled state
[ 1542.761703] eth0: link up (100Mbps/Half duplex)
[ 1542.766359] br-lan: port 1(eth0) entered blocking state
[ 1542.771738] br-lan: port 1(eth0) entered forwarding state
[ 1545.879008] eth0: link down
[ 1545.882820] br-lan: port 1(eth0) entered disabled state
[ 1546.921800] eth0: link up (10Mbps/Half duplex)
[ 1546.926365] br-lan: port 1(eth0) entered blocking state
[ 1546.931744] br-lan: port 1(eth0) entered forwarding state

Please find attached dmesg outputs for both snapshot (snap) and 19.07.2 (19072).

13.03.20202901Base systemBug ReportVery LowHighFlow offload not working properly in case of IPv6 (NAT6...openwrt-19.07Unconfirmed Task Description

Linksys WRT32X with NAT6 configuration.

On latest 19.07 branch r10959

With the flow_offload feature turned on, nat6 is not working properly.
The first (or several) TCP packets seemed to be fine but later packets were not properly transmitted. The connection was soon closed.

(In case of accessing ipv6.google.com, the browser would freeze. And the curl would freeze after receiving a portion of the HTML content.)

In the meantime, ICMPv6 worked normally.

After removing the FLOWOFFLOAD ip6tables record, everything is fine.
After inserting the `-m conntrack –cstate RELATED,ESTABLISHED -j ACCEPT` before the FLOWOFFLOAD everything is also fine.

IPv4 part looked normal even if flow_offload is on.

NAT6 worked on older versions like 18.04 branch with flow_offload enabled.

17.03.20202906Base systemBug ReportVery LowHighAdding v4 Static routes without selecting 'Advanced' Ta...openwrt-19.07Unconfirmed Task Description

Using Openwrt 19.07.2 release;
On TP-Link c2600 & N750(wdr4300 v1.4)

Observed behavior:

Adding a static v4 route i.e 172.16.253.0 via 172.16.253.254 in the Luci Static route page succesfully adds the route, and by default appears to select the local route table. However viewing the routes list in status or via ip r s on cli does not show the entry.

Work-Around:

Ensure that a different table is selected in the 'Advanced tab' then go back in and add it to the correct appropriate route table.



Expected behaviour:

Adding a static route add's it to the system route table irrespective of needing to switch into advanced tab and select a non-default route table first.


21.03.20202912Base systemBug ReportVery LowHighPhicomm K3 (bcm53xx) wifi channel can't be set to auto ...openwrt-19.07Unconfirmed Task Description

Device:Phicomm K3 (bcm53xx)
BUG:wifi channel can’t set to auto mode
Description:Wifi channel can’t set to auto mode in Network - Wireless.
When wireless channel sets to auto mode, wireless settings will change from AP to Cilent even I don’t do that.

23.03.20202922Base systemBug ReportVery LowHighNo COMFAST CF-E110NV2 8MB flash compatible versionTrunkUnconfirmed Task Description

CF-E110V2 is released with 8MB Flash (maybe it was before with 16 but apparently no longer, see forum discussions on CF-E110)
The current released package is only for 16MB flash

Can You generate and publicly release a 8MB flash compatible version too.

Hereafter the modified part of the dts file I’m using to compile my own FW (based on original OEM partition table).

flash@0 {
	compatible = "winbond,w25q64", "jedec,spi-nor";
	reg = <0>;
	spi-max-frequency = <25000000>;
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;
		partition@0 {
			label = "u-boot";
			reg = <0x000000 0x010000>;
			read-only;
		};
		art: partition@10000 {
			label = "art";
			reg = <0x010000 0x010000>;
			read-only;
		};
		partition@20000 {
			compatible = "denx,uimage";
			label = "firmware";
			reg = <0x020000 0x7d0000>;
		};
		partition@7f0000 {
			label = "nvram";
			reg = <0x7f0000 0x010000>;
			read-only;
		};
	};
};
 


26.03.20202931Base systemBug ReportVery LowHighloading package information never arrivedopenwrt-19.07Unconfirmed Task Description

using fresh install

from Luci interface goto menu
system/software
the loading package information never arrived

pushing the update list button
the loading package information never arrived

using the console
opk update, list... are working well


07.04.20202977Base systemBug ReportVery LowHighParameters sendopts seems to be bad formated in the cal...openwrt-19.07Unconfirmed Task Description

The options parameters sendopts define in /etc/config/network seems to be badly formated in the call of the command odhcp6c

In /etc/config/network:

 

option sendopts “11:00 15:456544 16:1234”

is parsed like this (show via ps|grep odhcp6c)
-x11 00 -x15 456544 -x16 1234

The syntax given by the help of odhcp6c is different:

-x <opt>:<val> Add option opt (with value val) in sent packets (cumulative)

		Examples of IPv6 address, string and base-16 encoded options:
		-x dns:2001:2001::1,2001:2001::2 - option 23
		-x 15:office - option 15 (userclass)
		-x 0x1f4:ABBA - option 500
		-x 202:'"file"' - option 202

It appears than the : is replace by a space in the call of the command.
Regarding the help of the command, it should be :
-x 11:00 -x 15:456544 -x 16:1234

Thanks
Regards

08.04.20202980Base systemBug ReportVery LowHighNo connection to Ethernet portTrunkUnconfirmed Task Description

Hi,
I can’t connect to my board with ethernet port, my chip is mt7688 and branch is master, I tested board with 19.07 branch, it seems all is OK.
Below are the logs with serial port :

root@OpenWrt:/# [  306.094979] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  306.101270] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  306.107392] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  306.117655] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=0701c000, max=1024, calc=0, drx=1
[  316.094980] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  316.101273] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  316.107393] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  316.117657] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07070000, max=1024, calc=1023, drx=0
[  317.502718] rt3050-esw 10110000.esw: link changed 0x00
[  326.094981] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  326.101274] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  326.107394] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=2, dtx=0, fdx=0, next=2
[  326.117659] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=0701c000, max=1024, calc=1023, drx=0
[  336.094979] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  336.101271] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  336.107392] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  336.117656] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07070000, max=1024, calc=1023, drx=0
[  346.094979] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  346.101272] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  346.107392] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  346.117654] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=0701c000, max=1024, calc=1023, drx=0
[  356.094981] mtk_soc_eth 10100000.ethernet eth0: transmit timed out
[  356.101273] mtk_soc_eth 10100000.ethernet eth0: dma_cfg:00000057
[  356.107393] mtk_soc_eth 10100000.ethernet eth0: tx_ring=0, base=0707c000, max=1024, ctx=1, dtx=0, fdx=0, next=1
[  356.117657] mtk_soc_eth 10100000.ethernet eth0: rx_ring=0, base=07070000, max=1024, calc=1023, drx=0
 


09.04.20202986Base systemBug ReportVery LowHighFunctionality broken by migration to DSA for Ubiquiti E...TrunkUnconfirmed Task Description

Supply the following if possible:
- Ubiquiti ER-X
- Trunk
- Build trunk of Openwrt and try to configure vlan enabled interfaces on an embedded switch.

Hi.

I have Ubiquiti ER-X which I have been using for quite a while and it was working just fine.
I was using it to route traffic from external internet connections to a ‘trunk’ port connected to a different OpenWrt device used as access point. So to clarify: I have one of the swich ports configured as ‘tagged’ (’tunk’) for multiple vlans.

Unfortunately commit 30644bc579e771e4b6dcc165ca966124e0259e1e that switched this device to use DSA for switch configuration have completely broken this setup.

And I’m not talking abut soft bricking - that was to be expected. Unfortunately DSA doesn’t provide functionality that was available in swconfig for years. Namely it seems to be impossible to configure switch ports to be ‘tagged’.

It looks like DSA is considered to be ‘the future’ but unfortunately it doesn’t see to be ready for prime time - it seems to be impossible to use DSA enabled devices in configurations that were perfectly possible before.

13.04.20203005Base systemBug ReportVery LowHighiptables ruleset order improvement optionTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TP-Link Archer C7 v5
- Software versions of OpenWrt/LEDE release, packages, etc.
19.07.2, just default packages
- Steps to reproduce
Current iptable ordering is badly pessimal (this repeats 3x, so 3 states get set for each connection, but thats for other news)
```
-A FORWARD -m comment –comment “!fw3: Custom forwarding rule chain” -j forwarding_rule
-A FORWARD -m conntrack –ctstate RELATED,ESTABLISHED -m comment –comment “!fw3” -j ACCEPT
-A FORWARD -m conntrack –ctstate INVALID -m comment –comment “!fw3” -j DROP
```
following does same job but does significantly less processing for typical case of in-state packets
```
-A FORWARD -m conntrack –ctstate RELATED,ESTABLISHED -m comment –comment “!fw3” -j ACCEPT
-A FORWARD -m conntrack –ctstate INVALID -m comment –comment “!fw3” -j DROP
-A FORWARD -m comment –comment “!fw3: Custom forwarding rule chain” -j forwarding_rule
```
Not willing to generalize, but my wifi and wire behind could not reach subscription 100Mbps in any way before the change, after change it is steady 100Mbps both ways.

21.04.20203031Base systemBug ReportVery LowHighBusybox force reinstalled when there are no opkg listsopenwrt-19.07Unconfirmed Task Description

Device problem occurs on: Turris Omnia, mvebu
Software version: OpenWrt 19.07.

Steps to reproduce:

I noticed this bug, when I forget to do before force-reinstalling busybox

opkg update

If there isn’t anything in folder /var/opkg-lists

root@turris:/# ls -la /var/opkg-lists
ls: /var/opkg-lists: No such file or directory

It is possible to remove busybox, which should not happen.

root@turris:/# opkg install busybox --force-reinstall
Removing package busybox from root...
Installing busybox (1.30.1-5.18) to root...
Collected errors:
 * opkg_download_pkg: Package busybox is not available from any configured src.
 * opkg_install_pkg: Failed to download busybox. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package busybox.

And then the device ends up being in a non-specific state when you can not do anything and you need to flash firmware it once again.

If you do

opkg update

before force-reinstalling busybox, it refuses to do it which is correct.

root@turris:~# opkg install busybox --force-reinstall
Refusing to remove essential package busybox.
        Removing an essential package may lead to an unusable system, but if
        you enjoy that kind of pain, you can force opkg to proceed against
        its will with the option: --force-removal-of-essential-packages
No packages removed.
Package busybox (1.30.1-5.18) installed in root is up to date.
08.05.20203072Base systemBug ReportVery LowHighSamknows WhiteBox8 misses 2.4 GHz pcie wireless NICTrunkUnconfirmed Task Description

device

software versions

tested & misses 2.4 GHz NIC

tested & has 2.4 GHz NIC

reproduce

  • build OpenWrt master branch with a given commits and flash it on the device (my build config is attached)
  • run “iw dev” or “iw list”
    • in problem state it lists one interface (the 5 GHz wireless NIC)
    • in good state it lists two interfaces (2.4 GHz and 5 GHz wireless NIC)

conclusion

I think it has either to do with ramips: mt7621: switch kernel version to 5.4 or with ramips: mt7621: update PCIe node in dtsi. Between the known good and earliest known bad commit are multiple commits working together. I fear to test them one by one.

09.05.20203079Base systemBug ReportVery LowHighTraceback when booting OpenWrt 19.07.2 on Netgear r7500...TrunkUnconfirmed Task Description

My Netgear r7500v2 running OpenWrt 19.07.2 always shows the following traceback when booting up.

[ 31.917130] ————[ cut here ]———— [ 31.917192] WARNING: CPU: 1 PID: 1938 at backports-4.19.98-1/net/wireless/util.c:1147 0xbf2e3d88 [cfg80211@bf2df000+0×37000]
[ 31.920831] invalid rate bw=0, mcs=15, nss=4
[ 31.932143] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic 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_FLOWOFFLOAD xt_CT wireguard slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel uas usb_storage f2fs ext4 mbcache jbd2 crc32c_generic crc32_generic leds_gpio xhci_plat_hcd
[ 31.985373] xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[ 32.007657] CPU: 1 PID: 1938 Comm: hostapd Not tainted 4.14.171 #0
[ 32.025242] Hardware name: Generic DT based system
[ 32.031323] Function entered at [<c030f1c4>] from [<c030b390>]
[ 32.036095] Function entered at [<c030b390>] from [<c07c0664>]
[ 32.041911] Function entered at [<c07c0664>] from [<c031fa98>]
[ 32.047727] Function entered at [<c031fa98>] from [<c031faf8>]
[ 32.053544] Function entered at [<c031faf8>] from [<bf2e3d88>]
[ 32.059386] Function entered at [<bf2e3d88>] from [<bf2f17dc>]
[ 32.065179] Function entered at [<bf2f17dc>] from [<bf2fe5f4>]
[ 32.070992] Function entered at [<bf2fe5f4>] from [<bf2ff1e8>]
[ 32.076806] Function entered at [<bf2ff1e8>] from [<bf332ad0>]
[ 32.082632] Function entered at [<bf332ad0>] from [<bf332b60>]
[ 32.088438] Function entered at [<bf332b60>] from [<bf332bf8>]
[ 32.094255] Function entered at [<bf332bf8>] from [<bf2ed678>]
[ 32.100071] Function entered at [<bf2ed678>] from [<c06e190c>]
[ 32.105887] Function entered at [<c06e190c>] from [<c06e0128>]
[ 32.111702] Function entered at [<c06e0128>] from [<c06e0900>]
[ 32.117517] Function entered at [<c06e0900>] from [<c06df938>]
[ 32.123334] Function entered at [<c06df938>] from [<c06dfd54>]
[ 32.129150] Function entered at [<c06dfd54>] from [<c0689c18>]
[ 32.134967] Function entered at [<c0689c18>] from [<c068a480>]
[ 32.140782] Function entered at [<c068a480>] from [<c0307b60>]
[ 32.146678] —[ end trace 97f7e93c858c392e ]—

11.05.20203092Base systemBug ReportVery LowHighXiaomi Router 3G random rebootsopenwrt-19.07Unconfirmed Task Description

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

 

Hello,

I have a Xiaomi 3G router. Since the day I bought it I installed Openwrt and to tell you the truth, with version 18.06 I didn’t have any problem.

A few weeks ago I updated to the new version (19.07) using LuCI and it restarts me randomly.

I tried restoring the router, reinstalling the update and it keeps randomly rebooting. Right now I have it without any additional packages installed and it still keeps rebooting randomly.

I have noticed, that almost every time I see a reboot and look at the log file the first thing that appears is this, that is, the first line after the reboot is:

Mon May 11 22:16:59 2020 daemon.info dnsmasq[1148]: exiting on receipt of SIGTERM
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: started, version 2.80 cachesize 150
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: DNS service limited to local subnets
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Mon May 11 22:16:59 2020 daemon.info dnsmasq-dhcp[2722]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain test
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain onion
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain localhost
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain local
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain invalid
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain bind
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain lan
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: reading /tmp/resolv.conf.auto
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain test
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain onion
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain localhost
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain local
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain invalid
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain bind
Mon May 11 22:16:59 2020 daemon.info dnsmasq[2722]: using local addresses only for domain lan

Please, I need help since I can’t work if it constantly resets. If you need any more information, please do not hesitate to ask me.

29.05.20203134Base systemBuild FailureVery LowHighCan't build netifdopenwrt-19.07Unconfirmed Task Description

Environment: x86_64
Arch Linux
Description: Can’t build current openwrt-19.07. (Arch Linux, tried both GCC 10.1.0 and 8.4.0. Getting two build errors:

CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlin
k-mips16 -iremap/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944:netifd-2019-08-05-5e02f944 -Wformat -Werror=format-security -fstack-protector -D_F
ORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include/libnl-tiny -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mips
el_74kc_musl/usr/include -flto  -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/includ
e -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/usr/include -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/include/fo
rtify -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/include " CXXFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fho
nour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-
2019-08-05-5e02f944:netifd-2019-08-05-5e02f944 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/home/legogris/dev/openwrt-fresh/staging_dir/tar
get-mipsel_74kc_musl/usr/include/libnl-tiny -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include -flto  -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mips
el_74kc_musl/usr/include -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/include -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/usr/
include -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/include/fortify -I/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/
include " LDFLAGS="-L/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/lib -L/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/lib -L/home/legogris/de
v/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/usr/lib -L/home/legogris/dev/openwrt-fresh/staging_dir/toolchain-mipsel_74kc_gcc-7.5.0_musl/lib -znow -zrelro -flto -fuse-linke
r-plugin " make  -C /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/. AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -
Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap/home/legogris/dev/o
penwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944:netifd-2019-08-05-5e02f944 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,re
lro -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include/libnl-tiny -I/home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/usr/include -flto" LD=m
ipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-open
wrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CROSS="
mipsel-openwrt-linux-musl-" ARCH="mipsel" CMAKE_COMMAND='/home/legogris/dev/openwrt-fresh/staging_dir/host/bin/cmake' CMAKE_DISABLE_cmake_check_build_system=1 ;
make[4]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[5]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[6]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[6]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[6]: Entering directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
[  4%] Building C object CMakeFiles/netifd.dir/main.c.o
In file included from /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/netifd.h:29:0,
                 from /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/main.c:22:
/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/utils.h:116:51: error: 'struct uci_blob_param_list' declared inside parameter list will not be vis
ible outside of this definition or declaration [-Werror]
 const char * uci_get_validate_string(const struct uci_blob_param_list *p, int i);
                                                   ^~~~~~~~~~~~~~~~~~~
cc1: error: unrecognized command line option '-Wno-unknown-warning-option' [-Werror]
cc1: all warnings being treated as errors
make[6]: *** [CMakeFiles/netifd.dir/build.make:63: CMakeFiles/netifd.dir/main.c.o] Error 1
make[6]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[5]: *** [CMakeFiles/Makefile2:76: CMakeFiles/netifd.dir/all] Error 2
make[5]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[4]: *** [Makefile:130: all] Error 2
make[4]: Leaving directory '/home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944'
make[3]: *** [Makefile:49: /home/legogris/dev/openwrt-fresh/build_dir/target-mipsel_74kc_musl/netifd-2019-08-05-5e02f944/.built] Error 2
make[3]: Leaving directory '/home/legogris/dev/openwrt-fresh/package/network/config/netifd'
time: package/network/config/netifd/compile#0.33#0.08#0.39
make[2]: *** [package/Makefile:113: package/network/config/netifd/compile] Error 2
make[2]: Leaving directory '/home/legogris/dev/openwrt-fresh'
make[1]: *** [package/Makefile:107: /home/legogris/dev/openwrt-fresh/staging_dir/target-mipsel_74kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/legogris/dev/openwrt-fresh'
make: *** [/home/legogris/dev/openwrt-fresh/include/toplevel.mk:227: world] Error 2
make -j1 V=s  20,02s user 4,25s system 102% cpu 23,565 total
03.06.20203147Base systemBug ReportVery LowHigh802.11w settings on LUCI WIFI page doesn't work properl...openwrt-19.07Unconfirmed Task Description

Host device

Device problem occurs on: Phicomm PSG1218A (MTK7620, 64M, 8MB, 802.11AC+N)
Software versions of OpenWrt/LEDE release: OpenWRT 19.07.3 Stable (r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363)
Package: wpad-openssl OR hostapd-openssl

External server/service

RADIUS server: Windows Server 2019 NPAS, worked fine with WPA2-EAP

Client

Client WIFI chip and driver: Intel Dual Band Wireless-AC 8265 running newest driver version 20.70.16.4 (driver date: 01/01/2020)

Steps to reproduce:

1. initialize default settings, then remove wpad-basic and install wpad-openssl OR hostapd-openssl to enable WPA3 AP mode
2. leave 802.11w to default setting which is “Required” 3. set country setting, ssid, and etc. as required such as radius for EAP
4 if use WPA2-PSK or WPA2-EAP with default settings, everything works fine.

5. switch WIFI (AC/N) to WPA2-PSK/WPA3-SAE mixed mode (sae+ccmp or something like that) OR WPA2-EAP/WPA3-EAP mixed mode (wpa3-mixed+ccmp or something like that)
6. apply settings wait until effective or reboot to take effect

6.1 __ssid won't come up on 802.11g/n interface__ if in PSK/SAE mixed mode.

7. Client (Intel 8265) won’t be able to connect to SSID,

7.1 if ssid would come up (802.11a/ac), it would be seen on client scan, but the client (Intel 8265) won't be able to connect to SSID, reports "Can't connect", in EAP mode, router side log "Deauthenticated due to local request" after "EAP-SUCCESS"

8. switch 802.11w to other settings, including “Optional”, problem remains, router config file /etc/config/wireless would list “option ieee80211w ‘1’” 9. switch 802.11w to other settings, including “Optional”, problem still remains, router config file /etc/config/wireless will be missing the “option ieee80211w” completely, and it seems wpad or hostapd would assume “optional” (code ‘1’) as default value instead of the documented “disabled” (code ‘0’).

Steps to workaround:

Manually set “option ieee80211w ‘0’” in /etc/config/wireless to disable 802.11w and don’t update settings through LUCI on the problematic ssid, restart wifi. Everything would work.

08.06.20203160Base systemBug ReportVery LowHigh[opkg | odhcpd] installation collisionopenwrt-19.07Unconfirmed Task Description
{”kernel”:”4.14.180”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”19.07.3”,”revision”:”r11063-85e04e9f46”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt 19.07.3 r11063-85e04e9f46”}}
—-
opkg install odhcpd
Installing odhcpd (2020-05-03-49e4949c-3) to root...
Downloading http://downloads.openwrt.org/releases/19.07.3/packages/arm_cortex-a9_vfpv3-d16/base/odhcpd_2020-05-03-49e4949c-3_arm_cortex-a9_vfpv3-d16.ipk
Collected errors:
 * check_data_file_clashes: Package odhcpd wants to install file /etc/init.d/odhcpd
        But that file is already provided by package  * odhcpd-ipv6only
 * check_data_file_clashes: Package odhcpd wants to install file /usr/sbin/odhcpd
        But that file is already provided by package  * odhcpd-ipv6only
 * check_data_file_clashes: Package odhcpd wants to install file /usr/sbin/odhcpd-update
        But that file is already provided by package  * odhcpd-ipv6only
 * opkg_install_cmd: Cannot install package odhcpd.


11.06.20203174Base systemBug ReportVery LowHigh[sysupgrade] unsupported GPT PARTUUID notationAllUnconfirmed Task Description

{”kernel”:”5.4.45”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”SNAPSHOT”,”revision”:”r13527-61307544d1”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt SNAPSHOT r13527-61307544d1”}}


deploying from GPT partition

(. /lib/upgrade/common.sh; set -x; export_bootdevice)
+ export_bootdevice
+ local cmdline bootdisk rootpart uuid blockdev uevent line class
+ local MAJOR MINOR DEVNAME DEVTYPE
+ read cmdline
+ rootpart='PARTUUID=4d4ced8f-b95c-1142-9287-529911b660c6 rootflags=commit=5 rw cfg80211.freg=**'
+ rootpart='PARTUUID=4d4ced8f-b95c-1142-9287-529911b660c6'
+ '[' -e  ]
+ return 1
 

This patch sorts the issue

diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index c375b70742..e718d0412b 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -154,7 +154,7 @@ export_bootdevice() {
                                        fi
                                done
                        ;;
-                       PARTUUID=????????-????-????-????-??????????02)
+                       PARTUUID=????????-????-????-????-????????????)
                                uuid="${rootpart#PARTUUID=}"
                                uuid="${uuid%02}00"
                                for disk in $(find /dev -type b); do


12.06.20203176Base systemBug ReportVery LowHighpi zero AP+STA mode does not workAllUnconfirmed Task Description

Supply the following if possible:
- device: Raspberry Pi Zero W
- Versions confirmed on: recent Snapshot, 19.07.3, 18.06.8, 17.01.4
- Steps to reproduce:

  1. flash image to sd card, put sd card into pi
  2. turn on wifi radio (uci set wireless.radio0.disabled=0)
  3. add a wireless network such that one is a station and one is a AP (I’ve tried though gui and command line)
  4. restart wifi (either through reboot or wifi command)
  5. Now in the dmesg you can see wlan0-1 cycling between blocking forwarding and disabled states

Additional info:
I made this forum post about it, but not much has come from that and I’ve learned a lot since posting.

I know that this mode is supported from the iw list output -

 valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 2
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
        Supported extended features:
                * [ 4WAY_HANDSHAKE_STA_PSK ]: 4-way handshake with PSK in station mode
                * [ 4WAY_HANDSHAKE_STA_1X ]: 4-way handshake with 802.1X in station mode

I’ve even gotten AP+STA mode to work by manually starting a second instance of hostapd (note that im not killing the original one), but that makes it even more confusing that it doesn’t work normally.

I make sure that they are on the same channel.

If you need anything cleared up please let me know. I’ve tried for over a week now to fix this myself to no avail.

14.06.20203181Base systemBug ReportVery LowHighunable to build 19.07.3 for clearfog proopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Clearfog pro

- Software versions of OpenWrt/LEDE release, packages, etc.
tag 19.07.3
- Steps to reproduce
make fails:

export CROSS="arm-openwrt-linux-muslgnueabi-"  NO_RENAME=1 ; NM="arm-openwrt-linux-muslgnueabi-nm" STRIP="/home/oli/openwrt/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/oli/openwrt/scripts/strip-kmod.sh" PATCHELF="/home/oli/openwrt/staging_dir/host/bin/patchelf" /home/oli/openwrt/scripts/rstrip.sh /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools
rstrip.sh: /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools/usr/sbin/fw_printenv: executable
(cd /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools/CONTROL; ( echo "$CONTROL"; printf "Description: "; echo "$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; ) > control; chmod 644 control; ( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_postinst \$0 \$@"; ) > postinst; ( echo "#!/bin/sh"; echo "[ -x "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo "default_prerm \$0 \$@"; ) > prerm; chmod 0755 postinst prerm; echo "$V_Package_uboot_envtools_conffiles" > conffiles;  )
install -d -m0755 /home/oli/openwrt/bin/targets/mvebu/cortexa9/packages
/home/oli/openwrt/scripts/ipkg-build -c -o 0 -g 0 /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools /home/oli/openwrt/bin/targets/mvebu/cortexa9/packages
/home/oli/openwrt/staging_dir/host/bin/find: '/home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools/etc/config/ubootenv': No such file or directory
/home/oli/openwrt/staging_dir/host/bin/find: '/home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools/etc/fw_env.config': No such file or directory
Packaged contents of /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-2018.03/ipkg-arm_cortex-a9_vfpv3-d16/uboot-envtools into /home/oli/openwrt/bin/targets/mvebu/cortexa9/packages/uboot-envtools_2018.03-3_arm_cortex-a9_vfpv3-d16.ipk
echo "uboot-envtools" >> /home/oli/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/pkginfo/uboot-envtools.default.install
make[3]: Leaving directory '/home/oli/openwrt/package/boot/uboot-envtools'
time: package/boot/uboot-envtools/compile#1.27#0.68#1.71
make[3]: Entering directory '/home/oli/openwrt/package/boot/uboot-mvebu'
rm -f /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-clearfog/u-boot-2018.03/.built
touch /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-clearfog/u-boot-2018.03/.built_check
make  -C /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-clearfog/u-boot-2018.03 CROSS_COMPILE=arm-openwrt-linux-muslgnueabi- DTC="/home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/linux-4.14.180/scripts/dtc/dtc" HOSTCC="gcc" HOSTCFLAGS="-O2 -I/home/oli/openwrt/staging_dir/host/include -I/home/oli/openwrt/staging_dir/hostpkg/include -I/home/oli/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -I/home/oli/openwrt/staging_dir/host/include -I/home/oli/openwrt/staging_dir/hostpkg/include -I/home/oli/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/include -std=gnu11" HOSTLDFLAGS="-L/home/oli/openwrt/staging_dir/host/lib -L/home/oli/openwrt/staging_dir/hostpkg/lib -L/home/oli/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/host/lib"
make[4]: Entering directory '/home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-clearfog/u-boot-2018.03'
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  CC      lib/asm-offsets.s
  CHK     include/generated/generic-asm-offsets.h
  UPD     include/generated/generic-asm-offsets.h
  CC      arch/arm/lib/asm-offsets.s
  CHK     include/generated/asm-offsets.h
  UPD     include/generated/asm-offsets.h
  HOSTLD  scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[6]: *** [scripts/Makefile.host:108: scripts/dtc/dtc] Error 1
make[5]: *** [scripts/Makefile.build:425: scripts/dtc] Error 2
make[4]: *** [Makefile:491: scripts] Error 2
make[4]: Leaving directory '/home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-clearfog/u-boot-2018.03'
make[3]: *** [Makefile:53: /home/oli/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/u-boot-clearfog/u-boot-2018.03/.built] Error 2
make[3]: Leaving directory '/home/oli/openwrt/package/boot/uboot-mvebu'
time: package/boot/uboot-mvebu/clearfog/compile#0.32#0.20#0.51
make[2]: *** [package/Makefile:113: package/boot/uboot-mvebu/compile] Error 2
make[2]: Leaving directory '/home/oli/openwrt'
make[1]: *** [package/Makefile:107: /home/oli/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/oli/openwrt'
make: *** [/home/oli/openwrt/include/toplevel.mk:227: world] Fehler 2
20.06.20203195Base systemBug ReportVery LowHighramips/mt7621/zbt3526 -> boot failure with kernel 5.4TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: ZBT 3526-16MB + 32 MB - Software versions of OpenWrt/LEDE: current trunk (kernel 5.4)
- Steps to reproduce: when i update the firmware, i see that there is a network after reboot for ~10sec, and then it is gone, and is not accessable, seeems to be, that something is crashing.
i can only hard-reset - nothing else.

any idea ?
maybe it is related also like the other bugs reported ? for bootloop or hanging/crashing mt7621 ?

 


27.06.20203207Base systemBug ReportVery LowHighSetting MTU on Bridged interfaces does not set MTU on m...openwrt-19.07Unconfirmed Task Description

- Device problem occurs on - x86
- Software versions of OpenWrt/LEDE release, packages, etc. - 19.07.3

 

I think it’s a bug/overlooked use case, but when you have interfaces bridged in the UCI config, the MTU setting does not get applied to the member interfaces (physical or VLAN).

config interface 'lan'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option ipaddr '192.168.1.1'
        option type 'bridge'
        option mtu '9000'
        option ifname 'eth1 eth4.10'

When I boot using this config I have connectivity issues with devices using Jumbo frames. ifconfig confirms that MTUs on the members interfaces are still at default 1500.

eth1      Link encap:Ethernet  HWaddr 0C:C4:7A:AB:39:3D
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Memory:df440000-df45ffff

eth4      Link encap:Ethernet  HWaddr 3C:FD:FE:BB:01:50
          inet6 addr: fe80::3efd:feff:febb:150/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
          RX packets:50176 errors:0 dropped:1 overruns:0 frame:0
          TX packets:37468 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:15692679 (14.9 MiB)  TX bytes:29263711 (27.9 MiB)

eth4.10   Link encap:Ethernet  HWaddr 3C:FD:FE:BB:01:50
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:36728 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20850 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9314410 (8.8 MiB)  TX bytes:26473088 (25.2 MiB)

I have to manually use the ifconfig tool to set the MTU (i.e. ifconfig eth4.10 mtu 9000) to get the network back up and running correctly.

Obviously these commands could be scritped, however it was my understanding the UCI network config should be doing this .

22.07.20203242Base systemBug ReportVery LowHighUAS not working - All devices with USB3.0 affectedAllUnconfirmed Task Description

USB controller “f10f8000.usb3” is preventing UAS from working on OpenWRT devices, as dmesg states:

[ 1.830001] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 1.860632] usb 3-1: USB controller f10f8000.usb3 does not support streams, which are required by the UAS driver.
[ 1.870949] usb 3-1: Please try an other USB controller if you wish to use UAS.
[ 1.878291] usb-storage 3-1:1.0: USB Mass Storage device detected

Checked in OpenWRT 18.04 and 19.03 with Linksys WRT3200ACM and Turris Omnia. This impacts USB3.0 speeds.

To reproduce just hook up a USB3.0 HDD to a OpenWRT device on the USB3.0 port and see dmesg.

Is it possible to try another controller or fix f10f8000.usb3?

28.07.20203252Base systemBug ReportVery LowHighX86 kernel has no emmc support, cause it can't boot fro...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Z83II mini pc. https://www.minipcdb.com/articles/Meet-Z83II-Mini-PC - Software versions of OpenWrt/LEDE release, packages, etc. Tested on both 19.07.3 and latest snapshots, both failed.
- Steps to reproduce: Write to image to the embedded emmc disk and boot it.

I’ve tested both 19.07.3 and latest snapshots build of openwrt x86-64 build on the Intel Z8350 fanless mini PC. Both failed to boot. The kernel can boot up correctly, but the system hang at waiting for root device. If the image is burned on USB disk, it can boot up correctly without any issue.

I searched on Google and found this post - https://forum.archive.openwrt.org/viewtopic.php?id=72195

I did the test on 19.07.3 and verified the system can boot up correctly from embedded emmc storage that by adding the following two options into the target/linux/x86/64/config-default file
CONFIG_MMC_SDHCI_ACPI
CONFIG_X86_INTEL_LPSS

Could you approve to add the options into the future update to support booting from emmc storage?
Thanks!

 


13.08.20203282Base systemBug ReportVery LowHigh[bug/crypto] rockchip: nanopi r2s crypto performance is...TrunkUnconfirmed Task Description

Hello everyone.

I found a serious crypto performance problem with NanoPi R2S.

Some proxy softwares, like shadowsocks-libev, can only reach to low
speed (about ~13 MB/s with aes-128-gcm). On this board, I don’t think
it’s normal.

Otherwise, all the chippers perform terriblly, not just aes-128-gcm.
I tried run commands like openssl speed -evp aes-128-gcm, and the
scores were good, but when running other softwares like trojan which
using openssl to crypt / decrypt, the speed totally doesn’t match the
score.

I’ve ever tried to enable the kernel crypto modules, but it seemded to
be useless.

24.08.20203303Base systemBug ReportVery LowHighntfs drive not mountingTrunkUnconfirmed Task Description

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

 

This problem is occurring on a BT HomeHub 5A. I have two of these and the problem happens on both of them. I am currently using V5.X and the issue is only here but it is working in v19.07.3.

The issue is that I am not able to auto-mount my NTFS drive with bootup through fstab.
The error is as follows:

Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.711119] scsi 0:0:0:0: Direct-Access     Seagate  Expansion        0608 PQ: 0 ANSI: 6
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.725022] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/466 GiB)
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.733044] sd 0:0:0:0: [sda] Write Protect is off
Sun Aug 23 21:56:03 2020 kern.debug kernel: [   11.736665] sd 0:0:0:0: [sda] Mode Sense: 4f 00 00 00
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   11.738710] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sun Aug 23 21:56:03 2020 kern.warn kernel: [   11.739527] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
Sun Aug 23 21:56:03 2020 kern.info kernel: [   12.012011]  sda: sda1
Sun Aug 23 21:56:03 2020 kern.notice kernel: [   12.020464] sd 0:0:0:0: [sda] Attached SCSI disk

Sun Aug 23 21:56:10 2020 daemon.err block: No "mount.ntfs" utility available
Sun Aug 23 21:56:10 2020 daemon.err block: mounting /dev/sda1 (ntfs) as /tmp/data-hdd failed (25) - Not a tty

Although I can mount the drive manually through ntfs-3g and the package is already installed but somehow the system thinks it is not available. For now the workaround is to manually mount the drive when the boot ends.

Please fix this issue thanks.

05.09.20203319Base systemBug ReportVery LowHigherratic behaviour wireless network control on system wi...TrunkUnconfirmed Task Description

Device: Ubiquiti Routerstation (ar71xx)
Software: OpenWrt SNAPSHOT, r14382+7-ad0f0df909 (local compilation after Sep 3 2020 git pull)
Symptoms: commands like ‘wifi up wlan1’ on a system with wlan0, wlan1, and wlan2 (phy0,1,2) , make other wlanN disapperar than wlan1.
plus in dmesg messages like
[ n.n] do_page_fault(): sending SIGSEGV to hostapd for invalid write access to 00000000
[ n.n] epc = 77e79e6c in libc.so[77e4c000+9c000]
[ n.s] ra = 77e1e309 in libubus.so[77e1c000+13000]

Bug found through experimentation:
script: /lib/netifd/wireless/mac80211.sh
function: drv_mac80211_teardown()
line: json_select data
problem: ‘data’ does not produce phy, ‘config’ does.
corrected line: json_select config

Going though experimentations also found that there may be problems in
script: /lib/netifd/hostapd.sh
function: wpa_supplicant_run()
line: ubus call wpa_supplicant config_add
and the lines that follow with parameters and line continuations.
Replaced:

ubus call wpa_supplicant config_add "{ \
	\"driver\": \"${_w_driver:-wext}\", \"ctrl\": \"$_rpath\", \
	\"iface\": \"$ifname\", \"config\": \"$_config\" \
	${network_bridge:+, \"bridge\": \"$network_bridge\"} \
	${hostapd_ctrl:+, \"hostapd_ctrl\": \"$hostapd_ctrl\"} \
	}"

By:

local br=${network_bridge:+',"bridge":"'$network_bridge'"'}
local hc=${hostapd_ctrl:+',"hostapd_ctrl":"'$hostapd_ctrl'"'}
local jsonstr='{"driver":"'${_w_driver:-wext}'","iface":"'${ifname}'"'${br}${hc}',"ctrl":"'${_rpath}'","config":"'${_config}'"}'
ubus call wpa_supplicant config_add ${jsonstr}

because in a separate test script just to see the workings of the original I could not get it to work due to the nested parameter substitution.
Have removed all the \” as the " do not need to be escaped when within single quotes.


Showing tasks 101 - 150 of 1125 Page 3 of 23 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing