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.

Opened  descIDCategoryTask TypePrioritySeveritySummaryReported InStatus
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.


13.06.20203178Base systemBug ReportVery LowLowOpenWrt Radio 5.8Ghz PS4 slim openwrt-19.07Unconfirmed Task Description

I have a connection problem between PS4 slim in the 5.8 Ghz band
I am using a TpLink C59 OpenWrt router 19.07.3 r11063-85e04e9f46
All the devices work well in the 5.8GHz band but the PS4 does not link in the 5.8Hz band instead the PS4 works well in the 2.8Ghz band. I have this problem since I migrated to 19.07 with the previous version 18.06 the PS4 worked fine in band 5.8 Ghz
With all three versions of 19.07 the problem is the same.
I am using the Ar71xx driver but the problem repeats with Ath79
The PS4 works OK with other Access Points in band 5.8 Ghz
The failure also occurs without encryption and with a fixed IP.
From another device the ping fails when I ping against the PS4 in band 5.8 Ghz
Using the 2.4 GHz radio all OK
Someone had a similar problem.
Very good OpenWrt
Greetings and thanks


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

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

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

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

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

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

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

I make sure that they are on the same channel.

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

11.06.20203175KernelBug ReportVery LowLowCannot add VLAN with DSA on RT-AC85PTrunkUnconfirmed Task Description

On my 19.07 Lantiq and ar71xx machines, where eth0.1 is the set of LAN ports, I can type “eth0.1.1” into the interface list for br-lan in luci and it actually sends 802.1Q packets with VLAN ID 1 on that network.

I have set up an Asus RT-AC85P with OpenWrt trunk, and can’t get it to send VLAN packets. When I add ‘wan.1’ or ‘lan.1’ to br-lan and restart the network, it appears to have no effect at all.

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

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


deploying from GPT partition

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

This patch sorts the issue

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


11.06.20203173Base systemBug ReportVery LowMediumHardware configuration-related config files into backup...AllUnconfirmed Task Description

This valid for any Marvell-based device at least, maybe for other too, for any actual releases.

Then you create backup/update firmware with “keep settings” option, some hardware configuration files stored into backup or keep in system.
It provides quite crazy issues if firmware hardware settings are different, sometimes can even brick device.

For latest release, it’s /etc/config/ubootenv and /ect/fw_env.config.

Possible resolution: do not backup this or other hardware configuration-related files, as well as do not keep them at any firmware update.

 


11.06.20203172KernelBug ReportVery LowMediumACL FSTrunkUnconfirmed Task Description
zcat /proc/config.gz | grep ACL
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_REISERFS_FS_POSIX_ACL is not set
# CONFIG_JFS_POSIX_ACL is not set
# CONFIG_XFS_POSIX_ACL is not set
# CONFIG_BTRFS_FS_POSIX_ACL is not set
# CONFIG_F2FS_FS_POSIX_ACL is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_JFFS2_FS_POSIX_ACL is not set
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFSD_V3_ACL is not set

There are several daemons that run not as root and/or jailed and could write to the disk, however with ACL being disabled for the majority of the FS ACL is basically none existent.

The code pertinent to ACL is likely not bloating the kernel out proportions. Appreciate if FS ACL could be enabled, least for the FS that ship by default compiled in the kernel

10.06.20203170Base systemBug ReportVery LowLowtty features or permissions incompatible with tmuxTrunkUnconfirmed Task Description

replicated :

on x86_64 VM: LEDE, 18.06.x, 19.07.x, snapshot
mips Malta VM (be): snapshot

on serial (-nographic) and graphic terminal

tmux does not show input/output but works

replicate:
- install tmux
- run tmux
- input/output is send to tmux , visible via a ssh connected tmux instance (which works fine)

“hotfix”:
start screen then start tmux and tmux functions as expected

ticket: https://github.com/openwrt/packages/issues/5721

 


10.06.20203168Base systemBug ReportVery LowMediumMount Points page in LuCI does not correctly use option...TrunkUnconfirmed Task Description

-WRT32X

-OpenWrt 19.07.x and Master, ntfs-3g, kmod-fs-ntfs

-Issue: using a USB 3.0 external drive, formatted for NTFS, it mounts as "ntfs" "ro" every time regardless of LuCI configuration in System > Mount Points. With this bug the drive cannot be written to as it needs the "rw" option for NTFS.

As per the manpages I set the file system from auto to "ntfs-3g" and "rw" (read write) under options, then when remounting it immediately goes back to "auto" and "ro" (read only). If you SSH into the router and run mount, it confirms that it incorrectly mounts as ro:
mount /dev/sda1 on /mnt/sda1 type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=iso8859-1,errors=continue,mft_zone_multiplier=1)

Work-around: SSH in and umount it with "umount -l /dev/sda1", then remount it with "ntfs-3g /dev/sda1 /mnt/sda1 -o rw".

Once mounted this way the drive reads at 60-80MB/s and writes at 30-40MB/s. Almost half the speed of the stock Linksys firmware which uses kernel 4.4.14, but it does work. The stock firmware also handles all this with one click, so there must be a simple config that works. The bug may be in LuCI but I suspect it's deeper than that. After rebooting, all of these settings are lost despite of the LuCI page saving, and it must again be umounted/remounted.

08.06.20203166KernelBug ReportVery LowMedium[kmod-fs-btrfs] as module fails kernel to loadTrunkUnconfirmed Task Description
{”kernel”:”4.14.180”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”19.07.3”,”revision”:”r11063-85e04e9f46”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt 19.07.3 r11063-85e04e9f46”}}
—-
aiming to migrate the partion’s FS to BTRFS fails to kernel to load when BTRFS is provided as module instead of being compiled into the kernel

With the nested/scripted kconf tree I am not where to propose a board specific patch, perhaps

https://github.com/openwrt/openwrt/blob/master/target/linux/mvebu/Makefile#L11

-FEATURES:=fpu usb pci pcie gpio nand squashfs ramdisk boot-part rootfs-part
+FEATURES:=fpu usb pci pcie gpio nand squashfs ramdisk boot-part rootfs-part btrfs

and

https://github.com/openwrt/openwrt/blob/master/target/linux/mvebu/image/cortexa9.mk#L25

-# CONFIG_KERNEL_BTRFS_FS_POSIX_ACL is not set
+CONFIG_KERNEL_BTRFS_FS_POSIX_ACL=y
-CONFIG_PACKAGE_kmod-fs-btrfs=m
+# CONFIG_PACKAGE_kmod-fs-btrfs is not set
-# CONFIG_KERNEL_BTRFS_FS is not set
+CONFIG_KERNEL_BTRFS_FS=y


08.06.20203165Base systemBug ReportVery LowMedium[opkg | ppp ] installation collision TrunkUnconfirmed Task Description
{”kernel”:”4.14.180”,”hostname”:”OpenWrt”,”system”:”ARMv7 Processor rev 1 (v7l)”,”model”:”Turris Omnia”,”board_name”:”cznic,turris-omnia”,”release”:{”distribution”:”OpenWrt”,”version”:”19.07.3”,”revision”:”r11063-85e04e9f46”,”target”:”mvebu/cortexa9”,”description”:”OpenWrt 19.07.3 r11063-85e04e9f46”}}
—-
Collected errors:
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/chap-secrets
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/filter
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/options
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /etc/ppp/resolv.conf
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/ppp-down
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/ppp-up
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/ppp6-up
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /lib/netifd/proto/ppp.sh
	But that file is already provided by package  * ppp
 * check_data_file_clashes: Package ppp-multilink wants to install file /usr/sbin/pppd
	But that file is already provided by package  * ppp
 * opkg_install_cmd: Cannot install package ppp-multilink.

The opkg install command failed with code 255.


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


07.06.20203159Base systemBug ReportVery LowMedium 802.11r default settings are inappropriate, need to ch...TrunkUnconfirmed Task Description

Enabling 802.11r in LuCI auto populates with two default settings that break 802.11r functionality for most devices (though tested extensively on latest Apple iOS devices).

Bug: The current defaults for FT Protocol (FT Over DS) and Reassociation Deadline (1000) break iOS and other devices support for 802.11r.

Solution: Change the current default for FT Protocol to FT over the air and for Reassociation Deadline to 20000.

Support for these new defaults: According to papers from Cisco (https://www.cisco.com/c/dam/en/us/td/docs/wireless/controller/technotes/8-6/Enterprise_Best_Practices_for_iOS_devices_and_Mac_computers_on_Cisco_Wireless_LAN.pdf) FT over the air is the method supported by Apple devices and recommended. Furthermore, Cisco’s Reassocation Deadline is a default value of 20 seconds (https://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/80211r-ft/b-80211r-dg.html), which would translate to roughly 20000 when used as an OpenWRT setting.

My testing confirms the OpenWRT default values do not work with iOS (FT Over DS is not recognized, and if FT over the air is used with the original Reassocation Deadline of 1000 (roughly 1 second) transition is badly broken as devices will get kicked from their initial AP before associating with the next AP, which removes them from WiFi completely).

For one final piece of support, the 802.11r implementation used with Ubiquity systems is also FT Over the Air: https://community.ui.com/questions/802-11r-question/743b903c-3ad1-4ab6-897f-ebc24269130d I am unsure of their Reassocation Deadline default but I have found the setting of 20000 (which matches Cisco) to work very well in my testing.

07.06.20203156KernelBug ReportVery LowLowsit non-ECTopenwrt-19.07Unconfirmed Task Description

Device: TP-Link Archer C6v2
OpenWrt: 19.07.3

When stateless mode enabled with 6in4 tunnel, kernel always spamming this errors. Anyway IPv6 working fine.

[  552.992200] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  553.672272] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  555.673655] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  559.668806] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  561.802355] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  561.803238] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  563.850841] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  565.898359] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  565.898456] sit: non-ECT from 193.0.203.203 with TOS=0xc1
[  565.899107] sit: non-ECT from 193.0.203.203 with TOS=0xc1


06.06.20203154KernelBug ReportVery LowHighXFRM state insert failure with AES-GCMopenwrt-19.07Unconfirmed Task Description

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

 

X86_64 arch, kernel fails to insert XFRM states with AES-GCM as transform.
Testable with
ip x s add proto esp dst 14.0.0.70 src 14.0.0.52 spi 0×07 mode transport reqid 0×07 replay-window 32 aead ‘rfc4106(gcm(aes))’ 0x44434241343332312423222114131211f4f3f2f1 128 sel src 14.0.0.52/24 dst 14.0.0.70/24 proto tcp

Works on Arch.
Result on X86_64 OpenWRT 19.07.3:
RTNETLINK answers: No such file or directory

On Arch 5.6.15-arch1-1, works (no output, ip x s shows the state).
Also fails 100% of the time when tested using an IKE keying daemon, e.g. strongSwan

06.06.20203153PackagesBug ReportVery LowMediumfeeds/packages/utils/zstd fails to compile if python3-d...TrunkUnconfirmed Task Description

Device problem occurs on

build server

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

OpenWrt master as of r13499-7b4877c204

Steps to reproduce

  1. install debian 10 amd64 & OpenWrt build requirements
  2. git clone git://git.openwrt.org/openwrt/openwrt.git
  3. select ath79-generic as target & select btrfs with zstd support
  4. compile & wait
  5. get output similar to attached meson-log.txt

Solutions to solve problem

  • install “python3-distutils” on the host
  • zstd package checks if python3-distutils is installed and provides proper “missing dependency”-error
06.06.20203152Base systemBug ReportVery LowLowIntroduce fake hwclock moduleTrunkUnconfirmed Task Description

Hi,

I have a tl-wr1043nd-v1 router and use trunk ath79 builds. I noticed following with hwclock function:
@OpenWrt:~# hwclock
hwclock: can’t open ‘/dev/misc/rtc’: No such file or directory
@OpenWrt:~# hwclock -r
hwclock: can’t open ‘/dev/misc/rtc’: No such file or directory
@OpenWrt:~# hwclock -w
hwclock: can’t open ‘/dev/misc/rtc’: No such file or directory

currently running build r13498-898969636d

Kindly ask you to introduce fake hwclock module as RPi did or fix hwclock function.

05.06.20203151Base systemBug ReportVery LowCriticalKimax U35WF overlay memoryTrunkUnconfirmed Task Description

Kimax Blueendless U35WF
Original Kimax firmware

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

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

04.06.20203150PackagesBug ReportVery LowMediumPackages seem to be missing from downloads.openwrt.org ...openwrt-19.07Unconfirmed Task Description

Device: openwrtorg/rootfs:armvirt-32-19.07.2 Docker image
Version: OpenWrt 19.07

Hi- I hope everyone is doing well.

We’ve got some builds that use the openwrtorg/rootfs:armvirt-32-19.07.2 Docker image; they run around 1600 UTC each day as well as any time somebody amends a related pull request (normally between 0000 UTC to 1000 UTC, our working day for Perth, Australia).

Occasionally, we get failures due to packages missing in OpenWrt (curiously, it’s usually GCC)- more commonly during our morning.

I _think_ this may be a byproduct of the OpenWrt nightly builds happening and the packages being rebuilt, it may be that https://downloads.openwrt.org/releases/19.07.2/packages/arm_cortex-a15_neon-vfpv4/packages/ is the actual build output folder (and so during a build, the contents may change).

I’ve had a look at the timestamps at that URL, I’m not sure what timezone they’re in, but they’re mostly around the 0100 to 0500 range- if this is UTC and my suspicions are correct, then that would definitely cause an increase of this issue during our morning (which is what we see).

I don’t think it’s related to any Docker build cache funniness- we wipe that at 1900 UTC each day.

While you won’t reliably be able to reproduce, here’s a simple test case (requiring Docker for Mac/Windows, or Docker for Linux with docker buildx configured):

- docker run –rm -it openwrtorg/rootfs:armvirt-32-19.07.2 sh
- mkdir /var/lock
- opkg update && opkg install gcc

I’ve attached a log excerpts from our CI system of one such failure.

Thanks and regards,

Ed

03.06.20203149KernelBug ReportVery LowHighpppoe-only-process-padt-targeted-at-local-interfaces.pa...AllUnconfirmed Task Description

The issue is well outlined in the forum https://forum.openwrt.org/t/pppoe-disconnects-every-few-hours/61239

Whilst being patched in kernel 4.19 | 5.4 | 5.6 https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/log/?id=a1b8c8b81a0c8c1dba9acaf2f85e7dbd6cbdc5b1&qt=grep&q=pppoe-only-process-padt-targeted-at-local-interfaces.patch&showmsg=1

kernel 4.14 (OpenWrt stable 19.07.x) seems to fall through the cracks somehow. With kernel 5.4 in upcoming stable OpenWrt 20.x still far out it would make sense to backport the patch into OpenWrt stable 19.07.x

03.06.20203147Base systemBug ReportVery LowHigh802.11w settings on LUCI WIFI page doesn't work properl...openwrt-19.07Unconfirmed Task Description

Host device

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

External server/service

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

Client

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

Steps to reproduce:

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

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

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

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

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

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

Steps to workaround:

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

02.06.20203144Base systemBug ReportVery LowLowuhttpd: https redirect should be to a configurable host...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: *all*
- Software versions of OpenWrt/LEDE release, packages, etc.: *master ~2 weeks old*
- Steps to reproduce: *see below*

Install luci-ssl. It will configure uhttpd to listen on port 443 and redirect http to https. In particular, it will add to /etc/config/uhttpd:

 option redirect_https '1'

However, the semantics of this redirect are wrong if a non-self-signed certificate is used.

In particular, it is now a boolean option, and always gets the redirect target from the Host: header. That is, it redirects http://192.168.1.1/ to https://192.168.1.1/, and, assuming that openwrt.mydomain.ru resolves to 192.168.1.1, it will also redirect http://openwrt.mydomain.ru/ to https://openwrt.mydomain.ru/.

What I want is a string option that specifies the domain for redirects. I.e., I should be able to set something like this:

 option redirect_https_domain 'openwrt.mydomain.ru'

and then both http://192.168.1.1/ and http://openwrt.mydomain.ru/ and http://anything.that.resolves.to.192.168.1.1.com/ should redirect to https://openwrt.mydomain.ru/.

02.06.20203143Base systemBug ReportVery LowLowramips/mt7621/zbt-wg3526-16 boot failure with kernel 5....TrunkUnconfirmed Task Description

Boot fails on snapshot images with kernel 5.4
- Device: ramips/mt7621/wg-3526
- Software: Any snapshot image with kernel 5.4

The router reboots every 1-2 seconds

https://downloads.openwrt.org/snapshots/targets/ramips/mt7621/openwrt-ramips-mt7621-zbtlink_zbt-wg3526-16m-squashfs-sysupgrade.bin

01.06.20203142Base systemBug ReportVery LowMediumQEMU on arm64 cannot shut down OpenWRT 19.07openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on - arm64 QEMU Virtual Machine
- Software versions of OpenWrt/LEDE release, packages, etc. - 19.07.3
- Steps to reproduce -
Boot OpenWRT as per the instructions at OpenWRT QEMU Documentation on an arm64 virtual machine.

 

When hosted in a QEMU virtual machine on arm64 (aarch64), OpenWRT is unable to shut down.
QEMU supports two shutdown methods on arm64, ACPI and QEMU Guest Agent

ACPI on arm64 requires UEFI support, which is not enabled in the armvirt-64 kernel.

QEMU Guest Agent has a package for OpenWRT but the package is broken due to the base implementation of OpenWRT.
QEMU Guest Agent forks a process that calls /sbin/shutdown with several flags when ordered to shut down.
/sbin/shutdown does not exist in the base system.
The flags passed are not compatible with /sbin/poweroff.

This is solved with a simple script:
/sbin/shutdown:

#!/bin/sh
/sbin/poweroff

Ideally support for armvirt-64 should move to uefi, since that is the expected supported method of booting a arm64 virtual machine.
This would require the addition of CONFIG_EFI_STUB to the armvirt-64 kernel config.
It would also require changing the armvirt-64 packaging to include the kernel efi image in the root file system, and/or add a bootloader such as grub.

01.06.20203140Base systemBug ReportVery LowLowsysupgrade spews lost of errors on x86_64TrunkUnconfirmed Task Description

This is on an x86_64 build of master from last Monday (circa 6e8b689).

The exact hardware is a Supermicro SYS-5018D-FN8T, 32GB of DRAM, 512GB of NVMe.

I built a new master today (8d2c031f) and scp’d it onto /tmp/ of my router. Then did a “sysupgrade /tmp/...” of that:

root@OpenWrt:/# ifdown wan
root@OpenWrt:/# 
root@OpenWrt:/# 
root@OpenWrt:/# sysupgrade /tmp/openwrt-r13360\+64-4661b05390-x86-64-generic-squashfs-combined-efi.img 
Image metadata not found
Reading partition table from bootdisk...
cat: write error: Broken pipe
Reading partition table from image...
Saving config files...
Commencing upgrade. Closing all shell sessions.
Watchdog handover: fd=7
- watchdog -
killall: telnetd: no process killed
killall: dropbear: no process kiSending TERM to remaining processes ... ntpd sh snmpd dhcpd ipset-dns collectd lldpd lldpd smartd named sleep ubusd askfirst urngd netifd rngd crond lighttpd sshd syslog-ng 
Sending KILL to remaining processes ... 
Switching to ramdisk...
Performing system upgrade...
Reading partition table from bootdisk...
dd: warning: partial read (8192 bytes); suggest iflag=fullblock
0+63 records in
0+63 records out
1101824 bytes (1.1 MB, 1.1 MiB) copied, 0.00492347 s, 224 MB/s
Reading partition table from image...
Writing image to /dev/nvme0n1p1...
cat: write error: Broken pipe
40959+0 records in
19+1 records out
20971008 bytes (21 MB, 20 MiB) copied, 0.0963313 s, 218 MB/s
Writing image to /dev/nvme0n1p2...
462847+0 records in
225+1 records out
236977664 bytes (237 MB, 226 MiB) copied, 0.810288 s, 292 MB/s
Writing new UUID to /dev/nvme0n1...
4+0 records in
4+0 records out
cat: write error: Broken pipe
4 bytes copied, 0.00439713 s, 0.9 k[ 2308.927159] F2FS-fs (nvme0n1p1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
B/s
[ 2308.945667] F2FS-fs (nvme0n1p1): Can't find valid F2FS filesystem in 1th superblock
[ 2308.963141] F2FS-fs (nvme0n1p1): Magic Mismatch, valid(0xf2f52010) - read(0x6020601)
[ 2308.980487] F2FS-fs (nvme0n1p1): Can't find valid F2FS filesystem in 2th superblock
Upgrading bootloader on /dev/nvme0n1...
touch: /tmp/boot/grub/upgraded: No such file or directory
Upgrade completed
Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 2310.852582] ACPI Warning: \_SB.PCI0.BR2C._PRT: Return Package has no elements (empty) (20190816/nsprepkg-96)
[ 2310.881404] ACPI Warning: \_SB.PCI0.BR2C._PRT: Return Package has no elements (empty) (20190816/nsprepkg-96)
[ 2311.080235] reboot: Restarting system
[ 2311.093088] reboot: machine restart

Note that on reboot, dmesg says:

...
May 31 16:43:17 OpenWrt kernel: [    3.721825] Copyright (c) 1999-2008 LSI Corporation
May 31 16:43:17 OpenWrt kernel: [    3.724539] nvme nvme0: 7/0/0 default/read/poll queues
May 31 16:43:17 OpenWrt kernel: [    3.732035] Fusion MPT SPI Host driver 3.04.20
May 31 16:43:17 OpenWrt kernel: [    3.752418] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
May 31 16:43:17 OpenWrt kernel: [    3.753680] GPT:Primary header thinks Alt. header is not at the end of the disk.
May 31 16:43:17 OpenWrt kernel: [    3.764418] ehci-pci: EHCI PCI platform driver
May 31 16:43:17 OpenWrt kernel: [    3.777281] GPT:504894 != 1000215215
May 31 16:43:17 OpenWrt kernel: [    3.787218] ehci-pci 0000:00:1a.0: EHCI Host Controller
May 31 16:43:17 OpenWrt kernel: [    3.795949] GPT:Alternate GPT header not at the end of the disk.
May 31 16:43:17 OpenWrt kernel: [    3.795950] GPT:504894 != 1000215215
May 31 16:43:17 OpenWrt kernel: [    3.806441] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1
May 31 16:43:17 OpenWrt kernel: [    3.817622] GPT: Use GNU Parted to correct GPT errors.
May 31 16:43:17 OpenWrt kernel: [    3.817629]  nvme0n1: p1 p2 p128
...

but I don’t know if that’s related or not.

31.05.20203139Base systemBug ReportVery LowMediumOpenWRT 19.07.03 - WiFi unstable - STA-OPMODE-SMPS-MODE...openwrt-19.07Unconfirmed Task Description

Hello there,
I just upgraded my perfectly working TP-Link TL-WDR4900 v1 from LEDE 17 to the latest OpenWRT firmware available: 19.07.03

Unfortunately now, some WiFi 2.4GHz clients got stuck on wifi, they cannot even ping the router, the only way to fix it is to manually disconnect and reconnect them.

This is the log from the router in that specific moment:
May 30 22:26:01 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:26:11 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic
May 30 22:38:59 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:38:59 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic
May 30 22:39:03 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:39:04 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic
May 30 22:39:12 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 static
May 30 22:39:13 Router hostapd: wlan1: STA-OPMODE-SMPS-MODE-CHANGED 83:20:75:40:f3:a0 dynamic

In order to reproduce the bug I have just to increase the traffic (download a big file on wifi)

30.05.20203138KernelBug ReportVery LowHighmac802.11sh commit broken and causing one radio to dropAllUnconfirmed Task Description

Source of the problem: commit `b551660` `/lib/netifd/wireless/mac802.11sh`
Device problem occurs on: Netgear R7800, LinksysWRT1900ACSv2, Netgear EX6400, TP-Link Archer C60
Software versions of OpenWrt/LEDE: v19.07.3 and master

Steps to reproduce: I created a post here https://forum.openwrt.org/t/wrt1900acsv2-only-one-wifi-radio-is-staying-up/64273 regarding the last WiFi client disconnecting from the AP stops working on that radio.

If I go into ‘Network > Wireless’ in LuCI and click the ‘Restart’ button on the 2.4 or 5GHz radio, that radio is the only radio that stays working, whereas the other radio says disabled and wireless not associated.

I can also replicate this via SSH/CLI running `wifi up radio0` disables radio1. Running `wifi up` brings radio1 up this but drops radio0. If I run `wifi up` a second time both radios come back up.

My forum has been linked to a Netgear 7800 thread found here https://forum.openwrt.org/t/netgear-r7800-exploration-ipq8065-qca9984/285/2259 and there has been confirmation that there appears to be a problem with commit `b551660` from May 4, 2020 for `openwrt/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh`. Rolling back to commit `0495324` appears to fix this issue.

I too can confirm this by renaming `mac80211.sh` to `mac80211.sh.old`, downloading commit `0495324`, placing it under `/lib/netifd/wireless`, setting the permissions to `0755` and then running `wifi up radio0` in SSH/CLI. Radio0 (5GHz) drops as expected and after a couple of seconds it is back up all without affecting the radio1 (2.4GHz).

This is the broken commit https://github.com/openwrt/openwrt/commit/b5516603dd90215d5cdc5bac7ea496a6c758bb0f

This is the working commit https://github.com/openwrt/openwrt/commit/0e522d5f4a31182312bd115c26c7edb654769724

29.05.20203136KernelBug ReportLowLowAlignment exceptions on ipq806x (r7800)TrunkNew Task Description

I’ve got 2 Netgear R7800 with the same firmware built from OpenWrt master and only one of them is throwing alignment exceptions:

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.42 (noltari@skynet) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13398+3-48e3449945)) #0 SMP Fri May 29 07:24:24 2020
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 122880
[    0.000000]   Normal zone: 1080 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu s30028 r8192 d23220 u61440
[    0.000000] pcpu-alloc: s30028 r8192 d23220 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 474844K/491520K available (5893K kernel code, 188K rwdata, 1504K rodata, 1024K init, 228K bss, 16676K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x4e8 with crng_init=0
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000021] Switching to timer-based delay loop, resolution 160ns
[    0.000242] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000264] pid_max: default: 32768 minimum: 301
[    0.000460] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000479] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001501] CPU: Testing write buffer coherency: ok
[    0.002636] Setting up static identity map for 0x42300000 - 0x42300060
[    0.002809] rcu: Hierarchical SRCU implementation.
[    0.003291] smp: Bringing up secondary CPUs ...
[    0.005219] smp: Brought up 1 node, 2 CPUs
[    0.005236] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.005246] CPU: All CPU(s) started in SVC mode.
[    0.015473] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.015630] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015659] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.015823] pinctrl core: initialized pinctrl subsystem
[    0.016942] NET: Registered protocol family 16
[    0.017229] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018531] cpuidle: using governor ladder
[    0.018598] cpuidle: using governor menu
[    0.055639] usbcore: registered new interface driver usbfs
[    0.055720] usbcore: registered new interface driver hub
[    0.055814] usbcore: registered new device driver usb
[    0.055875] pps_core: LinuxPPS API ver. 1 registered
[    0.055890] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.055930] PTP clock support registered
[    0.057577] clocksource: Switched to clocksource dg_timer
[    0.058439] thermal_sys: Registered thermal governor 'step_wise'
[    0.060795] NET: Registered protocol family 2
[    0.061381] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.061423] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.061467] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.061522] TCP: Hash tables configured (established 4096 bind 4096)
[    0.061627] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.061657] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.061896] NET: Registered protocol family 1
[    0.061954] PCI: CLS 0 bytes, default 64
[    0.063423] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.070052] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.070068] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.110296] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.110440] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.110550] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.110822] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.110850] qcom-pcie 1b500000.pci: Parsing ranges property...
[    0.110898] qcom-pcie 1b500000.pci:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.110937] qcom-pcie 1b500000.pci:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.332501] qcom-pcie 1b500000.pci: Link up
[    0.332674] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.332696] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.332718] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.332735] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.332753] pci_bus 0000:00: scanning bus
[    0.332804] pci 0000:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.332976] pci 0000:00:00.0: supports D1
[    0.332993] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.333014] pci 0000:00:00.0: PME# disabled
[    0.337082] pci_bus 0000:00: fixups for bus
[    0.337107] PCI: bus0: Fast back to back transfers disabled
[    0.337129] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.337275] pci_bus 0000:01: scanning bus
[    0.337456] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.337925] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.339073] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.339120] pci 0000:01:00.0: PME# disabled
[    0.343339] pci_bus 0000:01: fixups for bus
[    0.343410] PCI: bus1: Fast back to back transfers disabled
[    0.343428] pci_bus 0000:01: bus scan returning with max=01
[    0.343446] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.343465] pci_bus 0000:00: bus scan returning with max=ff
[    0.343499] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.343524] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.343652] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.343677] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.343887] pcieport 0000:00:00.0: assign IRQ: got 35
[    0.344639] pcieport 0000:00:00.0: AER: enabled with IRQ 36
[    0.345252] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.345380] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.345517] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.345770] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.345792] qcom-pcie 1b700000.pci: Parsing ranges property...
[    0.345835] qcom-pcie 1b700000.pci:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.345869] qcom-pcie 1b700000.pci:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.575016] qcom-pcie 1b700000.pci: Link up
[    0.575165] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.575184] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.575203] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.575219] pci_bus 0001:00: scanning bus
[    0.575261] pci 0001:00:00.0: [17cb:0101] type 01 class 0xff0000
[    0.575405] pci 0001:00:00.0: supports D1
[    0.575422] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.575440] pci 0001:00:00.0: PME# disabled
[    0.579554] pci_bus 0001:00: fixups for bus
[    0.579576] PCI: bus0: Fast back to back transfers disabled
[    0.579594] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.579730] pci_bus 0001:01: scanning bus
[    0.579920] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.580297] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.581531] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.581581] pci 0001:01:00.0: PME# disabled
[    0.581834] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    0.585838] pci_bus 0001:01: fixups for bus
[    0.585914] PCI: bus1: Fast back to back transfers disabled
[    0.585932] pci_bus 0001:01: bus scan returning with max=01
[    0.585949] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.585967] pci_bus 0001:00: bus scan returning with max=ff
[    0.585991] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.586014] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.586146] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.586168] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.586379] pcieport 0001:00:00.0: assign IRQ: got 37
[    0.587054] pcieport 0001:00:00.0: AER: enabled with IRQ 38
[    0.589655] L2 @ QSB rate. Forcing new rate.
[    0.589884] L2 @ 384000 KHz
[    0.590062] CPU0 @ 800000 KHz
[    0.590074] CPU1 @ QSB rate. Forcing new rate.
[    0.590200] CPU1 @ 384000 KHz
[    0.593784] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.595940] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.596712] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.596767] msm_serial 16340000.serial: uartclk = 7372800
[    0.596839] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 39, base_baud = 460800) is a MSM
[    0.596876] msm_serial: console setup on port #0
[    1.363216] printk: console [ttyMSM0] enabled
[    1.368292] msm_serial: driver initialized
[    1.377328] loop: module loaded
[    1.379017] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.379280] nand: Micron MT29F1G08ABBEAH4
[    1.385875] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.389975] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.397246] Creating 8 MTD partitions on "qcom_nand.0":
[    1.404197] 0x000000000000-0x000000c80000 : "qcadata"
[    1.414344] random: fast init done
[    1.430388] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.439436] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.441172] 0x000001200000-0x000001340000 : "art"
[    1.446411] 0x000001340000-0x000001480000 : "artbak"
[    1.451329] 0x000001480000-0x000001880000 : "kernel"
[    1.460780] 0x000001880000-0x000007900000 : "ubi"
[    1.616654] 0x000007900000-0x000008000000 : "reserve"
[    1.630468] libphy: ipq8064_mdio_bus: probed
[    1.680369] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.830271] ar8327: qca,phy-rgmii-en is not specified
[    2.830690] libphy: Fixed MDIO Bus: probed
[    2.835000] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.838388] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.846280] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.852700] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.858554] ipq806x-gmac-dwmac 37200000.ethernet: 	DWMAC1000
[    2.865905] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.871821] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.879527] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.887343] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.893240] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.900614] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.907311] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.914952] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.921981] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.929043] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    2.936741] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    2.944042] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.950690] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.956706] ipq806x-gmac-dwmac 37400000.ethernet: 	DWMAC1000
[    2.964259] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.970068] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.977711] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.985678] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.991489] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.998861] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    3.005574] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    3.013201] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    3.020231] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.027308] i2c /dev entries driver
[    3.037342] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    3.038412] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    3.046079] sdhci: Secure Digital Host Controller Interface driver
[    3.052874] sdhci: Copyright(c) Pierre Ossman
[    3.059120] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.066091] NET: Registered protocol family 10
[    3.070704] Segment Routing with IPv6
[    3.073540] NET: Registered protocol family 17
[    3.077458] 8021q: 802.1Q VLAN Support v1.8
[    3.081686] Registering SWP/SWPB emulation handler
[    3.109432] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    3.122994] s1a: supplied by regulator-dummy
[    3.123099] s1a: Bringing 0uV into 1050000-1050000uV
[    3.126619] s1b: supplied by regulator-dummy
[    3.131476] s1b: Bringing 0uV into 1050000-1050000uV
[    3.135788] s2a: supplied by regulator-dummy
[    3.140649] s2a: Bringing 0uV into 775000-775000uV
[    3.144996] s2b: supplied by regulator-dummy
[    3.149481] s2b: Bringing 0uV into 775000-775000uV
[    3.155482] Speed bin: 0
[    3.158434] PVS bin: 4
[    3.169157] UBI: auto-attach mtd6
[    3.169175] ubi0: attaching mtd6
[    3.231841] random: crng init done
[    3.863297] ubi0: scanning is finished
[    3.872737] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.872757] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.877104] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.883959] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.890790] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.897503] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.903813] ubi0: max/mean erase counter: 8/4, WL threshold: 4096, image sequence number: 1164284368
[    3.910842] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    3.920258] ubi0: background thread "ubi_bgt0d" started, PID 93
[    3.920861] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.934915] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.940521] hctosys: unable to open rtc device (rtc0)
[    3.952741] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.954223] Freeing unused kernel memory: 1024K
[    3.988265] Run /sbin/init as init process
[    4.441889] init: Console is alive
[    4.442057] init: - watchdog -
[    5.259389] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.276144] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.278921] SCSI subsystem initialized
[    5.285174] libata version 3.00 loaded.
[    5.286877] ahci 29000000.sata: 29000000.sata supply ahci not found, using dummy regulator
[    5.286970] ahci 29000000.sata: 29000000.sata supply phy not found, using dummy regulator
[    5.294151] ahci 29000000.sata: 29000000.sata supply target not found, using dummy regulator
[    5.302769] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[    5.310869] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    5.316080] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    5.326028] scsi host0: ahci
[    5.333172] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 26
[    5.660523] ata1: SATA link down (SStatus 0 SControl 300)
[    5.665903] ehci-fsl: Freescale EHCI Host controller driver
[    5.667476] ehci-platform: EHCI generic platform driver
[    5.676974] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.677583] ohci-platform: OHCI generic platform driver
[    5.684512] dwc3-qcom 110f8800.usb3: IRQ hs_phy_irq not found
[    5.687166] dwc3-qcom 110f8800.usb3: IRQ dp_hs_phy_irq not found
[    5.693178] dwc3-qcom 110f8800.usb3: IRQ dm_hs_phy_irq not found
[    5.699223] dwc3-qcom 110f8800.usb3: IRQ ss_phy_irq not found
[    5.707257] dwc3-qcom 100f8800.usb3: IRQ hs_phy_irq not found
[    5.710836] dwc3-qcom 100f8800.usb3: IRQ dp_hs_phy_irq not found
[    5.716504] dwc3-qcom 100f8800.usb3: IRQ dm_hs_phy_irq not found
[    5.722664] dwc3-qcom 100f8800.usb3: IRQ ss_phy_irq not found
[    5.732523] dwc3 11000000.dwc3: Failed to get clk 'ref': -2
[    5.788480] dwc3 10000000.dwc3: Failed to get clk 'ref': -2
[    5.851309] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.851368] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.855876] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    5.863381] xhci-hcd xhci-hcd.0.auto: irq 43, io mem 0x11000000
[    5.873615] hub 1-0:1.0: USB hub found
[    5.878642] hub 1-0:1.0: 1 port detected
[    5.882543] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.886429] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.891780] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    5.899421] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.906190] hub 2-0:1.0: USB hub found
[    5.914200] hub 2-0:1.0: 1 port detected
[    5.919357] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.921756] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    5.927172] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x0000000002010010
[    5.934694] xhci-hcd xhci-hcd.1.auto: irq 44, io mem 0x10000000
[    5.944582] hub 3-0:1.0: USB hub found
[    5.949969] hub 3-0:1.0: 1 port detected
[    5.953865] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.957774] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    5.963142] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    5.971416] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.977540] hub 4-0:1.0: USB hub found
[    5.985562] hub 4-0:1.0: 1 port detected
[    5.990721] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.000453] init: - preinit -
[    8.211376] dwmac1000: Master AXI performs any burst length
[    8.211407] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[    8.215754] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    8.223915] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[    8.232848] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[    8.240251] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    8.248558] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   12.418896] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   12.419040] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 180
[   12.568955] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   12.568978] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   12.575760] UBIFS (ubi0:1): FS size: 88248320 bytes (84 MiB, 695 LEBs), journal size 4444160 bytes (4 MiB, 35 LEBs)
[   12.585725] UBIFS (ubi0:1): reserved for root: 4168186 bytes (4070 KiB)
[   12.595982] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 05119043-2946-47B5-88DC-46E382FD2959, small LPT model
[   12.608409] mount_root: overlay filesystem has not been fully initialized yet
[   12.614216] mount_root: switching to ubifs overlay
[   12.648550] overlayfs: upper fs does not support xattr, falling back to index=off and metacopy=off.
[   12.709449] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.802232] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Down
[   12.869339] procd: - early -
[   12.869423] procd: - watchdog -
[   13.416076] procd: - watchdog -
[   13.416705] procd: - ubus -
[   13.497779] procd: - init -
[   13.807250] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.807481] urngd: v1.0.2 started.
[   13.822992] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[   13.823016] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[   13.835774] wireguard: WireGuard 1.0.20200520 loaded. See www.wireguard.com for information.
[   13.835960] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   13.849108] xt_time: kernel timezone is -0000
[   13.878438] PPP generic driver version 2.4.2
[   13.878942] NET: Registered protocol family 24
[   13.894701] ath10k_pci 0000:01:00.0: assign IRQ: got 35
[   13.894721] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   13.895103] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   13.901316] ath10k_pci 0000:01:00.0: enabling bus mastering
[   13.901842] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   14.586600] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   14.586649] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.600184] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fH-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 5e71f3d8
[   16.923270] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   22.764887] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[   22.765774] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   22.770383] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   22.853278] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   22.854123] ath10k_pci 0000:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   23.143016] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   23.238959] ath: EEPROM regdomain sanitized
[   23.238979] ath: EEPROM regdomain: 0x64
[   23.238989] ath: EEPROM indicates we should expect a direct regpair map
[   23.239012] ath: Country alpha2 being used: 00
[   23.239022] ath: Regpair used: 0x64
[   23.247470] ath10k_pci 0001:01:00.0: assign IRQ: got 37
[   23.247495] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   23.248218] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   23.254039] ath10k_pci 0001:01:00.0: enabling bus mastering
[   23.254645] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   23.569431] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   23.569466] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   23.580837] ath10k_pci 0001:01:00.0: firmware ver 10.4b-ct-9984-fH-013-d81f62d97 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 5e71f3d8
[   25.965788] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 85498734
[   31.926889] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536
[   31.927736] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   31.932304] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   32.017922] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   32.018816] ath10k_pci 0001:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   32.400518] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   32.489614] ath: EEPROM regdomain sanitized
[   32.489634] ath: EEPROM regdomain: 0x64
[   32.489645] ath: EEPROM indicates we should expect a direct regpair map
[   32.489668] ath: Country alpha2 being used: 00
[   32.489678] ath: Regpair used: 0x64
[   32.501079] kmodloader: done loading kernel modules from /etc/modules.d/*
[   37.152937] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   37.152961] 8<--- cut here ---
[   37.159119] Unhandled fault: alignment exception (0x801) at 0x01559594
[   37.161997] pgd = 651ef7ab
[   37.168576] [01559594] *pgd=5dae4835, *pte=5ce8875f, *ppte=5ce88c7f
[   37.267396] dwmac1000: Master AXI performs any burst length
[   37.267427] ipq806x-gmac-dwmac 37400000.ethernet eth1: No Safety Features support found
[   37.271872] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   37.279913] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[   37.288853] ipq806x-gmac-dwmac 37400000.ethernet eth1: configuring for fixed/sgmii link mode
[   37.295795] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   37.303777] br-lan: port 1(eth1.1) entered blocking state
[   37.313165] br-lan: port 1(eth1.1) entered disabled state
[   37.318698] device eth1.1 entered promiscuous mode
[   37.323850] device eth1 entered promiscuous mode
[   37.328816] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   37.336050] br-lan: port 1(eth1.1) entered blocking state
[   37.339365] br-lan: port 1(eth1.1) entered forwarding state
[   37.354176] dwmac1000: Master AXI performs any burst length
[   37.354204] ipq806x-gmac-dwmac 37200000.ethernet eth0: No Safety Features support found
[   37.358736] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   37.366642] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[   37.375640] ipq806x-gmac-dwmac 37200000.ethernet eth0: configuring for fixed/rgmii link mode
[   37.383004] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   37.391748] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.009405] pppoe-wan: renamed from ppp0
[   38.220386] ath: EEPROM regdomain: 0x82d4
[   38.220406] ath: EEPROM indicates we should expect a country code
[   38.223369] ath: doing EEPROM country->regdmn map search
[   38.229536] ath: country maps to regdmn code: 0x37
[   38.234824] ath: Country alpha2 being used: ES
[   38.239508] ath: Regpair used: 0x37
[   38.243865] ath: regdomain 0x82d4 dynamically updated by user
[   38.247258] ath: EEPROM regdomain: 0x82d4
[   38.253222] ath: EEPROM indicates we should expect a country code
[   38.257135] ath: doing EEPROM country->regdmn map search
[   38.263284] ath: country maps to regdmn code: 0x37
[   38.268657] ath: Country alpha2 being used: ES
[   38.273192] ath: Regpair used: 0x37
[   38.277623] ath: regdomain 0x82d4 dynamically updated by user
[   38.338720] ath: EEPROM regdomain: 0x8348
[   38.338739] ath: EEPROM indicates we should expect a country code
[   38.341702] ath: doing EEPROM country->regdmn map search
[   38.347781] ath: country maps to regdmn code: 0x3a
[   38.353239] ath: Country alpha2 being used: US
[   38.357816] ath: Regpair used: 0x3a
[   38.362187] ath: regdomain 0x8348 dynamically updated by user
[   38.365596] ath: EEPROM regdomain: 0x8348
[   38.371530] ath: EEPROM indicates we should expect a country code
[   38.375469] ath: doing EEPROM country->regdmn map search
[   38.381626] ath: country maps to regdmn code: 0x3a
[   38.386926] ath: Country alpha2 being used: US
[   38.391586] ath: Regpair used: 0x3a
[   38.395951] ath: regdomain 0x8348 dynamically updated by user
[   38.401528] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   45.445311] ath10k_pci 0001:01:00.0: unsupported HTC service id: 1536
[   45.445523] ath10k_pci 0001:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   45.450813] ath10k_pci 0001:01:00.0: msdu-desc: 2500  skid: 32
[   45.536265] ath10k_pci 0001:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   45.537153] ath10k_pci 0001:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   46.077345] ath10k_pci 0001:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   46.086199] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   46.087292] 8<--- cut here ---
[   46.094611] Unhandled fault: alignment exception (0x801) at 0x01a5a264
[   46.097449] pgd = 7d425fb1
[   46.104035] [01a5a264] *pgd=5d7b7835, *pte=5ca0175f, *ppte=5ca01c7f
[   46.123943] br-lan: port 2(wlan1) entered blocking state
[   46.123966] br-lan: port 2(wlan1) entered disabled state
[   46.128620] device wlan1 entered promiscuous mode
[   46.299909] ath10k_pci 0001:01:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   52.074815] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[   52.075005] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   52.080305] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   52.163253] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   52.164139] ath10k_pci 0000:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   52.550134] ath10k_pci 0000:01:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   52.557649] br-lan: port 3(wlan0) entered blocking state
[   52.560295] br-lan: port 3(wlan0) entered disabled state
[   52.566172] device wlan0 entered promiscuous mode
[   52.571247] br-lan: port 3(wlan0) entered blocking state
[   52.575456] br-lan: port 3(wlan0) entered forwarding state
[   52.591728] br-lan: port 3(wlan0) entered disabled state
[   52.592799] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   52.596110] 8<--- cut here ---
[   52.603242] Unhandled fault: alignment exception (0x801) at 0x01bc62e4
[   52.606082] pgd = 86e3b05f
[   52.612661] [01bc62e4] *pgd=5bcc5835, *pte=5ce4875f, *ppte=5ce48c7f
[   52.638123] ath: EEPROM regdomain: 0x82d4
[   52.638142] ath: EEPROM indicates we should expect a country code
[   52.641103] ath: doing EEPROM country->regdmn map search
[   52.647182] ath: country maps to regdmn code: 0x37
[   52.652660] ath: Country alpha2 being used: ES
[   52.657164] ath: Regpair used: 0x37
[   52.661679] ath: regdomain 0x82d4 dynamically updated by user
[   52.665059] ath: EEPROM regdomain: 0x82d4
[   52.670969] ath: EEPROM indicates we should expect a country code
[   52.674873] ath: doing EEPROM country->regdmn map search
[   52.681023] ath: country maps to regdmn code: 0x37
[   52.686328] ath: Country alpha2 being used: ES
[   52.691008] ath: Regpair used: 0x37
[   52.695357] ath: regdomain 0x82d4 dynamically updated by user
[   57.763032] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   57.763083] 8<--- cut here ---
[   57.769331] Unhandled fault: alignment exception (0x801) at 0x01149304
[   57.772119] pgd = 14e00733
[   57.778718] [01149304] *pgd=5d912835, *pte=5cc3c75f, *ppte=5cc3cc7f
[   61.286218] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   61.286646] br-lan: port 2(wlan1) entered blocking state
[   61.291784] br-lan: port 2(wlan1) entered forwarding state
[   62.892597] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   62.892649] 8<--- cut here ---
[   62.898868] Unhandled fault: alignment exception (0x801) at 0x01f27384
[   62.901683] pgd = 6ad7711d
[   62.908316] [01f27384] *pgd=5bade835, *pte=5c95e75f, *ppte=5c95ec7f
[   63.282491] ath10k_pci 0001:01:00.0: Invalid peer id 0 or peer stats buffer, peer: a5e6e0b2  sta: 19341bd9
[   68.024534] Alignment trap: not handling instruction f4410a1f at [<000847ec>]
[   68.024581] 8<--- cut here ---
[   68.030891] Unhandled fault: alignment exception (0x801) at 0x01580384
[   68.033621] pgd = 9bca4f46
[   68.040260] [01580384] *pgd=5d7c2835, *pte=5cfa775f, *ppte=5cfa7c7f
[  111.787534] ath10k_pci 0001:01:00.0: Invalid VHT mcs 15 peer stats
[  115.687531] ath10k_pci 0000:01:00.0: mac flush null vif, drop 0 queues 0xffff
[  115.718101] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  115.718254] br-lan: port 3(wlan0) entered blocking state
[  115.723523] br-lan: port 3(wlan0) entered forwarding state
[  200.884296] ath10k_pci 0001:01:00.0: htt tx: fixing invalid VHT TX rate code 0xff

The device appears to work normally, but it’s quite strange that only one of them is showing these exceptions...

29.05.20203135Base systemBug ReportVery LowLowbcm47xx: WGT634U missing ethernet interfaceTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Observed on bcm47xx Netgear WGT634U

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

  1. was working as of r12238-gdc145de4be
  2. noticed broken as of r13317-ga860fe2304

- Steps to reproduce: boot log contains:

[    1.478544] libphy: Fixed MDIO Bus: probed
[    1.483710] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[    1.491079] b44 ssb0:0: Required 30BIT DMA mask unsupported by the system

Full log:

[    0.000000] Linux version 4.19.123 (openwrt@hawg) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13317-a860fe2304)) #0 Thu May 28 19:22:18 2020
[    0.000000] CPU0 revision is: 00029007 (Broadcom BMIPS3300)
[    0.000000] bcm47xx: Using ssb bus
[    0.000000] ssb: Found chip with id 0x5365, rev 0x01 and package 0x00
[    0.000000] early_nvram_init: WGT634U NVRAM found.
[    0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
[    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 8kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 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] random: get_random_bytes called from 0x803d66c4 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:   noinitrd console=ttyS0,115200
[    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] Memory: 28060K/32768K available (3344K kernel code, 146K rwdata, 428K rodata, 168K init, 268K bss, 4708K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 128
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.000062] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[    0.000311] Calibrating delay loop... 197.63 BogoMIPS (lpj=395264)
[    0.036686] pid_max: default: 32768 minimum: 301
[    0.038340] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.038541] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.054673] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.054835] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.058075] NET: Registered protocol family 16
[    0.198414] clocksource: Switched to clocksource MIPS
[    0.525333] PCI host bridge to bus 0000:00
[    0.525490] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[    0.525617] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.525741] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.525858] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.526133] pci 0000:00:00.0: [14e4:5365] type 00 class 0x060000
[    0.526507] pci 0000:00:00.0: PCI: Fixing up bridge 0000:00:00.0
[    0.526667] pci 0000:00:00.0: PCI: Fixing up device 0000:00:00.0
[    0.526828] pci 0000:00:00.0: PCI: Fixing latency timer of device 0000:00:00.0 to 168
[    0.527048] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00001fff]
[    0.527183] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x07ffffff pref]
[    0.528677] pci 0000:00:01.0: [168c:0013] type 00 class 0x020000
[    0.528905] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.530738] pci 0000:00:02.0: [1033:0035] type 00 class 0x0c0310
[    0.530968] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.531277] pci 0000:00:02.0: supports D1 D2
[    0.531344] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
[    0.532723] pci 0000:00:02.1: [1033:0035] type 00 class 0x0c0310
[    0.532950] pci 0000:00:02.1: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.533253] pci 0000:00:02.1: supports D1 D2
[    0.533320] pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot
[    0.535059] pci 0000:00:02.2: [1033:00e0] type 00 class 0x0c0320
[    0.535288] pci 0000:00:02.2: reg 0x10: [mem 0x00000000-0x000000ff]
[    0.535594] pci 0000:00:02.2: supports D1 D2
[    0.535661] pci 0000:00:02.2: PME# supported from D0 D1 D2 D3hot
[    0.537270] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.537460] pci 0000:00:01.0: BAR 0: assigned [mem 0x40000000-0x4000ffff]
[    0.537673] pci 0000:00:02.0: BAR 0: assigned [mem 0x40010000-0x40010fff]
[    0.537882] pci 0000:00:02.1: BAR 0: assigned [mem 0x40011000-0x40011fff]
[    0.538093] pci 0000:00:02.2: BAR 0: assigned [mem 0x40012000-0x400120ff]
[    0.545771] NET: Registered protocol family 2
[    0.549853] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.550117] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.550613] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.550823] TCP: Hash tables configured (established 1024 bind 1024)
[    0.551768] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.552020] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.553390] NET: Registered protocol family 1
[    0.553846] PCI: CLS 0 bytes, default 16
[    0.591007] Crashlog allocated RAM at address 0x1f00000
[    0.603401] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.654060] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.654400] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.738047] io scheduler noop registered
[    0.738151] io scheduler deadline registered (default)
[    0.739653] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[    0.743763] console [ttyS0] disabled
[    0.764156] serial8250.0: ttyS0 at MMIO 0xb8000400 (irq = 3, base_baud = 115740) is a 16550A
[    1.190486] console [ttyS0] enabled
[    1.216366] serial8250.0: ttyS1 at MMIO 0xb8000300 (irq = 3, base_baud = 115740) is a 16550A
[    1.230376] random: fast init done
[    1.234789] physmap platform flash device: 02000001 at 1c000000
[    1.241241] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
[    1.251850] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[    1.251925] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    1.251994] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[    1.252134] Intel/Sharp Extended Query Table at 0x0031
[    1.257625] Intel/Sharp Extended Query Table at 0x0031
[    1.263094] Using buffer write method
[    1.267053] cfi_cmdset_0001: Erase suspend on write enabled
[    1.272962] erase region 0: offset=0x0,size=0x20000,blocks=64
[    1.282894] 3 bcm47xxpart partitions found on MTD device physmap-flash.0
[    1.289908] Creating 3 MTD partitions on "physmap-flash.0":
[    1.295836] 0x000000000000-0x0000000a0000 : "boot"
[    1.326499] 0x0000000a0000-0x0000007e0000 : "firmware"
[    1.338122] 3 trx partitions found on MTD device firmware
[    1.343853] Creating 3 MTD partitions on "firmware":
[    1.349160] 0x00000000001c-0x000000000948 : "loader"
[    1.372803] 0x000000000948-0x000000149c00 : "linux"
[    1.391736] 0x000000149c00-0x000000740000 : "rootfs"
[    1.403399] mtd: device 4 (rootfs) set to be root filesystem
[    1.409457] 1 squashfs-split partitions found on MTD device rootfs
[    1.416003] 0x000000580000-0x000000740000 : "rootfs_data"
[    1.440832] 0x0000007e0000-0x000000800000 : "nvram"
[    1.478544] libphy: Fixed MDIO Bus: probed
[    1.483710] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[    1.491079] b44 ssb0:0: Required 30BIT DMA mask unsupported by the system
[    1.500622] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[    1.510716] GPIO_WDT: failed to register misc device
[    1.522701] NET: Registered protocol family 10
[    1.551448] Segment Routing with IPv6
[    1.555920] NET: Registered protocol family 17
[    1.561006] 8021q: 802.1Q VLAN Support v1.8
[    1.587766] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.597826] Freeing unused kernel memory: 168K
[    1.602589] This architecture does not have kernel memory protection.
[    1.609318] Run /sbin/init as init process
[    3.135062] init: Console is alive
[    3.140180] init: - watchdog -
[    5.317770] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.476207] usbcore: registered new interface driver usbfs
[    5.482904] usbcore: registered new interface driver hub
[    5.489260] usbcore: registered new device driver usb
[    5.524317] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.537667] ehci-platform: EHCI generic platform driver
[    5.557478] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.569806] ohci-platform: OHCI generic platform driver
[    5.575871] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    5.583378] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 1
[    5.592344] ohci-platform ohci-platform.0: irq 6, io mem 0x18003000
[    5.669187] hub 1-0:1.0: USB hub found
[    5.675894] hub 1-0:1.0: 2 ports detected
[    5.700369] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.719972] init: - preinit -
[    7.403807] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    8.478994] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    8.490524] usb usb1-port1: attempt power cycle
[    9.439862] random: jshn: uninitialized urandom read (4 bytes read)
[    9.735569] random: jshn: uninitialized urandom read (4 bytes read)
[    9.870993] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   10.275825] random: jshn: uninitialized urandom read (4 bytes read)
[   10.888504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   10.959755] usb usb1-port1: unable to enumerate USB device
[   11.166548] usb 1-2: new low-speed USB device number 6 using ohci-platform
[   11.370536] usb 1-2: device descriptor read/64, error -62
[   11.674634] usb 1-2: device descriptor read/64, error -62
[   11.974464] usb 1-2: new low-speed USB device number 7 using ohci-platform
[   12.174454] usb 1-2: device descriptor read/64, error -62
[   12.478455] usb 1-2: device descriptor read/64, error -62
[   12.590748] usb usb1-port2: attempt power cycle
[   13.098467] usb 1-2: new low-speed USB device number 8 using ohci-platform
[   13.522455] usb 1-2: device not accepting address 8, error -62
[   13.714463] usb 1-2: new low-speed USB device number 9 using ohci-platform
[   14.138457] usb 1-2: device not accepting address 9, error -62
[   14.144917] usb usb1-port2: unable to enumerate USB device
[   23.478889] jffs2: notice: (367) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 10 of xref (1 dead, 0 orphan) found.
[   23.500379] mount_root: switching to jffs2 overlay
[   23.621417] overlayfs: upper fs does not support tmpfile.
[   23.655639] urandom-seed: Seeding with /etc/urandom.seed
[   23.901849] procd: - early -
[   23.905716] procd: - watchdog -
[   24.967950] procd: - watchdog -
[   24.973710] procd: - ubus -
[   25.100296] random: ubusd: uninitialized urandom read (4 bytes read)
[   25.184997] random: ubusd: uninitialized urandom read (4 bytes read)
[   25.193894] random: ubusd: uninitialized urandom read (4 bytes read)
[   25.210865] procd: - init -
[   29.536216] kmodloader: loading kernel modules from /etc/modules.d/*
[   29.646413] urngd: v1.0.2 started.
[   29.720627] tun: Universal TUN/TAP device driver, 1.6
[   29.908285] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[   29.916172] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[   30.362439] xt_time: kernel timezone is -0000
[   30.946473] random: crng init done
[   30.949970] random: 4 urandom warning(s) missed due to ratelimiting
[   31.904075] ath5k 0000:00:01.0: enabling device (0000 -> 0002)
[   31.910410] ath5k 0000:00:01.0: PCI: Fixing up device 0000:00:01.0
[   31.918019] ath5k 0000:00:01.0: registered as 'phy0'
[   32.915035] ath: EEPROM regdomain sanitized
[   32.915095] ath: EEPROM regdomain: 0x64
[   32.915128] ath: EEPROM indicates we should expect a direct regpair map
[   32.915198] ath: Country alpha2 being used: 00
[   32.915231] ath: Regpair used: 0x64
[   32.915568] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   32.929967] ath5k: phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[   32.937191] ath5k: phy0: RF2112B 2GHz radio found (0x46)
[   33.115785] kmodloader: done loading kernel modules from /etc/modules.d/*


Showing tasks 51 - 100 of 1068 Page 2 of 22 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing