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 TypePrioritySeveritySummaryReported InStatus
30.07.20203259Base systemBug ReportVery LowLowtplink 710n/v1 unstable AG71xx MII link on ath79TrunkUnconfirmed Task Description

Unstable interface link on tplink 710nd/v1 running trunk/ath79, somewhat similar to what happens on the 841nd/v9.
This is a different site and application and I’ve seen it in at least 4 devices, only on the AG71xx MII mode link.
As before, the only remedy is to go back to ar7x/9x.

[    0.000000] Linux version 5.4.52 (user@debian-c2q-x64) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13335-586661018e)) #0 Mon Jul 27 11:02:47 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-Link TL-WR710N v1
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000]   Normal zone: 72 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8120
[    0.000000] Kernel command line: console=ttyATH0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 25352K/32768K available (4410K kernel code, 178K rwdata, 1064K rodata, 1188K init, 191K bss, 7416K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[    0.000000] CPU clock: 400.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000012] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.007567] Calibrating delay loop... 265.98 BogoMIPS (lpj=531968)
[    0.048076] pid_max: default: 32768 minimum: 301
[    0.052738] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059500] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.073030] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081046] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.087686] pinctrl core: initialized pinctrl subsystem
[    0.093970] NET: Registered protocol family 16
[    0.145092] clocksource: Switched to clocksource MIPS
[    0.150354] NET: Registered protocol family 2
[    0.154408] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.161232] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.168483] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.175216] TCP: Hash tables configured (established 1024 bind 1024)
[    0.181504] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.187584] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.194624] NET: Registered protocol family 1
[    0.198407] PCI: CLS 0 bytes, default 32
[    0.207582] workingset: timestamp_bits=14 max_order=13 bucket_order=0
[    0.223507] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.227772] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.257826] pinctrl-single 18040028.pinmux: 64 pins, size 8
[    0.263222] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.269215] 18020000.uart: ttyATH0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a AR933X UART
[    0.277209] printk: console [ttyATH0] enabled
[    0.285410] printk: bootconsole [early0] disabled
[    0.316660] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.320172] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.326435] Creating 3 MTD partitions on "spi0.0":
[    0.331235] 0x000000000000-0x000000020000 : "u-boot"
[    0.337670] 0x000000020000-0x0000007f0000 : "firmware"
[    0.345643] 2 tplink-fw partitions found on MTD device firmware
[    0.350179] Creating 2 MTD partitions on "firmware":
[    0.355091] 0x000000000000-0x0000001c6f86 : "kernel"
[    0.361530] 0x0000001c6f88-0x0000007d0000 : "rootfs"
[    0.366344] mtd: device 3 (rootfs) set to be root filesystem
[    0.373484] 1 squashfs-split partitions found on MTD device rootfs
[    0.378290] 0x000000590000-0x0000007d0000 : "rootfs_data"
[    0.384990] 0x0000007f0000-0x000000800000 : "art"
[    0.392723] libphy: Fixed MDIO Bus: probed
[    0.738221] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.077080] random: fast init done
[    1.373576] libphy: ag71xx_mdio: probed
[    1.376944] libphy: ar8xxx-mdio: probed
[    1.383159] switch0: Atheros AR724X/AR933X built-in rev. 2 switch registered on mdio.0
[    1.423296] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.431836] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.437312] i2c /dev entries driver
[    1.442197] NET: Registered protocol family 17
[    1.445386] 8021q: 802.1Q VLAN Support v1.8
[    1.770756] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd041, driver=Generic PHY]
[    1.779474] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.794203] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.808953] Freeing unused kernel memory: 1188K
[    1.812060] This architecture does not have kernel memory protection.
[    1.818458] Run /sbin/init as init process
[    2.751408] init: Console is alive
[    2.753865] init: - watchdog -
[    4.550131] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.666498] usbcore: registered new interface driver usbfs
[    4.670708] usbcore: registered new interface driver hub
[    4.676009] usbcore: registered new device driver usb
[    4.692860] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.711956] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    4.715527] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    4.737101] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    4.742312] hub 1-0:1.0: USB hub found
[    4.745499] hub 1-0:1.0: 1 port detected
[    4.750951] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.767431] init: - preinit -
[    5.761341] random: procd: uninitialized urandom read (4 bytes read)
[    6.147348] random: jshn: uninitialized urandom read (4 bytes read)
[    6.335446] random: jshn: uninitialized urandom read (4 bytes read)
[    6.702972] eth0: link up (1000Mbps/Full duplex)
[   11.082679] jffs2: notice: (522) jffs2_build_xattr_subsystem: complete building xattr subsystem, 20 of xdatum (10 unchecked, 4 orphan) and 25 of xref (4 dead, 0 orphan) found.
[   11.099094] mount_root: switching to jffs2 overlay
[   11.139147] overlayfs: upper fs does not support tmpfile.
[   11.152849] urandom-seed: Seeding with /etc/urandom.seed
[   11.268016] eth0: link down
[   11.288888] procd: - early -
[   11.290569] procd: - watchdog -
[   12.072544] procd: - watchdog -
[   12.074720] procd: - ubus -
[   12.448999] urandom_read: 5 callbacks suppressed
[   12.449012] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.461048] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.468285] procd: - init -
[   13.816721] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.174573] xt_time: kernel timezone is -0000
[   14.249336] PPP generic driver version 2.4.2
[   14.262661] NET: Registered protocol family 24
[   14.490477] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.770114] urngd: v1.0.2 started.
[   15.359744] random: crng init done
[   24.218809] eth1: link up (100Mbps/Full duplex)
[   30.505247] eth0: link up (1000Mbps/Full duplex)
[   30.509411] br-lan: port 1(eth0) entered blocking state
[   30.513750] br-lan: port 1(eth0) entered disabled state
[   30.519318] device eth0 entered promiscuous mode
[   30.543857] br-lan: port 1(eth0) entered blocking state
[   30.547769] br-lan: port 1(eth0) entered forwarding state
[   30.579295] eth1: link down
[   30.705236] br-lan: port 2(eth1) entered blocking state
[   30.709102] br-lan: port 2(eth1) entered disabled state
[   30.714700] device eth1 entered promiscuous mode
[   30.719111] br-lan: port 2(eth1) entered blocking state
[   30.724077] br-lan: port 2(eth1) entered forwarding state
[   31.520146] br-lan: port 2(eth1) entered disabled state
[   32.683332] eth1: link up (100Mbps/Full duplex)
[   32.688162] br-lan: port 2(eth1) entered blocking state
[   32.692067] br-lan: port 2(eth1) entered forwarding state
[ 1240.055050] eth1: link down
[ 1240.057212] br-lan: port 2(eth1) entered disabled state
[ 1244.152431] eth1: link up (100Mbps/Full duplex)
[ 1244.156285] br-lan: port 2(eth1) entered blocking state
[ 1244.160833] br-lan: port 2(eth1) entered forwarding state
[ 1247.222912] eth1: link down
[ 1247.225052] br-lan: port 2(eth1) entered disabled state
[ 1248.248284] eth1: link up (100Mbps/Full duplex)
[ 1248.251864] br-lan: port 2(eth1) entered blocking state
[ 1248.256678] br-lan: port 2(eth1) entered forwarding state
[ 1382.393098] eth1: link down
[ 1382.395847] br-lan: port 2(eth1) entered disabled state
[ 1383.416100] eth1: link up (100Mbps/Full duplex)
[ 1383.419727] br-lan: port 2(eth1) entered blocking state
[ 1383.424497] br-lan: port 2(eth1) entered forwarding state
[ 1385.462695] eth1: link down
[ 1385.464853] br-lan: port 2(eth1) entered disabled state
[ 1386.488096] eth1: link up (100Mbps/Full duplex)
[ 1386.491671] br-lan: port 2(eth1) entered blocking state
[ 1386.496495] br-lan: port 2(eth1) entered forwarding state
[ 1399.798672] eth1: link down
[ 1399.801015] br-lan: port 2(eth1) entered disabled state
[ 1401.848048] eth1: link up (100Mbps/Full duplex)
[ 1401.851629] br-lan: port 2(eth1) entered blocking state
[ 1401.856447] br-lan: port 2(eth1) entered forwarding state
[ 1420.278752] eth1: link down
[ 1420.280905] br-lan: port 2(eth1) entered disabled state
[ 1421.303979] eth1: link up (100Mbps/Full duplex)
[ 1421.307546] br-lan: port 2(eth1) entered blocking state
[ 1421.312377] br-lan: port 2(eth1) entered forwarding state
30.07.20203258KernelBug ReportVery LowMediumapm821xx: Netgear WNDR4700 kernel 5.4 is not bootingTrunkResearching Task Description

Just tried WNDR4700 with latest master(7a4fc8906cd2256e7381d1c043e19872eeb06883) and it fails to boot.
I also tested and switched build to 4.19 and it works.

Console output 5.4:


Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0×180000)

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

NAND read: device 0 offset 0×180000, size 0×20000 131072 bytes read: OK
## Booting kernel from Legacy Image at 00500000 ...

 Image Name:   POWERPC OpenWrt Linux-5.4.52
 Image Type:   PowerPC Linux Kernel Image (lzma compressed)
 Data Size:    2635392 Bytes =  2.5 MB
 Load Address: 00000000
 Entry Point:  00000000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 00800040

 Booting using the fdt blob at 0x800040
 Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must RESET board to recover

Console output 4.19:


Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0×180000)

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

NAND read: device 0 offset 0×180000, size 0×20000 131072 bytes read: OK
## Booting kernel from Legacy Image at 00500000 ...

 Image Name:   POWERPC OpenWrt Linux-4.19.131
 Image Type:   PowerPC Linux Kernel Image (lzma compressed)
 Data Size:    2320447 Bytes =  2.2 MB
 Load Address: 00000000
 Entry Point:  00000000
 Verifying Checksum ... OK

## Flattened Device Tree blob at 00800040

 Booting using the fdt blob at 0x800040
 Uncompressing Kernel Image ... OK
28.07.20203253Base systemBug ReportVery LowCriticalLinksys WRT3200 ipv4 connection speed problems openwrt-19.07Unconfirmed Task Description

I’m using Linksys wrt3200 as router behind cable modem with a dslite configuration and Devolo 1200+ DinRail connected to one of the LAN ports.

Previuos configuration was provider cable modem connected to Devolo and it was working fine (up to 50-100 mbit up and download to all DLAN devices.

After swiching to Linksys and OpenWRT I noticed that download speed for IPv4 dropped to 2-3 MBit for all devices. Upload and IPv6 work fine.

Thought it was dslite problem but provider router works fine and if I connect to Linksys directly via WLAN the download speed is as expected...

Repatched with Linksys stock firmware without changing anything else stable up and download speeds in expected range for ip4/ip6.

Patched openwrt back - ipv4 download drop to 2Mbit, back to stock back to normal speed...

Assume it’s potentially an MTU setting for LAN interface but all values I tried did not change much...

Would appreciate any help. Would be pity to fall back to stock but if it’s the only option...

 


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

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

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

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

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

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

 


27.07.20203249Base systemBug ReportVery LowLowDevel/perf failed to compileTrunkWaiting on reporter Task Description

All platforms (noticed on mvebu, powerpc), OpenWrt 19.07 and OpenWrt master.

Compilation fails with following output:

Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from latest version at 'include/uapi/linux/kvm.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/kvm.h' differs from latest version at 'arch/x86/include/uapi/asm/kvm.h'

Auto-detecting system features:
...                         dwarf: [ OFF ]
...            dwarf_getlocations: [ OFF ]
...                         glibc: [ OFF ]
...                          gtk2: [ OFF ]
...                      libaudit: [ OFF ]
...                        libbfd: [ OFF ]
...                        libelf: [ OFF ]
...                       libnuma: [ OFF ]
...        numa_num_possible_cpus: [ OFF ]
...                       libperl: [ OFF ]
...                     libpython: [ on  ]
...                      libslang: [ OFF ]
...                     libcrypto: [ on  ]
...                     libunwind: [ OFF ]
...            libdw-dwarf-unwind: [ OFF ]
...                          zlib: [ on  ]
...                          lzma: [ on  ]
...                     get_cpuid: [ OFF ]
...                           bpf: [ on  ]

Makefile.config:313: *** No gnu/libc-version.h found, please install glibc-dev[el].  Stop.
make[3]: *** [Makefile.perf:204: sub-make] Error 2
make[2]: *** [Makefile:80: /build/build_dir/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-4.14.187/tools/perf-target-aarch64_cortex-a53_musl/.built] Error 2
make[2]: Leaving directory '/build/package/devel/perf'
time: package/devel/perf/compile#1.19#0.25#1.54
make[1]: *** [package/Makefile:113: package/devel/perf/compile] Error 2
make[1]: Leaving directory '/build'
make: *** [/build/include/toplevel.mk:227: package/perf/compile] Error 2
26.07.20203248Base systemBug ReportVery LowLowFeature request: Add firewall functionaity to support d...TrunkUnconfirmed Task Description

OpenWRT currently has no effective support for firewalling IPv6 on a per-device basis, either to allow inbound connections or to block outbound connections. IPv4-style firewall rules, based on the assumption of fixed IP addresses, do not work in IPv6 dynamic addressing environments (e.g. DHCPv6-PD) encountered by most OpenWRT users. As a result, the benefits of IPv6 in allowing for easier, NAT-free, VOIP communications, gaming, and other purposes that need inbound connectivity are not available to OpenWRT users.

IPv6 firewalling needs rules tied to devices by hostname, DUID, or MAC address. Ip6tables does not support this, and much of the functionality would need to be developed in the form of a shim that would dynamically update ip6tables as IPv6 addresses change on the user’s LAN.

As I see it, the shim architecture would need two parts plus a user interface:

1. a configuration management component that stores IPv6 firewall rules in terms of hostnames, DUIDs, MAC addresses, or other unique identifiers, such as captive portal logins, or 802.1x.

2. a tracking component that maps hostnames/DUID/MACs to IPv6 addresses that ip6tables can use, and updates ip6tables as these addresses change. This component would need to tie into the LAN-side addressing infrastructure to detect changes in device addresses, such as DHCPv6 leases. It would also need to periodically use ip neigh to identify IPv6 devices, such as those running Android, that don’t use DHCPv6. It could also tie into a default-deny ip6tables rule so when an unknown address attempts to connect via IPv6, the tracking component would use ip neigh to identify the MAC of the device and load the appropriate ip6tables rules.

The address mapping component I have described wouldn’t work for non-DHCPv6 devices on LANs with multiple broadcast domains (IPv6 neighbor discovery doesn’t work through routers. Coping with non-DHCPv6 devices on routed LANs would require a captive portal system, or 802.1x support, to tie IPv6 addresses to specific devices. I doubt this situation would apply to very many, if any, OpenWRT users.

Any thoughts?

25.07.20203247Base systemBug ReportVery LowLowtplink 841nd/v9 wan link instability in ath79TrunkUnconfirmed Task Description

Unstable wan interface link on tplink 841nd/v9 running trunk/ath79. This goes all the way back to the ath79 migration, on both 4.19 and 5.4 kernels. Other hardware versions have similar problems with link instability, not sure if related since for them the problem is on the lan switch (MII vs GMII ?).
The only current remedy is to go back to ar7x/9x.

trunk ath79 kernel 5.4
[    0.000000] Linux version 5.4.52 (user@debian-c2q-x64) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13335-586661018e)) #0 Fri Jul 24 17:44:31 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is TP-Link TL-WR841N/ND v9
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 26796K/32768K available (3518K kernel code, 135K rwdata, 552K rodata, 1228K init, 182K bss, 5972K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from 0x8047d9ac with crng_init=0
[    0.000000] CPU clock: 550.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000011] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008263] Calibrating delay loop... 364.54 BogoMIPS (lpj=729088)
[    0.046777] pid_max: default: 32768 minimum: 301
[    0.051887] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059623] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072641] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.082975] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.090242] pinctrl core: initialized pinctrl subsystem
[    0.097121] NET: Registered protocol family 16
[    0.132639] clocksource: Switched to clocksource MIPS
[    0.139490] NET: Registered protocol family 2
[    0.145203] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.154116] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.162235] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.169703] TCP: Hash tables configured (established 1024 bind 1024)
[    0.176622] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.183608] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.191350] NET: Registered protocol family 1
[    0.196043] PCI: CLS 0 bytes, default 32
[    0.204882] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.219334] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.225552] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.252153] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.259542] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.267263] printk: console [ttyS0] disabled
[    0.271917] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.281053] printk: console [ttyS0] enabled
[    0.290138] printk: bootconsole [early0] disabled
[    0.309420] spi-nor spi0.0: s25sl032p (4096 Kbytes)
[    0.314588] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.321171] Creating 3 MTD partitions on "spi0.0":
[    0.326153] 0x000000000000-0x000000020000 : "u-boot"
[    0.332554] 0x000000020000-0x0000003f0000 : "firmware"
[    0.342377] 2 tplink-fw partitions found on MTD device firmware
[    0.348578] Creating 2 MTD partitions on "firmware":
[    0.353748] 0x000000000000-0x00000015a167 : "kernel"
[    0.360145] 0x00000015a168-0x0000003d0000 : "rootfs"
[    0.366518] mtd: device 3 (rootfs) set to be root filesystem
[    0.374664] 1 squashfs-split partitions found on MTD device rootfs
[    0.381159] 0x000000380000-0x0000003d0000 : "rootfs_data"
[    0.388050] 0x0000003f0000-0x000000400000 : "art"
[    0.395312] libphy: Fixed MDIO Bus: probed
[    0.721760] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.128630] random: fast init done
[    1.361115] libphy: ag71xx_mdio: probed
[    1.366777] libphy: ar8xxx-mdio: probed
[    1.380603] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.428783] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.438966] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.447865] NET: Registered protocol family 17
[    1.456605] 8021q: 802.1Q VLAN Support v1.8
[    1.778816] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.789258] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.802272] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.818043] Freeing unused kernel memory: 1228K
[    1.822762] This architecture does not have kernel memory protection.
[    1.829427] Run /sbin/init as init process
[    3.075520] init: Console is alive
[    3.079550] init: - watchdog -
[    4.395760] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.638539] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.656853] init: - preinit -
[    6.192779] random: jshn: uninitialized urandom read (4 bytes read)
[    6.284429] random: jshn: uninitialized urandom read (4 bytes read)
[    6.531236] random: jshn: uninitialized urandom read (4 bytes read)
[    7.526008] eth0: link up (1000Mbps/Full duplex)
[    7.624050] urandom_read: 2 callbacks suppressed
[    7.624062] random: procd: uninitialized urandom read (4 bytes read)
[   12.299478] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   12.306980] jffs2_build_filesystem(): unlocking the mtd device... 
[   12.306985] done.
[   12.315362] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   13.287819] done.
[   13.297621] jffs2: notice: (395) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   13.317571] mount_root: overlay filesystem has not been fully initialized yet
[   13.330868] mount_root: switching to jffs2 overlay
[   13.371346] overlayfs: upper fs does not support tmpfile.
[   13.965654] urandom-seed: Seed file not found (/etc/urandom.seed)
[   14.009598] eth0: link down
[   14.038974] procd: - early -
[   14.042227] procd: - watchdog -
[   14.836813] procd: - watchdog -
[   14.840490] procd: - ubus -
[   15.192747] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.200117] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.207394] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.215562] procd: - init -
[   16.532037] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.542254] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   16.550169] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   16.588147] xt_time: kernel timezone is -0000
[   16.703125] PPP generic driver version 2.4.2
[   16.717839] NET: Registered protocol family 24
[   16.847523] ath: EEPROM regdomain sanitized
[   16.847541] ath: EEPROM regdomain: 0x64
[   16.847546] ath: EEPROM indicates we should expect a direct regpair map
[   16.847574] ath: Country alpha2 being used: 00
[   16.847579] ath: Regpair used: 0x64
[   16.861712] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.864319] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=12
[   16.937701] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.885427] urngd: v1.0.2 started.
[   18.407594] random: crng init done
[   18.411167] random: 1 urandom warning(s) missed due to ratelimiting
[   34.868429] eth0: link up (1000Mbps/Full duplex)
[   34.873943] br-lan: port 1(eth0) entered blocking state
[   34.879442] br-lan: port 1(eth0) entered disabled state
[   34.885265] device eth0 entered promiscuous mode
[   34.910107] br-lan: port 1(eth0) entered blocking state
[   34.915608] br-lan: port 1(eth0) entered forwarding state
[   37.507145] eth1: link up (100Mbps/Full duplex)
[   39.831972] ath: EEPROM regdomain: 0x8348
[   39.836209] ath: EEPROM indicates we should expect a country code
[   39.842543] ath: doing EEPROM country->regdmn map search
[   39.848053] ath: country maps to regdmn code: 0x3a
[   39.853021] ath: Country alpha2 being used: US
[   39.857637] ath: Regpair used: 0x3a
[   39.861266] ath: regdomain 0x8348 dynamically updated by user
[   42.470602] br-lan: port 2(wlan0) entered blocking state
[   42.476204] br-lan: port 2(wlan0) entered disabled state
[   42.482162] device wlan0 entered promiscuous mode
[   42.982671] br-lan: port 2(wlan0) entered blocking state
[   42.988253] br-lan: port 2(wlan0) entered forwarding state
[   59.553718] eth1: link down
[   60.718547] eth1: link up (100Mbps/Full duplex)
[   96.548621] eth1: link down
[   97.587409] eth1: link up (100Mbps/Full duplex)
[  100.145440] eth1: link down
[  102.946954] eth1: link up (100Mbps/Full duplex)
[  111.553311] eth1: link down
[  112.776248] eth1: link up (100Mbps/Full duplex)
[  113.549617] eth1: link down
[  115.970682] eth1: link up (100Mbps/Full duplex)
[  136.800662] eth1: link down
[  139.396537] eth1: link up (100Mbps/Full duplex)
[  156.992675] eth1: link down
[  159.233976] eth1: link up (100Mbps/Full duplex)
[  239.135336] eth1: link down
[  240.183784] eth1: link up (100Mbps/Full duplex)
[  241.247129] eth1: link down
[  243.648943] eth1: link up (100Mbps/Full duplex)
[  265.151000] eth1: link down
[  267.392623] eth1: link up (100Mbps/Full duplex)
[  272.510875] eth1: link down
[  274.752556] eth1: link up (100Mbps/Full duplex)
[  319.809992] eth1: link down
[  321.080189] eth1: link up (100Mbps/Full duplex)
[  321.220681] eth1: link down
[  323.424159] eth1: link up (100Mbps/Full duplex)
[  353.153236] eth1: link down
[  355.391983] eth1: link up (100Mbps/Full duplex)
[  392.254446] eth1: link down
[  394.495789] eth1: link up (100Mbps/Full duplex)
[  415.998322] eth1: link down
[  418.239825] eth1: link up (100Mbps/Full duplex)
[  431.550121] eth1: link down
[  433.791858] eth1: link up (100Mbps/Full duplex)
[  451.198427] eth1: link down
[  453.791776] eth1: link up (100Mbps/Full duplex)
[  495.070317] eth1: link down
[  496.125390] eth1: link up (100Mbps/Full duplex)
[  497.716438] eth1: link down
[  500.127841] eth1: link up (100Mbps/Full duplex)
[  555.614299] eth1: link down
[  558.335854] eth1: link up (100Mbps/Full duplex)
[  614.110117] eth1: link down
[  616.799873] eth1: link up (100Mbps/Full duplex)
[  667.613869] eth1: link down
[  668.643616] eth1: link up (100Mbps/Full duplex)
[  670.517692] eth1: link down
[  672.927531] eth1: link up (100Mbps/Full duplex)
[  693.728320] eth1: link down
[  695.967338] eth1: link up (100Mbps/Full duplex)
[  712.349846] eth1: link down
[  714.591338] eth1: link up (100Mbps/Full duplex)
[  719.709916] eth1: link down
[  721.951206] eth1: link up (100Mbps/Full duplex)
[  726.045477] eth1: link down
[  728.447172] eth1: link up (100Mbps/Full duplex)
[  740.733548] eth1: link down
[  742.975170] eth1: link up (100Mbps/Full duplex)
[  747.069438] eth1: link down
[  749.471084] eth1: link up (100Mbps/Full duplex)
[  787.357417] eth1: link down
[  789.598944] eth1: link up (100Mbps/Full duplex)
trunk ar7x/9x kernel 4.14
[    0.000000] Linux version 4.14.187 (user@debian-c2q-x64) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13335-586661018e)) #0 Fri Jul 24 17:44:31 2020
[    0.000000] MyLoader: sysp=8d42f1c5, boardp=7720831d, parts=c4502281
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 803e8330, node_mem_map 81000020
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] random: get_random_bytes called from 0x803eb6c4 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-WR841N-v9  console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28000K/32768K available (3033K kernel code, 163K rwdata, 424K rodata, 212K init, 196K bss, 4768K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] Clocks: CPU:550.000MHz, DDR:392.211MHz, AHB:196.105MHz, Ref:25.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
[    0.000010] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
[    0.008259] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
[    0.074829] pid_max: default: 32768 minimum: 301
[    0.079952] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.086957] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.097194] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.107598] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.114645] NET: Registered protocol family 16
[    0.121018] MIPS: machine is TP-LINK TL-WR841N/ND v9
[    0.615380] clocksource: Switched to clocksource MIPS
[    0.622026] NET: Registered protocol family 2
[    0.627640] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.635004] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.641789] TCP: Hash tables configured (established 1024 bind 1024)
[    0.648693] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.654867] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.661885] NET: Registered protocol family 1
[    0.666563] PCI: CLS 0 bytes, default 32
[    0.671957] Crashlog allocated RAM at address 0x1f00000
[    0.679123] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.692341] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.698550] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.719398] io scheduler noop registered
[    0.723543] io scheduler deadline registered (default)
[    0.729356] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.736570] console [ttyS0] disabled
[    0.760528] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[    0.769642] console [ttyS0] enabled
[    0.777212] bootconsole [early0] disabled
[    0.790891] m25p80 spi0.0: found s25sl032p, expected m25p80
[    0.796779] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[    0.802783] 5 tp-link partitions found on MTD device spi0.0
[    0.808602] Creating 5 MTD partitions on "spi0.0":
[    0.813565] 0x000000000000-0x000000020000 : "u-boot"
[    0.820437] 0x000000020000-0x00000014f78c : "kernel"
[    0.828107] 0x00000014f78c-0x0000003f0000 : "rootfs"
[    0.834208] mtd: device 2 (rootfs) set to be root filesystem
[    0.840184] 1 squashfs-split partitions found on MTD device rootfs
[    0.846604] 0x000000380000-0x0000003f0000 : "rootfs_data"
[    0.854810] 0x0000003f0000-0x000000400000 : "art"
[    0.861489] 0x000000020000-0x0000003f0000 : "firmware"
[    0.870564] libphy: Fixed MDIO Bus: probed
[    0.905854] libphy: ag71xx_mdio: probed
[    1.538008] ag71xx-mdio.1: Found an AR934X built-in switch
[    1.591328] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    2.228481] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[    2.238697] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    2.246688] NET: Registered protocol family 17
[    2.254707] 8021q: 802.1Q VLAN Support v1.8
[    2.266449] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.275223] Freeing unused kernel memory: 212K
[    2.279880] This architecture does not have kernel memory protection.
[    2.535389] random: fast init done
[    3.523199] init: Console is alive
[    3.527119] init: - watchdog -
[    4.834983] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.089112] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.107424] init: - preinit -
[    6.482377] random: procd: uninitialized urandom read (4 bytes read)
[    8.086879] eth0: link up (1000Mbps/Full duplex)
[   11.232837] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   11.240337] jffs2_build_filesystem(): unlocking the mtd device... 
[   11.240342] done.
[   11.248717] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   12.709018] done.
[   12.718792] jffs2: notice: (377) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   12.739155] mount_root: overlay filesystem has not been fully initialized yet
[   12.753094] mount_root: switching to jffs2 overlay
[   12.794456] overlayfs: upper fs does not support tmpfile.
[   13.705085] urandom-seed: Seed file not found (/etc/urandom.seed)
[   13.754645] eth0: link down
[   13.773004] procd: - early -
[   13.776322] procd: - watchdog -
[   14.582037] procd: - watchdog -
[   14.585809] procd: - ubus -
[   14.935177] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.942566] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.949808] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.957915] procd: - init -
[   15.968186] urandom_read: 5 callbacks suppressed
[   15.968197] random: jshn: uninitialized urandom read (4 bytes read)
[   16.381927] kmodloader: loading kernel modules from /etc/modules.d/*
[   16.409071] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   16.416976] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   16.452203] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   16.596580] xt_time: kernel timezone is -0000
[   16.647794] ip_tables: (C) 2000-2006 Netfilter Core Team
[   16.749519] PPP generic driver version 2.4.2
[   16.757350] NET: Registered protocol family 24
[   16.840503] ath: EEPROM regdomain sanitized
[   16.840519] ath: EEPROM regdomain: 0x64
[   16.840524] ath: EEPROM indicates we should expect a direct regpair map
[   16.840553] ath: Country alpha2 being used: 00
[   16.840557] ath: Regpair used: 0x64
[   16.854367] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.857149] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=47
[   16.955955] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.021080] urngd: v1.0.2 started.
[   17.769041] random: crng init done
[   35.438421] br-lan: port 1(eth0) entered blocking state
[   35.443846] br-lan: port 1(eth0) entered disabled state
[   35.449700] device eth0 entered promiscuous mode
[   37.116966] eth0: link up (1000Mbps/Full duplex)
[   37.121826] br-lan: port 1(eth0) entered blocking state
[   37.127287] br-lan: port 1(eth0) entered forwarding state
[   37.619171] eth1: link up (100Mbps/Full duplex)
 


23.07.20203246KernelBug ReportVery LowLowar8216.c and ar8327.c does not read incoming packets (R...openwrt-19.07Unconfirmed Task Description

Device is Dlink DIR615C1 running 19.07 doesn’t respond to pings. Device has been reset to factory defaults, but doesn’t respond to pings.

ifconfig shows no RX packets and no RX bytes on eth0 interface.

root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:22:B0:BA:50:1F

        inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:0 (0.0 B)  TX bytes:378 (378.0 B)

eth0 Link encap:Ethernet HWaddr 00:22:B0:BA:50:1F

        UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
        collisions:0 txqueuelen:1000
        RX bytes:0 (0.0 B)  TX bytes:1475 (1.4 KiB)
        Interrupt:4

Same DIR615C1 running 18.06.08 works fine.

If I compile the current snapshot with the 18.06.8 code from ar8216.c, ar8216.h, ar8327.c and ar8327.h (the last two were required because of compilation errors), the snapshot image with the older 18.06.8 ar8216 drivers works fine.

There are significant changes in the way the ar8216 is initialized and setup from 18.06.8 to 19.07.1 and the latter code is not reading incoming packets because RX packets and RX bytes are always 0.

Code found in

target/linux/generic/files/drivers/net/phy

Details at

https://forum.openwrt.org/t/lan-doesnt-work-in-19-07-2-custom-build/61945/

23.07.20203244KernelBug ReportVery LowHighath9k_htc: Kernel oops in snapshot on RaspberryPi 4 (at...TrunkUnconfirmed Task Description

- Device: Raspberry Pi4
- Snapshot kernel 5.4 with 5.7 backport
- Install ath9k_htc dongle and connect WiFi client

So, I have been able to tackle down who is causing a kernel panic and reboot of my RPi4 with current snapshots.

It is the ath9k_htc dongle I use but only if there are clients connected to it
Apparently it corrupts memory so the kernel panic look quite different among them, here two caputer with serial:

```
[75789.085223] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000008
[75789.095930] Mem abort info:
[75789.098716] ESR = 0×96000045 [75789.101763] EC = 0×25: DABT (current EL), IL = 32 bits
[75789.107068] SET = 0, FnV = 0
[75789.110113] EA = 0, S1PTW = 0
[75789.113246] Data abort info:
[75789.116118] ISV = 0, ISS = 0×00000045 [75789.119945] CM = 0, WnR = 1
[75789.122906] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f6f67000
[75789.129339] [0000000000000008] pgd=0000000000000000, pud=0000000000000000
[75789.136124] Internal error: Oops: 96000045 [#1] SMP
[75789.140994] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[75789.141074] act_skbedit act_mirred snd_bcm2835(C) hid evdev 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 ifb nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[75789.289825] CPU: 3 PID: 721 Comm: hostapd Tainted: G C 5.4.51 #0
[75789.297125] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[75789.302950] pstate: 20400085 (nzCv daIf +PAN -UAO)
[75789.307739] pc : skb_try_recv_from_queue+0×164/0x1a0
[75789.312869] lr :
skb_try_recv_datagram+0xb0/0x1a8
[75789.317737] sp : ffffffc011553aa0
[75789.321041] x29: ffffffc011553aa0 x28: ffffffc011553bbc
[75789.326344] x27: 0000000000000000 x26: ffffff80f2ccb8d0
[75789.331646] x25: 0000000000000000 x24: ffffffc011553b90
[75789.336949] x23: 0000000000000000 x22: 0000000000000000
[75789.342251] x21: ffffffc011553bbc x20: 0000000000000000
[75789.347553] x19: ffffff80f1e51000 x18: 0000000000000000
[75789.352855] x17: 0000000000000000 x16: 0000000000000000
[75789.358157] x15: 0000000000000000 x14: 0000000000000000
[75789.363459] x13: 0000000000000000 x12: 0000000000000000
[75789.368762] x11: 0000000000000000 x10: 00000055b6805320
[75789.374064] x9 : ffffff80f5090800 x8 : 0000000000000040
[75789.379366] x7 : ffffffc01056a890 x6 : ffffffc011553b90
[75789.384668] x5 : ffffffc011553b4c x4 : ffffffc011553bbc
[75789.389970] x3 : 0000000000000000 x2 : 0000000000000000
[75789.395272] x1 : ffffff80f2ccb8d0 x0 : ffffff80f2ccb800
[75789.400575] Call trace:
[75789.403014] skb_try_recv_from_queue+0×164/0x1a0
[75789.407796]
skb_try_recv_datagram+0xb0/0x1a8
[75789.412318] skb_recv_datagram+0×84/0xa8
[75789.416405] skb_recv_datagram+0×28/0×30 [75789.420320] netlink_recvmsg+0×48/0×330 [75789.424147] sock_recvmsg+0x1c/0×28 [75789.427626]
sys_recvmsg+0×84/0x3e8
[75789.431452]
_sys_recvmsg+0×64/0×88 [75789.435107] sys_recvmsg+0×40/0×80 [75789.438673] arm64_sys_recvmsg+0×20/0×28 [75789.442762] el0_svc_handler+0xd4/0×130 [75789.446588] el0_svc+0×8/0xc
[75789.449464] Code: 51000442 b9001022 a9400662 a9007e7f (f9000441)
[75789.455549] —[ end trace 49dce345634ad00c ]— [75789.460156] Kernel panic - not syncing: Fatal exception
[75789.465373] SMP: stopping secondary CPUs
[75789.469289] Kernel Offset: disabled
[75789.472768] CPU features: 0×0002,20006000
[75789.476766] Memory Limit: none
[75789.479813] Rebooting in 3 seconds..
```

```
[22276.297087] Unable to handle kernel access to user memory with fs=KERNEL_DS at virtual address 000000000000004c
[22276.307207] Mem abort info:
[22276.309997] ESR = 0×96000005 [22276.313075] EC = 0×25: DABT (current EL), IL = 32 bits
[22276.318389] SET = 0, FnV = 0
[22276.321436] EA = 0, S1PTW = 0
[22276.324575] Data abort info:
[22276.327453] ISV = 0, ISS = 0×00000005 [22276.331287] CM = 0, WnR = 0
[22276.334255] user pgtable: 4k pages, 39-bit VAs, pgdp=00000000f1f36000
[22276.340696] [000000000000004c] pgd=00000000f40b0003, pud=00000000f40b0003, pmd=0000000000000000
[22276.349401] Internal error: Oops: 96000005 [#1] SMP
[22276.354272] Modules linked in: ath9k_htc ath9k_common xt_connlimit rt2800usb rt2800lib rt2500usb pppoe ppp_async nf_conncount iptable_nat brcmfmac ath9k_hw ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT rtl8812au rt2x00usb rt2x00lib pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt76x2u mt76x2e mt76x2_common mt76x02_usb mt76x02_lib mt7603e mt7601u mt76_usb mt76 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbhid slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hid_generic crc_ccitt compat brcmutil sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[22276.354354] act_skbedit act_mirred snd_bcm2835(C) hid evdev 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 ifb nat46 ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun snd_rawmidi snd_seq_device snd_pcm_oss snd_pcm snd_timer snd_mixer_oss snd_hwdep snd_compress snd soundcore nls_utf8 md5 vfat fat nls_iso8859_1 nls_cp437
[22276.503133] CPU: 2 PID: 1883 Comm: sh Tainted: G C 5.4.51 #0
[22276.510088] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT)
[22276.515916] pstate: 60400005 (nZCv daif +PAN -UAO)
[22276.520710] pc : vfs_read+0xc/0×158 [22276.524192] lr : kernel_read+0×40/0×88 [22276.527933] sp : ffffffc016943c80
[22276.531240] x29: ffffffc016943c80 x28: 0000000000000000
[22276.536546] x27: 0000000000000002 x26: ffffffc01080bf60
[22276.541853] x25: ffffff80f50d8c80 x24: ffffffc010960cd8
[22276.547158] x23: 00000000fffffff8 x22: ffffff80f52d8438
[22276.552463] x21: ffffff80f52d8400 x20: 0000007fffffffff
[22276.557769] x19: ffffff80f2c68000 x18: 0000000000000000
[22276.563074] x17: 0000000000000000 x16: 0000000000000000
[22276.568379] x15: 00000000008a4000 x14: 0000000000000001
[22276.573684] x13: 0000000000000b90 x12: 0000000000000b90
[22276.578989] x11: 0000000000474470 x10: 0000000000474470
[22276.584295] x9 : 0000000000064470 x8 : 000000046474e552
[22276.589600] x7 : 0000000000000000 x6 : 0000000000000000
[22276.594906] x5 : 0000000000000000 x4 : 0000000000000020
[22276.600211] x3 : ffffffc016943da8 x2 : 000000000000001a
[22276.605516] x1 : ffffff80f50d8c80 x0 : 0000000000000008
[22276.610821] Call trace:
[22276.613263] vfs_read+0xc/0×158 [22276.616397] kernel_read+0×40/0×88 [22276.619795] load_elf_binary+0xf4/0xd08
[22276.623624] search_binary_handler.part.55+0xac/0×278 [22276.628669] do_execve_file+0x4c4/0x6a8
[22276.632671]
arm64_sys_execve+0×38/0×48 [22276.636676] el0_svc_handler+0xd4/0×130 [22276.640505] el0_svc+0×8/0xc
[22276.643386] Code: d503201f a9bc7bfd 910003fd a90363f7 (b9404404)
[22276.649475] —[ end trace 081a8415f22be558 ]— [22276.654086] Kernel panic - not syncing: Fatal exception
[22276.659307] SMP: stopping secondary CPUs
[22276.663223] Kernel Offset: disabled
[22276.666705] CPU features: 0×0002,20006000
[22276.670706] Memory Limit: none
[22276.673756] Rebooting in 3 seconds..
```

I have tried two different RPi4 hardware and two different SD cards. No other devices are connected to the USB ports,ath9k_htc dongle is connected to USB 2.0 port.

With 19.07.x on a Orangepi PC2 device, the same dongle behaved correctly

 


23.07.20203243Base systemBug ReportVery LowLowDifferent channels in multiSSID setup for one Wi-Fi car...TrunkUnconfirmed Task Description

This was requested as feature in the LuCI: https://github.com/openwrt/luci/issues/4210 but it was closed that it can not be implemented first in the LuCI as it needs to be added to the OpenWrt first, however, it is possible to configure it manually in the CLI.

From the issue:
Some wifi cards support creating more AP interfaces on different channels. But luci currently does not support specifying different channel for different interfaces which belongs to the same card. Currently all interfaces which belongs to the same card (phy) share same channel/frequency.

iw phy info prints following output for such card:

        valid interface combinations:
                 * #{ managed, AP, P2P-client, P2P-GO } <= 3,
                   total <= 3, #channels <= 2, STA/AP BI must match
22.07.20203242Base systemBug ReportVery LowHighUAS not working - All devices with USB3.0 affectedAllUnconfirmed Task Description

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

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

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

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

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

21.07.20203241Base systemBug ReportVery LowMediumtemporary flash failure on ipq40xx device (wpj428)TrunkUnconfirmed Task Description

Hello :-)

My employer has noticed a small fraction of devices failing with a trunk-based software image (OpenWrt SNAPSHOT, r13134+521-f57230c4e6) on the WPJ428 platform (ipq40xx).

Messages like these appear in syslog:

```
Tue Jul 21 13:16:39 2020 daemon.err node-comm[27021]: Error loading shared library libevent_openssl-2.1.so.7: I/O error (needed by /usr/bin/node-comm-mqtt)
Tue Jul 21 13:16:39 2020 kern.err kernel: [523126.625066] SQUASHFS error: Unable to read fragment cache entry [3c56aa]
Tue Jul 21 13:16:39 2020 kern.err kernel: [523126.625114] SQUASHFS error: Unable to read page, block 3c56aa, size 1522c
```

After reboot, the problem goes away (probably because it’s very unlikely to appear twice in a row).

The problem occurs with various flash chip revisions, so we believe it is a driver issue.

On an (un-)lucky day, the error occured on my device and i created two dumps of /dev/mtd8ro (the whole 32M of flash), one while error was occuring and another after the reboot.
1290 consecutive bytes are read as FF in the error state (reliably when running dd multiple times).

The diff from before and after the reboot looks like this (`cmp -l` output converted to hex, xx for redacted bytes):

```
01BB36BD FF xx
01BB36BE FF xx
01BB36BF FF xx
01BB36C0 FF xx
...
01BB3BC7 FF xx
```

The syslog from above belongs to the same occurance as diff.
It’s worth noting that the file that couldn’t be read is in the ROM portion of the flash while the offset of the diff is near the end.

I’ve reached the limits of my knowledge. If there’s anything else that would be interesting to know from the error state, let me know, i’ll see what i can do.

19.07.20203239Base systemBug ReportVery LowLowVLAN tagging on ipq40xx (GL-B1300) no longer worksopenwrt-19.07Unconfirmed Task Description

GL-B1300, ipq40xx, 19.07-SNAPSHOT

https://forum.openwrt.org/t/vlan-tagging-on-ipq40xx-gl-b1300-no-longer-works/69569

The config below used to create VLAN 3 & 4 on the LAN ports, but not after the commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=8c191712558ce945993982b03abc5ce80e0fe230 : LAN clients cannot get their IP addresses

I build 19.07 WITHOUT that commit and it fixed the issue.

config switch

option name 'switch0'
option reset '1'
option enable_vlan '1'

config switch_vlan

option device 'switch0'
option vlan '3'
option vid '3'
option ports '3 0t'

config switch_vlan

option device 'switch0'
option vlan '4'
option vid '4'
option ports '4 0t'
19.07.20203238Base systemBug ReportVery LowMediumkmod-mt7601uAllUnconfirmed Task Description

MT7601u driver don’t work as AP in OpenWrt, works perfectly in windows 10.
- x86
- Any OpenWrt build (stable/snapshot)
- After installing all packages (kmod-mt7601u, hostapd) usb-wifi adapter based on mt7601u work as scan, and can connect, but does not work as AP at all.

https://forum.openwrt.org/t/mt7601-usb-dongle/66925 - forum thread

 


18.07.20203237PackagesBuild FailureVery LowHighumdns: fails to compile with gcc10TrunkUnconfirmed Task Description

Try to compile umdns with gcc10 and it will break with following error:

service.c:240:10: error: ‘strcpy’ offset 6 from the object at ‘b’ is
out of the bounds of referenced subobject ‘name’ with type ‘uint8_t[]’ {aka ‘unsigned char[]’} at offset 6 [-Werror=array-bounds]

More detailed error:
https://github.com/berlin-open-wireless-lab/DAWN/issues/109#issuecomment-657483908

18.07.20203236Base systemBug ReportVery LowLowWiFi button not properly workingTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on - all devices supporting WiFi on/off button

- Software versions of OpenWrt/LEDE release, packages, etc.- current trunk and earlier(rfkill git code is 4 years old)

- Steps to reproduce - press WiFI button to enable(works), press it again to disable WiFI - does not work./etc/config/wireless gets properly updates to disable the wifi but the final wifi up command is no ot allowing the real disable.

 

There is a Bug in WiFI button handling script, the proposed fix is below:

https://github.com/openwrt/openwrt/blob/master/package/base-files/files/etc/rc.button/rfkill

Line 30:
wifi up
has to be only:
wifi

17.07.20203235Base systemBug ReportVery LowLowiftop: gcc 10.1 compilation failsTrunkAssigned Task Description

openwrt: master
aarch64
gcc 10.1 compilation fails

/home/openwrt/master/openwrt/staging_dir/toolchain-aarch64_generic_gcc-10.1.0_musl/lib/gcc/aarch64-openwrt-linux-musl/10.1.0/../../../../aarch64-openwrt-linux-musl/bin/ld: tui.o:(.bss+0×30): multiple definition of `totals’; iftop.o:(.bss+0×230): first defined here
/home/openwrt/master/openwrt/staging_dir/toolchain-aarch64_generic_gcc-10.1.0_musl/lib/gcc/aarch64-openwrt-linux-musl/10.1.0/../../../../aarch64-openwrt-linux-musl/bin/ld: tui.o:(.bss+0×10): multiple definition of `screen_list’; iftop.o:(.bss+0x2e0): first defined here
collect2: error: ld returned 1 exit status
Makefile:506: recipe for target ‘iftop’ failed
make[6]: * [iftop] Error 1
make[6]: Leaving directory ‘/home/openwrt/master/openwrt/build_dir/target-aarch64_generic_musl/iftop-2018-10-03-77901c8c’ Makefile:601: recipe for target ‘all-recursive’ failed
make[5]:
* [all-recursive] Error 1
make[5]: Leaving directory ‘/home/openwrt/master/openwrt/build_dir/target-aarch64_generic_musl/iftop-2018-10-03-77901c8c’ Makefile:410: recipe for target ‘all’ failed
make[4]: * [all] Error 2
make[4]: Leaving directory ‘/home/openwrt/master/openwrt/build_dir/target-aarch64_generic_musl/iftop-2018-10-03-77901c8c’ Makefile:45: recipe for target ‘/home/openwrt/master/openwrt/build_dir/target-aarch64_generic_musl/iftop-2018-10-03-77901c8c/.built’ failed
make[3]:
* [/home/openwrt/master/openwrt/build_dir/target-aarch64_generic_musl/iftop-2018-10-03-77901c8c/.built] Error 2
make[3]: Leaving directory ‘/home/openwrt/master/openwrt/package/network/utils/iftop’ time: package/network/utils/iftop/compile#0.34#0.17#0.50
package/Makefile:111: recipe for target ‘package/network/utils/iftop/compile’ failed
make[2]: * [package/network/utils/iftop/compile] Error 2
make[2]: Leaving directory ‘/home/openwrt/master/openwrt’ package/Makefile:107: recipe for target ‘/home/openwrt/master/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile’ failed
make[1]:
* [/home/openwrt/master/openwrt/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory ‘/home/openwrt/master/openwrt’ /home/openwrt/master/openwrt/include/toplevel.mk:233: recipe for target ‘world’ failed
make: *** [world] Error 2


16.07.20203234ToolchainBug ReportVery LowLow19.07.2 imagebuilder does not work with (detect) gcc 10...openwrt-19.07Unconfirmed Task Description

Imagebuilder is unable to detect gcc/g++ on my system running gcc 10.1 FORCE=1 makes no difference, and seems to be ignored.

[naguz@blaptop openwrt-imagebuilder-19.07.2]$ make image FORCE=1 PROFILE=tplink_archer-c7-v2 FILES=files/
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... failed.
Checking 'working-gcc'... ok.
Checking 'g++'... failed.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python3-cleanup'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: Please install the GNU C Compiler (gcc) 4.8 or later
Build dependency: Please install the GNU C++ Compiler (g++) 4.8 or later

Prerequisite check failed. Use FORCE=1 to override.
make[1]: *** [Makefile:87: staging_dir/host/.prereq-build] Error 1
make: *** [Makefile:197: image] Error 2
[gert@blad openwrt-imagebuilder-19.07.2]$ 
15.07.20203233Base systemBug ReportVery LowLowath79: glinet_gl-ar750s-nor-nand not buildingTrunkUnconfirmed Task Description

It is currently not possible to build the NOR/NAND image for the Gl.iNet GL-AR750S.

- Device: Gl.iNet GL-AR750S
- Software versions of OpenWrt/LEDE: Trunk r13858-f886a26851
- Steps to reproduce: Build NOR/NAND image of glinet_gl-ar750s

CONFIG_TARGET_ath79_nand_DEVICE_glinet_gl-ar750s-nor-nand=y
CONFIG_TARGET_PROFILE=”DEVICE_glinet_gl-ar750s-nor-nand”

13.07.20203232ToolchainBug ReportVery LowMediumnumpy: build error with ar770 compilerTrunkUnconfirmed Task Description

Recently, numpy was added to the packages feed.
https://github.com/openwrt/packages/pull/12404 https://github.com/openwrt/packages/pull/12590

Some builds needed to be disabled like for MIPS, because it doesn’t compile well with musl-libc and soft-float.
With MIPS hard-float numpy builds.

In any case, there’s a recent build failure with arc770:
https://github.com/openwrt/packages/issues/12774

This looks like a compiler bug.

13.07.20203229Base systemBug ReportVery LowLowHardware flow offloading not working on MT7621TrunkUnconfirmed Task Description

DIR-860L-B1 used to be able to do gigabit routing, however on the latest master it no longer works.

Aparently this is due to DSA, any plans to fix that?

11.07.20203225KernelBug ReportVery LowLowipv6 npt does not workTrunkUnconfirmed Task Description

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

 

I hope to use ipv6 npt(rfc6296 stateless npt), have kmod-ipt-nat6 installed.
I am sure about “ip6t_NPT” is about rfc6296

in source code:
MODULE_DESCRIPTION("IPv6-to-IPv6 Network Prefix Translation (RFC 6296)");
root@OpenWrt:~# ip6tables -t mangle -I POSTROUTING -s 2001:470:4999:100::/64  -o br-lan -j SNPT --src-pfx 2001:470:4999:100::/64 --dst-pfx 240e:82:901:9400::/64
ip6tables v1.8.3 (legacy): unknown option "--src-pfx"
Try `ip6tables -h' or 'ip6tables --help' for more information.

I have kmod-ipt-nat6 install, which contain NPT extension.

lsmod
x_tables               12656 37 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_tcpmss,xt_statistic,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_length,xt_hl,xt_ecn,xt_dscp,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_HL,xt_FLOWOFFLOAD,xt_DSCP,xt_CT,xt_CLASSIFY,iptable_mangle,iptable_filter,ipt_ECN,ip_tables,xt_set,ip6t_NPT,ip6t_MASQUERADE,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT

DNPT (IPv6-specific)

     Provides stateless destination IPv6-to-IPv6 Network Prefix Translation (as described by RFC 6296).
     You have to use this target in the mangle table, not in the nat table. It takes the following options:
  1. -src-pfx [prefix/length]

Set source prefix that you want to translate and length

  1. -dst-pfx [prefix/length]

Set destination prefix that you want to use in the translation and length

     You have to use the SNPT target to undo the translation. Example:
        <code>    ip6tables -t mangle -I POSTROUTING -s fd00::/64  -o vboxnet0 -j SNPT --src-pfx fd00::/64 --dst-pfx 2001:e20:2000:40f::/64
            ip6tables -t mangle -I PREROUTING -i wlan0 -d 2001:e20:2000:40f::/64 -j DNPT --src-pfx 2001:e20:2000:40f::/64 --dst-pfx fd00::/64
     You may need to enable IPv6 neighbor proxy:
            sysctl -w net.ipv6.conf.all.proxy_ndp=1
     You also have to use the NOTRACK target to disable connection tracking for translated flows.</code>

does anyone have ideas?

11.07.20203224Base systemBug ReportVery LowLowA VLAN goes out when a new VLAN is addedopenwrt-19.07Unconfirmed Task Description

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

 

Hostname OpenWrt
Model Linksys WRT1900ACS
Architecture ARMv7 Processor rev 1 (v7l)
Firmware Version OpenWrt 19.07.3 r11063-85e04e9f46 / LuCI openwrt-19.07 branch git-20.136.49537-fb2f363
Kernel Version 4.14.180

At the outset, there are two VLANs pre-existing: 1 (LAN) and 2 (WAN)
In LuCi, create the following VLANs: 10, 20, 21, 2200, 2204, 2208, 3000.

At that point, I created a new VLAN on the Network/Switch page in LuCi. The new VLAN had an initial default VID of 10, which I changed to 11. I set the tagging to my need (Tagged on CPU and LAN port 3, off on all other ports) without touching the other nine VLANs.

As soon as I hit Save & apply, VLAN 10 stopped working entirely.

Examining the configuration files, I find these two stanzas:

config switch_vlan

option device 'switch0'
option vlan '3'
option ports '5t 1t'
option vid '10'

. . .

config switch_vlan

option device 'switch0'
option vlan '10'
option ports '5t 1t'
option vid '11'

This leads me to the hypothesis that the “vlan” option of 10 is colliding with the “vid” option of 10 on another VLAN, though it seems like these should be separate, unrelated concepts.

My workaround was to redo my VLAN scheme so that former VLANs 10, 11, 20 and 21 are now 1000, 1100, 2000 and 2100 respectively, which was enough to prevent this collision, and it all works, but it seems like it should not have had the collision in the first place.

08.07.20203218Base systemBug ReportVery LowLowhostapd log_level ingoredopenwrt-19.07Unconfirmed Task Description

Model: TP-Link Archer C7 v2
Architecture: Qualcomm Atheros QCA9558 ver 1 rev 0
Firmware Version :OpenWrt 19.07.2 r10947-65030d81f3 / LuCI openwrt-19.07 branch git-20.155.55664-f35803e
Kernel Version: 4.14.171

root@router:/tmp/run# uci show wireless | grep log
wireless.radio0.log_level='3'
wireless.radio1.log_level='3'
root@router:/tmp/run# cat hostapd-phy* | grep log
logger_syslog=127
logger_syslog_level=3
logger_stdout=127
logger_stdout_level=3
logger_syslog=127
logger_syslog_level=3
logger_stdout=127
logger_stdout_level=3
root@router:/tmp/run# hostapd_cli -i wlan0 log_level
Current level: INFO
Timestamp: 0
root@router:/tmp/run# hostapd_cli -i wlan1 log_level
Current level: INFO
Timestamp: 0
root@router:/tmp/run# hostapd_cli -i wlan1-1 log_level
Current level: INFO
Timestamp: 0
root@router:/tmp/run# hostapd_cli -i wlan1-1 log_level 2
FAIL
root@router:/tmp/run# opkg list-installed | grep hostapd
hostapd-common - 2019-08-08-ca8c2bd2-4
hostapd-utils - 2019-08-08-ca8c2bd2-4
root@router:/tmp/run# opkg list-installed | grep wpad
wpad - 2019-08-08-ca8c2bd2-4

Hello, I have a problem with the loglevel of hostapd. However the loglevel get ignored by the daemon and even the direct manipulation over hostapd_cli failed. Because of this the syslog get spammed by all the info messages.
It is predefined here: https://github.com/openwrt/openwrt/blob/openwrt-19.07/package/network/services/hostapd/Config.in But I don’t know why it is unchangeable at all

05.07.20203216PackagesBug ReportVery LowMediumEnable by default ed25519 on dropbearTrunkUnconfirmed Task Description

Hello,

As of latest master OpenWRT still does not enable ed25519 by default in dropbear.
ed25519 is becoming fairly widespread and is even the current default key exchange algorithm in OpenSSH.
As per https://github.com/mkj/dropbear/pull/91 adding this feature would only add around 8KB to the build size of dropbear max
and as per your build files 12KB in MIPS.
I believe 10Kb is relatively negligible, even for routers, and as such I don’t really see
any reason to have it disabled by default, especially when something as
crucial as public key ssh gets broken otherwise without any warning, leading to a horrendous UX.

Would you be so kind as to think about changing the default?

Thanks

02.07.20203215Base systemBug ReportVery LowMediumMultiple kernel oops in airtime fairness (potentially) ...TrunkUnconfirmed Task Description

Device: Netgear R6260
Build: r13611-3f27a6e640 - downloaded from openwrt site
Target: ramips/mt7621
Arch: mipsel_24kc

Seems to happen during normal use of router - simple configuration of 1 2.4ghz network and 1 5ghz network, connected over ethernet to AT&T “really-not-DSL-but-kind-of” service. (400mbit bidirectional)

I had 2 oops within 24 hours of operation. I am unsure of steps to reproduce yet.
I have not rebooted, but I suspect the second oops was a side effect of the first one.

SQM configured but specifically disabled since I wanted to test hardware offloading capabilities.

[   15.183669] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[   15.194488] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   15.205781] mt7603e 0000:02:00.0: enabling device (0000 -> 0002)
[   15.217920] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   15.847734] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   15.858870] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   15.894419] mt7603e 0000:02:00.0: firmware init done
[   16.080391] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   16.091938] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[   16.102807] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   16.114166] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   16.140685] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   16.238338] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   16.568442] mt7615e 0000:01:00.0: N9 Firmware Version: 2.0, Build Time: 20200131181812
[   16.594490] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190121161307
[ 3850.067170] ------------[ cut here ]------------
[ 3850.076587] WARNING: CPU: 0 PID: 0 at backports-5.7-rc3-1/net/mac80211/sta_info.c:1929 ieee80211_sta_update_pending_airtime+0x22c/0x234 [mac80211]
[ 3850.102772] STA f8:e9:4e:4e:ff:f1 AC 2 txq pending airtime underflow: 4294966536, 760
[ 3850.102778] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt7615e mt7615_common mt7603e mt76 mac80211 ipt_REJECT ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard slhc sch_cake nlmon nfnetlink_queue nfnetlink_log nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt compat sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[ 3850.118561]  act_skbedit act_mirred dwc3 ohci_platform ohci_hcd 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 ahci libahci libata fsl_mph_dr_of ehci_platform ehci_fsl sd_mod scsi_mod ehci_hcd ifb ip6_udp_tunnel udp_tunnel netlink_diag leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 3850.419155] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.48 #0
[ 3850.430934] Stack : 86f2de80 80077324 806c0000 806bc3bc 80720000 806bc384 806bb4d8 87c0dc44
[ 3850.447558]         80860000 80707248 80706d83 80651380 00000000 00000001 87c0dbe8 077483ba
[ 3850.464170]         00000000 00000000 808a0000 00000000 00000030 0000016d 342e3520 2038342e
[ 3850.480782]         00000000 000000bf 00000000 00066553 00000000 80720000 00000000 86408a84
[ 3850.497395]         00000009 00000000 00000000 86f2e000 00000002 8033d914 00000000 80860000
[ 3850.514009]         ...
[ 3850.518860] Call Trace:
[ 3850.523742] [<8000b72c>] show_stack+0x30/0x100
[ 3850.532579] [<805945b4>] dump_stack+0xa4/0xdc
[ 3850.541245] [<80028058>] __warn+0xc0/0x10c
[ 3850.549383] [<80028130>] warn_slowpath_fmt+0x8c/0xac
[ 3850.559389] [<86408a84>] ieee80211_sta_update_pending_airtime+0x22c/0x234 [mac80211]
[ 3850.574838] [<8640205c>] ieee80211_report_low_ack+0xf0/0x43c [mac80211]
[ 3850.588039] [<864023c0>] ieee80211_free_txskb+0x18/0x30 [mac80211]
[ 3850.600375] [<86f25468>] mt76_tx_complete_skb+0xa8/0xbc [mt76]
[ 3850.611991] [<86feaa20>] mt7615_txp_skb_unmap+0x1f4/0x230 [mt7615_common]
[ 3850.625731] ---[ end trace 176fb10434b931c6 ]---
[22886.192908] ------------[ cut here ]------------
[22886.202177] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:448 dev_watchdog+0x2fc/0x304
[22886.218705] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
[22886.232589] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mt7615e mt7615_common mt7603e mt76 mac80211 ipt_REJECT ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard slhc sch_cake nlmon nfnetlink_queue nfnetlink_log nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt compat sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic
[22886.232777]  act_skbedit act_mirred dwc3 ohci_platform ohci_hcd 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 ahci libahci libata fsl_mph_dr_of ehci_platform ehci_fsl sd_mod scsi_mod ehci_hcd ifb ip6_udp_tunnel udp_tunnel netlink_diag leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
[22886.533261] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G        W         5.4.48 #0
[22886.547802] Stack : ffffffff 80077324 806c0000 806bc3bc 80720000 806bc384 806bb4d8 87c11db4
[22886.564425]         80860000 87c3c728 80706d83 80651380 00000002 00000001 87c11d58 077483ba
[22886.581050]         00000000 00000000 808a0000 00000000 00000030 000001b9 342e3520 2038342e
[22886.597673]         00000000 00000472 00000000 0008230d 00000000 80720000 00000000 8045e458
[22886.614291]         00000009 00000002 00200000 00000122 00000002 8033d914 00000008 80860008
[22886.630914]         ...
[22886.635772] Call Trace:
[22886.640663] [<8000b72c>] show_stack+0x30/0x100
[22886.649507] [<805945b4>] dump_stack+0xa4/0xdc
[22886.658176] [<80028058>] __warn+0xc0/0x10c
[22886.666317] [<80028130>] warn_slowpath_fmt+0x8c/0xac
[22886.676230] [<8045e458>] dev_watchdog+0x2fc/0x304
[22886.685595] [<800904e4>] call_timer_fn.isra.34+0x20/0x90
[22886.696155] [<8009072c>] run_timer_softirq+0x1d8/0x230
[22886.706398] [<805b510c>] __do_softirq+0x16c/0x334
[22886.715788] [<8002c80c>] irq_exit+0x98/0xb0
[22886.724121] [<802dcec0>] plat_irq_dispatch+0x64/0x104
[22886.734175] [<80006de8>] except_vec_vi_end+0xb8/0xc4
[22886.744064] [<805b47c0>] r4k_wait_irqoff+0x1c/0x24
[22886.753828] ---[ end trace 176fb10434b931c7 ]---

ethtool configuration dump:


Features for eth0:
rx-checksumming: on
tx-checksumming: on
	tx-checksum-ipv4: on
	tx-checksum-ip-generic: off [fixed]
	tx-checksum-ipv6: on
	tx-checksum-fcoe-crc: off [fixed]
	tx-checksum-sctp: off [fixed]
scatter-gather: on
	tx-scatter-gather: on
	tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: on
	tx-tcp-segmentation: on
	tx-tcp-ecn-segmentation: off [fixed]
	tx-tcp-mangleid-segmentation: on
	tx-tcp6-segmentation: on
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: off [fixed]
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: off [fixed]
tx-gre-segmentation: off [fixed]
tx-gre-csum-segmentation: off [fixed]
tx-ipxip4-segmentation: off [fixed]
tx-ipxip6-segmentation: off [fixed]
tx-udp_tnl-segmentation: off [fixed]
tx-udp_tnl-csum-segmentation: off [fixed]
tx-gso-partial: off [fixed]
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off [fixed]
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
hw-tc-offload: off [fixed]
esp-hw-offload: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
rx-udp_tunnel-port-offload: off [fixed]
tls-hw-tx-offload: off [fixed]
tls-hw-rx-offload: off [fixed]
rx-gro-hw: off [fixed]
tls-hw-record: off [fixed]

I’m attaching the full ‘dmesg’ output with this submission.

I can provide package list/configuration files if it will help.


02.07.20203214Base systemBug ReportVery LowLowmesh doesn't work on DFS channels on ETSI domainTrunkUnconfirmed Task Description

Device: 2x Yuncore XD4200
OpenWrt version: 19.07.3
Radios: QCA9888 using ath10k-ct driver

Steps to reproduce:

  • Configure the 5GHz radio on a DFS channel using some ETSI regulatory domain (example: ES) on both APs:

/etc/config/wireless

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0'
	option legacy_rates '0'
	option txpower '15'
	option channel '100'
	option htmode 'VHT40'
	option country 'ES'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option mesh_rssi_threshold '0'
	option mesh_fwding '1'
	option mode 'mesh'
	option mesh_id 'TESTMESH'
	option network 'MESH'
	option key '12345678'
	option encryption 'sae'
  • Configure an interface with static AP for the APs:

(AP1) /etc/config/network

config interface 'MESH'
	option proto 'static'
	option ipaddr '192.168.150.10'
	option netmask '255.255.255.0'

(AP2) /etc/config/network

config interface 'MESH'
	option proto 'static'
	option ipaddr '192.168.150.11'
	option netmask '255.255.255.0'
  • Reload wifi on both APs and wait for DFS scan to end

Logread output shows the following errors:

Thu Jul  2 11:32:23 2020 daemon.notice wpa_supplicant[6831]: wlan0: MESH-GROUP-STARTED ssid="TESTMESH" id=0
Thu Jul  2 11:33:24 2020 daemon.notice wpa_supplicant[6831]: wlan0: DFS-CAC-COMPLETED freq=5500 success=1 ht_enabled=1 chan_offset=1 chan_width=2 cf1=5510 cf2=0
Thu Jul  2 11:33:24 2020 daemon.notice wpa_supplicant[6831]: wlan0: interface state DFS->ENABLED
Thu Jul  2 11:33:24 2020 daemon.notice wpa_supplicant[6831]: wlan0: AP-ENABLED
Thu Jul  2 11:33:24 2020 daemon.notice wpa_supplicant[6831]: wlan0: joining mesh TESTMESH
Thu Jul  2 11:33:25 2020 daemon.notice wpa_supplicant[6831]: wlan0: CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed [id=0 id_str=]
Thu Jul  2 11:33:25 2020 daemon.notice netifd: Network device 'wlan0' link is up
Thu Jul  2 11:33:25 2020 daemon.notice netifd: Interface 'MESH' has link connectivity
Thu Jul  2 11:33:25 2020 kern.info kernel: [ 8103.892412] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Thu Jul  2 11:33:28 2020 daemon.notice wpa_supplicant[6831]: wlan0: new peer notification for aa:bb:cc:dd:ee:ff
Thu Jul  2 11:33:28 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:28 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: new peer notification for aa:bb:cc:dd:ee:ff
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: new peer notification for aa:bb:cc:dd:ee:ff
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: new peer notification for aa:bb:cc:dd:ee:ff
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:29 2020 daemon.notice wpa_supplicant[6831]: wlan0: new peer notification for aa:bb:cc:dd:ee:ff
Thu Jul  2 11:33:30 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:30 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:30 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame
Thu Jul  2 11:33:30 2020 daemon.notice wpa_supplicant[6831]: wlan0: Mesh MPM: failed to send peering frame

In this scenario, an user is unable to connect to the MESH peer.

Note: if you change the radio regulatory domain to a non-ETSI (example: US), it works correctly

This hostapd patch appears to be the root problem cause:

  • package/network/services/hostapd/patches/015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch

(previous versions of this patch disallowed offchannel tx for all DFS domains, not only for non-ETSI)

02.07.20203213KernelBug ReportVery LowHighLantiq-XRX200: Fritzbox 7360 SL PCie Link up failes! - ...TrunkUnconfirmed Task Description

On my Lantiq-XRX200 device Fritzbox 7360 SL, the WIFI PHy doesnt gets detected anymore. right after 1 second when booting the device. i get a kernel warning that the “PCIe PHY cant get detected and right after that 5 lines of
“PCIe phy_link_up timeout”

This happend in release of 19.07.x and trunk.

 

[ 0.864077] ifx_pcie_wait_phy_link_up timeout
[ 1.081343] ifx_pcie_wait_phy_link_up timeout
[ 1.298569] ifx_pcie_wait_phy_link_up timeout
[ 1.302795] pcie_rc_initialize link up failed!!!!!

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


30.06.20203210Base systemBug ReportVery LowVery Lowdo not hard-code IS_TTY in script scripts/feedsTrunkUnconfirmed Task Description

Tool “scripts/feeds” assumes you are always outputting to a terminal, so it will fill your log files with terminal control codes. That comes up as rubbish, or as very long lines, or both, in many text editors.

I have jumped through all the hoops and provided a patch to fix it:

build: do not hard-code IS_TTY in script scripts/feeds

https://patchwork.ozlabs.org/project/openwrt/patch/mailman.22006.1591783382.2542.openwrt-devel@lists.openwrt.org/

This bug is somehow related to bug FS#2086.

29.06.20203209Base systemBug ReportVery LowMediumpcengines_apuv2 does no support PcEngines APU4TrunkUnconfirmed Task Description

Device: PC Engines APU4
OpenWrt 2020-Jun-28 snapshot

Small regression. The led-apu2 driver which did support the APU4 was removed in favor of the pcengines-apu2 module. However, the pcengines-apu2 in the 5.4 branch does not support the APU4 [1]. The module in the 5.5 branch does support the APU4 [2].

[1] https://github.com/torvalds/linux/blob/v5.4/drivers/platform/x86/pcengines-apuv2.c [2] https://github.com/torvalds/linux/blob/v5.5/drivers/platform/x86/pcengines-apuv2.c

Related Commits by @feckert and committed by @hauke
kernel/leds-apu2: remove deprecated leds-apu2 driver: https://github.com/openwrt/openwrt/commit/2b550a6be198ff78ac672d654d867ff1a0a13760 kernel: add pcengines-apu2 module description: https://github.com/openwrt/openwrt/commit/f3c5c09e5ad6671519c6a3b29f9c6adb7fff66cb

System Info:

root@OpenWrt:~# modprobe pcengines_apuv2
1 module could not be probed
- pcengines-apuv2

root@OpenWrt:~# dmesg | grep pcengines_apuv2
[ 9.610885] pcengines_apuv2: failed to detect apu board via dmi
[ 9.744176] pcengines_apuv2: failed to detect apu board via dmi

Handle 0×0000, DMI type 0, 26 bytes
BIOS Information

Vendor: coreboot
Version: v4.12.0.1
Release Date: 05/29/2020
ROM Size: 8192 kB
Characteristics:
	PCI is supported
	PC Card (PCMCIA) is supported
	BIOS is upgradeable
	Selectable boot is supported
	ACPI is supported
	Targeted content distribution is supported
BIOS Revision: 4.12
Firmware Revision: 0.0

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

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

 

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

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

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

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

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

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

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

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

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
27.06.20203205KernelBug ReportVery LowLowKernel trace: drivers/reset/core.c:556 __reset_control_...TrunkUnconfirmed Task Description

Seems to occur at least on all ar934x on ath79 target, both on kernel 4 and testing kernel 5

Experienced by me while porting ENS202EXT to ath79
My pull request:
https://github.com/openwrt/openwrt/pull/3014

Experienced by @rogerpueyo while porting MikroTik SXT Lite5 (SXT 5nD r2) to ath79
Forum post:
https://forum.openwrt.org/t/porting-the-mikrotik-sxt-lite5-sxt-5nd-r2-from-ar71xx-to-ath79/66592

may effect many more

Full kernel log:
https://gist.github.com/mpratt14/e9195a555f54e098fff6c21ad5c1bb36

[    1.161884] ------------[ cut here ]------------
[    1.166682] WARNING: CPU: 0 PID: 1 at drivers/reset/core.c:556 __reset_control_get_internal+0x15c/0x190
[    1.176216] Modules linked in:
[    1.179327] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.48 #0
[    1.185164] Stack : 80640000 805dfdf8 00000000 00000000 805defc8 83c2795c 83c282fc 80615d03
[    1.193661]         805819c4 00000001 807732d8 00000001 00000000 00000001 83c27910 712127d8
[    1.202152]         00000000 00000000 807a0000 0000005e 61696e74 00000000 2e342e34 38202330
[    1.210643]         0000005e 8cc27632 00000000 0002bc7f 00000000 00000009 00000000 802d7130
[    1.219135]         00000009 00000001 00000000 83c82a10 00000000 802ee410 00000000 80770000
[    1.227627]         ...
[    1.230121] Call Trace:
[    1.232637] [<80069934>] show_stack+0x30/0x100
[    1.237187] [<8007e7f8>] __warn+0xc0/0x10c
[    1.241360] [<8007e8a0>] warn_slowpath_fmt+0x5c/0xac
[    1.246414] [<802d7130>] __reset_control_get_internal+0x15c/0x190
[    1.252605] [<802d72a4>] __of_reset_control_get+0x140/0x1fc
[    1.258273] [<802d762c>] __devm_reset_control_get+0x70/0x108
[    1.264054] [<803538a8>] ag71xx_mdio_probe+0xbc/0x208
[    1.269221] [<80301cdc>] platform_drv_probe+0x40/0x94
[    1.274358] [<802ffe30>] really_probe+0x104/0x358
[    1.279145] [<802fdf20>] bus_for_each_drv+0x70/0xb0
[    1.284108] [<802ffce8>] __device_attach+0xdc/0x118
[    1.289072] [<802fee58>] bus_probe_device+0x9c/0xb8
[    1.294033] [<802fc22c>] device_add+0x3e4/0x608
[    1.298655] [<80368abc>] of_platform_device_create_pdata+0xa8/0x150
[    1.305026] [<80368ca4>] of_platform_bus_create+0x134/0x224
[    1.310692] [<80368f10>] of_platform_populate+0x78/0xec
[    1.316019] [<80355bd8>] ag71xx_probe+0x6e4/0x98c
[    1.320814] [<80301cdc>] platform_drv_probe+0x40/0x94
[    1.325952] [<802ffe30>] really_probe+0x104/0x358
[    1.330741] [<80300578>] device_driver_attach+0x70/0x98
[    1.336056] [<80300600>] __driver_attach+0x60/0x100
[    1.341017] [<802fde60>] bus_for_each_dev+0x68/0xa4
[    1.345979] [<802ff1cc>] bus_add_driver+0x1f0/0x200
[    1.350944] [<80300c6c>] driver_register+0x84/0x148
[    1.355912] [<80651920>] ag71xx_module_init+0x2c/0x50
[    1.361046] [<80060a1c>] do_one_initcall+0x7c/0x1dc
[    1.366010] [<8063de10>] kernel_init_freeable+0x158/0x23c
[    1.371512] [<804f50d8>] kernel_init+0x10/0xf0
[    1.376032] [<80064d98>] ret_from_kernel_thread+0x14/0x1c
[    1.381534] ---[ end trace f4d8db1ba0a810bb ]---
26.06.20203204KernelBug ReportVery LowHighmac80211 crashTrunkUnconfirmed Task Description

Netgear R7800 running hnyman’s build master-r13625-d4dea7efcd-20200624-ath10k

[104369.085841] ------------[ cut here ]------------
[104369.091780] WARNING: CPU: 0 PID: 0 at backports-5.7-rc3-1/net/mac80211/sta_info.c:1929 ieee80211_sta_update_pending_airtime+0x1f8/0x1fc [mac80211]
[104369.096329] STA f0:18:xxxxx AC 2 txq pending airtime underflow: 4294967244, 52
[104369.096332] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic mac80211 ipt_REJECT 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_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 slhc sch_cake nf_reject_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conncount iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse 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 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
[104369.109593]  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 ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic libdes arc4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
[104369.256372] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G         C        5.4.48 #0
[104369.278522] Hardware name: Generic DT based system
[104369.286004] [<c030f954>] (unwind_backtrace) from [<c030b96c>] (show_stack+0x14/0x20)
[104369.290607] [<c030b96c>] (show_stack) from [<c08ba2e0>] (dump_stack+0x94/0xa8)
[104369.298594] [<c08ba2e0>] (dump_stack) from [<c031e7b4>] (__warn+0xb4/0xd0)
[104369.305702] [<c031e7b4>] (__warn) from [<c031e850>] (warn_slowpath_fmt+0x80/0x90)
[104369.312720] [<c031e850>] (warn_slowpath_fmt) from [<bf691af0>] (ieee80211_sta_update_pending_airtime+0x1f8/0x1fc [mac80211])
[104369.320482] [<bf691af0>] (ieee80211_sta_update_pending_airtime [mac80211]) from [<bf68d734>] (ieee80211_tx_monitor+0xe38/0x10c0 [mac80211])
[104369.331785] [<bf68d734>] (ieee80211_tx_monitor [mac80211]) from [<bf68da18>] (ieee80211_tx_status+0x5c/0x6c [mac80211])
[104369.344456] [<bf68da18>] (ieee80211_tx_status [mac80211]) from [<bf7588e4>] (ath10k_txrx_tx_unref+0x130/0x318 [ath10k_core])
[104369.355280] [<bf7588e4>] (ath10k_txrx_tx_unref [ath10k_core]) from [<bf755264>] (ath10k_htt_txrx_compl_task+0x7d0/0x1058 [ath10k_core])
[104369.366428] [<bf755264>] (ath10k_htt_txrx_compl_task [ath10k_core]) from [<bf7a3b3c>] (ath10k_pci_napi_poll+0x58/0x11c [ath10k_pci])
[104369.378748] [<bf7a3b3c>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c0773a2c>] (net_rx_action+0x118/0x374)
[104369.390603] [<c0773a2c>] (net_rx_action) from [<c0302298>] (__do_softirq+0x130/0x2d4)
[104369.400148] [<c0302298>] (__do_softirq) from [<c0322c10>] (irq_exit+0xbc/0xe0)
[104369.408132] [<c0322c10>] (irq_exit) from [<c036d150>] (__handle_domain_irq+0x6c/0xd0)
[104369.415343] [<c036d150>] (__handle_domain_irq) from [<c05c6774>] (gic_handle_irq+0x5c/0xb8)
[104369.423324] [<c05c6774>] (gic_handle_irq) from [<c0301a8c>] (__irq_svc+0x6c/0x90)
[104369.431910] Exception stack(0xc0c01ee0 to 0xc0c01f28)
[104369.439303] 1ee0: 00000000 00005eec 1ce52000 dd991a00 dcc2d400 00000000 dd990df0 00005eec
[104369.444430] 1f00: 00005eec 00000000 524739a0 5244a280 00000015 c0c01f30 c0716b90 c0716b94
[104369.452661] 1f20: 20000013 ffffffff
[104369.460907] [<c0301a8c>] (__irq_svc) from [<c0716b94>] (cpuidle_enter_state+0x94/0x498)
[104369.464643] [<c0716b94>] (cpuidle_enter_state) from [<c0716fdc>] (cpuidle_enter+0x30/0x4c)
[104369.472716] [<c0716fdc>] (cpuidle_enter) from [<c034a7ec>] (do_idle+0x1d8/0x240)
[104369.480787] [<c034a7ec>] (do_idle) from [<c034aafc>] (cpu_startup_entry+0x1c/0x20)
[104369.488425] [<c034aafc>] (cpu_startup_entry) from [<c0b00e58>] (start_kernel+0x4d8/0x4e8)
[104369.495990] ---[ end trace 713bf4bd85eb5631 ]---
26.06.20203203Base systemBug ReportVery LowMediumRaspberry Pie 4b does not run AP mode outside of 5G 36 ...TrunkUnconfirmed Task Description

Raspberry Pie 4b does not run AP mode outside of 5G 36 channel 40MHz.
For example, 5G 36 channel 80MHz or 5G 161 channel 40MHz or some other configuration. Parameters, including 2.4G
The version tested was Development Snapshot builds at Fri. Jun 26 00:13:28 2020

The error logs are as follows.

Fri Jun 26 20:54:58 2020 daemon.notice netifd: radio0 (12435): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3406 path ()
Fri Jun 26 20:54:58 2020 kern.info kernel: [ 2780.006305] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Jun 26 20:55:09 2020 daemon.notice netifd: radio0 (12737): command failed: No error information (-524)
Fri Jun 26 20:55:09 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Fri Jun 26 20:55:09 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Fri Jun 26 20:55:09 2020 daemon.notice netifd: radio0 (12737): command failed: Not supported (-95)
Fri Jun 26 20:55:09 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Fri Jun 26 20:55:09 2020 daemon.notice netifd: radio0 (12737): command failed: I/O error (-5)
Fri Jun 26 20:55:09 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Fri Jun 26 20:55:09 2020 daemon.notice netifd: radio0 (12737): command failed: Too many open files in system (-23)
Fri Jun 26 20:55:09 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
Fri Jun 26 20:55:09 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Fri Jun 26 20:55:09 2020 kern.info kernel: [ 2790.712541] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Jun 26 20:55:09 2020 kern.err kernel: [ 2790.721789] ieee80211 phy0: brcmf_run_escan: error (-52)
Fri Jun 26 20:55:09 2020 kern.err kernel: [ 2790.727105] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Fri Jun 26 20:55:09 2020 kern.err kernel: [ 2790.734391] ieee80211 phy0: brcmf_run_escan: error (-52)
Fri Jun 26 20:55:09 2020 daemon.err hostapd: Failed to request a scan of neighboring BSSes ret=-52 (No error information)
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: interface state HT_SCAN->DISABLED
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Fri Jun 26 20:55:09 2020 daemon.err hostapd: wlan0: Unable to setup interface.
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Fri Jun 26 20:55:09 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Fri Jun 26 20:55:09 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Fri Jun 26 20:55:09 2020 kern.err kernel: [ 2790.739777] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Fri Jun 26 20:55:10 2020 daemon.notice netifd: radio0 (12737): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3406 path ()
Fri Jun 26 20:55:10 2020 daemon.notice netifd: radio0 (12737): Device setup failed: HOSTAPD_START_FAILED
Fri Jun 26 20:55:17 2020 authpriv.info dropbear[12806]: Child connection from 192.168.0.109:62432
Fri Jun 26 20:55:17 2020 authpriv.notice dropbear[12806]: Pubkey auth succeeded for 'root' with key sha1!! 40:5b:9e:0b:85:60:d0:0e:aa:bc:2c:4b:04:e5:26:e0:52:dd:7e:39 from 192.168.0.109:62432
Fri Jun 26 20:55:20 2020 daemon.notice netifd: radio0 (12815): command failed: No error information (-524)
Fri Jun 26 20:55:20 2020 user.notice mac80211: Failed command: iw dev wlan0 del
Fri Jun 26 20:55:20 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna 0xffffffff 0xffffffff
Fri Jun 26 20:55:20 2020 daemon.notice netifd: radio0 (12815): command failed: Not supported (-95)
Fri Jun 26 20:55:20 2020 user.notice mac80211: Failed command: iw phy phy0 set antenna_gain 0
Fri Jun 26 20:55:20 2020 daemon.notice netifd: radio0 (12815): command failed: I/O error (-5)
Fri Jun 26 20:55:20 2020 user.notice mac80211: Failed command: iw phy phy0 set distance 0
Fri Jun 26 20:55:20 2020 daemon.notice netifd: radio0 (12815): command failed: Too many open files in system (-23)
Fri Jun 26 20:55:20 2020 user.notice mac80211: Failed command: iw phy phy0 interface add wlan0 type __ap
Fri Jun 26 20:55:20 2020 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Fri Jun 26 20:55:20 2020 kern.info kernel: [ 2801.549158] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->HT_SCAN
Fri Jun 26 20:55:20 2020 kern.err kernel: [ 2801.558554] ieee80211 phy0: brcmf_run_escan: error (-52)
Fri Jun 26 20:55:20 2020 kern.err kernel: [ 2801.563874] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Fri Jun 26 20:55:20 2020 kern.err kernel: [ 2801.570976] ieee80211 phy0: brcmf_run_escan: error (-52)
Fri Jun 26 20:55:20 2020 kern.err kernel: [ 2801.576291] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-52)
Fri Jun 26 20:55:20 2020 daemon.err hostapd: Failed to request a scan of neighboring BSSes ret=-52 (No error information)
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: interface state HT_SCAN->DISABLED
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Fri Jun 26 20:55:20 2020 daemon.err hostapd: wlan0: Unable to setup interface.
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: AP-DISABLED
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Fri Jun 26 20:55:20 2020 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Fri Jun 26 20:55:20 2020 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Fri Jun 26 20:55:20 2020 daemon.notice netifd: radio0 (12815): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 3406 path ()
Fri Jun 26 20:55:20 2020 daemon.notice netifd: radio0 (12815): Device setup failed: HOSTAPD_START_FAILED
25.06.20203202PackagesBug ReportVery LowLowlibnl_tiny: struct np_sock may be affected by Y2038 Pro...TrunkUnconfirmed Task Description

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

 

libnl_tiny stores time() value to sk→s_seq_expect and sk→s_seq_next (struct np_sock sk) in socket.c.
Struct members s_seq_expect and s_seq_next are both unsigned integer values, which I believe is to
overcome Y2038 Problem. Looking at git blame, this particular design choice has been made over 10 years ago.

Since many libraries and OS including gLibc and linux have already redefined time_t to signed 64 bit,
I think it is safe to redefine the members to uint64_t.

23.06.20203200KernelBug ReportVery LowLowSoftware flowoffload doesn't work with marked packetsopenwrt-19.07Unconfirmed Task Description

Software offload doesn’t work when custom routing table used:
How to examine:

# create ipset
ipset create IPNET hash:net
ipset add IPNET 139.59.209.225/32
# check ipset
ipset list IPNET
...
Number of entries: 1
Members:
139.59.209.225

# mark packets with dst to IPNET
iptables -t mangle -A PREROUTING -i br-lan -m set –match-set IPNET dst -j MARK –set-mark 0×1111 iptables -t mangle -A OUTPUT -m set –match-set IPNET dst -j MARK –set-mark 0×1111

# add custom routing table for marked packets
ip ru add fwmark 0×1111 lookup 8888 prio 10000

# add route for custom table 8888
ip route add default via 192.168.30.1 table 8888

# enable flow offload in /etc/config/firewall
config defaults

....
option flow_offloading '1'

/etc/init.d/firewall reload

check iptables:
Chain FORWARD (policy DROP 0 packets, 0 bytes)

  pkts      bytes target     prot opt in     out     source               destination         
    24     1947 forwarding_rule  all  --  any    any     anywhere             anywhere             /* !fw3: Custom forwarding rule chain */
    22     1819 FLOWOFFLOAD  all  --  any    any     anywhere             anywhere             /* !fw3: Traffic offloading */ ctstate RELATED,ESTABLISHED FLOWOFFLOAD
    22     1819 ACCEPT     all  --  any    any     anywhere             anywhere             ctstate RELATED,ESTABLISHED /* !fw3 */
     2      128 zone_lan_forward  all  --  br-lan any     anywhere             anywhere             /* !fw3 */
     0        0 zone_wan_forward  all  --  pppoe-wan any     anywhere             anywhere             /* !fw3 */
     0        0 zone_wan_forward  all  --  l2tpv3-hetzner any     anywhere             anywhere             /* !fw3 */
     0        0 zone_wan_forward  all  --  wg0    any     anywhere             anywhere             /* !fw3 */
     0        0 reject     all  --  any    any     anywhere             anywhere             /* !fw3 */


But packets with RELATED,ESTABLISHED don’t use custom routing (it seems what flowoffload don’t remember custom routing and try to send packets on table main). When I add manually custom route to main table - flow offload work again

22.06.20203199Base systemBug ReportVery LowLowOutbound SSH failure with dropbear from lantiq (BT HH5a...TrunkUnconfirmed Task Description

About 4 times out of 5 I cannot establish an outbound SSH connection with dropbear.

# ssh zeniv.linux.org.uk

ssh: Connection to root@zeniv.linux.org.uk:22 exited: Bad buf_getbyte

Precisely the same binary running on my wndr3800 works OK.

22.06.20203198Base systemBug ReportVery LowLowLuci Ddns setup error with DuckdnsTrunkUnconfirmed Task Description

I can’t get Duckdns working with the Luci Ddns GUI. Error:

011531 WARN : Service section ‘DuckDNS’ not defined - TERMINATE
011531 WARN : PID ‘22615’ exit WITH ERROR ‘1’ at 2020-06-22 01:15

22.06.20203197Base systemBug ReportVery LowLowDdns service text description errorTrunkUnconfirmed Task Description

In Luci it says:

Domain
Replaces [USERNAME] in Update-URL (URL-encoded)

And:

Username
Replaces [USERNAME] in Update-URL (URL-encoded)

21.06.20203196Base systemBug ReportVery LowLowOpenWRT on Freescale's P2020RDBopenwrt-19.07Unconfirmed Task Description

I’m trying to run OpenWRT on a P2020RDB board, I managed to fetch the release mpc85xx initramfs.bin from here (I failed to get the snapshot one for Freescale over here as I received a 403 error), and then I pulled it into uboot using tftpboot, and placed it at address “0×1000000“, and ran “bootm 0×1000000” the kernel starts and then I get a call trace and some stuff get dumped:

XTM-330_P2020(FAILSAFE) => bootm 0x1000000                                                                                                                      [165/195]
WARNING: adjusting available memory to 30000000                                                                                                                          
## Booting kernel from FIT Image at 01000000 ...                                                                                                                         
   Using 'config@1' configuration                                                                                                                                        
   Trying 'kernel@1' kernel subimage                                                                                                                                     
     Description:  POWERPC OpenWrt Linux-4.14.180                                                                                                                        
     Type:         Kernel Image                                                                                                                                          
     Compression:  gzip compressed                                                                                                                                       
     Data Start:   0x010000ec                                                                                                                                            
     Data Size:    5128735 Bytes = 4.9 MiB                                                                                                                               
     Architecture: PowerPC                                                                                                                                               
     OS:           Linux                                                                                                                                                 
     Load Address: 0x00000000
     Entry Point:  0x00000000
     Hash algo:    crc32
     Hash value:   7754597c
     Hash algo:    sha1
     Hash value:   bd433c824dc74e015b759f3ab53ffe996b130f2e
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 01000000
   Using 'config@1' configuration
   Trying 'fdt@1' FDT blob subimage
     Description:  POWERPC OpenWrt p2020rdb device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x014e4448
     Data Size:    12550 Bytes = 12.3 KiB
     Architecture: PowerPC
     Hash algo:    crc32
     Hash value:   0d1ae91a
     Hash algo:    sha1
     Hash value:   fdbac0f412982769bdef3ba414fc6716b8a855d4
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x14e4448 
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 00ff9000, end 00fff105 ... OK
[    0.000000] Memory CAM mapping: 256/256/256 Mb, residual: 256Mb
[    0.000000] Linux version 4.14.180 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11063-85e04e9f46)) #0 SMP Sat May 16 18:32:20 2020
[    0.000000] Using P2020 RDB machine description
[    0.000000] bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 1 thread per core
[    0.000000] -----------------------------------------------------
[    0.000000] phys_mem_size     = 0x30000000
[    0.000000] dcache_bsize      = 0x20
[    0.000000] icache_bsize      = 0x20
[    0.000000] cpu_features      = 0x0000000012100460
[    0.000000]   possible        = 0x0000000012120460
[    0.000000]   always          = 0x0000000000100000
[    0.000000] cpu_user_features = 0x84e08000 0x08000000
[    0.000000] mmu_features      = 0x00020010
[    0.000000] -----------------------------------------------------
mpc85xx_rdb_setup_arch()
[    0.000000] mpc85xx_qe_init: Could not find Quicc Engine node
[    0.000000] MPC85xx RDB board from Freescale Semiconductor
[    0.000000] barrier-nospec: using isync; sync as speculation barrier
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000] MMU: Allocated 1088 bytes of context maps for 255 contexts
[    0.000000] percpu: Embedded 12 pages/cpu s18380 r8192 d22580 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 195072
[    0.000000] Kernel command line: root=/dev/sda1 rw rootdelay=30 console=ttyS0,115200 ramdisk_size=600000
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 705444K/786432K available (4400K kernel code, 176K rwdata, 548K rodata, 2620K init, 216K bss, 80988K reserved, 0K cma-reserved)
[    0.000000] Kernel virtual memory layout:
[    0.000000]   * 0xfffdf000..0xfffff000  : fixmap
[    0.000000]   * 0xfdffe000..0xfe000000  : early ioremap
[    0.000000]   * 0xf1000000..0xfdffe000  : vmalloc & ioremap
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 512, nr_irqs: 512, preallocated irqs: 16
[    0.000000] mpic: Setting up MPIC " OpenPIC  " version 1.2 at ffe40000, max 2 CPUs
[    0.000000] mpic: ISU size: 256, shift: 8, mask: ff
[    0.000000] mpic: Initializing for 256 sources
[    0.000000] mpc85xx_rdb_pic_init: Could not find qe-ic node
[    0.000010] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0xf6018975a, max_idle_ns: 440795204712 ns
[    0.010162] clocksource: timebase mult[f000003] shift[24] registered
[    0.016543] pid_max: default: 32768 minimum: 301
[    0.021182] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.027710] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.035198] mpic: requesting IPIs...
[    0.039003] Hierarchical SRCU implementation.
[    0.043596] smp: Bringing up secondary CPUs ...
[    0.048509] smp: Brought up 1 node, 2 CPUs
[    0.052518] Using shared cache scheduler topology
[    0.058928] random: get_random_u32 called from 0xc0201c80 with crng_init=0
[    0.065843] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.075502] futex hash table entries: 512 (order: 2, 16384 bytes)
[    0.081889] NET: Registered protocol family 16
[    0.094212] Found FSL PCI host bridge at 0x00000000ffe0a000. Firmware bus number: 0->0
[    0.102052] PCI host bridge /pcie@ffe0a000 (primary) ranges:
[    0.107677]  MEM 0x0000000080000000..0x000000009fffffff -> 0x0000000080000000 
[    0.114869]   IO 0x00000000ffc00000..0x00000000ffc0ffff -> 0x0000000000000000
[    0.121993] /pcie@ffe0a000: PCICSRBAR @ 0xfff00000
[    0.126746] setup_pci_atmu: end of DRAM 30000000
[    0.131344] /pcie@ffe0a000: Setting PCI inbound window greater than memory size
[    0.146042] PCI: Probing PCI hardware
[    0.149766] fsl-pci ffe0a000.pcie: PCI host bridge to bus a000:00
[    0.155778] pci_bus a000:00: root bus resource [io  0x0000-0xffff]
[    0.161927] pci_bus a000:00: root bus resource [mem 0x80000000-0x9fffffff]
[    0.168774] pci_bus a000:00: root bus resource [bus 00-ff]
[    0.174535] pci a000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.182529] pci a000:00:00.0: PCI bridge to [bus 01-ff]
[    0.187722] PCI: Cannot allocate resource region 0 of device a000:00:00.0, will remap
[    0.195494] pci a000:00:00.0: BAR 0: no space for [mem size 0x00100000]
[    0.202057] pci a000:00:00.0: BAR 0: failed to assign [mem size 0x00100000]
[    0.208993] pci a000:00:00.0: PCI bridge to [bus 01]
[    0.213933] pci a000:00:00.0:   bridge window [io  0x0000-0xffff]
[    0.220002] pci a000:00:00.0:   bridge window [mem 0x80000000-0x9fffffff]
[    0.226764] pci_bus a000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    0.235925] /soc@ffe00000/timer@41100: cannot get timer frequency.
[    0.242059] /soc@ffe00000/timer@42100: cannot get timer frequency.
[    0.254462] clocksource: Switched to clocksource timebase
[    0.260493] NET: Registered protocol family 2
[    0.265162] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.272178] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.278670] TCP: Hash tables configured (established 8192 bind 8192)
[    0.285022] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.290884] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.297300] NET: Registered protocol family 1
[    2.607509] Crashlog allocated RAM at address 0x3f00000
[    2.612901] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.622935] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.628700] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.639761] io scheduler noop registered
[    2.643605] io scheduler deadline registered (default)
[    2.649567] pcieport a000:00:00.0: enabling device (0106 -> 0107)
[    2.655875] pcieport a000:00:00.0: AER enabled with IRQ 24
[    2.661445] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
rserial8250.0: ttyS0 at MMIO 0xffe04500 (irq = 42, base_baud = 33333333) is a 16550A
[    2.681148] console [ttyS0] enabled
[    2.681148] console [ttyS0] enabled
[    2.688069] bootconsole [udbg0] disabled
[    2.688069] bootconsole [udbg0] disabled
[    2.696040] serial8250.0: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 33333333) is a 16550A
[    2.705190] console [ttyS0] disabled
[    2.708811] console [ttyS0] enabled
[    2.712565] ffe04600.serial: ttyS1 at MMIO 0xffe04600 (irq = 42, base_baud = 33333333) is a 16550
[    2.722481] Disabling lock debugging due to kernel taint
[    2.722487] fsl-lbc ffe05000.localbus: Chip select error: LTESR 0x00080000
[    2.734643] Machine check in kernel mode.
[    2.738637] Caused by (from MCSR=10008): 
[    2.738640] Bus - Read Data Bus Error
[    2.746282] Oops: Machine check, sig: 7 [#1]
[    2.750535] BE SMP NR_CPUS=2 P2020 RDB
[    2.754272] Modules linked in:
[    2.757319] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G   M            4.14.180 #0
[    2.764610] task: ef448000 task.stack: ef450000
[    2.769125] NIP:  c02995d0 LR: c028f240 CTR: c02995b0
[    2.774161] REGS: effe3f10 TRAP: 0204   Tainted: G   M             (4.14.180)
[    2.781276] MSR:  00029000 <CE,EE,ME>  CR: 24000282  XER: 00000000
[    2.787449] DEAR: f1200000 ESR: 00800000 
[    2.787449] GPR00: c028f524 ef451c20 ef448000 ef451c34 ef49c91c 00000020 ef451cc8 ef451cc8 
[    2.787449] GPR08: 00000002 00000002 f1200000 00000002 24000282 00000000 c049ae20 c049a00c 
[    2.787449] GPR16: c049ad84 c049adc0 c049add8 ef48f158 00000000 c049ad50 ef49c910 01000000 
[    2.787449] GPR24: c049a000 00000000 00000000 00000000 00000000 00000022 00000002 ef49c91c 
[    2.824804] Call Trace:
[    2.827240] [ef451c20] [ef451cd0] 0xef451cd0 (unreliable)
[    2.832625] [ef451c60] [c028f524] 0xc028f524
[    2.836882] [ef451c80] [c028e3dc] 0xc028e3dc
[    2.841138] [ef451cc0] [c02991a8] 0xc02991a8
[    2.845394] [ef451d40] [c028e2b8] 0xc028e2b8
[    2.849651] [ef451d60] [c029993c] 0xc029993c
[    2.853907] [ef451de0] [c0273138] 0xc0273138
[    2.858164] [ef451df0] [c02715b8] 0xc02715b8
[    2.862420] [ef451e20] [c02717f4] 0xc02717f4
[    2.866676] [ef451e40] [c026f634] 0xc026f634
[    2.870933] [ef451e70] [c0270a88] 0xc0270a88
[    2.875189] [ef451e90] [c0272158] 0xc0272158
[    2.879446] [ef451ea0] [c0003140] 0xc0003140
[    2.883702] [ef451f00] [c04d8b40] 0xc04d8b40
[    2.887959] [ef451f30] [c00032d0] 0xc00032d0
[    2.892215] [ef451f40] [c00103b0] 0xc00103b0
[    2.896470] Instruction dump:
[    2.899427] 48000008 0fe00000 7c0004ac 4e800020 81240018 8144000c 2f890001 40be000c 
[    2.907163] 7d2a28ae 48000028 2f890002 40be000c <7d2a2a2e> 48000018 2f890004 409e000c 
[    2.915079] ---[ end trace c9ea2fa8a0ac4ace ]---
[    2.920341] 
[    3.911837] Kernel panic - not syncing: Fatal exception
[    3.917450] Rebooting in 1 seconds..

Is there something wrong I’m doing? Or is this a bug upstream?

20.06.20203195Base systemBug ReportVery LowHighramips/mt7621/zbt3526 -> boot failure with kernel 5.4TrunkUnconfirmed Task Description

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

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

 


20.06.20203194KernelBug ReportVery LowLowKernel option needed for Atheros AR9565 mini-pcie compa...openwrt-19.07Unconfirmed Task Description

I have an x86_64 system with an Atheros AR9565 mini-pcie which is not recognized by Openwrt unless I recompile with the following options:
CONFIG_PACKAGE_kmod-ath9k=y
CONFIG_ATH9K_SUPPORT_PCOEM=y

I’m using Openwrt 19.07.3. In the prebuilt images I believe kmod-ath9k is being compiled with CONFIG_ATH9K_SUPPORT_PCOEM defaulting to =n. Is it possible to get this changed to CONFIG_ATH9K_SUPPORT_PCOEM=y in future prebuilt releases?

Thanks!

20.06.20203193PackagesBuild FailureVery LowLowofficial bird2 build on ipq806x doesn't start and has b...openwrt-19.07Unconfirmed Task Description

Hi all,

I am running bird2 on Netgear R7800 for OSPF routing but it doesn’t start. Following are error messages I got:

# bird -c /etc/bird.conf -d
Bus error

# logread
Sat Jun 20 12:24:09 2020 daemon.info bird: Started
Sat Jun 20 12:24:09 2020 kern.err kernel: [572809.062848] Alignment trap: not handling instruction f44c0a1f at [<0006bb88>]
Sat Jun 20 12:24:09 2020 kern.alert kernel: [572809.062907] Unhandled fault: alignment exception (0x801) at 0x017c9634
Sat Jun 20 12:24:09 2020 kern.alert kernel: [572809.069111] pgd = d7668000
Sat Jun 20 12:24:09 2020 kern.alert kernel: [572809.075597] [017c9634] *pgd=5c0c6835, *pte=5ad3475f, *ppte=5ad34c7f


# dmesg
[571421.877597] Alignment trap: not handling instruction f44c0a1f at [<0006bb88>]
[571421.877645] Unhandled fault: alignment exception (0x801) at 0x0111b624
[571421.883832] pgd = dc258000
[571421.890385] [0111b624] *pgd=5e63a835, *pte=5c72975f, *ppte=5c729c7f

Environment
- OpenWrt 19.07.3, r11063-85e04e9f46
- bird2 - 2.0.7-2
- target ipq806x
- model Netgear R7800

# /etc/bird.conf
log syslog all;
router id 192.168.1.1;                                                                                                                                        
protocol device {                                                                                                                                       
}                                                                                                                                                       
protocol bfd {                                                                                                                                          
}                                                                                                                                                       
protocol direct {                                                                                                                                      
        interface "br-lan";                                                                                                                             
        ipv4;                   # Connect to default IPv4 table                                                                                         
        ipv6;                   # ... and to default IPv6 table                                                                                         
}                                                                                                                                                       
                                                                                                                                                        
# The Kernel protocol is not a real routing protocol. Instead of communicating                                                                          
# with other routers in the network, it performs synchronization of BIRD                                                                                
# routing tables with the OS kernel. One instance per table.                                                                                            
protocol kernel {                                                                                                                                       
        scan time 10;                                                                                                                                   
        merge paths;                                                                                                                                    
        ipv4 {                  # Connect protocol to IPv4 table by channel                                                                             
#             table master4;    # Default IPv4 table is master4                                                                                         
#             import all;       # Import to table, default is import all                                                                                
              export all;       # Export to protocol. default is export none                                                                            
        };                                                                                                                                              
#       learn;                  # Learn alien routes from the kernel                                                                                    
#       kernel table 10;        # Kernel table to synchronize with (default: main)                                                                      
}                                                                                                                                                       
                                                                                                                                                        
# Another instance for IPv6, skipping default options                                                                                                   
protocol kernel {                                                                                                                                       
        scan time 10;                                                                                                                                   
        merge paths;                                                                                                                                    
        ipv6 { export all; };                                                                                                                           
}                                                                                                                                                       
                                                                                                                                                        
# OSPF example, both OSPFv2 and OSPFv3 are supported                                                                                                    
protocol ospf v2 ospf4 {                                                                                                                                
        ipv4 {                                                                                                                                          
        };                                                                                                                                              
        area 0 {                                                                                                                                        
                interface "br-lan" {bfd;};                                                                                                              
        };                                                                                                                                              
}

This issue can be reproduced with the latest OpenWrt release 19.07.3, but it has been there for a long time.
A custom build of bird2 package with OpenWRT SDK doesn’t have this issue.

I am not sure this is the right place to report this issue. Could anyone help with this?

18.06.20203191PackagesBug ReportVery LowHighL2TP 19.07.3 interface is not showingopenwrt-19.07Waiting on reporter Task Description

- Device problem occurs on

Tested on both

TP-Link TL-WDR3600 v1 ath79
MikroTik RB750r2 ar71xx

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

Tried to install the following packages;

kmod-l2tp
kmod-l2tp-eth
kmod-l2tp-ip
kmod-pppol2tp
xl2tpd
luci-proto-ppp

- Steps to reproduce

when trying to add a new interface is not there nor dos it not show.

Im not trying to setup a VPN as my ISP UK AAISP is offering this service https://www.aa.net.uk/broadband/l2tp-service

18.06.20203190KernelBug ReportVery LowHighKernel Oops and reboot on ipq806x (EA8500): msm_read_ti...TrunkUnconfirmed Task Description

This happened on OpenWrt SNAPSHOT r13520-68b94f0fb4, but it’s pretty random. I haven’t been able to figure out what causes it. It usually happens at least once within a week. I’m not sure why there’s no call stack here, I also tried `cat /sys/kernel/debug/crashlog` a few hours after it happened and got a “No such file or directory”.

# uname -a
Linux EA8500S 5.4.43 #0 SMP Mon Jun 8 19:16:17 2020 armv7l GNU/Linux


[333045.256692] 8<--- cut here ---
[333045.256733] Unable to handle kernel NULL pointer dereference at virtual address 0000000a
[333045.258656] pgd = 8948efb0
[333045.267139] [0000000a] *pgd=00000000
[333045.269709] Internal error: Oops: 5 [#1] SMP ARM
[333045.273404] Modules linked in: nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet ath10k_pci ath10k_core ath nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_ct nft_counter nf_tables_set nf_tables nf_conntrack_netlink 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_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_NETMAP xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY ts_fsm ts_bm nfnetlink nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp nf_conntrack_rtcache
[333045.273734]  nf_conntrack_pptp nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables compat asn1_decoder 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 cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport ledtrig_heartbeat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb ipcomp6 xfrm6_tunnel esp6 ah6 xfrm4_tunnel ipcomp esp4 ah4 tunnel6 tunnel4 tun xfrm_user xfrm_ipcomp af_key xfrm_algo vfat fat ntfs nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic md5 echainiv des_generic libdes cbc authenc usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod
[333045.343201]  ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat(C) crc32c_generic
[333045.452936] CPU: 0 PID: 10391 Comm: kworker/0:2 Tainted: G         C        5.4.43 #0
[333045.460735] Hardware name: Generic DT based system
[333045.468481] Workqueue: events dbs_work_handler
[333045.473245] PC is at msm_read_timer_count+0xc/0x18
[333045.477746] LR is at msm_read_current_timer+0x1c/0x28
[333045.482608] pc : [<c0733ea8>]    lr : [<c0733ee4>]    psr: a0000013
[333045.487814] sp : da0f1dc0  ip : 00000000  fp : dce52880
[333045.494327] r10: ddb8d010  r9 : dd648b40  r8 : 16e36000
[333045.499619] r7 : dd511240  r6 : 00000006  r5 : 00000001  r4 : c0c68ea0
[333045.504919] r3 : 00000006  r2 : 1fffa6f0  r1 : 20000013  r0 : c0c28428
[333045.511261] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
15.06.20203187Base systemBug ReportVery LowLowLinkSys 1900ACS - WLAN 5GHz - 802.11AC with 802.11N at...openwrt-19.07Unconfirmed Task Description

I was upgraded to my LinkSys WRT-1900ACS from LEDE 17.01.6 to OpenWRT 19.07.3.

With LEDE 17.01.6 I can set up 5GHz WLAN to use N and AC at the same time with two different SSID and with this setup some old devices can connect to this 5GHz WLAN with 802.11n correctly while my notebook can connect to 802.11AC on 5GHz network too (I used two different SSID setup both setting used 5GHz network).

After I upgraded to OpenWrt I found there is no option to set up both 802.11N and 802.11AC with 5GHz at the same time and my old WiFi devices need to use 2.4GHz network only.

With the OpenWrt 19.07.3 the ‘require_mode’ option can set globally so need to decide to use AC or N only for all 5GHz SSID.

Is there any way to set 5GHz with both N and AC at the same time or there is no option by technical reason?

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

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

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

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

I’m on WRT1900ACS with latest snpashot r13546-4f38063640.
I have an issue with latest dnsmasq, the resolv file is in /tmp/resolv.conf.d/resolv.conf.auto. On old was on /tmp/resolv.conf.auto.

With openvpn I have script to prevent dns leak I have tried to change on right location but doesn’t work.
If I set up the dnsmasq to old location /tmp/resolv.conf.auto all the up and down script working, but, when I flash new firmware and I try to reload backup the setting of resolv file is not restored and must be set again.

I hope that I was clear, let me know if you need more info and sorry if I was not accurate on bug report.


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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing