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.

OpenedID  descCategoryTask TypePrioritySeveritySummaryReported InStatus
20.08.20203297Base systemBug ReportVery LowHighDNSSEC + dnsmasq broken on trunkTrunkUnconfirmed Task Description

Commit https://github.com/openwrt/openwrt/commit/064dc1e81bc85f6ef8becc38854292853a59d2c2 breaks dnssec on dnsmasq, including the ntp fix.

git revert 064dc1e81bc85f6ef8becc38854292853a59d2c2

20.08.20203296KernelBug ReportVery LowMediumTP-Link RE450 v3: QCA9880 (5 GHz-Wifi) is only detected...TrunkUnconfirmed Task Description

- Device: TP-Link RE450 v3
- OpenWRT-version: OpenWRT SNAPSHOT r14198-da98603597 (snapshot from 8/19/2020)
- Installed packages: Just the base install + LuCI

- Steps to reproduce:

  • Install OpenWRT via stock firmware web interface
  • ‘iw list’ shows 2 physical interfaces: 2.4 GHz (phy1) and 5 GHz (phy0)
  • Reboot
  • ‘iw list’ now only shows the 2.4 GHz-wifi
  • 5 GHz-wifi is only redetected after power-cycling, simple reboot doesn’t work

- Logs:

  • dmesg with both interfaces:
[    0.000000] Linux version 5.4.58 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14198-da98603597)) #0 Tue Aug 18 16:14:54 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link RE450 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56888K/65536K available (5134K kernel code, 190K rwdata, 1176K rodata, 1236K init, 205K bss, 8648K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008231] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051722] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059438] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071600] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081924] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089218] pinctrl core: initialized pinctrl subsystem
[    0.097103] NET: Registered protocol family 16
[    0.131044] clocksource: Switched to clocksource MIPS
[    0.137499] NET: Registered protocol family 2
[    0.142953] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.151841] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.159940] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.167381] TCP: Hash tables configured (established 1024 bind 1024)
[    0.174204] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.181148] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188827] NET: Registered protocol family 1
[    0.193482] PCI: CLS 0 bytes, default 32
[    0.201049] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.214066] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220256] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.243018] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.254285] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.261343] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.270150] printk: console [ttyS0] disabled
[    0.274741] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.283847] printk: console [ttyS0] enabled
[    0.292909] printk: bootconsole [early0] disabled
[    0.320880] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.325996] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.332567] Creating 7 MTD partitions on "spi0.0":
[    0.337536] 0x000000000000-0x000000020000 : "u-boot"
[    0.343635] 0x000000020000-0x000000022000 : "info"
[    0.349457] 0x000000022000-0x000000024000 : "partition-table"
[    0.356285] 0x000000024000-0x00000002e000 : "info2"
[    0.362222] 0x00000002e000-0x000000050000 : "config"
[    0.368262] 0x000000050000-0x0000007f0000 : "firmware"
[    0.379175] 2 tplink-fw partitions found on MTD device firmware
[    0.385326] Creating 2 MTD partitions on "firmware":
[    0.390466] 0x000000000000-0x000000209c24 : "kernel"
[    0.396459] 0x000000209c24-0x0000007a0000 : "rootfs"
[    0.402434] mtd: device 7 (rootfs) set to be root filesystem
[    0.409991] 1 squashfs-split partitions found on MTD device rootfs
[    0.416454] 0x000000490000-0x0000007a0000 : "rootfs_data"
[    0.422923] 0x0000007f0000-0x000000800000 : "art"
[    0.429578] libphy: GPIO Bitbanged MDIO: probed
[    0.439954] libphy: Fixed MDIO Bus: probed
[    0.772835] ag71xx 19000000.eth: connected to PHY at gpio-0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    0.783492] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    0.790217] i2c /dev entries driver
[    0.796315] NET: Registered protocol family 10
[    0.806499] Segment Routing with IPv6
[    0.810436] NET: Registered protocol family 17
[    0.815112] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.828504] 8021q: 802.1Q VLAN Support v1.8
[    0.833637] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    0.840001]  MEM 0x0000000012000000..0x0000000013ffffff
[    0.845403]   IO 0x0000000000000000..0x0000000000000000
[    0.850951] PCI host bridge to bus 0000:00
[    0.855222] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.862326] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.868086] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.875103] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.883320] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    0.889579] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.896644] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.903638] pci 0000:00:00.0: supports D1 D2
[    0.909008] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.915890] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.923468] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.931847] hctosys: unable to open rtc device (rtc0)
[    0.941503] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    0.955778] Freeing unused kernel memory: 1236K
[    0.960477] This architecture does not have kernel memory protection.
[    0.967127] Run /sbin/init as init process
[    1.199054] random: fast init done
[    1.566294] init: Console is alive
[    1.570122] init: - watchdog -
[    2.588796] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.798646] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.816569] init: - preinit -
[    3.672705] random: jshn: uninitialized urandom read (4 bytes read)
[    3.775161] random: jshn: uninitialized urandom read (4 bytes read)
[    3.821070] random: jshn: uninitialized urandom read (4 bytes read)
[    8.283883] jffs2: notice: (549) jffs2_build_xattr_subsystem: complete building xattr subsystem, 37 of xdatum (29 unchecked, 6 orphan) and 54 of xref (6 dead, 0 orphan) found.
[    8.303296] mount_root: switching to jffs2 overlay
[    8.327567] overlayfs: upper fs does not support tmpfile.
[    8.342994] urandom-seed: Seeding with /etc/urandom.seed
[    8.432323] procd: - early -
[    8.435456] procd: - watchdog -
[    9.067071] procd: - watchdog -
[    9.070585] procd: - ubus -
[    9.152818] urandom_read: 5 callbacks suppressed
[    9.152825] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.230475] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.238452] procd: - init -
[   10.042593] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.300426] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   10.307932] Backport generated by backports.git v5.8-1-0-g79400d9e
[   10.367861] xt_time: kernel timezone is -0000
[   10.384141] urngd: v1.0.2 started.
[   10.549643] PPP generic driver version 2.4.2
[   10.563949] NET: Registered protocol family 24
[   10.642376] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x3c.
[   10.650448] ath10k_mac_create, priv_size: 804  hw: (ptrval)  hw->priv: (ptrval)
[   10.680568] random: crng init done
[   10.685632] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   10.692309] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.049037] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.058609] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.071077] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-538f0906 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 e1c91a74
[   14.309918] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   15.285846] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   15.292959] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   15.309879] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   15.316163] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   15.324452] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   15.386995] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   15.397150] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   15.504539] ath: EEPROM regdomain sanitized
[   15.504549] ath: EEPROM regdomain: 0x64
[   15.504552] ath: EEPROM indicates we should expect a direct regpair map
[   15.504570] ath: Country alpha2 being used: 00
[   15.504573] ath: Regpair used: 0x64
[   15.585882] ath: EEPROM regdomain sanitized
[   15.585893] ath: EEPROM regdomain: 0x64
[   15.585897] ath: EEPROM indicates we should expect a direct regpair map
[   15.585916] ath: Country alpha2 being used: 00
[   15.585919] ath: Regpair used: 0x64
[   15.598233] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.600158] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   15.627498] kmodloader: done loading kernel modules from /etc/modules.d/*
[   26.247323] br-lan: port 1(eth0) entered blocking state
[   26.252771] br-lan: port 1(eth0) entered disabled state
[   26.258462] device eth0 entered promiscuous mode
[   30.947562] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   30.954344] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   30.971271] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   30.977555] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   30.985854] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 20984 iram: 25656'
[   31.048771] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[   31.079988] br-lan: port 2(wlan0) entered blocking state
[   31.085532] br-lan: port 2(wlan0) entered disabled state
[   31.091324] device wlan0 entered promiscuous mode
[   31.211412] br-lan: port 3(wlan1-1) entered blocking state
[   31.217133] br-lan: port 3(wlan1-1) entered disabled state
[   31.223228] device wlan1-1 entered promiscuous mode
[   31.228434] br-lan: port 3(wlan1-1) entered blocking state
[   31.234131] br-lan: port 3(wlan1-1) entered forwarding state
[   31.241283] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   31.347526] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   31.354300] br-lan: port 2(wlan0) entered blocking state
[   31.359835] br-lan: port 2(wlan0) entered forwarding state
[   32.095174] br-lan: port 3(wlan1-1) entered disabled state
[   34.157207] wlan1: authenticate with c8:0e:14:fc:02:ed
[   34.176691] wlan1: send auth to c8:0e:14:fc:02:ed (try 1/3)
[   34.185984] wlan1: authenticated
[   34.191228] wlan1: associate with c8:0e:14:fc:02:ed (try 1/3)
[   34.203447] wlan1: RX AssocResp from c8:0e:14:fc:02:ed (capab=0x31 status=0 aid=6)
[   34.211556] wlan1: associated
[   34.226587] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   34.245010] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   34.252015] br-lan: port 3(wlan1-1) entered blocking state
[   34.257731] br-lan: port 3(wlan1-1) entered forwarding state
  • iw list of both interfaces:
Wiphy phy1
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ee
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm) (no IR)
			* 2484 MHz [14] (20.0 dBm) (no IR)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
Wiphy phy0
	max # scan SSIDs: 16
	max scan IEs length: 199 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x19ef
			RX LDPC
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		VHT Capabilities (0x338001b2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			RX LDPC
			short GI (80 MHz)
			TX STBC
			RX antenna pattern consistency
			TX antenna pattern consistency
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: not supported
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Frequencies:
			* 5180 MHz [36] (20.0 dBm)
			* 5200 MHz [40] (20.0 dBm)
			* 5220 MHz [44] (20.0 dBm)
			* 5240 MHz [48] (20.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (20.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (20.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (20.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (20.0 dBm) (no IR, radar detection)
			* 5520 MHz [104] (20.0 dBm) (no IR, radar detection)
			* 5540 MHz [108] (20.0 dBm) (no IR, radar detection)
			* 5560 MHz [112] (20.0 dBm) (no IR, radar detection)
			* 5580 MHz [116] (20.0 dBm) (no IR, radar detection)
			* 5600 MHz [120] (20.0 dBm) (no IR, radar detection)
			* 5620 MHz [124] (20.0 dBm) (no IR, radar detection)
			* 5640 MHz [128] (20.0 dBm) (no IR, radar detection)
			* 5660 MHz [132] (20.0 dBm) (no IR, radar detection)
			* 5680 MHz [136] (20.0 dBm) (no IR, radar detection)
			* 5700 MHz [140] (20.0 dBm) (no IR, radar detection)
			* 5720 MHz [144] (20.0 dBm) (no IR, radar detection)
			* 5745 MHz [149] (20.0 dBm) (no IR)
			* 5765 MHz [153] (20.0 dBm) (no IR)
			* 5785 MHz [157] (20.0 dBm) (no IR)
			* 5805 MHz [161] (20.0 dBm) (no IR)
			* 5825 MHz [165] (20.0 dBm) (no IR)
			* 5845 MHz [169] (disabled)
			* 5865 MHz [173] (disabled)
	valid interface combinations:
		 * #{ managed, P2P-client } <= 16, #{ P2P-GO } <= 3, #{ AP } <= 16, #{ IBSS } <= 1,
		   total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ VHT_IBSS ]: VHT-IBSS
		* [ RRM ]: RRM
		* [ SET_SCAN_DWELL ]: scan dwell setting
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling
  • dmesg with only 2.4 GHz-wifi:
root@OpenWrt:~# dmesg 
[    0.000000] Linux version 5.4.58 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14198-da98603597)) #0 Tue Aug 18 16:14:54 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link RE450 v3
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56888K/65536K available (5134K kernel code, 190K rwdata, 1176K rodata, 1236K init, 205K bss, 8648K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008231] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046722] pid_max: default: 32768 minimum: 301
[    0.051721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059438] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071590] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081915] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089209] pinctrl core: initialized pinctrl subsystem
[    0.097096] NET: Registered protocol family 16
[    0.131045] clocksource: Switched to clocksource MIPS
[    0.137496] NET: Registered protocol family 2
[    0.142951] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.151839] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.159931] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.167372] TCP: Hash tables configured (established 1024 bind 1024)
[    0.174198] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.181140] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.188818] NET: Registered protocol family 1
[    0.193465] PCI: CLS 0 bytes, default 32
[    0.201000] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.214024] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.220214] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.242855] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.254127] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.261184] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.269993] printk: console [ttyS0] disabled
[    0.274584] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.283698] printk: console [ttyS0] enabled
[    0.292759] printk: bootconsole [early0] disabled
[    0.321224] spi-nor spi0.0: s25fl064k (8192 Kbytes)
[    0.326339] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.332909] Creating 7 MTD partitions on "spi0.0":
[    0.337878] 0x000000000000-0x000000020000 : "u-boot"
[    0.343925] 0x000000020000-0x000000022000 : "info"
[    0.349744] 0x000000022000-0x000000024000 : "partition-table"
[    0.356582] 0x000000024000-0x00000002e000 : "info2"
[    0.362517] 0x00000002e000-0x000000050000 : "config"
[    0.368552] 0x000000050000-0x0000007f0000 : "firmware"
[    0.379462] 2 tplink-fw partitions found on MTD device firmware
[    0.385627] Creating 2 MTD partitions on "firmware":
[    0.390774] 0x000000000000-0x000000209c24 : "kernel"
[    0.396763] 0x000000209c24-0x0000007a0000 : "rootfs"
[    0.402729] mtd: device 7 (rootfs) set to be root filesystem
[    0.410258] 1 squashfs-split partitions found on MTD device rootfs
[    0.416725] 0x000000490000-0x0000007a0000 : "rootfs_data"
[    0.423252] 0x0000007f0000-0x000000800000 : "art"
[    0.429885] libphy: GPIO Bitbanged MDIO: probed
[    0.440229] libphy: Fixed MDIO Bus: probed
[    0.772836] ag71xx 19000000.eth: connected to PHY at gpio-0:04 [uid=004dd074, driver=Atheros 8031 ethernet]
[    0.783494] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    0.790216] i2c /dev entries driver
[    0.796303] NET: Registered protocol family 10
[    0.806492] Segment Routing with IPv6
[    0.810429] NET: Registered protocol family 17
[    0.815115] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.828508] 8021q: 802.1Q VLAN Support v1.8
[    0.833630] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    0.839994]  MEM 0x0000000012000000..0x0000000013ffffff
[    0.845396]   IO 0x0000000000000000..0x0000000000000000
[    0.850800] ar724x-pci 18250000.pcie-controller: PCIe link is down
[    0.857332] PCI host bridge to bus 0000:00
[    0.861603] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    0.868710] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.874469] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.881484] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.890429] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.897945] hctosys: unable to open rtc device (rtc0)
[    0.907557] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    0.921813] Freeing unused kernel memory: 1236K
[    0.926520] This architecture does not have kernel memory protection.
[    0.933170] Run /sbin/init as init process
[    1.175048] random: fast init done
[    1.532016] init: Console is alive
[    1.535840] init: - watchdog -
[    2.553540] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.763237] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.781133] init: - preinit -
[    3.635176] random: jshn: uninitialized urandom read (4 bytes read)
[    3.740548] random: jshn: uninitialized urandom read (4 bytes read)
[    3.786584] random: jshn: uninitialized urandom read (4 bytes read)
[    8.246371] jffs2: notice: (548) jffs2_build_xattr_subsystem: complete building xattr subsystem, 35 of xdatum (29 unchecked, 4 orphan) and 52 of xref (4 dead, 0 orphan) found.
[    8.265777] mount_root: switching to jffs2 overlay
[    8.290175] overlayfs: upper fs does not support tmpfile.
[    8.306647] urandom-seed: Seeding with /etc/urandom.seed
[    8.395809] procd: - early -
[    8.398875] procd: - watchdog -
[    9.032264] procd: - watchdog -
[    9.035819] procd: - ubus -
[    9.118067] urandom_read: 5 callbacks suppressed
[    9.118073] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.195823] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.204378] procd: - init -
[   10.001922] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.260046] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[   10.267552] Backport generated by backports.git v5.8-1-0-g79400d9e
[   10.327832] xt_time: kernel timezone is -0000
[   10.419909] urngd: v1.0.2 started.
[   10.517728] PPP generic driver version 2.4.2
[   10.531947] NET: Registered protocol family 24
[   10.670799] random: crng init done
[   10.699652] ath: EEPROM regdomain sanitized
[   10.699663] ath: EEPROM regdomain: 0x64
[   10.699666] ath: EEPROM indicates we should expect a direct regpair map
[   10.699686] ath: Country alpha2 being used: 00
[   10.699689] ath: Regpair used: 0x64
[   10.711980] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.713846] ieee80211 phy0: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   10.823428] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.215341] br-lan: port 1(eth0) entered blocking state
[   22.220791] br-lan: port 1(eth0) entered disabled state
[   22.226493] device eth0 entered promiscuous mode
[   25.552299] br-lan: port 2(wlan0-1) entered blocking state
[   25.558022] br-lan: port 2(wlan0-1) entered disabled state
[   25.564080] device wlan0-1 entered promiscuous mode
[   28.429430] wlan0: authenticate with c8:0e:14:fc:02:ed
[   28.449012] wlan0: send auth to c8:0e:14:fc:02:ed (try 1/3)
[   28.457875] wlan0: authenticated
[   28.463223] wlan0: associate with c8:0e:14:fc:02:ed (try 1/3)
[   28.475679] wlan0: RX AssocResp from c8:0e:14:fc:02:ed (capab=0x31 status=0 aid=6)
[   28.483786] wlan0: associated
[   28.498734] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.517355] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   28.524337] br-lan: port 2(wlan0-1) entered blocking state
[   28.530062] br-lan: port 2(wlan0-1) entered forwarding state
[   28.555183] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
  • iw list with only 2.4 GHz-wifi:
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2257 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports AP-side u-APSD.
	Device supports T-DLS.
	Available Antennas: TX 0x7 RX 0x7
	Configured Antennas: TX 0x7 RX 0x7
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
		 * outside context of a BSS
	Band 1:
		Capabilities: 0x11ee
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			TX STBC
			RX STBC 1-stream
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 8 usec (0x06)
		HT TX/RX MCS rate indexes supported: 0-23
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm) (no IR)
			* 2472 MHz [13] (20.0 dBm) (no IR)
			* 2484 MHz [14] (20.0 dBm) (no IR)
	valid interface combinations:
		 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
		   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

	HT Capability overrides:
		 * MCS: ff ff ff ff ff ff ff ff ff ff
		 * maximum A-MSDU length
		 * supported channel width
		 * short GI for 40 MHz
		 * max A-MPDU length exponent
		 * min MPDU start spacing
	Supported extended features:
		* [ RRM ]: RRM
		* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
		* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
		* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
		* [ AIRTIME_FAIRNESS ]: airtime fairness scheduling

20.08.20203295Base systemBug ReportVery LowLowAdresses not configured on interface but visible via ub...TrunkUnconfirmed Task Description

On an ipq40xx/compex-wpj428, sometimes the addresses aren’t configured on the wan bridge.
netifd shows that it knows about addresses that should be configured but they aren’t.

“ip l set br-wan down” + up didn’t change that.
“ubus call network.interface.wan down” + up however, did lead to a change.

$ ip a show br-wan
6: br-wan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 04:f0:21:4e:21:05 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::6f0:21ff:fe4e:2105/64 scope link 
       valid_lft forever preferred_lft forever
$ ubus call network.interface.wan status {}
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 91629,
        "l3_device": "br-wan",
        "proto": "dhcp",
        "device": "br-wan",
        "ip4table": 1,
        "ip6table": 1,
        "metric": 0,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                { 
                        "address": "192.168.0.34",
                        "mask": 24
                } 
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                { 
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "192.168.0.1",
                        "source": "192.168.0.34/32"
                } 
        ],
        "dns-server": [
                "192.168.0.1",
                "192.168.0.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "hostname": "test",
                "leasetime": 3600,
                "ntpserver": "212.6.108.160"
        }
}
18.08.20203293Base systemBug ReportVery LowLowath10k_pci firmware crash on openwrt-19.07 branch (git-...TrunkUnconfirmed Task Description

Running OpenWRT 19.07 on TP-LINK Archer C7 v5 with Candela Technologies firmware ath10k-firmware-qca988x-ct - 2019-10-03-d622d160-1 causes AP to crash, stalling all connections.

This is specially troublesome using a Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter as client (as per this bug report I filed here: External Link ).

Please refer to attached dmesg buffer. Let me know what additional info I may provide for completeness. I’m willing to test and can compile OpenWRT from scracth.

18.08.20203291Base systemBug ReportVery LowLowprocd gives warning when called outside an init scriptTrunkUnconfirmed Task Description

The documentation here: https://openwrt.org/docs/guide-developer/procd-init-scripts suggests that you can use procd outside of init scripts.:

Note You can also send signals to named procd services from outside initscripts. Simply load the procd functions and send the signal as before.
#!/bin/sh
. /lib/functions/procd.sh
procd_send_signal service_name [instance_name] [signal]

However, when you import the procd like this, the script shows an error when it calls ‘basename’ trying to obtain the procd lock.

 # cat /tmp/test.sh 
 
 #!/bin/sh
 set -x
 . /lib/functions/procd.sh
 # /tmp/test.sh 2>&1|grep basename -C2
 + readlink 
 + local 'basescript='
 + basename
 BusyBox v1.30.1 () multi-call binary.
 
 Usage: basename FILE [SUFFIX]
 
 Strip directory path and .SUFFIX from FILE

`

Either procd.sh should be updated so that it can be called outside of init scripts without printing warnings, or the documentation should be updated to reflect that procd should not be called outside init scripts.

17.08.20203290PackagesBug ReportVery LowLowhostapd always sets ap_isolate to 1 no matter what the ...openwrt-19.07Unconfirmed Task Description

I have two devices that show the same problem - both TP-Link, but different models.
The problem is that the devices/clients connected to any of the wlans are always isolated no matter what the config “isolate clients” is set to.
These devices cannot ping and see each other but they can be pinged and they can ping devices from/to devices in lan.

Further more the generated /var/run/hostapd-phy0.conf and /var/run/hostapd-phy1.conf always have the ap_isolate=1

The tested devices are:

root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
        "model": "TP-Link Archer C7 v2",
        "board_name": "tplink,archer-c7-v2",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}
root@OpenWrt:~# ubus call system board
{
        "kernel": "4.14.180",
        "hostname": "OpenWrt",
        "system": "Atheros AR9344 rev 2",
        "model": "TP-Link TL-WDR4300 v1",
        "board_name": "tplink,tl-wdr4300-v1",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07.3",
                "revision": "r11063-85e04e9f46",
                "target": "ath79/generic",
                "description": "OpenWrt 19.07.3 r11063-85e04e9f46"
        }
}

No packages have been updated manually on both devices.
Both devices has defaults sets coming with the default factory OpenWrt 19.07.3 image.
Both devices were set for their Network → Wireless → wlan0 (and wlan1) → Interface configuration → Advanced settings → Isolate clients UNCHECKED

Here is the config of one of the devices (/etc/config/wireless) and the respective generated /var/run/hostapd-phy0.conf

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'platform/ahb/18100000.wmac'
	option channel 'auto'
	option country 'BG'
	option htmode 'HT20'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option key 'XXXXXX'
	option ssid 'YYYYYYYY'
	option encryption 'psk2'

Even when option isolate ‘0’ is added manually using uci not luci, and restarting the device the respective hostapd-phy0.conf remains with ap_isolate=1

driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=BG
ieee80211d=1
hw_mode=g
beacon_int=100
channel=acs_survey



ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=YYYYYYYY
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=xx:xx:xx:xx:xx:xx

My guess is that hostapd/wpad doesn’t set properly the ap_isolate according to the config.

Please let me know if you need further info.

Thanks

 


17.08.20203289KernelBug ReportVery LowMediumMT6720a Slowness in 2.4Ghz bandAllUnconfirmed Task Description

Device: MI R3

https://openwrt.org/toh/xiaomi/mir3

I am using a Openwrt fork, X-WRT in my MI R3. Whenever i use 2.4Ghz band connection, I am getting really slow speeds... I.e if i have bandwidth of 10 mbps upload and download speed then i am only half the speed. However, I have fixed the download speed by changing the 2.4ghz channel to 13 but still there are some packet losses which can be seen and still the upload speed doesn’t cross 5mbps...

I have attached speedtest screenshot for your reference. This speedtest has been done while no one was using my bandwidth and that too in the morning.

16.08.20203288KernelBug ReportVery LowLowrockchip: FriendlyARM NanoPi R2S Kernel CrashTrunkUnconfirmed Task Description
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.292714] ------------[ cut here ]------------
Fri Aug 14 21:56:19 2020 kern.info kernel: [187716.293203] NETDEV WATCHDOG: eth1 (r8152): transmit queue 0 timed out
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.293915] WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:448 dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.294655] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack ipt_REJECT xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard usbnet slhc sch_cake r8152 nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables fou crc_ccitt arptable_filter arpt_mangle arp_tables 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 xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.294941]  ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ip_gre gre ifb l2tp_eth sit l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel xfrm4_tunnel ipcomp esp4 ah4 ipip tunnel4 ip_tunnel tun xfrm_user xfrm_ipcomp af_key xfrm_algo sha1_generic md5 hmac echainiv des_generic libdes deflate cbc authenc crypto_acompress gpio_button_hotplug
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.306829] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 5.4.52 #0
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.307365] Hardware name: FriendlyARM NanoPi R2S (DT)
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.307838] pstate: 20000005 (nzCv daif -PAN -UAO)
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.308282] pc : dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.308652] lr : dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.309024] sp : ffff800010013da0
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.309332] x29: ffff800010013da0 x28: ffff00003cd2aa80
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.309818] x27: 0000000000000004 x26: 0000000000000140
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.310305] x25: 00000000ffffffff x24: 0000000000000002
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.310793] x23: ffff00003c05b45c x22: ffff00003c05b000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.311281] x21: ffff00003c05b480 x20: ffff800010bf6000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.311765] x19: 0000000000000000 x18: 0000000000000000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.312249] x17: 0000000000000000 x16: 0000000000000000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.312733] x15: 0000000000000000 x14: ffff800010c85fc2
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.313221] x13: 0000000000000000 x12: ffff800010c85000
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.313709] x11: ffff800010c0a000 x10: 0000000000000010
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.314195] x9 : 0000000000000000 x8 : 756575712074696d
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.314682] x7 : 736e617274203a29 x6 : ffff00003f59f710
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.315168] x5 : ffff00003f59f710 x4 : 0000000000000004
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.315652] x3 : 0000000000000000 x2 : 0000000000000004
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.316137] x1 : ffff00003d8d9780 x0 : 0000000000000039
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.316628] Call trace:
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.316869]  dev_watchdog+0x2f4/0x300
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.317215]  call_timer_fn.isra.35+0x20/0x78
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.317610]  run_timer_softirq+0x378/0x388
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.317992]  __do_softirq+0x124/0x240
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.318336]  irq_exit+0xb8/0xc8
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.318635]  __handle_domain_irq+0x64/0xb8
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319012]  gic_handle_irq+0x50/0xa0
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319355]  el1_irq+0xb8/0x180
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319655]  arch_cpu_idle+0x10/0x18
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.319991]  do_idle+0x214/0x218
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.320296]  cpu_startup_entry+0x20/0x40
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.320666]  secondary_start_kernel+0x164/0x178
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.321085] ---[ end trace ce8469331d000ac7 ]---
Fri Aug 14 21:56:19 2020 kern.warn kernel: [187716.321668] r8152 4-1:1.0 eth1: Tx timeout
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.373248] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.374175] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.374767] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.warn kernel: [187718.376062] r8152 4-1:1.0 eth1: Tx status -2
Fri Aug 14 21:56:21 2020 kern.info kernel: [187718.941274] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
15.08.20203286Base systemBug ReportVery LowLowSD card freezing for a while on Raspberry Pi 3 Model B ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Raspberry Pi 3 Model B Rev 1.2
- OpenWrt 19.07.3 and occurs in the Linux kernel module.
- Steps to reproduce: Run RPI3B and wait for a while and monitor kernel logs and you will get the following:
[ 33.111038] mmc0: timeout waiting for hardware interrupt.
[ 33.118228] [019e2838] FCM> 34f29528 34f29628
[ 33.124313] [019e2839] IRQ> 0 0
[ 33.129082] [019e283d] TSK< 34f29528 0
[ 33.134397] [019e284b] TSK> 34f29528 0
[ 33.139625] [819e286f] REQ< 8b8baa0 10801
[ 33.145087] [819e2872] CMD< d 70000
[ 33.149984] [819e2879] FCM< 8b8baa0 8b8bb40
[ 33.155539] [819e287c] RSP 900 0
[ 33.160141] [819e2882] FCM> 8b8baa0 0
[ 33.165110] [819e2883] CMD d 0
[ 33.169506] [819e2884] REQ> 8b8baa0 0
[ 33.174403] [819e288a] TSK< 8b8baa0 0
[ 33.179286] [819e288e] TSK> 8b8baa0 0
[ 33.184103] [819e2895] PRD< 34f28668 0
[ 33.188995] [819e2895] PRD1 38ecf080 0
[ 33.193843] [819e289a] PRD2 1 0
[ 33.198009] [819e28a2] PRD3 35799808 0
[ 33.202727] [819e28a2] PDM> 34f28668 0
[ 33.207372] [819e28a2] REQ< 34f28528 10801
[ 33.212369] [819e28a3] CMD< 19 ed74f8
[ 33.216877] [819e28a5] CMDD 8 200
[ 33.220985] [819e28a6] SDMA 34f28668 38ecf080
[ 33.226169] [819e28a7] FCM< 34f28528 34f285e8
[ 33.231353] [819e28a8] RSP 900 0
[ 33.235491] [819e28a8] FCM> 34f28528 0
[ 33.240065] [819e28a9] CMD 19 200
[ 33.244277] [819e28a9] REQ> 34f28528 0
[ 33.248840] [419e2a08] DMA< 34f28668 1
[ 33.253393] [419e2a09] DMA 99 10807
[ 33.257763] [419e2a0b] FDA< 34f28528 0
[ 33.262313] [419e2a0c] TCM< 34f28668 0
[ 33.266850] [419e2a0c] CMD< c 0
[ 33.270772] [419e2a0d] TCM> 34f28668 0
[ 33.275345] [419e2a0d] FDA> 34f28528 34f28628
[ 33.280535] [419e2a0e] DMA> 0 0
[ 33.284488] [419e2ba1] IRQ< 400 0
[ 33.288616] [419e2ba1] IRQB 34f28628 400
[ 33.293372] [419e2ba2] FCM< 34f28528 34f28628
[ 33.298582] [419e2ba3] RSP c00 0
[ 33.302733] [419e2ba4] FCM> 34f28528 34f28628
[ 33.307964] [419e2ba5] IRQ> 0 0
[ 33.311953] [419e2ba6] TSK< 34f28528 0
[ 33.316559] [419e2bab] TSK> 34f28528 0
[ 33.321148] [819e2bb3] REQ< 8b8baa0 10801
[ 33.326005] [819e2bb4] CMD< d 70000
[ 33.330327] [819e2bb6] FCM< 8b8baa0 8b8bb40
[ 33.335370] [819e2bb9] RSP 900 0
[ 33.339530] [819e2bbc] FCM> 8b8baa0 0
[ 33.344048] [819e2bbc] CMD d 0
[ 33.348026] [819e2bbc] REQ> 8b8baa0 0
[ 33.352541] [819e2bc0] TSK< 8b8baa0 0
[ 33.357057] [819e2bc3] TSK> 8b8baa0 0
[ 33.361557] [819e2e8c] PRD< 34f29e68 0
[ 33.366146] [819e2e8d] PRD1 38ecf080 0
[ 33.370729] [819e2e95] PRD2 1 0
[ 33.374677] [819e2e9b] PRD3 35799908 0
[ 33.379255] [819e2e9b] PDM> 34f29e68 0
[ 33.383827] [819e2e9c] REQ< 34f29d28 10801
[ 33.388754] [819e2e9d] CMD< 19 ed74f8
[ 33.393230] [819e2ea3] CMDD 8 200
[ 33.397331] [819e2ea4] SDMA 34f29e68 38ecf080
[ 33.402510] [819e2ea6] FCM< 34f29d28 34f29de8
[ 33.407688] [819e2ea8] RSP 900 0
[ 33.411822] [819e2ea8] FCM> 34f29d28 0
[ 33.416391] [819e2ea9] CMD 19 200
[ 33.420602] [819e2eaa] REQ> 34f29d28 0
[ 33.425167] [c19e301d] DMA< 34f29e68 0
[ 33.429721] [c19e301e] DMA 99 10801
[ 33.434091] [c19e3020] FDA< 34f29d28 0
[ 33.438645] [c19e3021] TCM< 34f29e68 0
[ 33.443191] [c19e3022] CMD< c 0
[ 33.447122] [c19e3024] TCM> 34f29e68 0
[ 33.451699] [c19e3024] FDA> 34f29d28 34f29e28
[ 33.456901] [c19e3024] DMA> 0 0
[ 33.460859] [019e31ce] IRQ< 400 0
[ 33.464998] [019e31cf] IRQB 34f29e28 400
[ 33.469768] [019e31cf] FCM< 34f29d28 34f29e28
[ 33.474990] [019e31d1] RSP c00 0
[ 33.479151] [019e31d2] FCM> 34f29d28 34f29e28
[ 33.484390] [019e31d3] IRQ> 0 0
[ 33.488390] [019e31d5] TSK< 34f29d28 0
[ 33.493002] [019e31dc] TSK> 34f29d28 0
[ 33.497594] [819e32e0] REQ< 8b8baa0 10801
[ 33.502455] [819e32e1] CMD< d 70000
[ 33.506784] [819e32e8] FCM< 8b8baa0 8b8bb40
[ 33.511835] [819e32eb] RSP 900 0
[ 33.515996] [819e32ef] FCM> 8b8baa0 0
[ 33.520519] [819e32ef] CMD d 0
[ 33.524507] [819e32f0] REQ> 8b8baa0 0
[ 33.529031] [819e32f6] TSK< 8b8baa0 0
[ 33.533550] [819e32fa] TSK> 8b8baa0 0
[ 33.538055] [819e3300] PRD< 34f29268 0
[ 33.542652] [819e3301] PRD1 38ecf080 0
[ 33.547242] [819e3305] PRD2 1 0
[ 33.551195] [819e330d] PRD3 35799a08 0
[ 33.555775] [819e330e] PDM> 34f29268 0
[ 33.560348] [819e330e] REQ< 34f29128 10801
[ 33.565277] [819e330f] CMD< 19 ed1908
[ 33.569749] [819e3311] CMDD 8 200
[ 33.573851] [819e3311] SDMA 34f29268 38ecf080
[ 33.579028] [819e3312] FCM< 34f29128 34f291e8
[ 33.584206] [819e3314] RSP 900 0
[ 33.588340] [819e3314] FCM> 34f29128 0
[ 33.592908] [819e3314] CMD 19 200
[ 33.597114] [819e3315] REQ> 34f29128 0
[ 33.601673] [819e349f] DMA< 34f29268 0
[ 33.606221] [819e34a0] DMA 99 10801
[ 33.610586] [819e34a3] FDA< 34f29128 0
[ 33.615133] [819e34a4] TCM< 34f29268 0
[ 33.619669] [819e34a5] CMD< c 0
[ 33.623592] [819e34a7] TCM> 34f29268 0
[ 33.628162] [819e34a7] FDA> 34f29128 34f29228
[ 33.633350] [819e34a8] DMA> 0 0
[ 33.637300] [819e3634] IRQ< 400 0
[ 33.641430] [819e3635] IRQB 34f29228 400
[ 33.646187] [819e3636] FCM< 34f29128 34f29228
[ 33.651399] [819e3639] RSP c00 0
[ 33.655551] [819e363a] FCM> 34f29128 34f29228
[ 33.660784] [819e363b] IRQ> 0 0
[ 33.664774] [819e363d] TSK< 34f29128 0
[ 33.669384] [819e364b] TSK> 34f29128 0
[ 33.673974] [819e365b] REQ< 8b8baa0 10801
[ 33.678826] [819e365c] CMD< d 70000
[ 33.683144] [819e3660] FCM< 8b8baa0 8b8bb40
[ 33.688189] [819e3662] RSP 900 0
[ 33.692344] [819e3665] FCM> 8b8baa0 0
[ 33.696861] [819e3666] CMD d 0
[ 33.700842] [819e3666] REQ> 8b8baa0 0
[ 33.705359] [819e366e] TSK< 8b8baa0 0
[ 33.709874] [819e3672] TSK> 8b8baa0 0
[ 33.714371] [819e3679] PRD< 34c12a68 0
[ 33.718959] [819e367a] PRD1 38ecf080 0
[ 33.723544] [819e3685] PRD2 13 0
[ 33.727580] [819e3696] PRD3 34d1d008 0
[ 33.732157] [819e3697] PDM> 34c12a68 0
[ 33.736729] [819e3698] REQ< 34c12928 10801
[ 33.741657] [819e3698] CMD< 17 a8
[ 33.745770] [819e369a] FCM< 34c12928 34c129a8
[ 33.750957] [819e369d] RSP 900 0
[ 33.755072] [819e369d] CMD< 12 1f9de
[ 33.759452] [819e369f] CMDD a8 200
[ 33.763662] [819e36a0] SDMA 34c12a68 38ecf080
[ 33.768864] [819e36a1] FCM< 34c12928 34c129e8
[ 33.774069] [819e36a2] RSP 900 0
[ 33.778200] [819e36a3] FCM> 34c12928 0
[ 33.782770] [819e36a3] FCM> 34c12928 0
[ 33.787318] [819e36a4] CMD 12 200
[ 33.791510] [819e36a4] REQ> 34c12928 0
[ 33.796060] [019e47c5] DMA< 34c12a68 1
[ 33.800620] [019e47c7] DMA 52 10834
[ 33.805014] [019e47d6] FDA< 34c12928 0
[ 33.809588] [019e47d7] TCM< 34c12a68 0
[ 33.814157] [019e47d8] WTC< 10804 0
[ 33.818459] [019e47d9] WTC> 10804 0
[ 33.822746] [019e47d9] TCM> 34c12a68 0
[ 33.827306] [019e47d9] FDA> 34c12928 0
[ 33.831851] [019e47d9] DMA> 0 0
[ 33.835764] [019e47db] TSK< 34c12928 0
[ 33.840297] [019e47f0] TSK> 34c12928 0
[ 33.844803] [819e481f] PRD< 34f2a668 0
[ 33.849313] [819e481f] PRD1 38ecf080 0
[ 33.853819] [819e4823] PRD2 1 0
[ 33.857684] [819e482a] PRD3 360b5d08 0
[ 33.862173] [819e482a] PDM> 34f2a668 0
[ 33.866642] [819e482b] REQ< 34f2a528 10801
[ 33.871469] [819e482d] CMD< 19 ed1910
[ 33.875876] [819e4834] CMDD 8 200
[ 33.879921] [819e4835] SDMA 34f2a668 38ecf080
[ 33.885051] [819e4838] FCM< 34f2a528 34f2a5e8
[ 33.890187] [819e4839] RSP 900 0
[ 33.894262] [819e483a] FCM> 34f2a528 0
[ 33.898781] [819e483b] CMD 19 200
[ 33.902953] [819e483b] REQ> 34f2a528 0
[ 33.907486] [019e490c] DMA< 34f2a668 1
[ 33.912034] [019e490d] DMA 99 10807
[ 33.916400] [019e490e] FDA< 34f2a528 0
[ 33.920963] [019e490f] TCM< 34f2a668 0
[ 33.925521] [019e490f] CMD< c 0
[ 33.929444] [019e4911] TCM> 34f2a668 0
[ 33.934012] [019e4912] FDA> 34f2a528 34f2a628
[ 33.939210] [019e4912] DMA> 0 0
[ 33.943171] [019e4aa2] IRQ< 400 0
[ 33.947306] [019e4aa3] IRQB 34f2a628 400
[ 33.952072] [019e4aa3] FCM< 34f2a528 34f2a628
[ 33.957293] [019e4aa5] RSP c00 0
[ 33.961452] [019e4aa6] FCM> 34f2a528 34f2a628
[ 33.966692] [019e4aa7] IRQ> 0 0
[ 33.970687] [019e4aaa] TSK< 34f2a528 0
[ 33.975301] [019e4abd] TSK> 34f2a528 0
[ 33.979897] [819e4adb] REQ< 8b8baa0 10801
[ 33.984758] [819e4add] CMD< d 70000
[ 33.989086] [819e4ae1] FCM< 8b8baa0 8b8bb40
[ 33.994136] [819e4ae4] RSP 900 0
[ 33.998297] [819e4ae8] FCM> 8b8baa0 0
[ 34.002817] [819e4ae9] CMD d 0
[ 34.006806] [819e4ae9] REQ> 8b8baa0 0
[ 34.011328] [819e4af7] TSK< 8b8baa0 0
[ 34.015849] [819e4afd] TSK> 8b8baa0 0
[ 34.020356] [819e4b08] PRD< 34f2aa68 0
[ 34.024954] [819e4b09] PRD1 38ecf080 0
[ 34.029540] [819e4b0d] PRD2 1 0
[ 34.033491] [819e4b13] PRD3 382b2608 0
[ 34.038076] [819e4b14] PDM> 34f2aa68 0
[ 34.042657] [819e4b15] REQ< 34f2a928 10801
[ 34.047594] [819e4b15] CMD< 19 ed74f8
[ 34.052075] [819e4b17] CMDD 8 200
[ 34.056183] [819e4b18] SDMA 34f2aa68 38ecf080
[ 34.061370] [819e4b1a] FCM< 34f2a928 34f2a9e8
[ 34.066554] [819e4b1b] RSP 900 0
[ 34.070691] [819e4b1b] FCM> 34f2a928 0
[ 34.075269] [819e4b1c] CMD 19 200
[ 34.079484] [819e4b1c] REQ> 34f2a928 0
[ 34.084047] [419e4c97] DMA< 34f2aa68 0
[ 34.088602] [419e4c98] DMA 99 10801
[ 34.092973] [419e4c9a] FDA< 34f2a928 0
[ 34.097521] [419e4c9c] TCM< 34f2aa68 0
[ 34.102060] [419e4c9d] CMD< c 0
[ 34.105989] [419e4ca0] TCM> 34f2aa68 0
[ 34.110563] [419e4ca1] FDA> 34f2a928 34f2aa28
[ 34.115763] [419e4ca1] DMA> 0 0
[ 34.119720] [819e4e32] IRQ< 400 0
[ 34.123855] [819e4e33] IRQB 34f2aa28 400
[ 34.128622] [819e4e34] FCM< 34f2a928 34f2aa28
[ 34.133841] [819e4e36] RSP c00 0
[ 34.138000] [819e4e37] FCM> 34f2a928 34f2aa28
[ 34.143241] [819e4e37] IRQ> 0 0
[ 34.147238] [819e4e3b] TSK< 34f2a928 0
[ 34.151853] [819e4e4d] TSK> 34f2a928 0
[ 34.156450] [819e5abf] REQ< 8b8baa0 10801
[ 34.161314] [819e5ac0] CMD< d 70000
[ 34.165644] [819e5acc] FCM< 8b8baa0 8b8bb40
[ 34.170694] [819e5acf] RSP 900 0
[ 34.174862] [819e5ad3] FCM> 8b8baa0 0
[ 34.179390] [819e5ad4] CMD d 0
[ 34.183382] [819e5ad5] REQ> 8b8baa0 0
[ 34.187913] [819e5adf] TSK< 8b8baa0 0
[ 34.192441] [819e5ae6] TSK> 8b8baa0 0
[ 34.196952] [819e5af7] PRD< 383a6668 0
[ 34.201552] [819e5af8] PRD1 38ecf080 0
[ 34.206140] [819e5b03] PRD2 2 0
[ 34.210099] [819e5b0b] PRD3 360b5d08 0
[ 34.214684] [819e5b0b] PDM> 383a6668 0
[ 34.219259] [819e5b0c] REQ< 383a6528 10801
[ 34.224191] [819e5b0c] CMD< 17 8c
[ 34.228310] [819e5b0e] FCM< 383a6528 383a65a8
[ 34.233500] [819e5b10] RSP 900 0
[ 34.237620] [819e5b11] CMD< 12 21982
[ 34.242005] [819e5b13] CMDD 8c 200
[ 34.246220] [819e5b14] SDMA 383a6668 38ecf080
[ 34.251421] [819e5b16] FCM< 383a6528 383a65e8
[ 34.256619] [819e5b17] RSP 900 0
[ 34.260748] [819e5b18] FCM> 383a6528 0
[ 34.265319] [819e5b18] FCM> 383a6528 0
[ 34.269870] [819e5b18] CMD 12 200
[ 34.274060] [819e5b19] REQ> 383a6528 0
[ 34.278607] [823adfd1] TIM< 0 0
[ 34.282555] mmc0: sbc op 23 arg 0x8c flags 0×15 - resp 00000900 00000000 00000000 00000000, err 0
[ 34.293364] mmc0: cmd op 18 arg 0×21982 flags 0xb5 - resp 00000900 00000000 00000000 00000000, err 0
[ 34.304769] mmc0: data blocks 8c blksz 200 - err 0
[ 34.310795] mmc0: stop op 12 arg 0×0 flags 0×95 - resp 00000000 00000000 00000000 00000000, err 0
[ 34.322319] mmc0:

REGISTER DUMP

[ 34.328983] mmc0: SDCMD 0×00004052 [ 34.333872] mmc0: SDARG 0×00021982 [ 34.338742] mmc0: SDTOUT 0x017d7840
[ 34.343607] mmc0: SDCDIV 0×00000003 [ 34.348472] mmc0: SDRSP0 0×00000900 [ 34.353319] mmc0: SDRSP1 0×00001269 [ 34.358154] mmc0: SDRSP2 0x7fffffff
[ 34.362970] mmc0: SDRSP3 0×00024007 [ 34.367774] mmc0: SDHSTS 0×00000080 [ 34.372593] mmc0: SDVDD 0×00000001 [ 34.377403] mmc0: SDEDM 0×00010801 [ 34.382197] mmc0: SDHCFG 0x0000040e
[ 34.386978] mmc0: SDHBCT 0×00000200 [ 34.391676] mmc0: SDHBLC 0×00000006 [ 34.396280] mmc0:

[ 34.403337] mmcblk0: error -110 transferring data, sector 137602, nr 140, cmd response 0×900, card status 0xb00

 


15.08.20203285KernelBug ReportVery LowHighCan't change MTU on IPQ806x devicesTrunkUnconfirmed Task Description

- I’ve personally tested it on ZyXEL NBG6817
- Any version with https://patchwork.kernel.org/patch/11283121/ patch applied
- To reproduce:
# ifdown wan
# ifconfig (wan_interface) MTU 1499 (or 1501 or anything other than 1500)

This bug is caused by txfifosz being 0 on IPQ806x devices (and possibly more) unless tx-fifo-depth is specified in device tree, potential fix would be to specify tx-fifo-depth in device tree for all affected devices, or, check if txfifosz == 0 and then allow MTU change.

15.08.20203284Base systemBug ReportVery LowLowfirewall3 parses boolean options as falseTrunkUnconfirmed Task Description

fw3 does not parse boolean options properly: { “bool_attr”: “true” } is fine, but { “bool_attr”: true } (no quotes) is parsed as false.

Repro steps:

Assuming there is a “wanclient” DHCPv6 client logical interface, based on a eth0.2 switch VLAN interface:

ubus  call network.interface notify_proto '{ "action": 0, "link-up": true, "interface": "wanclient", "ifname": "eth0.2", "data": { "firewall": [ { "type": "nat", "target": "SNAT", "family": "inet", "proto": "icmp", "connlimit_ports": true, "snat_ip": "192.168.42.42", "snat_port": "63345-63346" }]}}'
iptables -t nat -S POSTROUTING

Shows the following iptables SNAT rule:

  -A POSTROUTING -o eth0.2 -p icmp -m comment --comment "!fw3: ubus:wanclient[dhcpv6] nat 0" -j SNAT --to-source 192.168.42.42:63345-63346

Notice that it does not specify connlimit options, even though ‘“connlimit_ports”: true’ was specified in the ubus call.
However if the same is done with ‘“connlimit_ports”: “true”’ (note the quotes around “true”):

ubus  call network.interface notify_proto '{ "action": 0, "link-up": true, "interface": "wanclient", "ifname": "eth0.2", "data": { "firewall": [ { "type": "nat", "target": "SNAT", "family": "inet", "proto": "icmp", "connlimit_ports": "true", "snat_ip": "192.168.42.42", "snat_port": "63345-63346" }]}}'

The correct iptables rule is added:

  -A POSTROUTING -o eth0.2 -p icmp -m connlimit --connlimit-upto 2 --connlimit-mask 32 --connlimit-daddr -m comment --comment "!fw3: ubus:wanclient[dhcpv6] nat 0" -j SNAT --to-source 192.168.42.42:63345-63346

This seems to be a bug in firewall3/options.c: in fw3_parse_blob_options, boolean options as parsed as string options (with blobmsg_get_string), which seems to return an empty string for an actual boolean option (true without quotes).

I have a patch and will try to send it.

14.08.20203283Base systemBug ReportVery LowLowLUCI unavailable when WAN MAC specifiedTrunkUnconfirmed Task Description

Running ‘OpenWrt 19.07.3 r11063-85e04e9f46’ on a Linksys WRT32ACM v1 if you set the WAN MAC to something other than what it really is, you can not access LUCI using the internal router IP (192.168.1.1) when the WAN is plugged in. If unplug the WAN, access to 192.168.1.1 is restored. This does not impact the IPv6 access via `openwrt.lan`. Repeatedly plugging and unplugging the WAN makes the problem appear and go away. I tried all kinds of Firewall rules and port forwards, rebooted and reset many times. I reverted the WAN MAC back to the actual hardware address and it works just fine. It appears that eth1.2 gets the new MAC, but the underlying eth1 still has the burned in MAC and I think that the card drops the packets (VLAN interfaces should have the same MAC as the parent). I’m now noticing that the MAC lines up with the wlan0 interface that was down and that could also contribute to the problem.

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

 

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000

  link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  inet 127.0.0.1/8 scope host lo
     valid_lft forever preferred_lft forever
  inet6 ::1/128 scope host 
     valid_lft forever preferred_lft forever

2: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532

  link/ether 24:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff
  inet6 fe80::26f5:a2ff:fe2f:39d8/64 scope link 
     valid_lft forever preferred_lft forever

3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 532

  link/ether 26:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff
  inet6 fe80::24f5:a2ff:fe2f:39d8/64 scope link 
     valid_lft forever preferred_lft forever

5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 24:f5:a2:2f:39:da brd ff:ff:ff:ff:ff:ff

6: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 24:f5:a2:2f:39:d9 brd ff:ff:ff:ff:ff:ff

7: mlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000

  link/ether 24:f5:a2:2f:39:db brd ff:ff:ff:ff:ff:ff

8: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000

  link/ether 26:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff
  inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
     valid_lft forever preferred_lft forever
  inet6 2600:6c52:6300:74d6::1/64 scope global dynamic 
     valid_lft 600870sec preferred_lft 600870sec
  inet6 fdaa:bf91:a905::1/60 scope global 
     valid_lft forever preferred_lft forever
  inet6 fe80::24f5:a2ff:fe2f:39d8/64 scope link 
     valid_lft forever preferred_lft forever

9: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000

  link/ether 26:f5:a2:2f:39:d8 brd ff:ff:ff:ff:ff:ff

11: eth1.2@eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000

  link/ether 24:f5:a2:2f:39:da brd ff:ff:ff:ff:ff:ff
  inet xx.xx.xx.xx/24 brd 24.176.239.255 scope global eth1.2
     valid_lft forever preferred_lft forever
  inet6 2600:6c52:7008:400:d99f:4eea:b0fd:a61/128 scope global dynamic 
     valid_lft 600870sec preferred_lft 600870sec
  inet6 fe80::26f5:a2ff:fe2f:39da/64 scope link 
     valid_lft forever preferred_lft forever
13.08.20203282Base systemBug ReportVery LowHigh[bug/crypto] rockchip: nanopi r2s crypto performance is...TrunkUnconfirmed Task Description

Hello everyone.

I found a serious crypto performance problem with NanoPi R2S.

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

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

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

11.08.20203281PackagesBug ReportVery LowHighdnsmasq: option nonwildcard=0 and localservice=1 can no...TrunkUnconfirmed Task Description

Latest snapshot OpenWrt

It can be reproduced on many platform, you can just verify with Virtualbox and x86 images.

First restore to factory, then set ‘option nonwildcard=0’, reboot, ssh to OpenWrt, run ‘nslookup he.net’, you will get ‘;; connection timed out; no servers could be reached’ error, manually restarting dnsmasq service or setting ‘option localservice=0’ could fix it.

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

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

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

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

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

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

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

08.08.20203279Base systemBug ReportVery LowMediummac80211 doesn't see AR9820 minipci adapter at mt7621 b...TrunkUnconfirmed Task Description

Device: Unielec 7621-06 mt7621 with 64M Flash with Atheros AR9820 mini pcie adapter
Software: trunk

After sysupgrade -n with trunk image kernel does not recognize Atheros adapter:

root@router:~# lspci -k
00:00.0 PCI bridge: Device 0e8d:0801 (rev 01)
00:01.0 PCI bridge: Device 0e8d:0801 (rev 01)
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
        Subsystem: ASMedia Technology Inc. Device 1060
        Kernel driver in use: ahci
02:00.0 Ethernet controller: Qualcomm Atheros AR5008 Wireless Network Adapter (rev 01)

There is no interesting at dmesg output exсepts this:

[    1.028161]	mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.140760]	mt7621-pci 1e140000.pcie: Error applying setting, reverse things back

Also there is no any messages about enabling pci002:00.0 device.

If mac80211 removed (with depended packets) adapter initialized correctly:

root@router:~# lspci -k
00:00.0 PCI bridge: Device 0e8d:0801 (rev 01)
00:01.0 PCI bridge: Device 0e8d:0801 (rev 01)
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
        Subsystem: ASMedia Technology Inc. Device 1060
        Kernel driver in use: ahci
02:00.0 Ethernet controller: Qualcomm Atheros AR982X Wireless Network Adapter (rev 01)

Image built by myself, downloaded snapshot from openwrt.org does not run at all.

The same card at the same device works perfectly with 19.07.3:

root@router:~# lspci -k
00:00.0 PCI bridge: Device 0e8d:0801 (rev 01)
00:01.0 PCI bridge: Device 0e8d:0801 (rev 01)
01:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 02)
        Subsystem: ASMedia Technology Inc. Device 1060
        Kernel driver in use: ahci
02:00.0 Network controller: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: Qualcomm Atheros Device 3099
        Kernel driver in use: ath9k
06.08.20203275Base systemBug ReportVery LowLowMT7621 - Clients disconnecting / deauthenticated due to...TrunkUnconfirmed Task Description

Model Netgear R6220
Architecture MediaTek MT7621
OpenWrt 19.07.3 r11063-85e04e9f46

Wed Aug  5 13:20:29 2020 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 90:78:****
Wed Aug  5 13:20:29 2020 daemon.info hostapd: wlan0: STA 90:78:**** RADIUS: starting accounting session ACBA497F6AD16C46
Wed Aug  5 13:20:29 2020 daemon.info hostapd: wlan0: STA 90:78:**** WPA: pairwise key handshake completed (RSN)
Wed Aug  5 13:20:29 2020 daemon.info hostapd: wlan1: STA 90:78:**** IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Wed Aug  5 13:20:35 2020 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED 90:78:****
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan0: STA 90:78:**** IEEE 802.11: disassociated
Wed Aug  5 13:20:35 2020 daemon.notice hostapd: wlan1: STA-OPMODE-N_SS-CHANGED 90:78:**** 1
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan1: STA 90:78:**** IEEE 802.11: associated (aid 1)
Wed Aug  5 13:20:35 2020 daemon.notice hostapd: wlan1: AP-STA-CONNECTED 90:78:****
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan1: STA 90:78:**** RADIUS: starting accounting session B30F2D4C310A41EA
Wed Aug  5 13:20:35 2020 daemon.info hostapd: wlan1: STA 90:78:**** WPA: pairwise key handshake completed (RSN)
Wed Aug  5 13:20:36 2020 daemon.info hostapd: wlan0: STA 90:78:**** IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path 'pci0000:00/0000:00:01.0/0000:02:00.0'
	option htmode 'HT20'
	option country 'PL'
	option channel '11'
	option legacy_rates '0'

config wifi-iface 'default_radio0'
	option device 'radio0'
	option network 'lan'
	option mode 'ap'
	option ssid '*****'
	option key '**********'
	option ft_over_ds '1'
	option ieee80211w '1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option mobility_domain '27DB'
	option encryption 'sae'
	option disassoc_low_ack '0'

config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
	option htmode 'VHT80'
	option country 'PL'
	option channel '128'
	option legacy_rates '0'

config wifi-iface 'wifinet3'
	option ssid '*****-IoT'
	option encryption 'psk2+ccmp'
	option device 'radio0'
	option mode 'ap'
	option ieee80211w '1'
	option key '**********'
	option ft_over_ds '1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option mobility_domain '285D'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet4'
	option ssid '*****_5GHz'
	option device 'radio1'
	option ieee80211r '1'
	option ft_over_ds '1'
	option key '**********'
	option network 'lan'
	option mode 'ap'
	option ieee80211w '1'
	option ft_psk_generate_local '1'
	option mobility_domain '27DB'
	option encryption 'sae'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet6'
	option ssid '*****_5GHz-IoT'
	option encryption 'psk2+ccmp'
	option device 'radio1'
	option ieee80211r '1'
	option ft_over_ds '1'
	option key '**********'
	option mode 'ap'
	option ieee80211w '1'
	option ft_psk_generate_local '1'
	option mobility_domain '285D'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet5'
	option ssid '*****-Guest'
	option encryption 'psk2+ccmp'
	option device 'radio0'
	option mode 'ap'
	option ieee80211w '1'
	option ft_over_ds '1'
	option mobility_domain '28B1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option network 'lan'
	option key '**********'
	option disassoc_low_ack '0'

config wifi-iface 'wifinet7'
	option ssid '*****_5GHz-Guest'
	option encryption 'psk2+ccmp'
	option device 'radio1'
	option mode 'ap'
	option ieee80211w '1'
	option ft_over_ds '1'
	option ft_psk_generate_local '1'
	option ieee80211r '1'
	option mobility_domain '28B1'
	option network 'lan'
	option key '**********'
	option disassoc_low_ack '0'
 


06.08.20203274KernelBug ReportVery LowHighAn error is reported at each start-up phaseAllUnconfirmed Task Description

1.Error log:
[ 63.368179] i915 0000:00:02.0: Failed to load DMC firmware i915/glk_dmc_ver1_04.bin. Disabling runtime power management.
[ 63.379745] i915 0000:00:02.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

2.Problem:Sometimes the power is suddenly cut off and the machine crashes

3.System information:
Intel(R) Celeron(R) J4105 CPU @ 1.50GHz : 4 Core 4 Thread
OpenWrt R20.7.20 / LuCI Master (git-20.191.45716-b73d3a4)

4.I tried to use the graphics driver to the kernel.The mistake did not disappear.In addition, I swiped in the latest firmware compiled by others.The problem remains
I tried to upgrade the kernel to 5.4.56, which did not solve the problem.Please help me

06.08.20203273KernelBug ReportVery LowHighVLAN isolation failed on ipq40xx (GL-B1300)TrunkUnconfirmed Task Description

ipq40xx GL-B1300 OpenWrt snapshot

It seems that recent snapshots broke vlan isolation, I guess https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=9da2b567605b0964d921b9ca4f0c9886db4f636d should be responsible.

More information on https://forum.openwrt.org/t/vlan-isolation-failed-on-ipq40xx-gl-b1300

05.08.20203272KernelBug ReportVery LowMediumjffs2 will erase on every reboot the rootfs_data partit...TrunkUnconfirmed Task Description

I wanted to add support fpr the Nanobeam AC Gen2. https://github.com/openwrt/openwrt/pull/3266

Everything works with trunk compiled with 4.19. Switching to 5.4 seems to not correctly unlock the flash. OpenWrt finds “End of filesystem marker found at 0×0” after a reboot and erases the flash again.

First Boot

Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
mount_root: jffs2 not ready yet, using temporary tmpfs overlay
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device...
jffs2_build_filesystem(): erasing all blocks after the end marker...
jffs2: Newly-erased block contained word 0x0 at offset 0x00420000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00410000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x003f0000
jffs2: Newly-erased block contained word 0xb3aedd63 at offset 0x003e0000
jffs2: Newly-erased block contained word 0xd31704ef at offset 0x003d0000
jffs2: Newly-erased block contained word 0x756c245f at offset 0x003c0000
jffs2: Newly-erased block contained word 0x672c1aa9 at offset 0x003b0000
jffs2: Newly-erased block contained word 0xb59345ff at offset 0x003a0000
jffs2: Newly-erased block contained word 0x45e1dc8b at offset 0x00390000
jffs2: Newly-erased block contained word 0x9e92aeea at offset 0x00380000
jffs2: Newly-erased block contained word 0xf9d35c83 at offset 0x00370000
jffs2: Newly-erased block contained word 0xc2075909 at offset 0x00360000
jffs2: Newly-erased block contained word 0x87facdde at offset 0x00350000
jffs2: Newly-erased block contained word 0x65c65c73 at offset 0x00340000
jffs2: notice: (1466) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
mount_root: failed to sync jffs2 overlay

Full Log

Reboot

Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00340000: 0x65c6 instead
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00360024: 0x02b5 instead
...
jffs2: Further such events for this erase block will not be printed
jffs2: Old JFFS2 bitmask found at 0x00369840
jffs2: You cannot use older JFFS2 filesystems with newer kernels
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00370000: 0xf9d3 instead
...
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00390024: 0x3669 instead
jffs2: Further such events for this erase block will not be printed
jffs2: Old JFFS2 bitmask found at 0x00395294
jffs2: You cannot use older JFFS2 filesystems with newer kernels
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003a0000: 0xb593 instead
...
jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x003e0024: 0x79a9 instead
jffs2: Further such events for this erase block will not be printed
jffs2: Empty flash at 0x003e1e98 ends at 0x003e2000
jffs2: Empty flash at 0x003e2004 ends at 0x003e4000
jffs2_scan_eraseblock(): End of filesystem marker found at 0x3f0000
jffs2_build_filesystem(): unlocking the mtd device...
jffs2_build_filesystem(): erasing all blocks after the end marker...
jffs2: Newly-erased block contained word 0x0 at offset 0x00420000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00410000
jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x003f0000
jffs2: Newly-erased block contained word 0xb3aedd63 at offset 0x003e0000
jffs2: Newly-erased block contained word 0xd31704ef at offset 0x003d0000
jffs2: Newly-erased block contained word 0x756c245f at offset 0x003c0000
jffs2: Newly-erased block contained word 0x672c1aa9 at offset 0x003b0000
jffs2: Newly-erased block contained word 0xb59345ff at offset 0x003a0000
jffs2: Newly-erased block contained word 0x45e1dc8b at offset 0x00390000
jffs2: Newly-erased block contained word 0x9e92aeea at offset 0x00380000
jffs2: Newly-erased block contained word 0xf9d35c83 at offset 0x00370000
jffs2: Newly-erased block contained word 0xc2075909 at offset 0x00360000
jffs2: Newly-erased block contained word 0x87facdde at offset 0x00350000
jffs2: Newly-erased block contained word 0x65c65c73 at offset 0x00340000
jffs2: notice: (500) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay

Full Log

Probably Related Issues - Patch for disabling software protection - SPI Nor Driver - [[https://dev.archive.openwrt.org/ticket/20982|jffs2-error / nanostation M5 xw / r47658]

Some Infos - NOR
- Flash Chip Supports 4K erases in addition to 64K
-

Layout AirOS 8.7

WA# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00100000 00010000 "kernel"
mtd3: 00e60000 00010000 "rootfs"
mtd4: 00040000 00010000 "cfg"
mtd5: 00010000 00010000 "EEPROM"

MTD 4.19

dev:    size   erasesize  name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00f60000 00010000 "firmware"
mtd3: 001c0000 00010000 "kernel"
mtd4: 00da0000 00010000 "rootfs"
mtd5: 00b30000 00010000 "rootfs_data"
mtd6: 00040000 00010000 "cfg"
mtd7: 00010000 00010000 "art"

MTD 5.4 TODO

04.08.20203271Base systemBug ReportVery LowLowWAN-eth1 restarts constantly and stops completely after...TrunkUnconfirmed Task Description

I have a TP-link Archer C60 v1 that has a serious problem of constant disconnections every few minutes (approx 4 to 1 hour). It seems to be random, or something I’m not seeing.

Device info.

Report in the OpenWrt forum here and here.

The problem happens with official or own compilations.

root@archer_c60:~# dmesg
[    0.000000] Linux version 5.4.52 (franco@ubuntu) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14025-009e62c92c)) #0 Mon Aug 3 21:34:34 2020
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer C60 v1
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 57348K/65536K available (4786K kernel code, 186K rwdata, 1112K rodata, 1204K init, 196K bss, 8188K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from start_kernel+0x32c/0x518 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000006] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008216] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046713] pid_max: default: 32768 minimum: 301
[    0.051703] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059420] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071423] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.081738] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089029] pinctrl core: initialized pinctrl subsystem
[    0.095494] NET: Registered protocol family 16
[    0.129728] clocksource: Switched to clocksource MIPS
[    0.136186] NET: Registered protocol family 2
[    0.141534] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.150415] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.158508] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.165952] TCP: Hash tables configured (established 1024 bind 1024)
[    0.172784] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.179723] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.187384] NET: Registered protocol family 1
[    0.192033] PCI: CLS 0 bytes, default 32
[    0.199601] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.212506] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.218699] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.242820] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.249924] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.257292] printk: console [ttyS0] disabled
[    0.261885] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.270991] printk: console [ttyS0] enabled
[    0.280058] printk: bootconsole [early0] disabled
[    0.299004] spi-nor spi0.0: gd25q64 (8192 Kbytes)
[    0.303934] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.310502] Creating 5 MTD partitions on "spi0.0":
[    0.315464] 0x000000000000-0x000000010000 : "u-boot"
[    0.321473] 0x000000010000-0x000000020000 : "mac"
[    0.327179] 0x000000020000-0x0000007e0000 : "firmware"
[    0.336503] 2 uimage-fw partitions found on MTD device firmware
[    0.342670] Creating 2 MTD partitions on "firmware":
[    0.347820] 0x000000000000-0x0000001e8769 : "kernel"
[    0.353783] 0x0000001e8769-0x0000007c0000 : "rootfs"
[    0.359694] mtd: device 4 (rootfs) set to be root filesystem
[    0.367266] 1 squashfs-split partitions found on MTD device rootfs
[    0.373704] 0x000000720000-0x0000007c0000 : "rootfs_data"
[    0.380120] 0x0000007e0000-0x0000007f0000 : "tplink"
[    0.386169] 0x0000007f0000-0x000000800000 : "art"
[    0.393638] libphy: Fixed MDIO Bus: probed
[    0.730817] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.133724] random: fast init done
[    1.370090] libphy: ag71xx_mdio: probed
[    1.374808] libphy: ar8xxx-mdio: probed
[    1.383022] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.443277] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.453133] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.459652] i2c /dev entries driver
[    1.465629] NET: Registered protocol family 10
[    1.475565] Segment Routing with IPv6
[    1.479506] NET: Registered protocol family 17
[    1.484184] 8021q: 802.1Q VLAN Support v1.8
[    1.489239] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.495606]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.501011]   IO 0x0000000000000000..0x0000000000000000
[    1.506568] PCI host bridge to bus 0000:00
[    1.510837] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.517948] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.523714] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.530731] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.538945] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000
[    1.545205] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.552347] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.558929] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.565815] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.893261] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd042, driver=Generic PHY]
[    1.903527] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.916678] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.930630] Freeing unused kernel memory: 1204K
[    1.935329] This architecture does not have kernel memory protection.
[    1.941979] Run /sbin/init as init process
[    2.603251] init: Console is alive
[    2.607070] init: - watchdog -
[    3.857698] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.901414] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.919321] init: - preinit -
[    4.761647] random: jshn: uninitialized urandom read (4 bytes read)
[    4.866893] random: jshn: uninitialized urandom read (4 bytes read)
[    5.008869] random: jshn: uninitialized urandom read (4 bytes read)
[    5.761280] eth0: link up (1000Mbps/Full duplex)
[    5.769806] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.781838] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    5.821133] urandom_read: 4 callbacks suppressed
[    5.821140] random: procd: uninitialized urandom read (4 bytes read)
[   10.086330] jffs2: notice: (527) jffs2_build_xattr_subsystem: complete building xattr subsystem, 21 of xdatum (9 unchecked, 1 orphan) and 32 of xref (1 dead, 0 orphan) found.
[   10.104253] mount_root: switching to jffs2 overlay
[   10.139301] overlayfs: upper fs does not support tmpfile.
[   10.151067] urandom-seed: Seeding with /etc/urandom.seed
[   10.238894] eth0: link down
[   10.259802] procd: - early -
[   10.262927] procd: - watchdog -
[   10.866830] procd: - watchdog -
[   10.870377] procd: - ubus -
[   10.915048] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.924763] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.932683] procd: - init -
[   11.661864] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.758839] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[   11.875205] Mirror/redirect action on
[   11.900395] u32 classifier
[   11.903248]     input device check on
[   11.907032]     Actions configured
[   11.942370] Loading modules backported from Linux version v5.8-rc2-0-g48778464bb7d
[   11.950239] Backport generated by backports.git v5.8-rc2-1-0-g7a69429b
[   12.015183] wireguard: WireGuard 1.0.20200729 loaded. See www.wireguard.com for information.
[   12.023954] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   12.125541] urngd: v1.0.2 started.
[   12.154690] xt_time: kernel timezone is -0000
[   12.432978] ath10k 5.4 driver, optimized for CT firmware, probing pci device: 0x56.
[   12.441047] ath10k_mac_create, priv_size: 804  hw: (ptrval)  hw->priv: (ptrval)
[   12.454450] random: crng init done
[   12.470492] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   12.477291] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   14.858841] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   14.868416] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.888430] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-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,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 937128b4
[   15.223010] ath10k_pci 0000:00:00.0: failed to fetch board data for bus=pci,bmi-chip-id=0,bmi-board-id=20 from ath10k/QCA9888/hw2.0/board-2.bin
[   15.237129] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:20 crc32 8971a1b4
[   17.273475] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   17.283350] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   17.291138] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   17.321246] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   17.332536] ath10k_pci 0000:00:00.0: wmi print 'free: 114524 iram: 12628 sram: 29508'
[   17.566737] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   17.648824] ath: EEPROM regdomain sanitized
[   17.648834] ath: EEPROM regdomain: 0x64
[   17.648837] ath: EEPROM indicates we should expect a direct regpair map
[   17.648854] ath: Country alpha2 being used: 00
[   17.648857] ath: Regpair used: 0x64
[   17.732561] ath: EEPROM regdomain sanitized
[   17.732571] ath: EEPROM regdomain: 0x64
[   17.732574] ath: EEPROM indicates we should expect a direct regpair map
[   17.732593] ath: Country alpha2 being used: 00
[   17.732596] ath: Regpair used: 0x64
[   17.744788] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   17.746726] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   17.784311] kmodloader: done loading kernel modules from /etc/modules.d/*
[   29.726074] eth0: link up (1000Mbps/Full duplex)
[   29.744030] br-lan: port 1(eth0.1) entered blocking state
[   29.749664] br-lan: port 1(eth0.1) entered disabled state
[   29.755551] device eth0.1 entered promiscuous mode
[   29.760547] device eth0 entered promiscuous mode
[   29.773858] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.845863] br-lan: port 1(eth0.1) entered blocking state
[   29.851467] br-lan: port 1(eth0.1) entered forwarding state
[   30.753814] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   32.003594] eth1: link up (100Mbps/Full duplex)
[   32.028748] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   32.790926] ath: EEPROM regdomain: 0x8020
[   32.795121] ath: EEPROM indicates we should expect a country code
[   32.801425] ath: doing EEPROM country->regdmn map search
[   32.806913] ath: country maps to regdmn code: 0x3b
[   32.811867] ath: Country alpha2 being used: AR
[   32.816462] ath: Regpair used: 0x3b
[   32.820066] ath: regdomain 0x8020 dynamically updated by user
[   32.826071] ath: EEPROM regdomain: 0x8020
[   32.830223] ath: EEPROM indicates we should expect a country code
[   32.836514] ath: doing EEPROM country->regdmn map search
[   32.841998] ath: country maps to regdmn code: 0x3b
[   32.846944] ath: Country alpha2 being used: AR
[   32.851530] ath: Regpair used: 0x3b
[   32.855135] ath: regdomain 0x8020 dynamically updated by user
[   35.621539] br-lan: port 2(2G_ap) entered blocking state
[   35.627088] br-lan: port 2(2G_ap) entered disabled state
[   35.632889] device 2G_ap entered promiscuous mode
[   36.767071] IPv6: ADDRCONF(NETDEV_CHANGE): 2G_ap: link becomes ready
[   36.773915] br-lan: port 2(2G_ap) entered blocking state
[   36.779457] br-lan: port 2(2G_ap) entered forwarding state
[   39.593566] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[   39.600391] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   39.608239] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   39.638423] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   39.649793] ath10k_pci 0000:00:00.0: wmi print 'free: 114524 iram: 12628 sram: 29508'
[   39.962495] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   40.056094] br-lan: port 3(5G_ap) entered blocking state
[   40.061668] br-lan: port 3(5G_ap) entered disabled state
[   40.067470] device 5G_ap entered promiscuous mode
[   40.592976] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   42.454916] IPv6: ADDRCONF(NETDEV_CHANGE): 5G_ap: link becomes ready
[   42.461871] br-lan: port 3(5G_ap) entered blocking state
[   42.467408] br-lan: port 3(5G_ap) entered forwarding state
[   71.382406] ath10k_pci 0000:00:00.0: Invalid VHT mcs 15 peer stats
[  341.666028] eth1: link down
[  344.483336] eth1: link up (100Mbps/Full duplex)
[  344.491658] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  578.229353] ath10k_pci 0000:00:00.0: htt tx: fixing invalid VHT TX rate code 0xff
[  592.368021] eth1: link down
[  594.703887] eth1: link up (100Mbps/Full duplex)
[  594.714352] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  731.949888] eth1: link down
[  734.221962] eth1: link up (100Mbps/Full duplex)
[  734.227213] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  820.236857] eth1: link down
[  822.605965] eth1: link up (100Mbps/Full duplex)
[  822.610905] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[  826.702190] eth1: link down
[  829.102014] eth1: link up (100Mbps/Full duplex)
[  829.107387] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 1649.347796] eth1: link down
[ 1651.621462] eth1: link up (100Mbps/Full duplex)
[ 1651.626465] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 1841.056988] eth1: link down
[ 1843.456817] eth1: link up (100Mbps/Full duplex)
[ 1843.461740] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 2180.413149] eth1: link down
[ 2182.718570] eth1: link up (100Mbps/Full duplex)
[ 2182.724457] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 2198.078586] eth1: link down
[ 2200.350082] eth1: link up (100Mbps/Full duplex)
[ 2200.355326] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 2767.640586] eth1: link down
[ 2769.913486] eth1: link up (100Mbps/Full duplex)
[ 2769.918880] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 3632.176061] eth1: link down
[ 3634.929548] eth1: link up (100Mbps/Full duplex)
[ 3634.947194] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4204.358095] eth1: link down
[ 4206.821967] eth1: link up (100Mbps/Full duplex)
[ 4206.826885] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4285.669868] eth1: link down
[ 4288.549039] eth1: link up (100Mbps/Full duplex)
[ 4288.553962] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 4437.028463] eth1: link down
[ 4439.299787] eth1: link up (100Mbps/Full duplex)
[ 4439.305020] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 5146.874710] eth1: link down
[ 5149.368670] eth1: link up (100Mbps/Full duplex)
[ 5149.374116] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 5381.813951] eth1: link down
[ 5384.055038] eth1: link up (100Mbps/Full duplex)
[ 5384.059934] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 5642.100393] eth1: link down
[ 5644.373038] eth1: link up (100Mbps/Full duplex)
[ 5644.378482] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7494.721193] eth1: link down
[ 7497.344721] eth1: link up (100Mbps/Full duplex)
[ 7497.349853] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7498.367589] eth1: link down
[ 7501.023786] eth1: link up (100Mbps/Full duplex)
[ 7501.033810] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 7768.284460] eth1: link down
[ 7770.555910] eth1: link up (100Mbps/Full duplex)
[ 7770.560802] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8019.384339] eth1: link down
[ 8021.625385] eth1: link up (100Mbps/Full duplex)
[ 8021.630736] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8403.572058] eth1: link down
[ 8405.813090] eth1: link up (100Mbps/Full duplex)
[ 8405.818007] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8527.667165] eth1: link down
[ 8529.907650] eth1: link up (100Mbps/Full duplex)
[ 8529.914523] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 8880.112215] eth1: link down
[ 8882.383496] eth1: link up (100Mbps/Full duplex)
[ 8882.388796] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9199.819312] eth1: link down
[ 9202.091975] eth1: link up (100Mbps/Full duplex)
[ 9202.096881] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9356.713628] eth1: link down
[ 9358.954413] eth1: link up (100Mbps/Full duplex)
[ 9358.959717] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9633.414597] eth1: link down
[ 9635.687330] eth1: link up (100Mbps/Full duplex)
[ 9635.692245] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 9684.873413] eth1: link down
[ 9687.110800] eth1: link up (100Mbps/Full duplex)
[ 9687.116036] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[10674.234523] eth1: link down
[10676.505354] eth1: link up (100Mbps/Full duplex)
[10676.510427] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[10983.699927] eth1: link down
[10985.941798] eth1: link up (100Mbps/Full duplex)
[10985.946692] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[11115.987273] eth1: link down
[11118.227019] eth1: link up (100Mbps/Full duplex)
[11118.231935] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[11258.511665] eth1: link down
[11260.752903] eth1: link up (100Mbps/Full duplex)
[11260.757818] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[12051.270601] eth1: link down
[12053.542580] eth1: link up (100Mbps/Full duplex)
[12053.547634] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[12224.548043] eth1: link down
[12226.820838] eth1: link up (100Mbps/Full duplex)
[12226.826133] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[13093.116349] eth1: link down
[13095.388099] eth1: link up (100Mbps/Full duplex)
[13095.393036] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[13237.723403] eth1: link down
[13239.994531] eth1: link up (100Mbps/Full duplex)
[13239.999449] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[13480.631361] eth1: link down
[13482.903933] eth1: link up (100Mbps/Full duplex)
[13482.908827] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[14079.986670] eth1: link down
[14082.865153] eth1: link up (100Mbps/Full duplex)
[14082.875799] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[14136.142960] eth1: link down
[14138.480152] eth1: link up (100Mbps/Full duplex)
[14138.485048] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[14326.892801] eth1: link down
[14329.165044] eth1: link up (100Mbps/Full duplex)
[14329.170437] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[15205.698224] eth1: link down
[15208.034072] eth1: link up (100Mbps/Full duplex)
[15208.038993] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[16868.939213] eth1: link down
[16871.691530] eth1: link up (100Mbps/Full duplex)
[16871.696502] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[17219.845264] eth1: link down
[17222.085945] eth1: link up (100Mbps/Full duplex)
[17222.091188] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[17266.116135] eth1: link down
[17268.358170] eth1: link up (100Mbps/Full duplex)
[17268.363287] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[18608.757159] eth1: link down
[18610.998442] eth1: link up (100Mbps/Full duplex)
[18611.003804] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[18764.595469] eth1: link down
[18766.836763] eth1: link up (100Mbps/Full duplex)
[18766.841656] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20083.683566] eth1: link down
[20085.924491] eth1: link up (100Mbps/Full duplex)
[20085.929635] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20258.977467] eth1: link down
[20261.250149] eth1: link up (100Mbps/Full duplex)
[20261.255096] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20799.867102] eth1: link down
[20800.905538] eth1: link up (100Mbps/Full duplex)
[20801.403850] eth1: link down
[20803.739123] eth1: link up (100Mbps/Full duplex)
[20803.744597] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[20860.057661] eth1: link down
[20862.298378] eth1: link up (100Mbps/Full duplex)
[20862.303274] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[21054.806768] eth1: link down
[21057.335858] eth1: link up (100Mbps/Full duplex)
[21057.340763] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[21401.394255] eth1: link down
[21403.667456] eth1: link up (100Mbps/Full duplex)
[21403.673375] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[21526.544502] eth1: link down
[21528.785624] eth1: link up (100Mbps/Full duplex)
[21528.790873] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[22750.558286] eth1: link down
[22752.991528] eth1: link up (100Mbps/Full duplex)
[22752.996798] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[23049.946588] eth1: link down
[23052.667230] eth1: link up (100Mbps/Full duplex)
[23052.672628] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[23937.424784] eth1: link down
[23939.918740] eth1: link up (100Mbps/Full duplex)
[23939.923699] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24151.883187] eth1: link down
[24154.155689] eth1: link up (100Mbps/Full duplex)
[24154.160921] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24189.994240] eth1: link down
[24192.267137] eth1: link up (100Mbps/Full duplex)
[24192.272514] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24815.876173] eth1: link down
[24818.146255] eth1: link up (100Mbps/Full duplex)
[24818.151147] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[24919.520764] eth1: link down
[24921.760804] eth1: link up (100Mbps/Full duplex)
[24921.765696] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[25562.774798] eth1: link down
[25565.047734] eth1: link up (100Mbps/Full duplex)
[25565.053118] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[25785.204201] eth1: link down
[25787.476678] eth1: link up (100Mbps/Full duplex)
[25787.481822] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[26773.733380] eth1: link down
[26776.714562] eth1: link up (100Mbps/Full duplex)
[26776.730903] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[26790.085415] eth1: link down
[26792.678448] eth1: link up (100Mbps/Full duplex)
[26792.697842] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[27487.164577] eth1: link down
[27489.660947] eth1: link up (100Mbps/Full duplex)
[27489.668112] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28290.895944] eth1: link down
[28293.425287] eth1: link up (100Mbps/Full duplex)
[28293.437604] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28658.059181] eth1: link down
[28660.812898] eth1: link up (100Mbps/Full duplex)
[28660.826712] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28743.785857] eth1: link down
[28746.187045] eth1: link up (100Mbps/Full duplex)
[28746.191940] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[28782.025579] eth1: link down
[28784.266545] eth1: link up (100Mbps/Full duplex)
[28784.271471] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[30246.613459] eth1: link down
[30249.014683] eth1: link up (100Mbps/Full duplex)
[30249.019603] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[32144.537910] eth1: link down
[32147.131202] eth1: link up (100Mbps/Full duplex)
[32147.149670] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[38872.203135] eth1: link down
[38873.247956] eth1: link up (100Mbps/Full duplex)
[38873.695232] eth1: link down
[38876.139641] eth1: link up (100Mbps/Full duplex)
[38876.144565] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[39186.470864] eth1: link down
[39189.224149] eth1: link up (100Mbps/Full duplex)
[39189.238760] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[40019.293485] eth1: link down
[40022.302813] eth1: link up (100Mbps/Full duplex)
[40022.317265] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[41084.176732] eth1: link down
[41087.250081] eth1: link up (100Mbps/Full duplex)
[41087.260597] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[43065.688340] eth1: link down
[43066.762455] eth1: link up (100Mbps/Full duplex)
[43066.780405] eth1: link down
[43068.953581] eth1: link up (100Mbps/Full duplex)
[43068.964050] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[45176.735987] eth1: link down
[45177.813318] eth1: link up (100Mbps/Full duplex)
[45177.929459] eth1: link down
[45180.003569] eth1: link up (100Mbps/Full duplex)
[45180.015357] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[47273.319242] eth1: link down
[47275.708534] eth1: link up (100Mbps/Full duplex)
[47275.718181] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[47301.574020] eth1: link down
[47304.040059] eth1: link up (100Mbps/Full duplex)
[47304.045503] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[47480.355611] eth1: link down
[47481.427781] eth1: link up (100Mbps/Full duplex)
[47481.447013] eth1: link down
[47483.556901] eth1: link up (100Mbps/Full duplex)
[47483.567363] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[53730.071248] eth1: link down
[53731.096636] eth1: link up (100Mbps/Full duplex)
[53732.239828] eth1: link down
[53734.649205] eth1: link up (100Mbps/Full duplex)
[53734.654139] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[54051.443072] ath10k_pci 0000:00:00.0: Cannot communicate with firmware, previous wmi cmds: 36967:13437256 36967:13437239 36965:13436981 40859:13436981, jiffies: 13438016, attempting to fake crash and restart firmware, dev-flags: 0x42
[54051.464514] ath10k_pci 0000:00:00.0: failed to send wmi nop: -143
[54051.470856] ath10k_pci 0000:00:00.0: could not request stats (type -268435456 ret -143 specifier 1)
[54051.589474] ath10k_pci 0000:00:00.0: firmware crashed! (guid n/a)
[54051.595832] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[54051.605430] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[54051.625558] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-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,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 937128b4
[54051.655549] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:20 crc32 8971a1b4
[54051.663289] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[54051.684158] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 4: -16
[54051.693254] ath10k_pci 0000:00:00.0: failed to read firmware dump area: -16
[54051.700454] ath10k_pci 0000:00:00.0: in crash-regs-harder
[54052.859201] ath10k_pci 0000:00:00.0: in crash-regs-harder, firmware did not provide indicator: 0x2
[54052.868542] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[54052.874710] ath10k_pci 0000:00:00.0: [00]: 0x0004a000   5   5   3   3
[54052.881383] ath10k_pci 0000:00:00.0: [01]: 0x0004a400  21  21  91  92
[54052.888060] ath10k_pci 0000:00:00.0: [02]: 0x0004a800  63  63  62  63
[54052.894737] ath10k_pci 0000:00:00.0: [03]: 0x0004ac00  20  16  20  16
[54052.901405] ath10k_pci 0000:00:00.0: [04]: 0x0004b000 4791 4791  57  17
[54052.908248] ath10k_pci 0000:00:00.0: [05]: 0x0004b400  19  19  50  51
[54052.914919] ath10k_pci 0000:00:00.0: [06]: 0x0004b800  25  25  25  25
[54052.921580] ath10k_pci 0000:00:00.0: [07]: 0x0004bc00   0   1   0   1
[54052.928247] ath10k_pci 0000:00:00.0: [08]: 0x0004c000   0   0 127   0
[54052.934918] ath10k_pci 0000:00:00.0: [09]: 0x0004c400   0   0   0   0
[54052.941579] ath10k_pci 0000:00:00.0: [10]: 0x0004c800   0   0   0   0
[54052.948244] ath10k_pci 0000:00:00.0: [11]: 0x0004cc00   0   0   0   0
[54052.955045] ath10k_pci 0000:00:00.0: failed to get memcpy hi address for firmware address 8: -28
[54052.964224] ath10k_pci 0000:00:00.0: failed to dump debug log area: -28
[54054.231779] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[54054.283727] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 0: -143
[54054.291449] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -143
[54054.299559] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -143
[54054.308003] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -143
[54054.315853] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -143
[54054.323152] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[54057.534308] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer e80ddcc2 vdev: 0 addr: 50:c7:bf:75:81:af 
[54057.545794] ath10k_pci 0000:00:00.0: failed to read hi_board_data address: -28
[54057.710699] ieee80211 phy0: Hardware restart was requested
[54059.808138] ath10k_pci 0000:00:00.0: unsupported HTC service id: 1536
[54059.815390] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[54059.823264] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[54059.853446] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[54059.864797] ath10k_pci 0000:00:00.0: wmi print 'free: 114524 iram: 12628 sram: 29508'
[54060.177482] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[54060.387955] ath10k_pci 0000:00:00.0: device successfully recovered
[56380.150084] eth1: link down
[56382.455362] eth1: link up (100Mbps/Full duplex)
[56382.460915] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[57573.479020] eth1: link down
[57575.848305] eth1: link up (100Mbps/Full duplex)
[57575.857942] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[62279.278882] eth1: link down
[62282.093972] eth1: link up (100Mbps/Full duplex)
[62282.106792] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[62566.921643] eth1: link down
[62569.642374] eth1: link up (100Mbps/Full duplex)
[62569.647702] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[64258.228833] eth1: link down
[64260.469184] eth1: link up (100Mbps/Full duplex)
[64260.475349] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[64432.498472] eth1: link down
[64434.770921] eth1: link up (100Mbps/Full duplex)
[64434.776356] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[64681.582940] eth1: link down
[64683.855712] eth1: link up (100Mbps/Full duplex)
[64683.860607] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[67376.940335] eth1: link down
[67379.277635] eth1: link up (100Mbps/Full duplex)
[67379.294109] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[68199.649623] eth1: link down
[68201.958955] eth1: link up (100Mbps/Full duplex)
[68201.969490] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[68440.734545] eth1: link down
[68443.103654] eth1: link up (100Mbps/Full duplex)
[68443.110942] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[68926.670978] eth1: link down
[68928.765150] eth1: link up (100Mbps/Full duplex)
[68928.783506] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69076.342428] eth1: link down
[69078.711358] eth1: link up (100Mbps/Full duplex)
[69078.716498] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69122.741131] eth1: link down
[69125.815266] eth1: link up (100Mbps/Full duplex)
[69125.822898] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69135.124950] eth1: link down
[69137.334553] eth1: link up (100Mbps/Full duplex)
[69137.340172] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[69379.154014] eth1: link down
[69381.426908] eth1: link up (100Mbps/Full duplex)
[69381.432153] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
root@archer_c60:~# logread | grep udhcpc
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: received SIGTERM
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: sending release
Tue Aug  4 14:00:10 2020 daemon.notice netifd: wan (11433): udhcpc: entering released state
Tue Aug  4 14:00:12 2020 daemon.notice netifd: wan (12732): udhcpc: started, v1.31.1
Tue Aug  4 14:00:12 2020 daemon.notice netifd: wan (12732): udhcpc: sending discover
Tue Aug  4 14:00:15 2020 daemon.notice netifd: wan (12732): udhcpc: sending discover
Tue Aug  4 14:00:15 2020 daemon.notice netifd: wan (12732): udhcpc: sending select for 190.244.135.61
Tue Aug  4 14:00:15 2020 daemon.notice netifd: wan (12732): udhcpc: lease of 190.244.135.61 obtained, lease time 11197
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: received SIGTERM
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: sending release
Tue Aug  4 14:04:19 2020 daemon.notice netifd: wan (12732): udhcpc: entering released state
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: started, v1.31.1
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: sending discover
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: sending select for 190.244.135.61
Tue Aug  4 14:04:21 2020 daemon.notice netifd: wan (13989): udhcpc: lease of 190.244.135.61 obtained, lease time 10951
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: received SIGTERM
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: sending release
Tue Aug  4 14:49:14 2020 daemon.notice netifd: wan (13989): udhcpc: entering released state
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: started, v1.31.1
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: sending discover
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: sending select for 190.244.135.61
Tue Aug  4 14:49:17 2020 daemon.notice netifd: wan (15789): udhcpc: lease of 190.244.135.61 obtained, lease time 19655
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: received SIGTERM
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: sending release
Tue Aug  4 15:02:57 2020 daemon.notice netifd: wan (15789): udhcpc: entering released state
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: started, v1.31.1
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: sending discover
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:03:00 2020 daemon.notice netifd: wan (17240): udhcpc: lease of 190.244.135.61 obtained, lease time 18833
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: received SIGTERM
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: sending release
Tue Aug  4 15:06:58 2020 daemon.notice netifd: wan (17240): udhcpc: entering released state
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: started, v1.31.1
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: sending discover
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:07:01 2020 daemon.notice netifd: wan (18540): udhcpc: lease of 190.244.135.61 obtained, lease time 18592
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: received SIGTERM
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: sending release
Tue Aug  4 15:15:04 2020 daemon.notice netifd: wan (18540): udhcpc: entering released state
Tue Aug  4 15:15:07 2020 daemon.notice netifd: wan (20037): udhcpc: started, v1.31.1
Tue Aug  4 15:15:07 2020 daemon.notice netifd: wan (20037): udhcpc: sending discover
Tue Aug  4 15:15:10 2020 daemon.notice netifd: wan (20037): udhcpc: sending discover
Tue Aug  4 15:15:10 2020 daemon.notice netifd: wan (20037): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:15:10 2020 daemon.notice netifd: wan (20037): udhcpc: lease of 190.244.135.61 obtained, lease time 600
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: received SIGTERM
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: sending release
Tue Aug  4 15:17:34 2020 daemon.notice netifd: wan (20037): udhcpc: entering released state
Tue Aug  4 15:17:36 2020 daemon.notice netifd: wan (21065): udhcpc: started, v1.31.1
Tue Aug  4 15:17:36 2020 daemon.notice netifd: wan (21065): udhcpc: sending discover
Tue Aug  4 15:17:37 2020 daemon.notice netifd: wan (21065): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:17:37 2020 daemon.notice netifd: wan (21065): udhcpc: lease of 190.244.135.61 obtained, lease time 453
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: received SIGTERM
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: sending release
Tue Aug  4 15:18:21 2020 daemon.notice netifd: wan (21065): udhcpc: entering released state
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: started, v1.31.1
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: sending discover
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:18:23 2020 daemon.notice netifd: wan (21840): udhcpc: lease of 190.244.135.61 obtained, lease time 406
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: received SIGTERM
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: sending release
Tue Aug  4 15:18:33 2020 daemon.notice netifd: wan (21840): udhcpc: entering released state
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: started, v1.31.1
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: sending discover
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:18:35 2020 daemon.notice netifd: wan (22614): udhcpc: lease of 190.244.135.61 obtained, lease time 395
Tue Aug  4 15:21:52 2020 daemon.notice netifd: wan (22614): udhcpc: sending renew to 172.20.2.226
Tue Aug  4 15:21:52 2020 daemon.notice netifd: wan (22614): udhcpc: lease of 190.244.135.61 obtained, lease time 21600
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: received SIGTERM
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: unicasting a release of 190.244.135.61 to 172.20.2.226
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: sending release
Tue Aug  4 15:22:37 2020 daemon.notice netifd: wan (22614): udhcpc: entering released state
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: started, v1.31.1
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: sending discover
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: sending select for 190.244.135.61
Tue Aug  4 15:22:39 2020 daemon.notice netifd: wan (23460): udhcpc: lease of 190.244.135.61 obtained, lease time 21553
root@archer_c60:~# opkg list-installed
6to4 - 13
ath10k-firmware-qca9888-ct - 2020-04-24-2
base-files - 225-r14025-009e62c92c
busybox - 1.31.1-1
cgi-io - 19
ddns-scripts - 2.7.8-21
dnsmasq - 2.82-3
dropbear - 2020.80-1
firewall - 2020-07-25-e9b90dfa-1
fstools - 2020-06-17-d34ea8eb-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2019-12-31-0e34af14-4
hostapd-common - 2020-06-08-5a8b3662-3
htop - 2.2.0-3
ip-tiny - 5.7.0-2
ip6tables - 1.8.4-1
iperf3 - 3.7-1
iptables - 1.8.4-1
iptables-mod-conntrack-extra - 1.8.4-1
iptables-mod-ipopt - 1.8.4-1
iw - 5.4-1
iwinfo - 2020-06-03-2faa20e5-1
jshn - 2020-07-11-f4e9bf73-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.4.52-1-a3b0c799c80449fa80b53cf0e54c74e1
kmod-ath - 5.4.52+5.8-rc2-1-1
kmod-ath10k-ct-smallbuffers - 5.4.52+2020-06-30-edfbf916-1
kmod-ath9k - 5.4.52+5.8-rc2-1-1
kmod-ath9k-common - 5.4.52+5.8-rc2-1-1
kmod-cfg80211 - 5.4.52+5.8-rc2-1-1
kmod-gpio-button-hotplug - 5.4.52-3
kmod-hwmon-core - 5.4.52-1
kmod-ifb - 5.4.52-1
kmod-ip6tables - 5.4.52-1
kmod-ipt-conntrack - 5.4.52-1
kmod-ipt-conntrack-extra - 5.4.52-1
kmod-ipt-core - 5.4.52-1
kmod-ipt-ipopt - 5.4.52-1
kmod-ipt-nat - 5.4.52-1
kmod-ipt-offload - 5.4.52-1
kmod-ipt-raw - 5.4.52-1
kmod-iptunnel - 5.4.52-1
kmod-iptunnel4 - 5.4.52-1
kmod-ledtrig-default-on - 5.4.52-1
kmod-ledtrig-heartbeat - 5.4.52-1
kmod-ledtrig-netdev - 5.4.52-1
kmod-ledtrig-timer - 5.4.52-1
kmod-mac80211 - 5.4.52+5.8-rc2-1-1
kmod-nf-conntrack - 5.4.52-1
kmod-nf-conntrack6 - 5.4.52-1
kmod-nf-flow - 5.4.52-1
kmod-nf-ipt - 5.4.52-1
kmod-nf-ipt6 - 5.4.52-1
kmod-nf-nat - 5.4.52-1
kmod-nf-reject - 5.4.52-1
kmod-nf-reject6 - 5.4.52-1
kmod-sched-cake - 5.4.52-1
kmod-sched-cake-virtual - 5.4.52+2020-07-24-48979385-1
kmod-sched-core - 5.4.52-1
kmod-sit - 5.4.52-1
kmod-udptunnel4 - 5.4.52-1
kmod-udptunnel6 - 5.4.52-1
kmod-wireguard - 5.4.52+1.0.20200729-1
libblobmsg-json - 2020-07-11-f4e9bf73-1
libc - 1.1.24-2
libelf1 - 0.179-1
libgcc1 - 8.4.0-2
libip4tc2 - 1.8.4-1
libip6tc2 - 1.8.4-1
libiwinfo-lua - 2020-06-03-2faa20e5-1
libiwinfo20200105 - 2020-06-03-2faa20e5-1
libjson-c5 - 0.14-1
libjson-script - 2020-07-11-f4e9bf73-1
liblua5.1.5 - 5.1.5-7
liblucihttp-lua - 2019-07-05-a34a17d5-1
liblucihttp0 - 2019-07-05-a34a17d5-1
libmbedtls12 - 2.16.6-1
libncurses6 - 6.2-1
libnl-tiny - 2019-10-29-0219008c-1
libopenssl1.1 - 1.1.1g-1
libpcre - 8.44-2
libpthread - 1.1.24-2
librt - 1.1.24-2
libubox20191228 - 2020-07-11-f4e9bf73-1
libubus-lua - 2020-02-05-171469e3-1
libubus20191227 - 2020-02-05-171469e3-1
libuci20130104 - 2020-04-24-ec8d3233-3
libuclient20160123 - 2020-06-17-c6609861-1
libustream-mbedtls20200215 - 2020-03-13-5e1bc342-1
libxtables12 - 1.8.4-1
logd - 2019-12-31-0e34af14-4
lua - 5.1.5-7
luci - git-20.216.62430-9acc7d8
luci-app-ddns - git-20.216.62430-9acc7d8
luci-app-firewall - git-20.216.62430-9acc7d8
luci-app-opkg - git-20.216.62430-9acc7d8
luci-app-sqm - 1.4.0
luci-app-wireguard - git-20.216.62430-9acc7d8
luci-base - git-20.216.62430-9acc7d8
luci-compat - git-20.216.62430-9acc7d8
luci-i18n-base-en - git-20.216.62430-9acc7d8
luci-i18n-base-es - git-20.216.62430-9acc7d8
luci-i18n-ddns-en - git-20.216.62430-9acc7d8
luci-i18n-ddns-es - git-20.216.62430-9acc7d8
luci-i18n-firewall-en - git-20.216.62430-9acc7d8
luci-i18n-firewall-es - git-20.216.62430-9acc7d8
luci-i18n-opkg-en - git-20.216.62430-9acc7d8
luci-i18n-opkg-es - git-20.216.62430-9acc7d8
luci-i18n-sqm-en - git-20.216.62430-9acc7d8
luci-i18n-sqm-es - git-20.216.62430-9acc7d8
luci-i18n-wireguard-en - git-20.216.62430-9acc7d8
luci-i18n-wireguard-es - git-20.216.62430-9acc7d8
luci-lib-base - git-20.216.62430-9acc7d8
luci-lib-ip - git-20.216.62430-9acc7d8
luci-lib-ipkg - git-20.216.62430-9acc7d8
luci-lib-jsonc - git-20.216.62430-9acc7d8
luci-lib-nixio - git-20.216.62430-9acc7d8
luci-mod-admin-full - git-20.216.62430-9acc7d8
luci-mod-network - git-20.216.62430-9acc7d8
luci-mod-status - git-20.216.62430-9acc7d8
luci-mod-system - git-20.216.62430-9acc7d8
luci-proto-ipv6 - git-20.216.62430-9acc7d8
luci-proto-ppp - git-20.216.62430-9acc7d8
luci-proto-wireguard - git-20.216.62430-9acc7d8
luci-ssl - git-20.216.62430-9acc7d8
luci-theme-argon - 2.2.1
luci-theme-bootstrap - git-20.216.62430-9acc7d8
luci-theme-openwrt-2020 - git-20.216.62430-9acc7d8
mtd - 25
nano - 5.0-1
netifd - 2020-06-06-51e9fb81-1
odhcp6c - 2020-03-28-f575351c-16
odhcpd - 2020-06-21-5da52992-4
openwrt-keyring - 2019-07-25-8080ef34-1
opkg - 2020-05-07-f2166a89-1
procd - 2020-07-30-2ae5cbcf-1
px5g-mbedtls - 9
rpcd - 2020-05-26-078bb57e-1
rpcd-mod-file - 2020-05-26-078bb57e-1
rpcd-mod-iwinfo - 2020-05-26-078bb57e-1
rpcd-mod-luci - 20191114
rpcd-mod-rrdns - 20170710
sqm-scripts - 1.4.0-8
swconfig - 12
tc - 5.7.0-2
terminfo - 6.2-1
uboot-envtools - 2020.04-1
ubox - 2019-12-31-0e34af14-4
ubus - 2020-02-05-171469e3-1
ubusd - 2020-02-05-171469e3-1
uci - 2020-04-24-ec8d3233-3
uclient-fetch - 2020-06-17-c6609861-1
uhttpd - 2020-06-03-939c281c-1
uhttpd-mod-ubus - 2020-06-03-939c281c-1
urandom-seed - 2
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
wget - 1.20.3-4
wireguard-tools - 1.0.20200513-1
wireless-regdb - 2020.04.29-1
wpad-basic - 2020-06-08-5a8b3662-3
zlib - 1.2.11-3

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

 


04.08.20203270PackagesBug ReportVery LowLowgcc: package seems incompatible with linker provided by...TrunkUnconfirmed Task Description

I use the gcc package to compile C code on my OpenWrt installation. Something has broken the toolchain, and it appears to be related to the binutils package that OpenWrt base provides. I receive errors such as these when I compile:

root@OpenWrt # gcc hello.c 
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libssp_nonshared.a(__stack_chk_fail_local.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /usr/lib/gcc/x86_64-openwrt-linux-musl/7.4.0/libgcc.a(_muldi3.o): unable to initialize decompress status for section .debug_info

I was able to overcome this problem by updating binutils. I copied the version information and patches for binutils 2.32 from toolchain/binutils/ into package/devel/binutils/, and I built a newer version of the binutils package. Whereas the toolchain version of binutils provides the option to build a recent release, the package version is still 2.27.

See also https://github.com/openwrt/packages/issues/13019.


03.08.20203268Base systemBug ReportVery LowLow802.11s mesh warn when using 802.11s over 5GHz mtk7612.TrunkUnconfirmed Task Description

I see the same warn when using 802.11s over 5GHz mtk7612. It appears a skb buffer is full?

We have encryption enabled and working. This happens at time, would like to help find a solution?

This is the section of code that is generating the error. Is there anything I can try to help debug? I’m on a 18.04 build, have seen this on 17.01?

ccmp_encrypt_skb:

    if (WARN_ON(skb_tailroom(skb) < tail ||
                skb_headroom(skb) < IEEE80211_CCMP_HDR_LEN))
            return -1;

[ 234.629726] ————[ cut here ]———— [ 234.639113] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/net/mac80211/wpa.c:431 ieee80211_crypto_ccmp_encrypt+0xe0/0×248 [mac80211]
[ 234.663087] Modules linked in: rt2800soc rt2800pci rt2800mmio rt2800lib pppoe ppp_async rt2x00soc rt2x00pci rt2x00mmio rt2x00lib pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_ftp nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack_ftp nf_conntrack iptable_mangle iptable_filter ip_tables crc_itu_t crc_ccitt compat arptable_filter arpt_mangle arp_tables xt_set ip_set_list_set ip_set_hash_netiface
[ 234.804092] ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun eeprom_93cx6 leds_gpio gpio_button_hotplug
[ 234.879023] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.131 #0
[ 234.893240] Stack : 80483660 80373fe4 00000000 00000000 803d882c 83807bf4 80427ccc 804278e7
[ 234.909918] 803d4b48 00000000 80483660 000001af 00000123 00000001 83807ba8 a434d50c
[ 234.926591] 00000000 00000000 80480000 00000000 0000011e 00000000 33312e34 30232031
[ 234.943258] 6e757420 00000000 3fff0000 70656520 00000000 00000000 83288754 832d9e40
[ 234.959924] 00000009 000001af 00000123 83807dc0 00000000 801da924 00000000 80480000
[ 234.976589] ...
[ 234.981465] Call Trace:
[ 234.986351] [<8000e4f4>] show_stack+0×74/0×104 [ 234.995229] [<80024ee0>] __warn+0×110/0×118 [ 235.003575] [<80024f7c>] warn_slowpath_null+0x1c/0×30 [ 235.013783] [<83288754>] ieee80211_crypto_ccmp_encrypt+0xe0/0×248 [mac80211]
[ 235.027964] [<832a7a74>] ieee80211_probereq_get+0x6d8/0×1668 [mac80211]
[ 235.041219] —[ end trace c50314b568e42025 ]—Supply the following if possible:

 


03.08.20203267Base systemBug ReportVery LowMediummesh_param net setting from mac80211.shopenwrt-18.06Unconfirmed Task Description

I tried this on 17.01 and 18.06 with mtk7612 and it did not set the values. If I had set the values with the iw command it works. I believe the radio is not in a state that is ready for those commands in the mac80211.sh script.

You can see the value is being passed in an failing.

Mon Aug 3 18:40:26 2020 user.notice mac80211: Failed command: iw dev wlan0 set mesh_param mesh_hwmp_rootmode 1
Mon Aug 3 18:40:26 2020 user.notice mac80211: Failed command: iw dev wlan0 set mesh_param mesh_gate_announcements 1

Confirmed using iw dev wlan0 get mesh_param mesh_hwmp_rootmode

Supply the following if possible:
- Device problem occurs on: MT7612 (5GHz)
- Software versions of OpenWrt/LEDE release, packages, etc.: 17.1, 18.06
- Steps to reproduce:

Set values in the /etc/config/wireless
config wifi-device ‘radio1’

      option type 'mac80211'
      option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
      option hwmode '11ac'
      option disabled '0'
      option country 'US'
      option txpower '23'
      option greenfield '0'
 

config wifi-iface

      option device 'radio1'
      option network 'lan'
      option mode 'mesh'
      option mesh_id 'my_mesh_id'
      option encryption 'psk2+ccmp'
      option key 'password_mesh'
      option short_preamble '1'
      option disabled '0'
      option mesh_hwmp_rootmode '1'
      option mesh_gate_announcements '1'
03.08.20203266Base systemBug ReportVery LowLowMulticast does not work over bridge with AP/VLAN interf...TrunkUnconfirmed Task Description

Devices:
MikroTik RouterBOARD wAP G-5HacT2HnD with OpenWRT r13630-635f111148
EnGenius EAP1300 with OpenWRT r14017-c90db26e05

I have a wifi setup with EAP and dynamic vlan assigment from a radius server.
Clients can connect and both unicast and broadcast (DHCP) works fine, but multicast does not, so IPv6 SLAAC does not work for example.
On the APs I can see the multicast packets being sent out on the the AP/VLAN interfaces (tcpdump -n -i wlan1.10 multicast), but none of the three clients (linux laptop and two iOS devices) receives them.
I have tried enabling multicast_to_unicast, multicast_snooping and hairpin_mode by hand in sysfs, doesn’t make any difference, also tried disabling multicast_router.
It sometimes works on the MikroTik device, but mostly does not.

My wireless config (it’s the same on both devices for both radios):
config wifi-iface ‘myssid_5’

      option mode 'ap'
      option ssid 'myssid'
      option hidden '1'
      option encryption 'wpa3-mixed'
      option auth_server 'authserver'
      option auth_secret 'secret'
      option dynamic_vlan '2'
      option vlan_tagged_interface 'eth0'
      option max_inactivity '1800'
      option device 'radio0'
      option mobility_domain 'f1f1'
      option nasid 'mynasid'
      option pmk_r1_push '1'
      option ieee80211r '1'
      option rsn_preauth '0'
      option isolate '1'
      option vlan_bridge 'br-vlan'
      option vlan_naming '0'
      option ieee80211w '1'
      list r0kh '....'
      list r0kh '....'
      list r0kh '....'
      list r0kh '....'
      list r1kh '....'
      list r1kh '....'
      list r1kh '....'
      list r1kh '....'
03.08.20203265KernelBug ReportVery LowLowAP crashed when enabling multicast_snoopingTrunkUnconfirmed Task Description

Device: EnGenius EAP1300
OpenWRT release/revision: r14017-c90db26e05

To reproduce I just do:
echo 1 > /sys/class/net/br-vlan10/bridge/multicast_snooping

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

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

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

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

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


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

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

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

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

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

## Flattened Device Tree blob at 43000000

 Booting using the fdt blob at 0x43000000

EHCI failed to shut down host controller.

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

Starting kernel ...

**

kernel panic

31.07.20203261Base systemBug ReportVery LowVery LowDHCP IP conflict and the whole DHCP stops workingTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Linksys WRT3200ACM - Software versions of OpenWrt/LEDE release, packages, etc. - dnsmasq

- Problem: If there is an IP conflict between two devices to LAN interface the whole DHCP stops working for the whole LAN subnet.

- Steps to reproduce

    1. Set two devices/with different MAC-addresses (or more) on static leases with the same IP

- My opinion: Have the the devices trying to connect (that has a conflict) to get the error conflict IP message (on receiving end) as soon as a conflict happens; DHCP continue working despite a conflict has occurred.

30.07.20203259Base systemBug ReportVery LowLowtplink 710n/v1 unstable AG71xx MII link on ath79TrunkUnconfirmed Task Description

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

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

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

Console output 5.4:


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

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

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

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

## Flattened Device Tree blob at 00800040

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

Console output 4.19:


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

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

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

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

## Flattened Device Tree blob at 00800040

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

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

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

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

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

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

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

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

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

 


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

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

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

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

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

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

 


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

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

Compilation fails with following output:

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

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

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

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

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

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

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

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

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

Any thoughts?

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

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

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


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

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

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

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

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

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

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

Same DIR615C1 running 18.06.08 works fine.

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

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

Code found in

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

Details at

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

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

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

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

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

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

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

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

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

 


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

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

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

iw phy info prints following output for such card:

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

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

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

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

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

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

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

Hello :-)

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

Messages like these appear in syslog:

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

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

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

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

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

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

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

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

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

GL-B1300, ipq40xx, 19.07-SNAPSHOT

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

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

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

config switch

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

config switch_vlan

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

config switch_vlan

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

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

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

 


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

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

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

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

18.07.20203236Base systemBug ReportVery LowLowWiFi button not properly workingTrunkUnconfirmed Task Description

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

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

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

 

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

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

Line 30:
wifi up
has to be only:
wifi

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

openwrt: master
aarch64
gcc 10.1 compilation fails

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


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

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

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

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

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

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

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

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

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

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

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

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

This looks like a compiler bug.

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

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

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

Showing tasks 51 - 100 of 1122 Page 2 of 23 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing