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.

OpenedIDCategoryTask TypePrioritySeverity  descSummaryReported InStatus
09.05.20192276OtherBug ReportVery LowCriticalThe path to read temperature in fan_ctrl.sh needs to be...TrunkUnconfirmed Task Description

[openwrt/openwrt.git] / target / linux / mvebu / base-files / sbin / fan_ctrl.sh

CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon2/temp1_input`
DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp2_input`

These three paths are wrong, I found these three:
CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon0/temp1_input`
WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon0/temp2_input`

11.06.20192316KernelBug ReportVery LowCriticalKernel's iptables crash unexpectedlyTrunkWaiting on reporter Task Description

<Xiaomi Mi Router 3G / OpenWrt SNAPSHOT, r10173-6b762dd>
My router sometimes restart unexpectedly with no reason. Here’s the kernel’s crash log (/sys/kernel/debug/crashlog)

<0>[12930.571103] usercopy: kernel memory overwrite attempt detected to c2651000 (kmalloc-2048) (5408 bytes)
<4>[12930.580437] Kernel bug detected[#1]:
<4>[12930.584007] CPU: 2 PID: 28709 Comm: iptables Not tainted 4.14.123 #0
<4>[12930.590333] task: 8186ddc0 task.stack: 81fe4000
<4>[12930.594840] $ 0   : 00000000 00000001 0000005a 00000000
<4>[12930.600054] $ 4   : 8122d33c 8122d33c 81231e78 00007388
<4>[12930.605266] $ 8   : 00000000 00000194 00000008 00000000
<4>[12930.610476] $12   : 00000000 805c0000 0008b6df 00000000
<4>[12930.615697] $16   : c2651000 00001520 00000000 c2652520
<4>[12930.620906] $20   : 006678e0 00001548 00000000 77fca000
<4>[12930.626115] $24   : 00000001 802ab558
<4>[12930.631326] $28   : 81fe4000 81fe5dc0 00000000 80116360
<4>[12930.636539] Hi    : 00000124
<4>[12930.639403] Lo    : 74e58000
<4>[12930.642286] epc   : 80116360 __check_object_size+0x1b0/0x1e0
<4>[12930.647921] ra    : 80116360 __check_object_size+0x1b0/0x1e0
<4>[12930.653549] Status: 11007c03      KERNEL EXL IE
<4>[12930.657721] Cause : 50800024 (ExcCode 09)
<4>[12930.661707] PrId  : 0001992f (MIPS 1004Kc)
<4>[12930.665796] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp
<4>[12930.736837]  nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake nf_conntrack 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
<4>[12930.808159]  ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb usb_storage sd_mod scsi_mod ext4 mbcache jbd2 crc32c_generic leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[12930.835248] Process iptables (pid: 28709, threadinfo=81fe4000, task=8186ddc0, tls=77fd8eb8)
<4>[12930.843554] Stack : 818c0040 8055090c 8055e4c8 c2651000 8054f124 00001520 00000000 00001520
<4>[12930.851887]         c2651000 00667908 805d9980 8ead1c3c 818c0000 818c0040 c264e000 805b0000
<4>[12930.860223]         805b0000 805e0000 00000041 8f1b9c98 805d9980 c264e000 0066a000 81fe5e34
<4>[12930.868560]         8adcd004 006663b0 81840040 805d9980 00000000 00000000 746c6966 00007265
<4>[12930.876894]         00000000 00000000 00000000 00000000 00000000 00000000 00000152 00000000
<4>[12930.885244]         ...
<4>[12930.887733] Call Trace:
<4>[12930.890172] [<80116360>] __check_object_size+0x1b0/0x1e0
<4>[12930.895540] [<8ead1c3c>] xt_copy_counters_from_user+0xac/0x158 [x_tables]
<4>[12930.902322] [<8f1b9c98>] ipt_register_table+0x508/0xdf8 [ip_tables]
<4>[12930.908568] Code: 02003825  0c01d530  24840924 <000c000d> 8fb30028  8fb20024  8fb10020  8fb0001c  03e00008
<4>[12930.918296]
<4>[12930.920137] ---[ end trace 0d59c51a87e12512 ]---
06.07.20192359Base systemBug ReportVery LowCriticalAble to use channels out of regulatory domain(ES) in 5...TrunkUnconfirmed Task Description

Device: TP-Link Archer C7 v5 (ath79)
Software versions of OpenWrt: latest snapshot https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_archer-c7-v5-squashfs-sysupgrade.bin

Anything upper 5700 MHz [140] should be disabled.

iw list:

              [...]
              Frequencies:
                      * 5180 MHz [36] (23.0 dBm)
                      * 5200 MHz [40] (23.0 dBm)
                      * 5220 MHz [44] (23.0 dBm)
                      * 5240 MHz [48] (23.0 dBm)
                      * 5260 MHz [52] (20.0 dBm) (radar detection)
                      * 5280 MHz [56] (20.0 dBm) (radar detection)
                      * 5300 MHz [60] (20.0 dBm) (radar detection)
                      * 5320 MHz [64] (20.0 dBm) (radar detection)
                      * 5500 MHz [100] (26.0 dBm) (radar detection)
                      * 5520 MHz [104] (26.0 dBm) (radar detection)
                      * 5540 MHz [108] (26.0 dBm) (radar detection)
                      * 5560 MHz [112] (26.0 dBm) (radar detection)
                      * 5580 MHz [116] (26.0 dBm) (radar detection)
                      * 5600 MHz [120] (26.0 dBm) (radar detection)
                      * 5620 MHz [124] (26.0 dBm) (radar detection)
                      * 5640 MHz [128] (26.0 dBm) (radar detection)
                      * 5660 MHz [132] (26.0 dBm) (radar detection)
                      * 5680 MHz [136] (26.0 dBm) (radar detection)
                      * 5700 MHz [140] (26.0 dBm) (radar detection)
                      * 5720 MHz [144] (disabled)
                      * 5745 MHz [149] (13.0 dBm)
                      * 5765 MHz [153] (13.0 dBm)
                      * 5785 MHz [157] (13.0 dBm)
                      * 5805 MHz [161] (13.0 dBm)
                      * 5825 MHz [165] (13.0 dBm)
                      * 5845 MHz [169] (13.0 dBm)
                      * 5865 MHz [173] (13.0 dBm)
              [...]
01.08.20192419Base systemBug ReportVery LowCriticaloverlay reporting wrong sizeTrunkWaiting on reporter Task Description
DEVICE: APU2 X86_64 SNAPSHOT
FIRMWARE USED: http://downloads.openwrt.org/snapshots/targets/x86/64/openwrt-x86-64-combined-squashfs.img.gz
FIRMWARE SHA256: cf0824377d5a8d9832f5e6f60c78f9ae2f6841d4b9cd3c57f9cfdf72e4f47e81
FIRMWARE DATE: Wed Jul 31 18:02:58 2019
FIRMWARE SIZE: 7146.8 KB

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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r10641-1d2b2e744e
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:/# df -hT
Filesystem           Type            Size      Used Available Use% Mounted on
/dev/root            squashfs        2.5M      2.5M         0 100% /rom
tmpfs                tmpfs           1.9G     72.0K      1.9G   0% /tmp
/dev/loop0           f2fs          123.5M     65.6M     57.9M  53% /overlay
overlayfs:/overlay   overlay       123.5M     65.6M     57.9M  53% /
/dev/mmcblk0p1       ext4           15.7M      4.3M     11.1M  28% /boot
/dev/mmcblk0p1       ext4           15.7M      4.3M     11.1M  28% /boot
tmpfs                tmpfs         512.0K         0    512.0K   0% /dev
root@OpenWrt:/# find /overlay
/overlay
/overlay/upper
/overlay/upper/boot
/overlay/upper/etc
/overlay/upper/etc/board.json
/overlay/upper/etc/config
/overlay/upper/etc/config/network
/overlay/upper/etc/config/system
/overlay/upper/etc/config/dhcp
/overlay/upper/etc/config/dropbear
/overlay/upper/etc/config/firewall
/overlay/upper/etc/uci-defaults
/overlay/upper/etc/uci-defaults/10_migrate-shadow
/overlay/upper/etc/uci-defaults/12_network-generate-ula
/overlay/upper/etc/uci-defaults/13_fix_group_user
/overlay/upper/etc/uci-defaults/20_migrate-feeds
/overlay/upper/etc/uci-defaults/odhcpd.defaults
/overlay/upper/etc/dropbear
/overlay/upper/etc/dropbear/dropbear_rsa_host_key
/overlay/upper/etc/urandom.seed
/overlay/work
/overlay/work/work
/overlay/.fs_state
root@OpenWrt:/#

05.08.20192428Base systemBug ReportVery LowCriticalath79: sysupgrade will brick devices with RedBoot bootl...TrunkUnconfirmed Task Description

The current code responsible for upgrading devices with sysupgrade image, doesn’t take in to the account that “FIS” partition and “RedBoot config” partition can be on the same erase block. This can cause erasing the “RedBoot config” partition and make the device inoperable. The recovery would involve external SPI programmer or usage of JTAG.

The cause is still assumption so it will need confirmation. Flashing devices with factory image should be safe.

- Device problem occurs on:

   Ubiquiti RouterStation and RouterStation Pro
   jjPlus JA76PF2
   Adtran BSAP1880, BSAP1800 V2 and BSAP1840

- Software versions of OpenWrt release, packages, etc.:

   master and possibly 19.07

- Steps to reproduce

   syupgrade the device
14.11.20192594Base systemBug ReportVery LowCriticalKernel panic when configuring network on mvebu ( Turris...TrunkUnconfirmed Task Description

- Latest snapshot from today
- Does not happen on 18.0.6.x
- Router enters reboot loop

Several ways to trigger bug but it essentially revolves around bringing up a VLAN interface inside a bridge.

Some configuration examples that triggers the bug:

config interface 'lan'
        option type 'bridge'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option delegate '0'
        option igmp_snooping '1'
        option ifname 'lan0 lan1 lan2 lan3 lan4.12'
        option ipaddr '192.168.88.254'


another one:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2.12 lan4.12'

The output is:

[   16.828573] device lan3 entered promiscuous mode
[   16.876458] mv88e6085 f1072004.mdio-mii:10 lan4: configuring for phy/gmii link mode
[   16.884237] IPv6: ADDRCONF(NETDEV_UP): lan4: link is not ready
[   16.891531] br-lan: port 5(lan4.12) entered blocking state
[   16.897098] br-lan: port 5(lan4.12) entered disabled state
[   16.904047] device lan4.12 entered promiscuous mode
[   16.908940] device lan4 entered promiscuous mode
[   16.918101] Unable to handle kernel NULL pointer dereference at virtual address 00000518
[   16.926236] pgd = 6295ce7a
[   16.928948] [00000518] *pgd=2da78831, *pte=00000000, *ppte=00000000
[   16.935252] Internal error: Oops: 17 [#1] SMP ARM
[   16.939965] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_tabs
[   17.011450]  nf_reject_ipv4 nf_nat_rtsp nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink nf_conntrat
[   17.082567]  nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip6_udp_tunnel udp_tunnel ip_tunnel autoc
[   17.140899] CPU: 1 PID: 1968 Comm: netifd Not tainted 4.19.82 #0
[   17.146917] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.152856] PC is at br_vlan_enabled+0x0/0x10
[   17.157224] LR is at dsa_port_vlan_add+0x40/0x88
[   17.161851] pc : [<c06678c0>]    lr : [<c066d100>]    psr: 60000013
[   17.168130] sp : ed5abca0  ip : 00000001  fp : ed5abdb6
[   17.173364] r10: 00000001  r9 : edb93500  r8 : ec1e6800
[   17.178599] r7 : ed5abd04  r6 : ed5abd24  r5 : ee864000  r4 : ee94424c
[   17.185140] r3 : 00000004  r2 : ed5abd04  r1 : 00000000  r0 : 00000000
[   17.191682] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   17.198832] Control: 10c5387d  Table: 2d5c004a  DAC: 00000051
[   17.204590] Process netifd (pid: 1968, stack limit = 0xab1173e4)
[   17.210609] Stack: (0xed5abca0 to 0xed5ac000)
[   17.214976] bca0: ed5abd24 ed5abd04 00000000 00000004 ffffffa1 c0674dbc ffff916c c068efc0
[   17.223173] bcc0: 00000000 ffffffa1 ec1e6800 ed5abd24 ed5abd04 c0674de4 ee937ea0 ec1e6868
[   17.231370] bce0: 00000001 ec7b7840 ec1e6800 ed5abd24 eda5e000 c0674e94 ef3cda40 ffffffff
[   17.239566] bd00: ef08c000 ed5abd04 ed5abd04 c0945001 ec7b7840 ec7b7840 ef1783c0 c066b5bc
[   17.247763] bd20: c0a03db0 ec1e6800 00000001 00000000 00000000 00000000 00010006 00000001
[   17.255959] bd40: 00000000 c0668f64 eeb9c544 00000006 00000001 00000000 eda5e080 00000036
[   17.264156] bd60: ed5abd84 c0148948 ef0f304c ef0f3040 ef0f304c 00000000 00000000 ef1783c0
[   17.272354] bd80: ec7b7840 eda5e000 00000001 00000000 00000006 c066780c ed5abdb6 c0669df0
[   17.280551] bda0: ffffffa1 ee864000 ed5abe23 ed5abe04 00000000 000148ac ef1783c0 ed5abdb6
[   17.288747] bdc0: 00020003 00000008 00001000 01010000 00000000 00000000 c066780c 00020003
[   17.296943] bde0: 00000008 00001000 01010000 00000000 00000000 c066780c ef178418 00000000
[   17.305140] be00: ef1783c0 eda5e000 00000000 00000000 eda5e080 00000036 0003d7a8 c0669f20
[   17.313337] be20: 00ffffe5 edb93000 00000007 00000002 00000000 00000000 00000000 00000000
[   17.321533] be40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0a03c48
[   17.329730] be60: ec1e6800 ec1e6800 00000000 eda5e000 edb93500 c06595ac 00000000 c012e864
[   17.337928] be80: edb93500 000089a2 edb93000 ed5abef4 c0739a90 ed5abeec 00000000 c05932c0
[   17.346125] bea0: 00e0f13b c0a2b940 ed5abef4 c056bbdc ed5abef4 000000a2 000089a2 c0a2b940
[   17.354323] bec0: ed5abeec c059395c 000089a2 00000051 bed4aba8 c0a2b940 ef0dc300 ed5aa000
[   17.362519] bee0: 00000036 c05506c4 00000000 eed51d01 eea7c410 6c2d7262 00006e61 00000000
[   17.370715] bf00: 00000000 00000013 00000000 00000000 00000000 c0a03c48 bed4aba8 eedff1a0
[   17.378911] bf20: 000089a2 bed4aba8 ef0dc300 c0225788 00000000 eecf97f8 eecf9848 c07ea5a8
[   17.387108] bf40: ed5409c0 00000000 eed51d60 eea7c410 eecf97f8 40000010 ed5409c8 c0214558
[   17.395304] bf60: 00000020 00000000 00000000 ef3cde74 ef0dc300 00000008 000089a2 bed4aba8
[   17.403501] bf80: ef0dc300 ed5aa000 00000036 c022585c 00e20c40 000089a2 b6edb6d8 00000036
[   17.411699] bfa0: c0101204 c0101000 00e20c40 000089a2 00000008 000089a2 bed4aba8 bed4aba0
[   17.419896] bfc0: 00e20c40 000089a2 b6edb6d8 00000036 00e20c78 b6edb6d8 00e20de4 0003d7a8
[   17.428094] bfe0: 0003cd54 bed4ab88 000137c4 b6f5439c 80000010 00000008 00000000 00000000
[   17.436295] [<c06678c0>] (br_vlan_enabled) from [<c066d100>] (dsa_port_vlan_add+0x40/0x88)
[   17.444584] [<c066d100>] (dsa_port_vlan_add) from [<c0674dbc>] (__switchdev_port_obj_add+0x30/0x8c)
[   17.453652] [<c0674dbc>] (__switchdev_port_obj_add) from [<c0674de4>] (__switchdev_port_obj_add+0x58/0x8c)
[   17.463329] [<c0674de4>] (__switchdev_port_obj_add) from [<c0674e94>] (switchdev_port_obj_add_now+0x7c/0xf0)
[   17.473181] [<c0674e94>] (switchdev_port_obj_add_now) from [<c066b5bc>] (br_switchdev_port_vlan_add+0x3c/0x44)
[   17.483207] [<c066b5bc>] (br_switchdev_port_vlan_add) from [<c0668f64>] (__vlan_add+0x50/0x5b4)
[   17.491926] [<c0668f64>] (__vlan_add) from [<c0669df0>] (nbp_vlan_add+0x210/0x244)
[   17.499514] [<c0669df0>] (nbp_vlan_add) from [<c0669f20>] (nbp_vlan_init+0xfc/0x158)
[   17.507278] [<c0669f20>] (nbp_vlan_init) from [<c06595ac>] (br_add_if+0x3c8/0x5ac)
[   17.514868] [<c06595ac>] (br_add_if) from [<c05932c0>] (dev_ifsioc+0x36c/0x390)
[   17.522194] [<c05932c0>] (dev_ifsioc) from [<c059395c>] (dev_ioctl+0x5cc/0x63c)
[   17.529522] [<c059395c>] (dev_ioctl) from [<c05506c4>] (sock_ioctl+0x52c/0x5a8)
[   17.536849] [<c05506c4>] (sock_ioctl) from [<c0225788>] (do_vfs_ioctl+0x828/0x8c8)
[   17.544438] [<c0225788>] (do_vfs_ioctl) from [<c022585c>] (ksys_ioctl+0x34/0x58)
[   17.551851] [<c022585c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   17.559523] Exception stack(0xed5abfa8 to 0xed5abff0)
[   17.564587] bfa0:                   00e20c40 000089a2 00000008 000089a2 bed4aba8 bed4aba0
[   17.572784] bfc0: 00e20c40 000089a2 b6edb6d8 00000036 00e20c78 b6edb6d8 00e20de4 0003d7a8
[   17.580980] bfe0: 0003cd54 bed4ab88 000137c4 b6f5439c
[   17.586044] Code: 18bd8010 e05c0002 13a00001 e8bd8010 (e5d00518) 
[   17.592168] ---[ end trace d312a86e3174f2be ]---
[   17.596800] Kernel panic - not syncing: Fatal exception
[   17.602039] CPU0: stopping
[   17.604755] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           4.19.82 #0
[   17.612167] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.618108] [<c010ea7c>] (unwind_backtrace) from [<c010a9bc>] (show_stack+0x10/0x14)
[   17.625871] [<c010a9bc>] (show_stack) from [<c0678cd8>] (dump_stack+0x84/0x98)
[   17.633111] [<c0678cd8>] (dump_stack) from [<c010d61c>] (handle_IPI+0xf0/0x19c)
[   17.640442] [<c010d61c>] (handle_IPI) from [<c03ba714>] (gic_handle_irq+0x74/0x78)
[   17.648032] [<c03ba714>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[   17.655529] Exception stack(0xc0a01f30 to 0xc0a01f78)
[   17.660591] 1f20:                                     00000000 0004498c ef6d7304 c0114480
[   17.668788] 1f40: c0a00000 c0a03c6c 00000000 c0a03cac c0944500 00000000 00000000 c0a01f88
[   17.676984] 1f60: c0a0ecc0 c0a01f80 c01082f8 c01082fc 60000013 ffffffff
[   17.683617] [<c0101a0c>] (__irq_svc) from [<c01082fc>] (arch_cpu_idle+0x34/0x38)
[   17.691036] [<c01082fc>] (arch_cpu_idle) from [<c014c598>] (do_idle+0xd8/0x1b4)
[   17.698363] [<c014c598>] (do_idle) from [<c014c8d0>] (cpu_startup_entry+0x18/0x1c)
[   17.705952] [<c014c8d0>] (cpu_startup_entry) from [<c0900df8>] (start_kernel+0x4f4/0x504)
[   17.714149] Rebooting in 3 seconds..

finally I found a configuration that does not put the router in an endless reboot loop but that nevertheless crashes the kernel in the same way when issuing the reboot command:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2 eth2.12 lan4 lan4.12'

The above configuration will not crash the kernel on boot, and the iptv interface will be up. but when issuing the reboot command this happens:

root@gateway:/# reboot
root@gateway:/# [  818.621237] br-iptv: port 1(eth2) entered disabled state
[  818.652955] device eth2.12 left promiscuous mode
[  818.657586] device eth2 left promiscuous mode
[  818.662007] br-iptv: port 2(eth2.12) entered disabled state
[  818.704719] br-iptv: port 3(lan4) entered disabled state
[  818.744413] device lan4.12 left promiscuous mode
[  818.749044] device lan4 left promiscuous mode
[  818.753517] br-iptv: port 4(lan4.12) entered disabled state
[  818.759119] Unable to handle kernel NULL pointer dereference at virtual address 00000518
[  818.767236] pgd = 5685c1a5
[  818.769947] [00000518] *pgd=2d74d831, *pte=00000000, *ppte=00000000
[  818.776239] Internal error: Oops: 17 [#1] SMP ARM
[  818.780951] Modules linked in: cifsd ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_fl4
[  818.852080]  nf_tables nf_reject_ipv4 nf_nat_rtsp nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink t
[  818.922931]  nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip6_udp_tunnel udp_tunnel ip_tunnel auto]
[  818.983872] CPU: 0 PID: 1975 Comm: netifd Not tainted 4.19.82 #0
[  818.989890] Hardware name: Marvell Armada 380/385 (Device Tree)
[  818.995829] PC is at br_vlan_enabled+0x0/0x10
[  819.000195] LR is at dsa_port_vlan_del+0x48/0x90
[  819.004821] pc : [<c066a284>]    lr : [<c066fb48>]    psr: 60000013
[  819.011101] sp : ed627d60  ip : c0a2d60c  fp : 00000018
[  819.016337] r10: 00000036  r9 : ed4f5380  r8 : eda63500
[  819.021572] r7 : edbb4800  r6 : ed627dac  r5 : ef369800  r4 : eeba764c
[  819.028113] r3 : 00000004  r2 : 00000000  r1 : ed627dac  r0 : 00000000
[  819.034654] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[  819.041804] Control: 10c5387d  Table: 2d7b804a  DAC: 00000051
[  819.047561] Process netifd (pid: 1975, stack limit = 0x1b8c3f18)
[  819.053580] Stack: (0xed627d60 to 0xed628000)
[  819.057947] 7d60: ed627dac 00000000 00000000 00000004 ffffffa1 c0678988 00000000 ed627d84
[  819.066144] 7d80: ffffffa1 edbb4800 ed627dac c06789b0 ed627d90 edbb4868 00000001 eda9b880
[  819.074341] 7da0: ed0933c0 c066dfb8 00000000 edbb4800 00000001 00000000 00000000 00000000
[  819.082538] 7dc0: 00010000 00000001 00000000 c066ab54 00000000 edb64c00 00000000 00000001
[  819.090735] 7de0: 00000000 c0a2b980 c0a67a78 00000001 eb3dc000 00000001 edb64c00 edbb4800
[  819.098931] 7e00: 00480020 c0a2b980 edb64c00 00000000 00000018 c05b0ce4 00480020 00000000
[  819.107128] 7e20: 00000000 edbb4800 00480020 ed093448 ed093470 eda63500 eda63500 edbb4800
[  819.115325] 7e40: 00000000 c066adf0 ed747800 ed0933c0 eda63500 c066d12c ed627ef4 eda63500
[  819.123522] 7e60: edbb4800 ed747800 eda63500 c065bbc4 eda63500 eda63000 ed627ef4 c0739c28
[  819.131719] 7e80: ed627eec 00000000 00000036 c065c53c 000089a3 eda63000 ed627ef4 c05947cc
[  819.139916] 7ea0: 00000000 ed627ef4 000000a3 000089a3 ed627ef4 000000a3 000089a3 c0a2b980
[  819.148113] 7ec0: ed627eec c0594e68 000089a3 00000051 be956c30 c0a2b980 ed411180 ed626000
[  819.156309] 7ee0: 00000036 c0551c24 ef6d9040 ee91a501 ee91a540 692d7262 00767470 00000000
[  819.164506] 7f00: 00000000 00000013 00000000 00000000 00000000 c0a03c48 be956c30 eece5360
[  819.172703] 7f20: 000089a3 be956c30 ed411180 c0225788 eb3e8018 ef6d9000 ee954540 00000000
[  819.180900] 7f40: ee91a4c0 ee993180 c0701b6c ffffe000 ed627f8c c068f5f8 ed627f74 2ed94000
[  819.189097] 7f60: c0944b90 a0000193 c0944b90 ed626000 ed411180 00000008 000089a3 be956c30
[  819.197294] 7f80: ed411180 ed626000 00000036 c022585c 00660860 000089a3 b6eb8ca8 00000036
[  819.205490] 7fa0: c0101204 c0101000 00660860 000089a3 00000008 000089a3 be956c30 be956c28
[  819.213687] 7fc0: 00660860 000089a3 b6eb8ca8 00000036 be956cf4 00000018 0063f040 00000018
[  819.221884] 7fe0: 0003cd54 be956c10 000137c4 b6f0339c 60000010 00000008 00000000 00000000
[  819.230085] [<c066a284>] (br_vlan_enabled) from [<c066fb48>] (dsa_port_vlan_del+0x48/0x90)
[  819.238375] [<c066fb48>] (dsa_port_vlan_del) from [<c0678988>] (switchdev_port_obj_del_now+0x2c/0x84)
[  819.247618] [<c0678988>] (switchdev_port_obj_del_now) from [<c06789b0>] (switchdev_port_obj_del_now+0x54/0x84)
[  819.257643] [<c06789b0>] (switchdev_port_obj_del_now) from [<c066dfb8>] (br_switchdev_port_vlan_del+0x3c/0x44)
[  819.267670] [<c066dfb8>] (br_switchdev_port_vlan_del) from [<c066ab54>] (__vlan_del+0x90/0x304)
[  819.276390] [<c066ab54>] (__vlan_del) from [<c066adf0>] (__vlan_flush+0x28/0x44)
[  819.283804] [<c066adf0>] (__vlan_flush) from [<c066d12c>] (nbp_vlan_flush+0x60/0x7c)
[  819.291568] [<c066d12c>] (nbp_vlan_flush) from [<c065bbc4>] (del_nbp+0x154/0x260)
[  819.299069] [<c065bbc4>] (del_nbp) from [<c065c53c>] (br_del_if+0x30/0xdc)
[  819.305963] [<c065c53c>] (br_del_if) from [<c05947cc>] (dev_ifsioc+0x36c/0x390)
[  819.313290] [<c05947cc>] (dev_ifsioc) from [<c0594e68>] (dev_ioctl+0x5cc/0x63c)
[  819.320618] [<c0594e68>] (dev_ioctl) from [<c0551c24>] (sock_ioctl+0x52c/0x5a8)
[  819.327945] [<c0551c24>] (sock_ioctl) from [<c0225788>] (do_vfs_ioctl+0x828/0x8c8)
[  819.335533] [<c0225788>] (do_vfs_ioctl) from [<c022585c>] (ksys_ioctl+0x34/0x58)
[  819.342946] [<c022585c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[  819.350618] Exception stack(0xed627fa8 to 0xed627ff0)
[  819.355681] 7fa0:                   00660860 000089a3 00000008 000089a3 be956c30 be956c28
[  819.363878] 7fc0: 00660860 000089a3 b6eb8ca8 00000036 be956cf4 00000018 0063f040 00000018
[  819.372074] 7fe0: 0003cd54 be956c10 000137c4 b6f0339c
[  819.377138] Code: 18bd8010 e05c0002 13a00001 e8bd8010 (e5d00518) 
[  819.383264] ---[ end trace 6cfc8f01d47fa91b ]---
[  819.387891] Kernel panic - not syncing: Fatal exception
[  819.393130] CPU1: stopping
[  819.395844] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D           4.19.82 #0
[  819.403256] Hardware name: Marvell Armada 380/385 (Device Tree)
[  819.409195] [<c010ea7c>] (unwind_backtrace) from [<c010a9bc>] (show_stack+0x10/0x14)
[  819.416959] [<c010a9bc>] (show_stack) from [<c067c6d8>] (dump_stack+0x84/0x98)
[  819.424199] [<c067c6d8>] (dump_stack) from [<c010d61c>] (handle_IPI+0xf0/0x19c)
[  819.431530] [<c010d61c>] (handle_IPI) from [<c03ba714>] (gic_handle_irq+0x74/0x78)
[  819.439119] [<c03ba714>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[  819.446618] Exception stack(0xef091f60 to 0xef091fa8)
[  819.451682] 1f60: 00000000 008028b0 ef6e2304 c0114480 ef090000 c0a03c6c 00000001 c0a03cac
[  819.459879] 1f80: c0944500 00000000 00000000 ef091fb8 c0a0ed00 ef091fb0 c01082f8 c01082fc
[  819.468074] 1fa0: 60000013 ffffffff
[  819.471573] [<c0101a0c>] (__irq_svc) from [<c01082fc>] (arch_cpu_idle+0x34/0x38)
[  819.478991] [<c01082fc>] (arch_cpu_idle) from [<c014c598>] (do_idle+0xd8/0x1b4)
[  819.486319] [<c014c598>] (do_idle) from [<c014c8d0>] (cpu_startup_entry+0x18/0x1c)
[  819.493907] [<c014c8d0>] (cpu_startup_entry) from [<001023ac>] (0x1023ac)
[  819.500711] Rebooting in 3 seconds..

finally I have tried with another port ( lan3 ) and it is the same thing.

for instance:

config interface 'iptv'
        option proto 'none'
        option type 'bridge'
        option ifname 'eth2.12 lan3.12'

results in the following panic on boot:

[   16.893737] mv88e6085 f1072004.mdio-mii:10 lan3: configuring for phy/gmii link mode
[   16.901473] IPv6: ADDRCONF(NETDEV_UP): lan3: link is not ready
[   16.908715] br-iptv: port 2(lan3.12) entered blocking state
[   16.914350] br-iptv: port 2(lan3.12) entered disabled state
[   16.920120] device lan3.12 entered promiscuous mode
[   16.925097] device lan3 entered promiscuous mode
[   16.929731] device eth1 entered promiscuous mode
[   16.936690] Unable to handle kernel NULL pointer dereference at virtual address 00000518
[   16.944816] pgd = c664e7e5
[   16.947529] [00000518] *pgd=2d1bf831, *pte=00000000, *ppte=00000000
[   16.953830] Internal error: Oops: 17 [#1] SMP ARM
[   16.958543] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_tabs
[   17.030024]  nf_reject_ipv4 nf_nat_rtsp nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink nf_conntrak
[   17.100876]  nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb ip6_udp_tunnel udp_tunnel ip_tunnel autofs4 nls_utc
[   17.158945] CPU: 1 PID: 1975 Comm: netifd Not tainted 4.19.82 #0
[   17.164964] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.170904] PC is at br_vlan_enabled+0x0/0x10
[   17.175270] LR is at dsa_port_vlan_add+0x40/0x88
[   17.179897] pc : [<c066a284>]    lr : [<c066fab8>]    psr: 60000013
[   17.186177] sp : ed615ca0  ip : 00000001  fp : ed615db6
[   17.191411] r10: 00000001  r9 : edbce500  r8 : ec1a2000
[   17.196646] r7 : ed615d04  r6 : ed615d24  r5 : ef3da000  r4 : ef32b1dc
[   17.203186] r3 : 00000003  r2 : ed615d04  r1 : 00000000  r0 : 00000000
[   17.209728] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   17.216879] Control: 10c5387d  Table: 2d61004a  DAC: 00000051
[   17.222636] Process netifd (pid: 1975, stack limit = 0xc606eb54)
[   17.228656] Stack: (0xed615ca0 to 0xed616000)
[   17.233023] 5ca0: ed615d24 ed615d04 00000000 00000003 ffffffa1 c06787b8 ef05aa80 ee921580
[   17.241220] 5cc0: 00000000 ffffffa1 ec1a2000 ed615d24 ed615d04 c06787e0 c0945000 ec1a2068
[   17.249418] 5ce0: c0a03db0 eb19db40 ec1a2000 ed615d24 ed4b1000 c0678890 ef05aa00 c013dd3c
[   17.257615] 5d00: ef05aa00 ed615d04 ed615d04 c0945001 eb19db40 eb19db40 ed027d80 c066df74
[   17.265812] 5d20: ed615d64 ec1a2000 00000001 00000000 00000000 00000000 00010006 00000001
[   17.274009] 5d40: 00000000 c066b924 ef05aa04 00000006 00000001 00000000 ed4b1080 00000036
[   17.282205] 5d60: ed615d84 c0148948 ef18404c ef184040 ef18404c 00000000 00000000 ed027d80
[   17.290402] 5d80: eb19db40 ed4b1000 00000001 00000000 00000006 c066a1d0 ed615db6 c066c7a8
[   17.298598] 5da0: ffffffa1 ef3da000 ed615e23 ed615e04 00000000 000182a8 ed027d80 ed615db6
[   17.306796] 5dc0: 00020003 00000008 00001000 01010000 00000000 00000000 c066a1d0 00020003
[   17.314992] 5de0: 00000008 00001000 01010000 00000000 00000000 c066a1d0 ed027dd8 00000000
[   17.323190] 5e00: ed027d80 ed4b1000 00000000 00000000 ed4b1080 00000036 0003d7a8 c066c8d8
[   17.331387] 5e20: 00974080 edbce000 00000007 00000002 00000000 00000000 00000000 00000000
[   17.339583] 5e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0a03c48
[   17.347779] 5e60: ec1a2000 ec1a2000 00000000 ed4b1000 edbce500 c065c328 00000000 c012e864
[   17.355976] 5e80: edbce500 000089a2 edbce000 ed615ef4 c0739c28 ed615eec 00000000 c05947cc
[   17.364172] 5ea0: 01cc615b c0a2b980 ed615ef4 c056d0e8 ed615ef4 000000a2 000089a2 c0a2b980
[   17.372370] 5ec0: ed615eec c0594e68 000089a2 00000051 bedadba8 c0a2b980 ef0ce840 ed614000
[   17.380566] 5ee0: 00000036 c0551c24 00000000 eed52001 eea71410 692d7262 00767470 00000000
[   17.388763] 5f00: 00000000 00000013 00000000 00000000 00000000 c0a03c48 bedadba8 eee3f360
[   17.396960] 5f20: 000089a2 bedadba8 ef0ce840 c0225788 00000000 eecfe880 eecfe8d0 c07eafec
[   17.405156] 5f40: ed631840 00000000 eed52000 eea71410 eecfe880 40000010 ed631848 c0214558
[   17.413352] 5f60: 00000020 00000000 00000000 ee921934 ef0ce840 00000008 000089a2 bedadba8
[   17.421548] 5f80: ef0ce840 ed614000 00000036 c022585c 01cd75c0 000089a2 b6f38c58 00000036
[   17.429745] 5fa0: c0101204 c0101000 01cd75c0 000089a2 00000008 000089a2 bedadba8 bedadba0
[   17.437941] 5fc0: 01cd75c0 000089a2 b6f38c58 00000036 01cd75f8 b6f38c58 01cd7764 0003d7a8
[   17.446139] 5fe0: 0003cd54 bedadb88 000137c4 b6f8339c 60000010 00000008 00000000 00000000
[   17.454340] [<c066a284>] (br_vlan_enabled) from [<c066fab8>] (dsa_port_vlan_add+0x40/0x88)
[   17.462629] [<c066fab8>] (dsa_port_vlan_add) from [<c06787b8>] (__switchdev_port_obj_add+0x30/0x8c)
[   17.471699] [<c06787b8>] (__switchdev_port_obj_add) from [<c06787e0>] (__switchdev_port_obj_add+0x58/0x8c)
[   17.481377] [<c06787e0>] (__switchdev_port_obj_add) from [<c0678890>] (switchdev_port_obj_add_now+0x7c/0xf0)
[   17.491228] [<c0678890>] (switchdev_port_obj_add_now) from [<c066df74>] (br_switchdev_port_vlan_add+0x3c/0x44)
[   17.501254] [<c066df74>] (br_switchdev_port_vlan_add) from [<c066b924>] (__vlan_add+0x50/0x5b4)
[   17.509974] [<c066b924>] (__vlan_add) from [<c066c7a8>] (nbp_vlan_add+0x210/0x244)
[   17.517562] [<c066c7a8>] (nbp_vlan_add) from [<c066c8d8>] (nbp_vlan_init+0xfc/0x158)
[   17.525326] [<c066c8d8>] (nbp_vlan_init) from [<c065c328>] (br_add_if+0x3c8/0x5ac)
[   17.532918] [<c065c328>] (br_add_if) from [<c05947cc>] (dev_ifsioc+0x36c/0x390)
[   17.540245] [<c05947cc>] (dev_ifsioc) from [<c0594e68>] (dev_ioctl+0x5cc/0x63c)
[   17.547572] [<c0594e68>] (dev_ioctl) from [<c0551c24>] (sock_ioctl+0x52c/0x5a8)
[   17.554900] [<c0551c24>] (sock_ioctl) from [<c0225788>] (do_vfs_ioctl+0x828/0x8c8)
[   17.562488] [<c0225788>] (do_vfs_ioctl) from [<c022585c>] (ksys_ioctl+0x34/0x58)
[   17.569902] [<c022585c>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[   17.577574] Exception stack(0xed615fa8 to 0xed615ff0)
[   17.582637] 5fa0:                   01cd75c0 000089a2 00000008 000089a2 bedadba8 bedadba0
[   17.590835] 5fc0: 01cd75c0 000089a2 b6f38c58 00000036 01cd75f8 b6f38c58 01cd7764 0003d7a8
[   17.599030] 5fe0: 0003cd54 bedadb88 000137c4 b6f8339c
[   17.604095] Code: 18bd8010 e05c0002 13a00001 e8bd8010 (e5d00518) 
[   17.610211] ---[ end trace 9ac484c1994602dc ]---
[   17.614842] Kernel panic - not syncing: Fatal exception
[   17.620079] CPU0: stopping
[   17.622795] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           4.19.82 #0
[   17.630206] Hardware name: Marvell Armada 380/385 (Device Tree)
[   17.636146] [<c010ea7c>] (unwind_backtrace) from [<c010a9bc>] (show_stack+0x10/0x14)
[   17.643910] [<c010a9bc>] (show_stack) from [<c067c6d8>] (dump_stack+0x84/0x98)
[   17.651150] [<c067c6d8>] (dump_stack) from [<c010d61c>] (handle_IPI+0xf0/0x19c)
[   17.658482] [<c010d61c>] (handle_IPI) from [<c03ba714>] (gic_handle_irq+0x74/0x78)
[   17.666071] [<c03ba714>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0x90)
[   17.673570] Exception stack(0xc0a01f30 to 0xc0a01f78)
[   17.678632] 1f20:                                     00000000 000424d0 ef6d7304 c0114480
[   17.686829] 1f40: c0a00000 c0a03c6c 00000000 c0a03cac c0944500 00000000 00000000 c0a01f88
[   17.695025] 1f60: c0a0ed00 c0a01f80 c01082f8 c01082fc 60000013 ffffffff
[   17.701658] [<c0101a0c>] (__irq_svc) from [<c01082fc>] (arch_cpu_idle+0x34/0x38)
[   17.709076] [<c01082fc>] (arch_cpu_idle) from [<c014c598>] (do_idle+0xd8/0x1b4)
[   17.716403] [<c014c598>] (do_idle) from [<c014c8d0>] (cpu_startup_entry+0x18/0x1c)
[   17.723993] [<c014c8d0>] (cpu_startup_entry) from [<c0900df8>] (start_kernel+0x4f4/0x504)
[   17.732190] Rebooting in 3 seconds..


28.11.20192639KernelBug ReportVery LowCriticalkernel oops when visit a invalid virtual addressTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

 youku-l2

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

 snapshot. at 
 Linux OpenWrt 4.14.155 #0 SMP Sun Nov 24 22:17:34 2019 mips GNU/Linux

- Steps to reproduce

 I don't know. but this problem occurs, from the device reboot, after several hours or one or two days, the oops occurs. 
 
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, r11591-c5497ebb1c
 -----------------------------------------------------
root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1574977671.59411
Modules:        pppoe@8ee64000+22f0     ppp_async@8efa2000+1bc0 pppox@8e8de000+58a       ppp_generic@8e9f8000+5c82        nf_conntrack_ipv6@8f094000+15c0 mt76x2e@8f0ec000+2910    mt76x2_common@8f0f0000+2d88      mt76x02_lib@8f150000+a421       mt7603e@8ef30000+96cc    mt76@8e978000+7f5d       mac80211@8e900000+77c89 iptable_nat@8eff6000+3b0                 ipt_REJECT@8f023000+410  ipt_MASQUERADE@8e80b000+2f0     cfg80211@8ef40000+3f4f9          xt_time@8f0ba000+730     xt_tcpudp@8f0b7000+750  xt_state@8f0b4000+310   xt_nat@8f0b0000+650       xt_multiport@8f0a7000+550       xt_mark@8f0a4000+2f0    xt_mac@8f0a0000+2b0      xt_limit@8f09e000+4f0    xt_conntrack@8f07e000+910       xt_comment@8f067000+230          xt_TCPMSS@8e8d7000+b30   xt_REDIRECT@8f09c000+310        xt_LOG@8e8fb000+350              xt_FLOWOFFLOAD@8e8f8000+c30      xt_CT@8e8f5000+ab0      slhc@8f090000+14bb               nf_reject_ipv4@8ef96000+903      nf_nat_redirect@8ef9a000+63b    nf_nat_masquerade_ipv4@8ef9d000+71c       nf_conntrack_ipv4@8f064000+1450 nf_nat_ipv4@8e8b0000+1031                nf_nat@8f080000+3a7c     nf_log_ipv4@8efd5000+df0        nf_flow_table_hw@8e8e5000+920    nf_flow_table@8efb8000+367f      nf_defrag_ipv6@8efb2000+147e    nf_defrag_ipv4@8e8e8000+4b6       nf_conntrack_rtcache@8e8ea000+b10       nf_conntrack@8ef80000+11bca              iptable_mangle@8e8d8000+470      iptable_filter@8f7ed000+3d0     ip_tables@8e8d4000+2bdd  crc_ccitt@8e80e000+42b   compat@8e8d0000+1de4    ledtrig_usbport@8f7e4000+b00             nf_log_ipv6@8e8c6000+10d0        nf_log_common@8f001000+baf      ip6table_mangle@8f76b000+570      ip6table_filter@8f75e000+3d0    ip6_tables@8e8c0000+2ae1        ip6t_REJECT@8efc7000+450  x_tables@8efdc000+38af  nf_reject_ipv6@8eff7000+ac8     leds_gpio@8f794000+bb0   xhci_plat_hcd@8f790000+1650      xhci_pci@8f72e000+c30   xhci_mtk@8f7f2000+1490           xhci_hcd@8f7a0000+16e09  gpio_button_hotplug@8f78e000+1ad0       usbcore@8f7c0000+21591   nls_base@8f734000+1570   usb_common@8ffe1000+a37
<6>[    2.021026] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
<6>[    2.027787] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
<6>[    2.034511] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
<6>[    2.041702] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
<6>[    2.048423] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
<6>[    2.055183] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
<6>[    2.061894] pci 0000:00:00.0: PCI bridge to [bus 01]
<6>[    2.066846] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
<6>[    2.073574] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
<6>[    2.080852] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
<6>[    2.087987] pci 0000:00:01.0: PCI bridge to [bus 02]
<6>[    2.092933] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
<6>[    2.099653] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
<6>[    2.108218] clocksource: Switched to clocksource GIC
<6>[    2.114767] NET: Registered protocol family 2
<6>[    2.119945] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    2.126839] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    2.133270] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    2.139690] UDP hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.145452] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.151946] NET: Registered protocol family 1
<7>[    2.156268] PCI: CLS 0 bytes, default 32
<6>[    2.388167] 4 CPUs re-calibrate udelay(lpj = 2924544)
<4>[    2.394747] Crashlog allocated RAM at address 0x3f00000
<6>[    2.400168] workingset: timestamp_bits=14 max_order=16 bucket_order=2
<6>[    2.414833] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    2.420603] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<5>[    2.431036] random: fast init done
<6>[    2.434139] io scheduler noop registered
<6>[    2.438310] io scheduler deadline registered (default)
<6>[    2.444494] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
<6>[    2.454582] console [ttyS0] disabled
<6>[    2.458130] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
<6>[    2.467147] console [ttyS0] enabled
<6>[    2.474027] bootconsole [early0] disabled
<4>[    2.484276] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
<6>[    2.491904] spi-mt7621 1e000b00.spi: sys_freq: 220000000
<6>[    2.498139] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
<5>[    2.503281] 4 fixed-partitions partitions found on MTD device spi0.0
<5>[    2.509651] Creating 4 MTD partitions on "spi0.0":
<5>[    2.514435] 0x000000000000-0x000000030000 : "u-boot"
<5>[    2.520678] 0x000000030000-0x000000040000 : "u-boot-env"
<5>[    2.527090] 0x000000040000-0x000000050000 : "factory"
<5>[    2.533241] 0x000000050000-0x000001000000 : "firmware"
<5>[    2.539665] 2 uimage-fw partitions found on MTD device firmware
<5>[    2.545569] Creating 2 MTD partitions on "firmware":
<5>[    2.550579] 0x000000000000-0x0000001ffad5 : "kernel"
<5>[    2.556604] 0x0000001ffad5-0x000000fb0000 : "rootfs"
<5>[    2.562721] mtd: device 5 (rootfs) set to be root filesystem
<5>[    2.568570] 1 squashfs-split partitions found on MTD device rootfs
<5>[    2.574736] 0x000000430000-0x000000fb0000 : "rootfs_data"
<6>[    2.582044] libphy: Fixed MDIO Bus: probed
<6>[    2.650253] libphy: mdio: probed
<6>[    4.054512] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
<6>[    4.061238] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
<6>[    4.072283] NET: Registered protocol family 10
<6>[    4.078487] Segment Routing with IPv6
<6>[    4.082230] NET: Registered protocol family 17
<6>[    4.086730] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
<6>[    4.099677] 8021q: 802.1Q VLAN Support v1.8
<6>[    4.106481] hctosys: unable to open rtc device (rtc0)
<6>[    4.119110] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
<6>[    4.130502] Freeing unused kernel memory: 1260K
<4>[    4.135030] This architecture does not have kernel memory protection.
<14>[    4.872669] init: Console is alive
<14>[    4.876317] init: - watchdog -
<14>[    5.882569] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<6>[    6.029362] usbcore: registered new interface driver usbfs
<6>[    6.034945] usbcore: registered new interface driver hub
<6>[    6.040467] usbcore: registered new device driver usb
<4>[    6.054247] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
<4>[    6.062995] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
<6>[    6.071955] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.077277] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
<6>[    6.088345] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
<6>[    6.097519] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
<6>[    6.104357] hub 1-0:1.0: USB hub found
<6>[    6.108234] hub 1-0:1.0: 2 ports detected
<6>[    6.112875] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.118241] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
<6>[    6.125705] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
<6>[    6.132341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<6>[    6.141347] hub 2-0:1.0: USB hub found
<6>[    6.145168] hub 2-0:1.0: 1 port detected
<14>[    6.154150] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    6.178545] init: - preinit -
<6>[    7.177582] mtk_soc_eth 1e100000.ethernet: PPE started
<5>[    7.252645] random: procd: uninitialized urandom read (4 bytes read)
<5>[   10.531863] jffs2: notice: (482) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (3 unchecked, 4 orphan) and 43 of xref (4 dead, 0 orphan) found.
<14>[   10.553355] mount_root: switching to jffs2 overlay
<4>[   10.576616] overlayfs: upper fs does not support tmpfile.
<12>[   10.592158] urandom-seed: Seeding with /etc/urandom.seed
<6>[   10.695023] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
<14>[   10.716965] procd: - early -
<14>[   10.719988] procd: - watchdog -
<14>[   11.368370] procd: - watchdog -
<14>[   11.371872] procd: - ubus -
<5>[   11.397531] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   11.430071] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   11.436790] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[   11.444092] procd: - init -
<14>[   12.071546] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   12.083773] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   12.097818] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
<6>[   12.105474] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
<6>[   12.114103] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   12.126620] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
<6>[   12.177575] xt_time: kernel timezone is -0000
<4>[   12.240330] bus=0x1, slot = 0x0, irq=0xff
<6>[   12.244587] mt7603e 0000:01:00.0: ASIC revision: 76030010
<14>[   12.248691] urngd: v1.0.1 started.
<5>[   12.400941] random: crng init done
<5>[   12.404350] random: 6 urandom warning(s) missed due to ratelimiting
<6>[   13.279501] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
<6>[   13.285073] mt7603e 0000:01:00.0: Build Time: 20160107100755
<6>[   13.328226] mt7603e 0000:01:00.0: firmware init done
<7>[   13.500398] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<4>[   13.513858] bus=0x2, slot = 0x1, irq=0xff
<6>[   13.518248] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[   14.269373] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
<6>[   14.279042] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[   14.284520] mt76x2e 0000:02:00.0: Build: 1
<6>[   14.288650] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[   14.308213] mt76x2e 0000:02:00.0: Firmware running!
<7>[   14.315892] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   14.323384] PPP generic driver version 2.4.2
<6>[   14.329343] NET: Registered protocol family 24
<14>[   14.337138] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   18.442839] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
<6>[   20.695431] mtk_soc_eth 1e100000.ethernet: PPE started
<6>[   20.705271] br-lan: port 1(eth0.1) entered blocking state
<6>[   20.710862] br-lan: port 1(eth0.1) entered disabled state
<6>[   20.716991] device eth0.1 entered promiscuous mode
<6>[   20.721938] device eth0 entered promiscuous mode
<6>[   20.731335] br-lan: port 1(eth0.1) entered blocking state
<6>[   20.736800] br-lan: port 1(eth0.1) entered forwarding state
<6>[   20.743072] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[   21.504643] pppoe-wan: renamed from ppp0
<6>[   21.759034] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   25.485868] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[   25.499062] br-lan: port 2(wlan1) entered blocking state
<6>[   25.504430] br-lan: port 2(wlan1) entered disabled state
<6>[   25.510505] device wlan1 entered promiscuous mode
<6>[   25.555437] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   25.566445] br-lan: port 3(wlan0) entered blocking state
<6>[   25.571826] br-lan: port 3(wlan0) entered disabled state
<6>[   25.577853] device wlan0 entered promiscuous mode
<6>[   25.583186] br-lan: port 3(wlan0) entered blocking state
<6>[   25.588566] br-lan: port 3(wlan0) entered forwarding state
<6>[   26.063776] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   26.077173] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.083073] br-lan: port 4(wlan0-1) entered disabled state
<6>[   26.089464] device wlan0-1 entered promiscuous mode
<6>[   26.099208] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   26.105510] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.111095] br-lan: port 4(wlan0-1) entered forwarding state
<6>[   26.662628] br-lan: port 4(wlan0-1) entered disabled state
<6>[   26.669241] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   26.676001] br-lan: port 2(wlan1) entered blocking state
<6>[   26.681401] br-lan: port 2(wlan1) entered forwarding state
<6>[   26.695246] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   26.703001] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.708650] br-lan: port 4(wlan0-1) entered forwarding state
<6>[   26.723751] br-lan: port 5(wlan0-2) entered blocking state
<6>[   26.729417] br-lan: port 5(wlan0-2) entered disabled state
<6>[   26.735733] device wlan0-2 entered promiscuous mode
<6>[   26.742641] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   26.748867] br-lan: port 5(wlan0-2) entered blocking state
<6>[   26.754465] br-lan: port 5(wlan0-2) entered forwarding state
<6>[   27.177925] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<1>[159983.016519] CPU 1 Unable to handle kernel paging request at virtual address 07406000, epc == 801317c0, ra == 80131674
<4>[159983.027206] Oops[#1]:
<4>[159983.029559] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.155 #0
<4>[159983.035718] task: 8fc3c100 task.stack: 8fc5c000
<4>[159983.040314] $ 0   : 00000000 00000001 00000000 81266650
<4>[159983.045615] $ 4   : 806061fc 00000001 00000001 07406000
<4>[159983.050915] $ 8   : 000289b4 000289b3 00000000 00000001
<4>[159983.056211] $12   : 00000002 00000000 c0222b40 00009180
<4>[159983.061507] $16   : 8fc02a00 01090220 807a0000 8ea80000
<4>[159983.066803] $20   : 00000018 00000800 00000000 01080020
<4>[159983.072101] $24   : 3b9aca00 80008e2c
<4>[159983.077399] $28   : 8fc5c000 8fc0b9c8 00000000 80131674
<4>[159983.082697] Hi    : 00002665
<4>[159983.085647] Lo    : 94af5487
<4>[159983.088611] epc   : 801317c0 __kmalloc_track_caller+0x20c/0x290
<4>[159983.094591] ra    : 80131674 __kmalloc_track_caller+0xc0/0x290
<4>[159983.100478] Status: 11007c03     KERNEL EXL IE
<4>[159983.104737] Cause : 40800008 (ExcCode 02)
<4>[159983.108810] BadVA : 07406000
<4>[159983.111762] PrId  : 0001992f (MIPS 1004Kc)
<4>[159983.115920] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 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 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 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[159983.186680] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3c100, tls=00000000)
<4>[159983.194820] Stack : 80666658 8eec1e00 00000000 00000000 0000006c 8ee726c0 00000000 01080020
<4>[159983.203242]         8038772c 80383e60 00000000 00000000 284162c7 b901a8c0 fb0000e0 8ee726c0
<4>[159983.211663]         8ee726c0 00000000 00000740 00000018 8ef3cc00 8038772c 00000000 80600000
<4>[159983.220082]         00000004 00000000 00000000 8ef3cc00 8ee726c0 8ef77ab2 8ee726c0 00000018
<4>[159983.228504]         8ef3cc00 00000000 00000000 8e932214 000000e1 806061fc 8fc0bb44 8fc0bb4c
<4>[159983.236932]         ...
<4>[159983.239455] Call Trace:
<4>[159983.241987] [<801317c0>] __kmalloc_track_caller+0x20c/0x290
<4>[159983.247645] [<80383e60>] __kmalloc_reserve.isra.45+0x44/0xac
<4>[159983.253388] [<8038772c>] pskb_expand_head+0x8c/0x328
<4>[159983.258565] [<8e932214>] ieee80211_skb_resize+0x19c/0xde0 [mac80211]
<4>[159983.265045] [<8e932b44>] ieee80211_skb_resize+0xacc/0xde0 [mac80211]
<4>[159983.271514] [<8f080e1c>] nf_xfrm_me_harder+0x830/0xa90 [nf_nat]
<4>[159983.277497] Code: 00000000  8e020014  00e23821 <8ce20000> 10000012  cc400000  10400005  00000000  8e060010
<4>[159983.287311]
<4>[159983.289013] ---[ end trace de892621f972e570 ]---

===================================
Time: 1574977671.67638
root@OpenWrt:~#
 
26.12.20192695KernelBug ReportVery LowCriticalKernel panic during boot on Gehua ghl-r-001TrunkNew Task Description

See https://github.com/openwrt/openwrt/pull/2483

without this patch the ghl-r-001 cannot be boot.

reproduct in both 19.7-rc2 and git master.

08.01.20202718Base systemBug ReportVery LowCritical/overlay is empty and nothing can be written thereTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Only on TPLink Archer C7 v5 (current model).
Other models are OK: A7 (”V5”) (also current), C7 V2, C7 V4 (both earlier)

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

Only Trunk has this problem, and only on C7 v5. rc19.07 does *not* have this problem.

- Steps to reproduce

make menuconfig for target C7 V5
load squashfs-factory version in a C7 V5
boot

...and presto, there’s nothing in /overlay. /rom/overlay is populated. I have found no way to write anything on /overlay. Luci can’t save anything either – not even a password.

There’s nothing weird in my make menuconfig config, unless you count python3-light, bind-dig, ca-certificates, etc. as weird. And the other C7 and C7-like models work fine.

 


26.02.20202863KernelBug ReportVery LowCriticalNo wireless - ath9k: probe of ar934x_wmac failed with e...TrunkUnconfirmed Task Description

TP-Link TL-WDR4300 v1
Atheros AR9344 rev 2
OpenWrt SNAPSHOT r12324-35890514bb

After firmware update the wireless interface stop working and system log display this errors:

[  775.566457] ath: phy2: Unable to initialize hardware; initialization status: -5
[  775.573947] ath9k ar934x_wmac: failed to initialize device
[  775.579593] ath9k: probe of ar934x_wmac failed with error -5
[  775.585511] pci 0000:00:00.0: using irq 40 for pin 1
[  775.594310] ath: phy3: Unable to initialize hardware; initialization status: -5
[  775.601780] ath9k 0000:00:00.0: Failed to initialize device
[  775.607518] ath9k: probe of 0000:00:00.0 failed with error -5

After removing the modules with:

rmmod ath9k
rmmod ath9k_common
rmmod ath9k_hw

And trying to load them back with:

insmod ath9k_common
insmod ath9k_hw
insmod ath9k

This messages show up:

[  837.091531] ath9k: ath9k: Driver unloaded
[  843.290249] ath9k: Unknown symbol ath9k_hw_stop_dma_queue (err 0)
[  843.296516] ath9k: Unknown symbol ath9k_hw_set_txpowerlimit (err 0)
[  843.303090] ath9k: Unknown symbol ath9k_hw_reset_calvalid (err 0)
[  843.309396] ath9k: Unknown symbol ath9k_hw_intrpend (err 0)
[  843.315144] ath9k: Unknown symbol ath9k_cmn_debug_modal_eeprom (err 0)
[  843.321888] ath9k: Unknown symbol ath9k_hw_enable_interrupts (err 0)
[  843.328450] ath9k: Unknown symbol ar9003_hw_bb_watchdog_check (err 0)
[  843.335112] ath9k: Unknown symbol ath9k_cmn_rx_accept (err 0)
[  843.341067] ath9k: Unknown symbol ath9k_hw_reset (err 0)
[  843.346548] ath9k: Unknown symbol ath9k_hw_abort_tx_dma (err 0)
[  843.352673] ath9k: Unknown symbol ath9k_hw_setuptxqueue (err 0)
[  843.358798] ath9k: Unknown symbol ath9k_hw_setuprxdesc (err 0)
[  843.364792] ath9k: Unknown symbol ath9k_hw_startpcureceive (err 0)
[  843.371183] ath9k: Unknown symbol ar9003_paprd_init_table (err 0)
[  843.377475] ath9k: Unknown symbol ath9k_hw_gpio_request_out (err 0)
[  843.383905] ath9k: Unknown symbol ath9k_hw_putrxbuf (err 0)
[  843.389669] ath9k: Unknown symbol ath9k_hw_check_nav (err 0)
[  843.395508] ath9k: Unknown symbol ath9k_hw_setmcastfilter (err 0)
[  843.401901] ath9k: Unknown symbol ath9k_hw_setpower (err 0)
[  843.407683] ath9k: Unknown symbol ath9k_hw_phy_disable (err 0)
[  843.413677] ath9k: Unknown symbol ath9k_cmn_rx_skb_postprocess (err 0)
[  843.420411] ath9k: Unknown symbol ath_dynack_sample_ack_ts (err 0)
[  843.426782] ath9k: Unknown symbol ath9k_cmn_beacon_config_sta (err 0)
[  843.433408] ath9k: Unknown symbol ath9k_hw_check_alive (err 0)
[  843.439430] ath9k: Unknown symbol ath9k_hw_setrxabort (err 0)
[  843.445338] ath9k: Unknown symbol ath9k_hw_txstart (err 0)
[  843.451017] ath9k: Unknown symbol ath9k_hw_gpio_free (err 0)
[  843.456886] ath9k: Unknown symbol ar9003_get_pll_sqsum_dvc (err 0)
[  843.463255] ath9k: Unknown symbol ar9003_is_paprd_enabled (err 0)
[  843.469560] ath9k: Unknown symbol ath9k_hw_set_rx_bufsize (err 0)
[  843.475828] ath9k: Unknown symbol ath9k_hw_updatetxtriglevel (err 0)
[  843.482398] ath9k: Unknown symbol ath9k_hw_beaconinit (err 0)
[  843.488395] ath9k: Unknown symbol ath9k_hw_set_tx_filter (err 0)
[  843.494565] ath9k: Unknown symbol ath9k_hw_settsf64 (err 0)
[  843.500337] ath9k: Unknown symbol ath9k_hw_init_global_settings (err 0)
[  843.507156] ath9k: Unknown symbol ath9k_hw_abortpcurecv (err 0)
[  843.513239] ath9k: Unknown symbol ath9k_hw_update_diag (err 0)
[  843.519285] ath9k: Unknown symbol ath9k_hw_name (err 0)
[  843.524665] ath9k: Unknown symbol ath9k_hw_beaconq_setup (err 0)
[  843.530862] ath9k: Unknown symbol ath9k_cmn_debug_phy_err (err 0)
[  843.537187] ath9k: Unknown symbol ath9k_hw_puttxbuf (err 0)
[  843.542959] ath9k: Unknown symbol ath9k_hw_write_associd (err 0)
[  843.549176] ath9k: Unknown symbol ath_dynack_sample_tx_ts (err 0)
[  843.555487] ath9k: Unknown symbol ath_dynack_reset (err 0)
[  843.561162] ath9k: Unknown symbol ath9k_cmn_debug_recv (err 0)
[  843.567198] ath9k: Unknown symbol ath9k_hw_setup_statusring (err 0)
[  843.573689] ath9k: Unknown symbol ath9k_hw_addrxbuf_edma (err 0)
[  843.579902] ath9k: Unknown symbol ath9k_cmn_debug_base_eeprom (err 0)
[  843.586513] ath9k: Unknown symbol ath9k_cmn_process_rssi (err 0)
[  843.592717] ath9k: Unknown symbol ath9k_cmn_beacon_config_adhoc (err 0)
[  843.599543] ath9k: Unknown symbol ath9k_hw_ani_monitor (err 0)
[  843.605533] ath9k: Unknown symbol ath9k_hw_getrxfilter (err 0)
[  843.611577] ath9k: Unknown symbol ath9k_cmn_debug_stat_rx (err 0)
[  843.617868] ath9k: Unknown symbol ath_dynack_node_init (err 0)
[  843.623865] ath9k: Unknown symbol ath9k_cmn_beacon_config_ap (err 0)
[  843.630416] ath9k: Unknown symbol ath9k_hw_set_tsfadjust (err 0)
[  843.636591] ath9k: Unknown symbol ar9003_hw_bb_watchdog_dbg_info (err 0)
[  843.643492] ath9k: Unknown symbol ar9003_paprd_create_curve (err 0)
[  843.649957] ath9k: Unknown symbol ath9k_hw_gpio_request_in (err 0)
[  843.656303] ath9k: Unknown symbol ath9k_hw_set_sta_beacon_timers (err 0)
[  843.663272] ath9k: Unknown symbol ath9k_hw_gettsf64 (err 0)
[  843.669035] ath9k: Unknown symbol ath9k_hw_rxprocdesc (err 0)
[  843.674939] ath9k: Unknown symbol ath_gen_timer_isr (err 0)
[  843.680700] ath9k: Unknown symbol ath9k_hw_resettxqueue (err 0)
[  843.686831] ath9k: Unknown symbol ath9k_hw_setopmode (err 0)
[  843.692654] ath9k: Unknown symbol ar9003_paprd_populate_single_table (err 0)
[  843.699911] ath9k: Unknown symbol ath9k_hw_process_rxdesc_edma (err 0)
[  843.706654] ath9k: Unknown symbol ath_dynack_node_deinit (err 0)
[  843.712881] ath9k: Unknown symbol ath9k_cmn_init_channels_rates (err 0)
[  843.719713] ath9k: Unknown symbol ath9k_hw_kill_interrupts (err 0)
[  843.726071] ath9k: Unknown symbol ath9k_cmn_reload_chainmask (err 0)
[  843.732658] ath9k: Unknown symbol ath9k_hw_reset_tsf (err 0)
[  843.738508] ath9k: Unknown symbol ath9k_hw_get_txq_props (err 0)
[  843.744679] ath9k: Unknown symbol ath9k_hw_releasetxqueue (err 0)
[  843.750966] ath9k: Unknown symbol ath9k_hw_setrxfilter (err 0)
[  843.757063] ath9k: Unknown symbol ath9k_hw_loadnf (err 0)
[  843.762627] ath9k: Unknown symbol ath9k_hw_gettxbuf (err 0)
[  843.768411] ath9k: Unknown symbol ath9k_hw_gpio_get (err 0)
[  843.774176] ath9k: Unknown symbol ath9k_hw_bstuck_nfcal (err 0)
[  843.780320] ath9k: Unknown symbol ath9k_hw_disable_interrupts (err 0)
[  843.786961] ath9k: Unknown symbol ath9k_cmn_update_txpow (err 0)
[  843.793132] ath9k: Unknown symbol ath9k_hw_computetxtime (err 0)
[  843.799339] ath9k: Unknown symbol ath9k_hw_getchan_noise (err 0)
[  843.805506] ath9k: Unknown symbol ar9003_paprd_enable (err 0)
[  843.811483] ath9k: Unknown symbol ath9k_hw_stopdmarecv (err 0)
[  843.817515] ath9k: Unknown symbol ath9k_cmn_get_hw_crypto_keytype (err 0)
[  843.824477] ath9k: Unknown symbol ath9k_hw_set_interrupts (err 0)
[  843.830764] ath9k: Unknown symbol ath9k_hw_wait (err 0)
[  843.836148] ath9k: Unknown symbol ar9003_paprd_setup_gain_table (err 0)
[  843.842963] ath9k: Unknown symbol ath9k_hw_numtxpending (err 0)
[  843.849079] ath9k: Unknown symbol ath9k_hw_get_tsf_offset (err 0)
[  843.855363] ath9k: Unknown symbol ath9k_cmn_process_rate (err 0)
[  843.861582] ath9k: Unknown symbol ath9k_cmn_init_crypto (err 0)
[  843.867699] ath9k: Unknown symbol ath9k_hw_set_gpio (err 0)
[  843.873444] ath9k: Unknown symbol ath9k_hw_setantenna (err 0)
[  843.879472] ath9k: Unknown symbol ath9k_hw_resume_interrupts (err 0)
[  843.885998] ath9k: Unknown symbol ath9k_hw_deinit (err 0)
[  843.891585] ath9k: Unknown symbol ath9k_cmn_get_channel (err 0)
[  843.897714] ath9k: Unknown symbol ath9k_hw_init (err 0)
[  843.903104] ath9k: Unknown symbol ath9k_hw_set_txq_props (err 0)
[  843.909307] ath9k: Unknown symbol ar9003_paprd_is_done (err 0)
[  864.457183] ath: phy4: Unable to initialize hardware; initialization status: -5
[  864.464617] ath9k ar934x_wmac: failed to initialize device
[  864.470266] ath9k: probe of ar934x_wmac failed with error -5
[  864.476180] pci 0000:00:00.0: using irq 40 for pin 1
[  864.484980] ath: phy5: Unable to initialize hardware; initialization status: -5
[  864.492449] ath9k 0000:00:00.0: Failed to initialize device
[  864.498181] ath9k: probe of 0000:00:00.0 failed with error -5
01.03.20202871KernelBug ReportVery LowCriticalBuffalo WHR-600D fails to initialise RT5592.TrunkUnconfirmed Task Description

This *might* be the same bug as  bug 691  (https://bugs.openwrt.org/index.php?do=details&task_id=691), or at least related.

Rooting around in the junk box I found a dismantled and bricked WHR-600D, not sure why or how it got into that state but I would have been tinkering with it in the Chaos Calmer era so possibly could not get it working at the time.

However I decided it would be a useful upgrade to a WHR-HP-G300N that I have covering a corner of the house - especially as that only has 4MB flash/32MB ram so is not really suitable for modern versions of OpenWRT

But... no dice

I successfully got half a serial console (I think the 600D’s rx pin is hosed) and got an initramfs image booted and flashed 19.07.1 - subsequent to that I compiled trunk from source but the behaviour is the same.

The RT5592 is not initialized - it is not “mis-detected” as a 2.4GHz only interface (although the unused MT7620A WiFi interface *is* detected as phy1).

Boot shows:

[ 8.984703] rt2800pci 0000:01:00.0: loaded eeprom from mtd device “factory” [ 8.998658] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 9.014109] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0×0000 detected
[ 9.030585] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device

then - for phy1

[ 9.050320] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device “factory” [ 9.064801] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 6352, rev 0500 detected
[ 9.080250] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 7620 detected
[ 9.094676] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’

iw list only gives phy1 although I think that is unused/unconnected on this router (AFAICS the two antenna connect only into the RT5592) - I can’t try the images that Mathias Kresin posted in the previous bug report as the links are now dead but I see that the two commits that were made to the WHR-600D and RP-N53 dts files don’t seem to have been accidentally reverted.

Also tried 18.06.7 but that just crashes with:
[ 10.951562] rt2800pci 0000:01:00.0: loaded eeprom from mtd device “factory” [ 10.965533] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[ 10.980983] ieee80211 phy0: rt2800_init_eeprom: Error - Invalid RF chipset 0×0000 detected
[ 10.997460] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device
[ 11.012574] ————[ cut here ]———— [ 11.021787] WARNING: CPU: 0 PID: 426 at mm/vmalloc.c:1466 0x801b2480()
[ 11.034795] Trying to vfree() nonexistent vm area (8317e000)

Not sure where to take this but happy to supply extra info or try patches if anyone has any ideas.

 


26.03.20202935Base systemBuild FailureVery LowCriticalx86/geode: cycling reboot with openwrt-x86-geode-gener...TrunkAssigned Task Description

Device problem occurs on booting

[    2.744573] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x803646e3)
[    2.752130] F2FS-fs (sda2): Can't find valid F2FS filesystem in 1th superblock
[    2.762100] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0xd083295c)
[    2.769648] F2FS-fs (sda2): Can't find valid F2FS filesystem in 2th superblock
[    2.777149] List of all partitions:
[    2.780684] 0800           64000 sda
[    2.780689]  driver: sd
[    2.786951]   0801            8192 sda1 d50cf6e8-01
[    2.786955]
[    2.793377]   0802           55296 sda2 d50cf6e8-02
[    2.793380]
[    2.799893] No filesystem could mount root, tried:
[    2.799896]  ext3
[    2.804794]  ext2
[    2.806834]  ext4
[    2.808783]  squashfs
[    2.810733]  f2fs
[    2.813031]
[    2.816579] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-                                                                                                                  block(8,2)
[    2.824874] Kernel Offset: disabled
[    2.828394] Rebooting in 1 seconds..

Software versions of OpenWrt/LEDE release, packages, etc.
nightbuild image @2020-03-26 r12712-556b858

Steps to reproduce
After syncronizing source code with master branch we get fail with x86-*squashfs-combined images.
Size of openwrt-x86-geode-generic-squashfs-combined.img and openwrt-x86-geode-geos-squashfs-combined.img images isn’t
correct (less than expected).
Device never boot with them.

08.04.20202979Base systemBug ReportVery LowCriticalBanana Pi R64 can not upgrade on sysupgrade imageTrunkUnconfirmed Task Description

When I am try update initramfs image to sysupgrade. After command sysupgrade I am get error: Sysupgrade is not supported on your board yet.
Device: Banana PI R64
Build: Development Snapshot from Wed Apr 8 02:31:30 2020


08.04.20202981Base systemBug ReportVery LowCriticalno switch0 device on Xiaomi Mi Router 3G (and V2)TrunkUnconfirmed Task Description

Apparently since kernel 5.4, the switch0 is not working correctly anymore. With a plain network config, ethernet ports are available. When using VLAN, the ports don’t work anymore; even the LEDs are off.
Luci → Network: no switch option available

root@test:/# swconfig list
root@test:/#


Devices: Xioami Mi Router 3G and Xiaomi Mi Router 3G V2
Tested with both devices. Tested with plain git checkout and my own build environment (master). Always the same behaviour...

boot log:

<## Booting image at bc180000 ...
   Image Name:   MIPS dl3it-mi3g Linux-5.4.28
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2102189 Bytes =  2 MB
   Load Address: 80001000
   Entry Point:  80001000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Erasing SPI Flash...
raspi_erase: offs:30000 len:10000
.
Writing to SPI Flash...
.
done
commandline uart_en=0 factory_mode=0 mem=128m root=/dev/mtdblock9
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 5.4.28 (dl3it-mi3g@mySpace) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r12868-c948a4782b)) #0 SMP Wed Apr 8 13:05:51 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Xiaomi Mi Router 3G v2
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26480 r8192 d22672 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=000400d0
[    0.000000] Readback ErrCtl register=000400d0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 122004K/131072K available (5291K kernel code, 173K rwdata, 688K rodata, 1260K init, 224K bss, 9068K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from 0x80605a08 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007802] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.042004] pid_max: default: 32768 minimum: 301
[    0.046743] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.053968] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.063838] rcu: Hierarchical SRCU implementation.
[    0.069180] smp: Bringing up secondary CPUs ...
[    0.075309] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.075319] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.075331] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.075432] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.101936] Synchronize counters for CPU 1: done.
[    0.142926] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.142934] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.142942] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.143000] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.166600] Synchronize counters for CPU 2: done.
[    0.197977] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.197985] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.197994] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.198055] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.224458] Synchronize counters for CPU 3: done.
[    0.254333] smp: Brought up 1 node, 4 CPUs
[    0.262078] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.271788] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.278766] pinctrl core: initialized pinctrl subsystem
[    0.285406] NET: Registered protocol family 16
[    0.310358] random: fast init done
[    0.318567] clocksource: Switched to clocksource GIC
[    0.325345] NET: Registered protocol family 2
[    0.330315] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.338626] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.346200] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.353202] TCP: Hash tables configured (established 1024 bind 1024)
[    0.359629] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.366103] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.373226] NET: Registered protocol family 1
[    0.377532] PCI: CLS 0 bytes, default 32
[    0.470541] 4 CPUs re-calibrate udelay(lpj = 1163264)
[    0.477001] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.492348] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.498111] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.510897] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.516745] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.522559] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.528863] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.536441] printk: console [ttyS0] disabled
[    0.540734] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.549720] printk: console [ttyS0] enabled
[    0.549720] printk: console [ttyS0] enabled
[    0.557980] printk: bootconsole [early0] disabled
[    0.557980] printk: bootconsole [early0] disabled
[    0.569760] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.577944] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    0.582936] 8 fixed-partitions partitions found on MTD device spi0.0
[    0.589281] Creating 8 MTD partitions on "spi0.0":
[    0.594079] 0x000000000000-0x000000030000 : "u-boot"
[    0.600206] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.606677] 0x000000040000-0x000000050000 : "Bdata"
[    0.612654] 0x000000050000-0x000000060000 : "factory"
[    0.618871] 0x000000060000-0x000000070000 : "crash"
[    0.624841] 0x000000070000-0x000000080000 : "cfg_bak"
[    0.631048] 0x000000080000-0x000000180000 : "overlay"
[    0.637248] 0x000000180000-0x000001000000 : "firmware"
[    0.643805] 2 uimage-fw partitions found on MTD device firmware
[    0.649771] Creating 2 MTD partitions on "firmware":
[    0.654751] 0x000000000000-0x0000002013ed : "kernel"
[    0.660846] 0x0000002013ed-0x000000e80000 : "rootfs"
[    0.666945] mtd: device 9 (rootfs) set to be root filesystem
[    0.672703] 1 squashfs-split partitions found on MTD device rootfs
[    0.678890] 0x0000009c0000-0x000000e80000 : "rootfs_data"
[    0.686092] libphy: Fixed MDIO Bus: probed
[    0.716870] libphy: mdio: probed
[    0.720379] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.727570] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    0.738011] mt7621-pci 1e140000.pcie: Parsing DT failed
[    0.745444] NET: Registered protocol family 10
[    0.751473] Segment Routing with IPv6
[    0.755297] NET: Registered protocol family 17
[    0.760014] 8021q: 802.1Q VLAN Support v1.8
[    0.765966] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.374877] libphy: dsa slave smi: probed
[    1.438599] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    1.458608] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    1.478606] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    1.534553] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.150548] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    2.226584] DSA: tree 0 setup
[    2.229877] rt2880-pinmux pinctrl: pcie is already enabled
[    2.235383] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    2.243000] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    2.250551] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    2.357677] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    2.363264] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.468514] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    2.475474] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.480348] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    2.485228] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.494703] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.501072] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.507943] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.514813] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.520334] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.526365] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.532635] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    2.538968] pci 0000:00:00.0: supports D1
[    2.542981] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.549116] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.555169] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.561435] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    2.567758] pci 0000:00:01.0: supports D1
[    2.571771] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.579056] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    2.585128] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    2.591952] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.598749] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    2.606100] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.611344] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.617432] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.624216] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.631434] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.638265] pci 0000:02:00.0: [14c3:7603] type 00 class 0x028000
[    2.644325] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    2.650726] pci 0000:02:00.0: PME# supported from D0 D3hot D3cold
[    2.658077] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    2.663322] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.669410] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.676194] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.683420] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.690083] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.696693] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.703651] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.710254] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.717213] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.723998] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    2.731215] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    2.737997] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    2.745215] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.752006] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.758795] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.765577] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.772372] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.779687] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    2.786903] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.791867] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.798649] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.805429] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    2.812657] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff]
[    2.819442] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.824405] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.831188] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.837966] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.845884] hctosys: unable to open rtc device (rtc0)
[    2.854774] VFS: Mounted root (squashfs filesystem) readonly on device 31:9.
[    2.865727] Freeing unused kernel memory: 1260K
[    2.870309] This architecture does not have kernel memory protection.
[    2.876743] Run /sbin/init as init process
[    3.287646] init: Console is alive
[    3.291282] init: - watchdog -
[    4.502146] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.642663] usbcore: registered new interface driver usbfs
[    4.648277] usbcore: registered new interface driver hub
[    4.653761] usbcore: registered new device driver usb
[    4.687605] SCSI subsystem initialized
[    4.700291] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    4.709018] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    4.717973] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.723320] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.738712] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    4.747932] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    4.754929] hub 1-0:1.0: USB hub found
[    4.758772] hub 1-0:1.0: 2 ports detected
[    4.763366] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.768728] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.776220] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    4.782759] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.791649] hub 2-0:1.0: USB hub found
[    4.795501] hub 2-0:1.0: 1 port detected
[    4.806463] usbcore: registered new interface driver usb-storage
[    4.812799] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.830880] init: - preinit -
[    5.556493] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.564803] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.573306] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.758344] random: jshn: uninitialized urandom read (4 bytes read)
[    5.857508] random: jshn: uninitialized urandom read (4 bytes read)
[    5.892574] random: jshn: uninitialized urandom read (4 bytes read)
[    6.182562] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.214670] 8021q: adding VLAN 0 to HW filter on device lan1
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
[   10.454588] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   10.461993] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   10.497376] jffs2: notice: (593) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (10 unchecked, 2 orphan) and 14 of xref (2 dead, 0 orphan) found.
[   10.514983] mount_root: switching to jffs2 overlay
[   10.541029] overlayfs: upper fs does not support tmpfile.
[   10.553353] urandom-seed: Seeding with /etc/urandom.seed
[   10.710556] mt7530 mdio-bus:1f lan1: Link is Down
[   10.794276] procd: - early -
[   10.797283] procd: - watchdog -
[   11.390731] procd: - watchdog -
[   11.394174] procd: - ubus -
[   11.495821] urandom_read: 5 callbacks suppressed
[   11.495833] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.508640] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.516312] procd: - init -
Please press Enter to activate this console.
[   11.847029] random: crng init done
[   12.196458] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.277843] Key type dns_resolver registered
[   12.294374] RPC: Registered named UNIX socket transport module.
[   12.300415] RPC: Registered udp transport module.
[   12.305113] RPC: Registered tcp transport module.
[   12.309806] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   12.326652] tun: Universal TUN/TAP device driver, 1.6
[   12.343512] urngd: v1.0.2 started.
[   12.353986] NFS: Registering the id_resolver key type
[   12.359125] Key type id_resolver registered
[   12.363309] Key type id_legacy registered
[   12.409615] Loading modules backported from Linux version v5.4.27-0-g585e0cc08069
[   12.417142] Backport generated by backports.git v5.4.27-1-0-gf6e8852f
[   12.436131] wireguard: WireGuard 1.0.20200401 loaded. See www.wireguard.com for information.
[   12.444603] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   12.461355] xt_time: kernel timezone is -0000
[   12.526918] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   12.532626] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   12.538852] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   13.163810] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   13.169406] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   13.198554] mt7603e 0000:02:00.0: firmware init done
[   13.396912] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   13.402664] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   13.408975] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   13.890858] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   13.905566] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   13.911181] mt76x2e 0000:01:00.0: Build: 1
[   13.915314] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   13.938667] mt76x2e 0000:01:00.0: Firmware running!
[   13.975037] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.857666] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   20.437833] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   20.448515] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.457303] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   20.470323] br-gast: port 1(eth0.119) entered blocking state
[   20.476130] br-gast: port 1(eth0.119) entered disabled state
[   20.482797] device eth0.119 entered promiscuous mode
[   20.487821] device eth0 entered promiscuous mode
[   20.496672] br-gast: port 1(eth0.119) entered blocking state
[   20.502388] br-gast: port 1(eth0.119) entered forwarding state
[   20.610001] br-iot: port 1(eth0.120) entered blocking state
[   20.615694] br-iot: port 1(eth0.120) entered disabled state
[   20.621937] device eth0.120 entered promiscuous mode
[   20.631403] br-iot: port 1(eth0.120) entered blocking state
[   20.637077] br-iot: port 1(eth0.120) entered forwarding state
[   20.756696] br-lan: port 1(eth0.117) entered blocking state
[   20.762433] br-lan: port 1(eth0.117) entered disabled state
[   20.769851] device eth0.117 entered promiscuous mode
[   20.780577] br-lan: port 1(eth0.117) entered blocking state
[   20.786261] br-lan: port 1(eth0.117) entered forwarding state
[   20.903708] br-media: port 1(eth0.118) entered blocking state
[   20.909789] br-media: port 1(eth0.118) entered disabled state
[   20.916212] device eth0.118 entered promiscuous mode
[   20.924455] br-media: port 1(eth0.118) entered blocking state
[   20.930260] br-media: port 1(eth0.118) entered forwarding state
[   21.021138] br-rapw: port 1(eth0.128) entered blocking state
[   21.027159] br-rapw: port 1(eth0.128) entered disabled state
[   21.033622] device eth0.128 entered promiscuous mode
[   21.042842] br-rapw: port 1(eth0.128) entered blocking state
[   21.048592] br-rapw: port 1(eth0.128) entered forwarding state
[   24.551924] br-lan: port 2(wlan1) entered blocking state
[   24.557320] br-lan: port 2(wlan1) entered disabled state
[   24.563518] device wlan1 entered promiscuous mode
[   24.640154] br-lan: port 3(wlan0) entered blocking state
[   24.645515] br-lan: port 3(wlan0) entered disabled state
[   24.651714] device wlan0 entered promiscuous mode
[   24.657070] br-lan: port 3(wlan0) entered blocking state
[   24.662453] br-lan: port 3(wlan0) entered forwarding state
[   25.927299] br-lan: port 3(wlan0) entered disabled state
[   25.933474] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   25.940330] br-lan: port 2(wlan1) entered blocking state
[   25.945682] br-lan: port 2(wlan1) entered forwarding state
[   25.961147] br-gast: port 2(wlan1-1) entered blocking state
[   25.966815] br-gast: port 2(wlan1-1) entered disabled state
[   25.973281] device wlan1-1 entered promiscuous mode
[   25.980340] br-gast: port 2(wlan1-1) entered blocking state
[   25.986013] br-gast: port 2(wlan1-1) entered forwarding state
[   26.602100] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   26.615326] br-iot: port 2(wlan1-2) entered blocking state
[   26.620895] br-iot: port 2(wlan1-2) entered disabled state
[   26.627238] device wlan1-2 entered promiscuous mode
[   26.633956] br-iot: port 2(wlan1-2) entered blocking state
[   26.639547] br-iot: port 2(wlan1-2) entered forwarding state
[   26.654413] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   26.661418] br-lan: port 3(wlan0) entered blocking state
[   26.666839] br-lan: port 3(wlan0) entered forwarding state
[   26.684260] br-gast: port 3(wlan0-1) entered blocking state
[   26.689898] br-gast: port 3(wlan0-1) entered disabled state
[   26.696257] device wlan0-1 entered promiscuous mode
[   26.703570] br-gast: port 3(wlan0-1) entered blocking state
[   26.709197] br-gast: port 3(wlan0-1) entered forwarding state
[   26.950979] br-iot: port 2(wlan1-2) entered disabled state
[   26.958856] br-gast: port 3(wlan0-1) entered disabled state
[   27.183822] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-2: link becomes ready
[   27.190950] br-iot: port 2(wlan1-2) entered blocking state
[   27.196513] br-iot: port 2(wlan1-2) entered forwarding state
[   27.287694] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   27.294743] br-gast: port 3(wlan0-1) entered blocking state
[   27.300358] br-gast: port 3(wlan0-1) entered forwarding state
[   27.314616] br-iot: port 3(wlan0-2) entered blocking state
[   27.320314] br-iot: port 3(wlan0-2) entered disabled state
[   27.326962] device wlan0-2 entered promiscuous mode
[   27.333493] br-iot: port 3(wlan0-2) entered blocking state
[   27.339125] br-iot: port 3(wlan0-2) entered forwarding state
[   27.763549] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
[   27.777443] br-rapw: port 2(wlan0-3) entered blocking state
[   27.783263] br-rapw: port 2(wlan0-3) entered disabled state
[   27.789570] device wlan0-3 entered promiscuous mode
[   27.796480] br-rapw: port 2(wlan0-3) entered blocking state
[   27.802127] br-rapw: port 2(wlan0-3) entered forwarding state
[   27.954752] br-rapw: port 2(wlan0-3) entered disabled state
[   28.219373] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-3: link becomes ready
[   28.226593] br-rapw: port 2(wlan0-3) entered blocking state
[   28.232216] br-rapw: port 2(wlan0-3) entered forwarding state

kernel modules:

root@test:/# lsmod
cfg80211              258960  4 mt76x02_lib,mt7603e,mt76,mac80211
compat                   608  2 mac80211,cfg80211
crc_ccitt               1696  0
crc32c_generic          1376  0
dns_resolver            4272  1 nfsv4
ext4                  413584  0
fat                    58208  1 vfat
gpio_button_hotplug     6944  0
grace                   1328  1 lockd
ip_set                 25744 16 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_bitmap_ip        6976  0
ip_set_bitmap_ipmac     7200  0
ip_set_bitmap_port      6176  0
ip_set_hash_ip         26176  0
ip_set_hash_ipmark     26400  0
ip_set_hash_ipport     26976  0
ip_set_hash_ipportip   28000  0
ip_set_hash_ipportnet   32576  0
ip_set_hash_mac        13632  0
ip_set_hash_net        29696  0
ip_set_hash_netiface   31264  0
ip_set_hash_netnet     32832  0
ip_set_hash_netport    31104  0
ip_set_hash_netportnet   33952  0
ip_set_list_set         7232  0
ip_tables              10848  3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables             10624  2 ip6table_mangle,ip6table_filter
ip6_udp_tunnel          1760  1 wireguard
ip6t_REJECT             1248  2
ip6table_filter          704  1
ip6table_mangle         1184  1
ipt_REJECT              1184  2
iptable_filter           672  1
iptable_mangle           896  1
iptable_nat              768  1
jbd2                   56368  1 ext4
leds_gpio               3040  0
ledtrig_heartbeat       1520  0
ledtrig_usbport         2864  0
lockd                  55232  1 nfs
mac80211              496000  4 mt76x2e,mt76x02_lib,mt7603e,mt76
mbcache                 3952  1 ext4
mt76                   32096  4 mt76x2e,mt76x2_common,mt76x02_lib,mt7603e
mt7603e                38080  0
mt76x02_lib            39872  2 mt76x2e,mt76x2_common
mt76x2_common          11360  1 mt76x2e
mt76x2e                10080  0
nf_conntrack           71280  9 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,nf_nat,nf_flow_table,nf_conntrack_rtcache,nf_conntrack_netlink
nf_conntrack_netlink   24112  0
nf_conntrack_rtcache    2400  0
nf_defrag_ipv4          1120  1 nf_conntrack
nf_defrag_ipv6          4976  1 nf_conntrack
nf_flow_table          14864  2 xt_FLOWOFFLOAD,nf_flow_table_hw
nf_flow_table_hw        2416  1
nf_log_common           2624  2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4             3520  0
nf_log_ipv6             4192  0
nf_nat                 23056  4 iptable_nat,xt_nat,xt_REDIRECT,xt_MASQUERADE
nf_reject_ipv4          2112  1 ipt_REJECT
nf_reject_ipv6          2464  1 ip6t_REJECT
nfnetlink               4560  2 nf_conntrack_netlink,ip_set
nfs                   127680  1 nfsv4
nfsv4                 139152  0
nls_base                5424  6 vfat,fat,nls_utf8,nls_iso8859_1,nls_cp437,usbcore
nls_cp437               4416  0
nls_iso8859_1           2880  0
nls_utf8                 864  0
scsi_mod               86320  2 usb_storage,sd_mod
sd_mod                 29104  0
sunrpc                174064  3 nfsv4,nfs,lockd
swconfig                9680  0
tun                    32640  0
udp_tunnel              2560  1 wireguard
usb_common              2704  3 xhci_plat_hcd,xhci_hcd,usbcore
usb_storage            39888  0
usbcore               140176  6 ledtrig_usbport,usb_storage,xhci_plat_hcd,xhci_pci,xhci_mtk,xhci_hcd
vfat                   10016  0
wireguard              85792  0
x_tables               15472 24 xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,xt_FLOWOFFLOAD,ipt_REJECT,xt_time,xt_tcpudp,xt_multiport,xt_mark,xt_mac,xt_limit,xt_comment,xt_TCPMSS,xt_LOG,iptable_mangle,iptable_filter,ip_tables,xt_set,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xhci_hcd              113408  3 xhci_plat_hcd,xhci_pci,xhci_mtk
xhci_mtk                4800  0
xhci_pci                3424  0
xhci_plat_hcd           5600  0
xt_FLOWOFFLOAD          3152  0
xt_LOG                   768  0
xt_MASQUERADE            832  0
xt_REDIRECT              704  0
xt_TCPMSS               3168  2
xt_comment               512183
xt_conntrack            2432 24
xt_limit                1312  2
xt_mac                   640  0
xt_mark                  672  0
xt_multiport            1312  0
xt_nat                  2432  0
xt_set                  7328  0
xt_state                 832  0
xt_tcpudp               1824 18
xt_time                 1952  0
root@test:/#

Routers work fine with kernel 4.14.xxx

10.04.20202989Base systemBug ReportVery LowCriticalBoots but no connection can be made to routerTrunkUnconfirmed Task Description

Hardware: ZBT WG3526 16MB RAM
Image file: openwrt-ramips-mt7621-zbtlink_zbt-wg3526-16m-squashfs-sysupgrade.bin
Image Date Stamp: Snapshot Fri Apr 10 06:55:59 2020

Issue: Flashes without issues.

		Boots but no connection can be made to router using web browser I/F, WinSCP or PuTTY.
		Not responding to ping 192.168.1.1.
		All LAN and WAN ports LED's are flashing.
		No Internet connection (WAN)
12.04.20202996KernelBug ReportVery LowCriticalnanopi air cannot start in kernel 5.4.31TrunkUnconfirmed Task Description

device: nanopi air
steps:

1. "git check" to get the last trunk
2. "make menuconfig" select the device "nanopi air"
3. then "make" to get the rom and dd it into TF card
4. power on and you will see stop at "Starting kernel ..."

here is my system log:

U-Boot SPL 2020.01 (Apr 09 2020 - 20:09:21 +0000)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2020.01 (Apr 09 2020 - 20:09:21 +0000) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyARM NanoPi NEO
DRAM:  512 MiB
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   phy interface0

Error: ethernet@1c30000 address not set.
No ethernet found.

starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1d000: USB EHCI 1.00
Bus usb@1c1d400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1d000 for devices... 1 USB Device(s) found
scanning bus usb@1c1d400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 2 ms (183.6 KiB/s)
## Executing script at 43100000
3078032 bytes read in 142 ms (20.7 MiB/s)
19497 bytes read in 3 ms (6.2 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   ARM OpenWrt Linux-5.4.31
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3077968 Bytes = 2.9 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
   Booting using the fdt blob at 0x43000000
EHCI failed to shut down host controller.
   Loading Kernel Image
   Using Device Tree in place at 43000000, end 43007c28

Starting kernel ...
02.05.20203060Base systemBug ReportVery LowCriticalFlashing current trunk on NBG6616 results in bootloopTrunkUnconfirmed Task Description

Installing current trunk esults in bootloop.
First I tried to install it over stock firmware with recovery/tftp but it was stuck in bootloop.
Then I reinstalled 19.07.02 via recovery/tftp - which worked fine.
After that, I tried to install trunk via recovery/tftp, but it also gave bootloop.

The symptoms looks like the ones mentioned below. The problem was fixed, and maybee the same solution is missing in trunk

 FS#168  - Firmware dont boot up on Zyxel NBG6616
 FS#1724  - 18.06.0 release not working on ZyXEL NBG6616 (ar71xx)
https://forum.openwrt.org/t/nbg6616-wan-device-snapshot-bootloop/53944 https://forum.openwrt.org/t/zyxel-nbg6616-bootloop-in-18-0-6-and-18-0-6-1/19355

10.05.20203087Base systemBug ReportVery LowCriticalr13208-426fb8cf84 from downloads.openwrt.org does not b...TrunkUnconfirmed Task Description

Device problem occurs on

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

Steps to reproduce

  1. download given image
  2. flash it via TFTP to routers flash
  3. get attached output

caviat

  • I only have this one WhiteBox8 so I can not test if this is an hardware issue. Can somebody else please test it?
15.05.20203099KernelBug ReportVery LowCriticalTP-Link C2600 Kernel 5.4 crashes while accessing invali...TrunkUnconfirmed Task Description

Linux kernel experiences an oops from time to time
- Device: TP-Link Archer C2600
- Kernel Version: 5.4.40
- OpenWRT Version: OpenWrt SNAPSHOT, r13224+16-2308644b0c
- Steps to reproduce: Simply wait. After an unknown amount of time the kernels crashes leading to a reboot.

 


27.05.20203129Base systemBug ReportVery LowCriticalUQMI won’t connect with Private APNTrunkUnconfirmed Task Description

UQMI won’t connect with Private APN
Hey Folks,

I have a Problem with the QMI protocol.

I bought a private ip from my ISP and can’t connect with the private APN, only the dynamic IP APN works.

With ModemManager the connection to my Private APN works as expected, so no fault on ISP side.
With crosscompile Quectel-cm to OpenWRT, the connection with qmi protocol to my Private APN works as expected, so no fault on ISP side.

 


05.06.20203151Base systemBug ReportVery LowCriticalKimax U35WF overlay memoryTrunkUnconfirmed Task Description

Kimax Blueendless U35WF
Original Kimax firmware

install
openwrt-19.07.3-ramips-mt7620-kimax_u35wf-initramfs-kernel.bin
problems: IP configuration lost after power up
unable to install any package (overlay memory),
unable to generate backup firmware config archive (no contents).
No version 18.06 available for this model to downgrade.

Flash new firmware image
openwrt-19.07.3-ramips-mt7620-kimax_u35wf-squashfs-sysupgrade.bin
and ok

27.06.20203206Base systemBug ReportVery LowCriticalsysupgrade from 18.06.8 to 19.07.0..trunk results in a ...TrunkUnconfirmed Task Description

After a sysupgrade from 18.06.8 to 19.07.0, 19.07.3, or trunk as of 2020-06-28, the router is stuck in an UBI-related boot loop.

Boot log for trunk:

===================================================================
                MT7621   stage1 code 10:33:11 (ASIC)
                CPU=50000000 HZ BUS=16666666 HZ
==================================================================
Change MPLL source from XTAL to CR...
do MEMPLL setting..
MEMPLL Config : 0x11100000
3PLL mode + External loopback
=== XTAL-40Mhz === DDR-1200Mhz ===
PLL2 FB_DL: 0xf, 1/0 = 634/390 3D000000
PLL4 FB_DL: 0x14, 1/0 = 514/510 51000000
PLL3 FB_DL: 0x1a, 1/0 = 703/321 69000000
do DDR setting..[00320381]
Apply DDR3 Setting...(use customer AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
W: g.applet.interface.uart: 3173 frame or parity errors detected
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    1    1    1
000E:|    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1
000F:|    0    0    0    0    1    1    1    1    1    1    1    1    0    0    0    0
0010:|    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0
0011:|    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
rank 0 coarse = 16
rank 0 fine = 32
B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
opt_dle value:9
DRAMC_R0DELDLY[018]=00001B1C
==================================================================
                RX      DQS perbit delay software calibration 
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    10 8 10 11 11 7 11 8 8 9 
10 |    9 12 7 10 9 11 
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center 
y=0-7bit DQ of every group
input delay:DQS0 =28 DQS1 = 27
==================================================================
bit     DQS0     bit      DQS1
0  (1~53)27  8  (1~53)27
1  (1~52)26  9  (1~49)25
2  (1~53)27  10  (1~53)27
3  (1~55)28  11  (1~52)26
4  (1~54)27  12  (1~53)27
5  (0~53)26  13  (1~51)26
6  (1~52)26  14  (1~52)26
7  (1~52)26  15  (1~53)27
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    11 10 11 11 12 9 13 10 8 11 
10 |    9 13 7 11 10 11 
==================================================================
==================================================================
     TX  perbyte calibration 
==================================================================
DQS loop = 15, cmp_err_1 = ffff0800 
dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 
DQS loop = 14, cmp_err_1 = ffff0000 
dqs_perbyte_dly.last_dqsdly_pass[1]=14,  finish count=2 
DQ loop=15, cmp_err_1 = ffff01aa
DQ loop=14, cmp_err_1 = ffff0080
dqs_perbyte_dly.last_dqdly_pass[1]=14,  finish count=1 
DQ loop=13, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=13,  finish count=2 
byte:0, (DQS,DQ)=(9,8)
byte:1, (DQS,DQ)=(8,8)
20,data:89
[EMI] DRAMC calibration passed

===================================================================
                MT7621   stage1 code done 
                CPU=50000000 HZ BUS=16666666 HZ
===================================================================


U-Boot 1.1.3 (Aug 30 2017 - 02:28:33)

Board: Ralink APSoC DRAM:  256 MB
relocate_code Pointer at: 8ffb0000

Config XHCI 40M PLL 
Allocate 16 byte aligned buffer: 8ffe1940
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 DA 90 95 06]
Device found in MTK table, ID: c2da, EXT_ID: 909506
Support this Device in MTK table! c2da 
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 2047
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
..
UBNT e51 13-02122-14 B4FBE4B3E6EE
UBNT BD type=e51, mac=B4FBE4B3E6EE, s/n=B4FBE4B3E6EE, mrev=14, k_idx=1
============================================ 
Ralink UBoot Version: 4.3.S.0
-------------------------------------------- 
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection 
DRAM_TYPE: DDR3 
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug 30 2017  Time:02:28:33
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 880 MHZ #### 
 estimate memory size =256 Mbytes
#Reset_MT7530
Enable port 0

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
default: 3
 3 
You choosed 3

 0 
   
3: System Boot system code via Flash.
## Booting image at c0040000 ...
   Image Name:   MIPS OpenWrt Linux-5.4.48
   Image Type:   MIPS Linux Kernel Image (uncompressed)
   Data Size:    2435865 Bytes =  2.3 MB
   Load Address: 80001000
   Entry Point:  80001000
......................................   Verifying Checksum ... OK
OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...



OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.4.48 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13649-b1d5ab1a69)) #0 SMP Fri Jun 26 22:33:29 2020
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Ubiquiti EdgeRouter X SFP
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 14 pages/cpu s26704 r8192 d22448 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00032940
[    0.000000] Readback ErrCtl register=00032940
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 250536K/262144K available (5846K kernel code, 201K rwdata, 1260K rodata, 1256K init, 237K bss, 11608K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.015483] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055830] pid_max: default: 32768 minimum: 301
[    0.065180] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079586] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097702] rcu: Hierarchical SRCU implementation.
[    0.107813] smp: Bringing up secondary CPUs ...
[    4.135874] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.135885] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.135897] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.135995] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144999] Synchronize counters for CPU 1: done.
[    4.226937] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.226945] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.226952] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.227006] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239460] Synchronize counters for CPU 2: done.
[    4.318055] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.318064] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.318072] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.318129] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.327061] Synchronize counters for CPU 3: done.
[    0.386664] smp: Brought up 1 node, 4 CPUs
[    0.398972] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418237] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432169] pinctrl core: initialized pinctrl subsystem
[    0.443530] NET: Registered protocol family 16
[    0.481661] clocksource: Switched to clocksource GIC
[    0.493356] NET: Registered protocol family 2
[    0.502975] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.519574] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.534699] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.548872] TCP: Hash tables configured (established 2048 bind 2048)
[    0.561648] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.574529] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.588595] NET: Registered protocol family 1
[    0.597152] PCI: CLS 0 bytes, default 32
[    0.693612] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    0.705093] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.719864] random: fast init done
[    0.725746] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.738153] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.760502] GPIO line 487 (sfp_i2c_clk_gate) hogged as output/high
[    0.772946] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.784177] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.795396] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.807068] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.822849] printk: console [ttyS0] disabled
[    0.831301] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.849226] printk: console [ttyS0] enabled
[    0.849226] printk: console [ttyS0] enabled
[    0.865790] printk: bootconsole [early0] disabled
[    0.865790] printk: bootconsole [early0] disabled
[    0.886838] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    0.901809] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    0.914464] nand: Macronix MX30LF2G18AC
[    0.922100] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.937174] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.950207] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.964763] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    0.979322] Scanning device for bad blocks
[    2.388364] Bad eraseblock 1105 at 0x000008a20000
[    3.591347] 6 fixed-partitions partitions found on MTD device mt7621-nand
[    3.604863] Creating 6 MTD partitions on "mt7621-nand":
[    3.615275] 0x000000000000-0x000000080000 : "u-boot"
[    3.626464] 0x000000080000-0x0000000e0000 : "u-boot-env"
[    3.638343] 0x0000000e0000-0x000000140000 : "factory"
[    3.649566] 0x000000140000-0x000000440000 : "kernel1"
[    3.660834] 0x000000440000-0x000000740000 : "kernel2"
[    3.672135] 0x000000740000-0x00000ff00000 : "ubi"
[    3.684934] libphy: Fixed MDIO Bus: probed
[    3.720110] libphy: mdio: probed
[    3.726777] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.741399] mtk_soc_eth 1e100000.ethernet dsa: mediatek frame engine at 0xbe100000, irq 20
[    3.759062] i2c-mt7621 1e000900.i2c: clock 100 kHz
[    3.772209] NET: Registered protocol family 10
[    3.782778] Segment Routing with IPv6
[    3.790195] NET: Registered protocol family 17
[    3.799123] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.825176] 8021q: 802.1Q VLAN Support v1.8
[    3.835469] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.858806] libphy: dsa slave smi: probed
[    3.867214] mt7530 mdio-bus:1f eth0 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    3.885166] mt7530 mdio-bus:1f eth1 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    3.903046] mt7530 mdio-bus:1f eth2 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    3.920926] mt7530 mdio-bus:1f eth3 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    3.938853] mt7530 mdio-bus:1f eth4 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    3.956767] mt7530 mdio-bus:1f eth5 (uninitialized): PHY [mdio-bus:07] driver [Atheros 8031 ethernet]
[    3.976479] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.994051] DSA: tree 0 setup
[    4.000412] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    4.001465] UBI: auto-attach mtd5
[    4.020764] ubi0: attaching mtd5
[    5.358573] ubi0 error: ubi_attach: bad image sequence number 1717396771 in PEB 1048, expected 1051561099
[    5.377643] Erase counter header dump:
[    5.385097]  magic          0x55424923
[    5.392554]  version        1
[    5.398455]  ec             0
[    5.404352]  vid_hdr_offset 2048
[    5.410778]  data_offset    4096
[    5.417194]  image_seq      1717396771
[    5.424651]  hdr_crc        0x41f68dff
[    5.432107] erase counter header hexdump:
[    5.440521] ubi0 error: ubi_attach_mtd_dev: failed to attach mtd5, error -22
[    5.454595] UBI error: cannot attach mtd5
[    5.462601] hctosys: unable to open rtc device (rtc0)
[    5.473495] /dev/root: Can't open blockdev
[    5.481701] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    5.496596] Please append a correct "root=" boot option; here are the available partitions:
[    5.513231] 1f00             512 mtdblock0 
[    5.513235]  (driver?)
[    5.526248] 1f01             384 mtdblock1 
[    5.526251]  (driver?)
[    5.539271] 1f02             384 mtdblock2 
[    5.539274]  (driver?)
[    5.552283] 1f03            3072 mtdblock3 
[    5.552286]  (driver?)
[    5.565294] 1f04            3072 mtdblock4 
[    5.565298]  (driver?)
[    5.578321] 1f05          253696 mtdblock5 
[    5.578324]  (driver?)
[    5.591333] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    5.607798] Rebooting in 1 seconds..

I’ve observed a few different errors on 19.07.3:

[    3.452384] UBI: auto-attach mtd5
[    3.459042] ubi0: attaching mtd5
[    5.063106] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    5.731856] ubi0: scanning is finished
[    5.753342] ubi0 error: 0x802f7820: bad attaching information, error 1
[    5.766336] Volume attaching information dump:
[    5.775176]  vol_id         0
[    5.781076]  highest_lnum   526
[    5.787307]  leb_count      15
[    5.793384]  compat         0
[    5.799284]  vol_type       3
[    5.805170]  used_ebs       0
[    5.811068]  last_data_size 0
[    5.816954]  data_pad       0
[    5.818148] mtk_soc_eth 1e100000.ethernet eth0: port 1 link down
[    5.822855] Volume information dump:
[    5.841894]  vol_id          0
[    5.847953]  reserved_pebs   14
[    5.854197]  alignment       1
[    5.860273]  data_pad        0
[    5.866332]  vol_type        3
[    5.872403]  name_len        6
[    5.878461]  usable_leb_size 126976
[    5.885396]  used_ebs        14
[    5.891642]  used_bytes      1777664
[    5.898752]  last_eb_bytes   126976
[    5.905674]  corrupted       0
[    5.911746]  upd_marker      0
[    5.917805]  name            rootfs
[    5.925375] ubi0 error: 0x802fb1ec: failed to attach mtd5, error -22
[    5.938048] UBI error: cannot attach mtd5
[    3.443331] UBI: auto-attach mtd5
[    3.450022] ubi0: attaching mtd5
[    4.654666] ubi0 error: 0x80307340: bad image sequence number 1717396771 in PEB 1048, expected 1051561099
[    4.673719] Erase counter header dump:
[    4.681180]  magic          0x55424923
[    4.688623]  version        1
[    4.694526]  ec             0
[    4.700432]  vid_hdr_offset 2048
[    4.706837]  data_offset    4096
[    4.713259]  image_seq      1717396771
[    4.720720]  hdr_crc        0x41f68dff
[    4.728160] erase counter header hexdump:
[    4.736480] ubi0 error: 0x802fb1ec: failed to attach mtd5, error -22
[    4.749165] UBI error: cannot attach mtd5
30.06.20203211KernelBug ReportVery LowCriticalwrt1200ac issue with mvneta driver in 5.4 kernel - inte...TrunkUnconfirmed Task Description

wrt1200ac works OK with 4.19.108 kernel. eth1 is the upstream port, eth0 is the 4 local gigabit ports. dmesg reports:

[ 1.098981] 0×000000280000-0×000000900000 : “unused_area” [ 1.105081] libphy: Fixed MDIO Bus: probed
[ 1.109546] libphy: orion_mdio_bus: probed
[ 1.113853] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.122882] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:70:5b:65
[ 1.132447] mvneta f1034000.ethernet eth1: Using random mac address 9e:2e:40:0f:3a:63
[ 1.140510] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.147081] ehci-pci: EHCI PCI platform driver
[ 1.151575] ehci-platform: EHCI generic platform driver
[ 1.156913] ehci-orion: EHCI orion driver
[ 1.161040] orion-ehci f1058000.usb: EHCI Host Controller

Under the 5.4.48 kernel, eth1 doesn’t show up, so no upstream connectivity.

[ 1.208713] orion-mdio f1072004.mdio: IRQ index 0 not found
[ 1.214360] libphy: orion_mdio_bus: probed
[ 1.218622] mv88e6085 f1072004.mdio-mii:00: switch 0×1760 detected: Marvell 88E6176, revision 1
[ 1.389672] libphy: mv88e6xxx SMI: probed
[ 1.395805] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[ 1.404784] mvneta f1070000.ethernet eth0: Using hardware mac address c0:56:27:70:5b:65
[ 1.412919] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.419511] ehci-pci: EHCI PCI platform driver
[ 1.424011] ehci-platform: EHCI generic platform driver
[ 1.429356] ehci-orion: EHCI orion driver
[ 1.433476] orion-ehci f1058000.usb: EHCI Host Controller


01.08.20203262KernelBug ReportVery LowCriticalpcduino(sunxi/cortexa8) kernel panic on openwrt snapsh...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on pcduino [target/linux/sunxi/cortexa8]
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce


U-Boot SPL 2020.04 (Jul 31 2020 - 21:50:38 +0000)
DRAM: 1024 MiB
CPU: 1008000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1 U-Boot 2020.04 (Jul 31 2020 - 21:50:38 +0000) Allwinner Technology CPU: Allwinner A10 (SUN4I)
Model: LinkSprite pcDuino
I2C: ready
DRAM: 1 GiB
MMC: mmc@1c0f000: 0
Loading Environment from FAT...
* Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial
Net: eth0: ethernet@1c0b000
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 1 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found

     scanning usb for storage devices... 0 Storage Device(s) found

Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
377 bytes read in 1 ms (368.2 KiB/s)
## Executing script at 43100000
3308120 bytes read in 265 ms (11.9 MiB/s)
22889 bytes read in 5 ms (4.4 MiB/s)
## Booting kernel from Legacy Image at 42000000 ...

 Image Name:   ARM OpenWrt Linux-5.4.52
 Image Type:   ARM Linux Kernel Image (uncompressed)
 Data Size:    3308056 Bytes = 3.2 MiB
 Load Address: 40008000
 Entry Point:  40008000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 43000000

 Booting using the fdt blob at 0x43000000

EHCI failed to shut down host controller.

 Loading Kernel Image
 Using Device Tree in place at 43000000, end 43008968

Starting kernel ...

**

kernel panic

02.08.20203264Base systemBug ReportVery LowCriticalR7800 router crashes when Macbook Air joins the networkTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Netgear R7800 Router, Macbook Air 11” Mid-2013, Macbook Air 13” 2017
- Software versions of OpenWrt/LEDE release: LuCI branch git-20.201.65700-7edd635
- Steps to reproduce: I join the device to the network with either ethernet or wifi and the router would shortly crash. I simply reboot the router and connect the macbook via ethernet or wifi after the router is up. I would then run a speedtest (it’s not related to any particular activity, but I just use speedtest.net as a control)
- Attempts at trying to remedy issue: I tried disabling IPv6 on the router and macbooks. I signed out of icloud. I updated Macbooks to MacOS Catalina. I tried flashing router to latest stable release 19.07.3. The network only dies when these Macbook Airs connect to the network, all other devices don’t have any issues. Prior to this router, I had a Netgear AC1900 (R7000) running DD-WRT which never had this issue.

External logs captured before crash:
8/2/2020 14:14 Alert 192.168.1.1 [ 189.332615] 8←– cut here — 8/2/2020 14:14 Alert 192.168.1.1 [ 189.332636] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
8/2/2020 14:14 Alert 192.168.1.1 [ 189.334560] pgd = eb7a8104
8/2/2020 14:14 Alert 192.168.1.1 [ 189.342856] [0000000c] *pgd=00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.345391] Internal error: Oops: 17 [#1] SMP ARM
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349049] Modules linked in: ksmbd ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath qmi_wwan pppox ppp_generic mac80211 iptable_nat ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_geoip xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbnet ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda slhc sch_cake nf_reject_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat cdc_wdm fuse act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall
8/2/2020 14:14 Warning 192.168.1.1 [ 189.349149] cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport ledtrig_heartbeat 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 ip6_gre ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 ip6_tunnel tunnel6 tunnel4 ip_tunnel tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 rfkill sha512_generic sha1_generic seqiv md5 md4 ghash_generic gf128mul gcm echainiv ecb des_generic libdes ctr cmac ccm cbc authenc arc4 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci
8/2/2020 14:14 Warning 192.168.1.1 [ 189.418843] fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug f2fs ext4 mbcache jbd2 exfat(C) crc32c_generic crc32_generic
8/2/2020 14:14 Warning 192.168.1.1 [ 189.528411] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G C 5.4.52 #0
8/2/2020 14:14 Warning 192.168.1.1 [ 189.546362] Hardware name: Generic DT based system
8/2/2020 14:14 Warning 192.168.1.1 [ 189.553873] Workqueue: ksmbd-io handle_ksmbd_work [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.558534] PC is at ksmbd_free_user+0xc/0×38 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.564001] LR is at smb_session_disconnect+0×40/0xa4 [ksmbd]
8/2/2020 14:14 Warning 192.168.1.1 [ 189.569016] pc : [<bf9242e0>] lr : [<bf9402ac>] psr: 60000013
8/2/2020 14:14 Warning 192.168.1.1 [ 189.574745] sp : dd459ee0 ip : d83da240 fp : bf94f004
8/2/2020 14:14 Warning 192.168.1.1 [ 189.580820] r10: bf958234 r9 : 000001d0 r8 : bf957b58
8/2/2020 14:14 Warning 192.168.1.1 [ 189.586030] r7 : d83da200 r6 : 00000000 r5 : d69b2a00 r4 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.591238] r3 : d83da200 r2 : 00000003 r1 : 00000001 r0 : 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.597838] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
8/2/2020 14:14 Warning 192.168.1.1 [ 189.604348] Control: 10c5787d Table: 5eb7806a DAC: 00000051
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.611551] Process kworker/0:0 (pid: 5
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.617280] Stack: (0xdd459ee0 to 0xdd45a000)
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.623367] 9ee0: dcbcc480 bf9402ac d83da200 dcbcc480 dcbcc4dc 00000074 bf957b58 bf9290e4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.627799] 9f00: dcddb704 dcde6400 c0c221cc dcbcc4dc dd40f500 dda09840 ff7e6500 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.635957] 9f20: 00000000 00000000 dd458000 c033a684 00000008 dda09858 dd40f500 dd40f514
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.644116] 9f40: dda09840 00000008 dda09858 c0c03d00 dda09840 c033a948 c0c0c35c c0c0c318
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.652276] 9f60: dd41951c dd419500 dd419280 dd458000 dd41951c dd43bea4 dd40f500 c033a8f4
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.660436] 9f80: 00000000 c0340724 00000000 dd419280 c0340608 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.668596] 9fa0: 00000000 00000000 00000000 c03010e8 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.676755] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.684915] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.693179] [<bf9242e0>] (ksmbd_free_user [ksmbd]) from [<bf9402ac>] (smb_session_disconnect+0×40/0xa4 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.701271] [<bf9402ac>] (smb_session_disconnect [ksmbd]) from [<bf9290e4>] (handle_ksmbd_work+0x18c/0×500 [ksmbd])
8/2/2020 14:14 Warning 192.168.1.1 [ 189.711150] [<bf9290e4>] (handle_ksmbd_work [ksmbd]) from [<c033a684>] (process_one_work+0x1f8/0×468)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.721543] [<c033a684>] (process_one_work) from [<c033a948>] (worker_thread+0×54/0×588)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.730919] [<c033a948>] (worker_thread) from [<c0340724>] (kthread+0x11c/0×148)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.739077] [<c0340724>] (kthread) from [<c03010e8>] (ret_from_fork+0×14/0x2c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.746448] Exception stack(0xdd459fb0 to 0xdd459ff8)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.753483] 9fa0: 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.758613] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
8/2/2020 14:14 Warning 192.168.1.1 [ 189.766769] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
8/2/2020 14:14 Emergency 192.168.1.1 [ 189.774929] Code: eaffffd1 e52d4008 e1a04000 e58de004 (e590000c)
8/2/2020 14:14 Warning 192.168.1.1 [ 189.781453] —[ end trace 469d54bcbf49ae73 ]—

09.08.20203280Base systemBug ReportVery LowCriticalWan interface and sometimes lan interfaces randomly go ...TrunkUnconfirmed Task Description

- Versions where bug is present: OpenWRT snapshots, tested with r13938 and r18039.

- Affected device: D-Link DIR-878 and likely others from its family.

- What does it do and shouldn’t do: the ethernet interfaces randomly get switched on/off, dropping the link and resetting the connection. Troubleshooting has already been thoroughly conducted to rule out other causes, see below. This is critical severity because makes OpenWRT unusable in these devices.

- Steps to reproduce:
– flash the snapshot image on a D-Link DIR-878;
– configure the WAN (tested with PPPoE and DHCP protocols) and LAN interfaces (tested with Static and DHCP protocols) - using all interfaces will increase the likelihood that at least one of them will present the behaviour;
– wait an indefinite but reasonable (< 2h for all instances so far) amount of time;
– the interface will randomly be put down and then up a couple seconds later, and it will be randomly looping up/down states at random amounts of time.

- Troubleshooting already conducted: full and detailed troubleshooting history is present at this forum thread. Please let me know if I can provide further information.

- Additional info: some people are having WiFi issues with MT7621 family devices that might be related to this one if they share a common cause, such as a possible race condition in the drivers;

21.08.20203299Base systemBug ReportVery LowCriticalbusybox: Alternatives gets overwrited when busybox upda...TrunkUnconfirmed Task Description

This is device independent and I think it affects all versions but I have seen this over 19.07. If you have binary programs that conflicts with busybox ones, opkg sets them to be used instead when they are installed.

I discovered this because mwan3 got broke and investigating the error it dropped the problems seems to be that the ip binary from busybox doesn’t support some features mwan3 needs. I could find that I had ip installed as is a dependency of mwan3 so I just remembered that busybox was updated recently.

Just by reinstalling ip the issue was solved.

I don’t know how this could be managed, perhaps just when a package that has alternatives is installed update them and when the package is being upgraded ignore updating the alternatives.

I set this critical just because it could be very difficult to see where the problem is for many people (I surprised myself how it could take so many time to advert the real issue when I found it, it’s simple, but if you don’t notice busybox upgrading could be cumbersome to see), and, this could break things, like for example mwan3 or any other program that rely using alternative binaries and not the busybox ones. Of course fell free to set the severity you think could be more accurate.

17.09.20203345Base systemBug ReportVery LowCriticalWifi off TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link TL-WR842N v5.
- OpenWrt/LEDE 19.07.04 with last updating.
- Just use wifi on the device. It have random wifi off about 1 min.
Log:
https://pastebin.com/c64H5kCR

28.09.20203365Base systemBug ReportVery LowCriticalaccess USB storage in LEDE for Talon AD7200TrunkUnconfirmed Task Description

Anybody have an ideal to access USB storage at Talon AD72000 with nexmon firmware? lede-ad7200?

Several ways I have tried:

1. search for path like `/mnt/dev` `/dev/`, I can see my usb flash disk led blinking and there show up the device after I insert the disk, but I can NOT cd into the disk

2. install other tool via `opkg`, especially Quick Start for Adding a USB drive, however, the whole OS will crash down when install `kmod-usb-storage` at step 3 and I have to start all over.

Let me know if any solution

Best.

01.04.20192216KernelBug ReportMediumHighath79 - eth0 Spasmodic Link Speed After Driver Changes?...openwrt-19.07Assigned Task Description

I’ve built the latest version of OpenWRT with stock packages and configuration, however, after random amounts of time, all clients lose connectivity because the eth0 link speed drops from the regular 100 Mbps Full Duplex to 10 Mbps Half Duplex, only to reconnect again after a couple of minutes (seconds to mintes, it depends), and do it again at another random time.

[18580.106696] eth0: link up (100Mbps/Full duplex)
[19014.825937] eth0: link up (10Mbps/Half duplex)
[19055.384105] eth0: link up (100Mbps/Full duplex)
[21927.853366] eth0: link up (10Mbps/Half duplex)
[22003.771999] eth0: link up (100Mbps/Full duplex)
[23743.685216] eth0: link down
[23744.723679] eth0: link up (100Mbps/Full duplex)
[23756.242265] eth0: link down
[23757.283590] eth0: link up (100Mbps/Full duplex)
[24075.522397] eth0: link up (10Mbps/Half duplex)
[24090.081802] eth0: link up (100Mbps/Full duplex)
[24100.481809] eth0: link up (10Mbps/Half duplex)
[24166.001178] eth0: link up (100Mbps/Full duplex)
[24500.880989] eth0: link up (10Mbps/Half duplex)

The logs aren’t very useful, it seems. Both syslog and dmesg show the same.

I suspect this started happening after this series of commits (ending with this one) where there were driver changes to the switch, as it didn’t happen before I recompiled a new build with all those newer changes:
https://github.com/openwrt/openwrt/commit/3d93b35f039de86830565420968715b300066475

29.09.20192523KernelBug ReportVery LowHighRB750 randomly reboots after kernel warningsopenwrt-19.07Unconfirmed Task Description

Mikrotik RB750Gr3
LuCI openwrt-19.07 branch (git-19.267.59428-7b36dae) / OpenWrt 19.07-SNAPSHOT r10532-cf3b50377e

Router randomly reboots (it may be stable for hours or can reboot in a minute after power up). Seems like kernel problem.

Here are some logs I managed to fetch before the reboots:

Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.010562] ------------[ cut here ]------------
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.015202] WARNING: CPU: 2 PID: 0 at net/ipv4/tcp_output.c:2509 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.022158] invalid inflight: 1 state 1 cwnd 10 mss 1388
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.027441] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether 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 usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.097872]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core 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 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.169233]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.180291] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.143 #0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.186357] Stack : 00000000 00000000 00000000 81230398 00000000 00000000 00000000 00000000
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.194691]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0dd30 ac07f596
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.203026]         8fc0ddc8 00000000 00000000 00004ea0 00000038 8049db58 00000007 00000000
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.211359]         00000000 80550000 0002c043 00000000 8fc0dd10 00000000 80570000 8050c6a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.219690]         803cc8bc 000009cd 812303d8 81230398 00000000 802af9e8 00000008 805b0008
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.228022]         ...
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.230459] Call Trace:
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.230475] [<8049db58>] 0x8049db58
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.236372] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.239840] [<802af9e8>] 0x802af9e8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.243312] [<800101a0>] 0x800101a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.246782] [<800101a8>] 0x800101a8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.250250] [<80486a9c>] 0x80486a9c
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.253722] [<800758a0>] 0x800758a0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.257243] [<80032588>] 0x80032588
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.260714] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.264185] [<80032610>] 0x80032610
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.267654] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.271126] [<803cf3d0>] 0x803cf3d0
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.274596] [<8009d750>] 0x8009d750
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.278064] [<803cf7a8>] 0x803cf7a8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.281537] [<8009dd80>] 0x8009dd80
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.285007] [<803cf770>] 0x803cf770
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.288474] [<8008c2cc>] 0x8008c2cc
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.291945] [<8008c588>] 0x8008c588
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.295413] [<8007cee8>] 0x8007cee8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.298883] [<804a49b8>] 0x804a49b8
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.302357] [<80036f14>] 0x80036f14
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.305827] [<8025d440>] 0x8025d440
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.309296] [<8000b488>] 0x8000b488
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.312764]
Sun Sep 29 20:08:08 2019 kern.warn kernel: [   92.314310] ---[ end trace a36c893f27b6a6f3 ]---
Sun Sep 29 18:56:25 2019 kern.alert kernel: [ 2442.525228] CPU 1 Unable to handle kernel paging request at virtual address 00000010, epc == 803be4a0, ra == 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.535821] Oops[#1]:
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.538087] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.143 #0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.545363] task: 8fc3be80 task.stack: 8fc5c000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.549869] $ 0   : 00000000 00000001 0000004a 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.555080] $ 4   : 8ea76f3c 00000001 0000d706 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.560290] $ 8   : 00034501 00000321 811d7440 00000322
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.565501] $12   : 8ea22180 8ea22180 8e9a8e00 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.570712] $16   : 8ea76e40 00001204 6375f4c6 ffffffff
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.575923] $20   : 00001204 00000001 00000000 00000002
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.581133] $24   : 00000000 8034b220
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.586344] $28   : 8fc5c000 8fc0bbb8 00000000 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.591555] Hi    : 0000caa1
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.594419] Lo    : 47aec5c8
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.597285] epc   : 803be4a0 0x803be4a0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.601098] ra    : 803c4104 0x803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.604912] Status: 11007c03      KERNEL EXL IE
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.609082] Cause : 40800008 (ExcCode 02)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.613066] BadVA : 00000010
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.615931] PrId  : 0001992f (MIPS 1004Kc)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.620003] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether 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 usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.690391]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core 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 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.761710]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.772740] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3be80, tls=00000000)
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.780788] Stack : 00000204 8034def4 8ea76e40 00000000 8ea76e40 8ea76e40 00001204 803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.789123]         8f346480 8056ba00 00000000 8015000a 00018bc3 8fc0bc74 00000004 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.797457]         80550000 8ea76f3c 00000002 00000001 91946e37 00000000 00000018 91946e37
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.805791]         00000000 91946e37 00000000 00000001 80570000 8050c458 00000000 00000002
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.814125]         00018bc3 00000018 8ee92564 8e9a0600 00000000 00000000 00000001 00000000
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.822457]         ...
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.824891] Call Trace:
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.824903] [<8034def4>] 0x8034def4
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.830852] [<803c4104>] 0x803c4104
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.834335] [<8015000a>] 0x8015000a
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.837825] [<803c4efc>] 0x803c4efc
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.841318] [<803c6f34>] 0x803c6f34
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.844788] [<803a98a0>] 0x803a98a0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.848313] [<803d1bc0>] 0x803d1bc0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.851802] [<803d2f18>] 0x803d2f18
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.855307] [<8e86426c>] 0x8e86426c [nf_conntrack_ipv4@8e864000+0x1420]
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.861893] [<803a9da0>] 0x803a9da0
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.865406] [<803aa078>] 0x803aa078
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.868887] [<803a9940>] 0x803a9940
Sun Sep 29 18:56:25 2019 kern.warn kernel: [ 2442.872360] [<803a9c10>] 0x803a9c10
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.402270] ------------[ cut here ]------------
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.406908] WARNING: CPU: 1 PID: 0 at net/ipv4/tcp_output.c:2509 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.413864] invalid inflight: 1 state 1 cwnd 10 mss 1388
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.419148] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cdc_ncm cdc_ether 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 usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.489628]  nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ip_tables crc_ccitt cdc_wdm cdc_acm fuse ledtrig_usbport gpio_beeper input_core 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 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ehci_platform
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.561103]  sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.572189] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.143 #0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.578264] Stack : 00000000 00000000 00000000 81222398 00000000 00000000 00000000 00000000
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.586600]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0bd30 ac07f596
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.594938]         8fc0bdc8 00000000 00000000 00004f18 00000038 8049db58 00000007 00000000
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.603273]         00000000 80550000 0008bb1d 00000000 8fc0bd10 00000000 80570000 8050c6a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.611605]         803cc8bc 000009cd 812223d8 81222398 00000000 802af9e8 00000004 805b0004
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.619937]         ...
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.622376] Call Trace:
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.622394] [<8049db58>] 0x8049db58
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.628288] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.631755] [<802af9e8>] 0x802af9e8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.635228] [<800101a0>] 0x800101a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.638699] [<800101a8>] 0x800101a8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.642170] [<80486a9c>] 0x80486a9c
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.645638] [<800758a0>] 0x800758a0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.649107] [<80032588>] 0x80032588
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.652580] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.656052] [<80032610>] 0x80032610
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.659528] [<803cc8bc>] 0x803cc8bc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.663008] [<803cf3d0>] 0x803cf3d0
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.666478] [<8009d750>] 0x8009d750
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.669947] [<803cf7a8>] 0x803cf7a8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.673420] [<8009dd80>] 0x8009dd80
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.676890] [<803cf770>] 0x803cf770
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.680358] [<8008c2cc>] 0x8008c2cc
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.683829] [<80063018>] 0x80063018
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.687300] [<8008c588>] 0x8008c588
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.690768] [<8007cee8>] 0x8007cee8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.694244] [<804a49b8>] 0x804a49b8
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.697717] [<80036f14>] 0x80036f14
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.701185] [<8025d440>] 0x8025d440
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.704662] [<8000b488>] 0x8000b488
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.708131]
Sun Sep 29 18:19:29 2019 kern.warn kernel: [  226.709665] ---[ end trace 0dde230055179878 ]---
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

18.11.20192614KernelBug ReportVery LowHighath10k 5 GHz connectivity issues for some client device...openwrt-19.07Researching Task Description

* - Device problem occurs on TP-Link Archer C2600.

* - Software version of OpenWrt 19.07-rc1 and older 19.07.

* - From the first version, which I tested after the release of 19.07, I have a problem with 5GHz radio / Wi-Fi. On two devices: LG OLED B8 55 “OTT and Cyfrowy Polsat STB OTT does not work internet. Both devices connect to the network, but do not have access to the Internet. In the connection diagnostics on the TV, the message pops up that it is a DNS error. On 2.4 GHz Wi-Fi everything is fine.

* - I have reverted to the 18.06 to fix the problem for now.


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

12.12.20192670KernelBug ReportVery LowHigh[ATH79] unstable USB on WR1043 v2openwrt-19.07Unconfirmed Task Description

Hi there!

I recently upgraded my TP-Link TL-WR1043 v2 device to the ath79 targeted 19.07-rc2 release using my custom build, which I have compiled with the image builder.

make image PROFILE=tplink_tl-wr1043nd-v2 PACKAGES="block-mount curl diffutils ethtool iperf3 iwinfo htop kmod-fs-ext4 kmod-usb-storage luci mailsend-nossl minidlna nfs-kernel-server ppp-mod-pppoe shadow-su transmission-daemon-mbedtls transmission-web vsftpd zram-swap -ip6tables -kmod-ip6tables -kmod-ipv6 -kmod-nf-conntrack6 -kmod-nf-ipt6 -libopenssl1.1 -odhcp6c -odhcpd-ipv6only -luci-proto-ipv6 -libip6tc2"

I just recently rolled back to an EXT4 partition, because of it's smaller memory footprint. (just mounting a ~50GB f2fs partition consumes around 10MBs of memory)
So in the very first attempt I wanted to copy back everything to my Transcend 790K. But after the first 500-1000 MBs(mix of archives, image, text and video files), the transaction speed has fallen down couple of times. I thought maybe the passive FTP connection was the problem, because after a few automatic reconnect attempts, the speed of the copy has been normalized again and in the end the device was connected. Later I found that the USB devices was reseted.
I had another try with a Sandisk Ultra Fit drive (SDCZ-43), but the result and the configuration was pretty sam. ~50GB EXT4 partition without journal and without barrier.
I force upgraded the machine to the ar71xx target and Filezilla so far copied back 16GBs without any problem.
Target ATH79 seem to be has so many problems with the USB subsystem, please see my other bugreport for the WDR4300 as well: FS#2567 - [ATH79] USB speed degradation on WDR4300.

Let me know if I can help the bughunting any way,
thanks and regards!

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'
12.01.20202730KernelBug ReportVery LowHighTL-WR841N v8 ath79 Link Unstableopenwrt-19.07New Task Description

Probably related to https://bugs.openwrt.org/index.php?do=details&task_id=2216 which was reported almost a year ago. The bug is still not fixed though.

Are there any plans to fix it or will 18.06 be the last stable version for this and probably other devices?

[8451.981464] eth1: link up (100Mbps/Full duplex)
[37071.909045] eth1: link down
[37072.988861] eth1: link up (100Mbps/Full duplex)
[48492.291332] eth1: link up (10Mbps/Half duplex)
[48632.691559] eth1: link up (100Mbps/Full duplex)
[55697.449886] eth1: link down
[55698.491082] eth1: link up (100Mbps/Full duplex)
[62395.095374] eth1: link up (10Mbps/Half duplex)
[62507.411488] eth1: link up (100Mbps/Full duplex)
[62726.853998] eth1: link up (10Mbps/Half duplex)
[62732.053093] eth1: link up (100Mbps/Full duplex)
[71071.460663] eth1: link down
[71072.618285] eth1: link up (100Mbps/Full duplex)
[73435.556373] eth1: link down
[73436.597169] eth1: link up (100Mbps/Full duplex)
[73547.879987] eth1: link up (10Mbps/Half duplex)
[73558.277169] eth1: link up (100Mbps/Full duplex)
[74438.121970] eth1: link down
[74439.162824] eth1: link up (100Mbps/Full duplex)
[75341.889076] eth1: link up (10Mbps/Half duplex)
[75352.290230] eth1: link up (100Mbps/Full duplex)
[76274.772404] eth1: link down
[76275.813134] eth1: link up (100Mbps/Full duplex)

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'
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]
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.

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


30.03.20202949KernelBug ReportVery LowHighWireless not working on bananapi proopenwrt-19.07Assigned Task Description

openwrt install on bananapi pro has no functioning wifi.
No wireless interface, no wireless option in ui, etc...

Supply the following if possible:
- Device problem occurs on: lemaker bananapi pro
- Software versions of OpenWrt/LEDE release, packages, etc. : openwrt-19.07.2 and also 18.06.8
- Steps to reproduce

 flash openwrt to sd card
 boot
 check interfaces via the UI or SSH

I’ve attached syslog & dmesg

suspicious lines:
[ 9.150351] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1
[ 9.159364] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.bin failed with error -2
[ 9.169181] brcmfmac mmc1:0001:1: Falling back to user helper
[ 9.222013] firmware brcm!brcmfmac43362-sdio.bin: firmware_loading_store: map pages failed

Might be relevant:
https://github.com/armbian/build/commit/1c3fde7d3b8f97a7acbd41d5513d73990e3c77e9 https://forum.armbian.com/topic/9341-brcmfmac-not-working-after-upgrade-to-armbian-570/

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

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.
Showing tasks 51 - 100 of 1113 Page 2 of 23 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing