OpenWrt/LEDE Project

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

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

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

OpenedIDCategory  ascTask TypePrioritySeveritySummaryReported InStatus
16.07.20192390Base systemBug ReportVery LowHighIssues with PowerLAN devicesTrunkUnconfirmed Task Description

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

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

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

 


27.07.20192411Base systemBug ReportVery LowHighChanges to configuration are not saved between reboots ...openwrt-18.06Waiting on reporter Task Description

I recently updated my D-Link DIR-600 to OpenWrt 18.06.4. As I recall, the previous running version was from the 17.* branch line which worked like a charm. Since the update to 18, the configuration is no longer saved when altered (through LuCI). I suspect the flash size may be too small for this device.

kern.err kernel: [   44.315763] jffs2: Too few erase blocks (4)

System log as follows:

Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.000000] Linux version 4.14.131 (buildbot@dbab1e23488d) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7808-ef686b7292)) #0 Thu Jun 27 12:18:52 2019
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] SoC Type: Ralink RT3350 id:1 rev:2
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] MIPS: machine is D-Link DIR-600 B1
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Determined physical RAM map:
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Zone ranges:
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Movable zone start for each node
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Early memory node ranges
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 803f74b0, node_mem_map 81000040
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000]   Normal zone: 8192 pages, LIFO batch:0
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.000000] random: get_random_bytes called from 0x803fa730 with crng_init=0
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Writing ErrCtl register=0003fbe0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Readback ErrCtl register=0003fbe0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] Memory: 27968K/32768K available (3463K kernel code, 172K rwdata, 428K rodata, 152K init, 202K bss, 4800K reserved, 0K cma-reserved)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] NR_IRQS: 256
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] CPU Clock: 320MHz
Thu Jun 27 12:19:01 2019 kern.crit kernel: [    0.000000] timer_probe: no matching timers found
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11945377789 ns
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.000027] sched_clock: 32 bits at 160MHz, resolution 6ns, wraps every 13421772796ns
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.015794] Calibrating delay loop... 212.58 BogoMIPS (lpj=1062912)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.108400] pid_max: default: 32768 minimum: 301
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.118144] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.131389] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.158707] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.178376] futex hash table entries: 256 (order: -1, 3072 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.190778] pinctrl core: initialized pinctrl subsystem
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.204961] NET: Registered protocol family 16
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.288107] rt2880_gpio 10000600.gpio: registering 24 gpios
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.299345] rt2880_gpio 10000600.gpio: registering 24 irq handlers
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.325968] clocksource: Switched to clocksource MIPS
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.339590] NET: Registered protocol family 2
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.350800] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.364807] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.377536] TCP: Hash tables configured (established 1024 bind 1024)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.390676] UDP hash table entries: 256 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.402450] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.415694] NET: Registered protocol family 1
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.434160] rt-timer 10000100.timer: maximum frequency is 3255Hz
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.448814] Crashlog allocated RAM at address 0x1f00000
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.465905] workingset: timestamp_bits=30 max_order=13 bucket_order=0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.495414] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.507095] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.568216] io scheduler noop registered
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.575915] io scheduler deadline registered (default)
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.587719] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.609517] console [ttyS0] disabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.616788] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 6666666) is a Palmchip BK-3103
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.636648] console [ttyS0] enabled
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.650659] bootconsole [early0] disabled
Thu Jun 27 12:19:01 2019 kern.err kernel: [    0.667925] cacheinfo: Failed to find cpu0 device node
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    0.678472] cacheinfo: Unable to detect cache hierarchy for CPU 0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.692613] 1f000000.cfi: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001a00
Thu Jun 27 12:19:01 2019 kern.debug kernel: [    0.713003] 1f000000.cfi: Found an alias at 0x400000 for the chip at 0x0
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.713044] Amd/Fujitsu Extended Query Table at 0x0040
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.723567]   Amd/Fujitsu Extended Query version 1.3.
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.733912] number of CFI chips: 1
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.763510] 4 fixed-partitions partitions found on MTD device 1f000000.cfi
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.777571] Creating 4 MTD partitions on "1f000000.cfi":
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.788486] 0x000000000000-0x000000030000 : "u-boot"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.801096] 0x000000030000-0x000000040000 : "devdata"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.813979] 0x000000040000-0x000000050000 : "devconf"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.827051] 0x000000050000-0x000000400000 : "firmware"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.852725] 2 uimage-fw partitions found on MTD device firmware
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.864919] 0x000000050000-0x0000001a19cd : "kernel"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.877670] 0x0000001a19cd-0x000000400000 : "rootfs"
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.890239] mtd: device 5 (rootfs) set to be root filesystem
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.901904] 1 squashfs-split partitions found on MTD device rootfs
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    0.914588] 0x0000003c0000-0x000000400000 : "rootfs_data"
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.929929] libphy: Fixed MDIO Bus: probed
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.941883] rt3050-esw 10110000.esw: link changed 0x00
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.968999] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Thu Jun 27 12:19:01 2019 kern.info kernel: [    0.987304] rt2880_wdt 10000120.watchdog: Initialized
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.001118] NET: Registered protocol family 10
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.023475] Segment Routing with IPv6
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.031295] NET: Registered protocol family 17
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.040591] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.066901] 8021q: 802.1Q VLAN Support v1.8
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.090328] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
Thu Jun 27 12:19:01 2019 kern.info kernel: [    1.107082] Freeing unused kernel memory: 152K
Thu Jun 27 12:19:01 2019 kern.warn kernel: [    1.116215] This architecture does not have kernel memory protection.
Thu Jun 27 12:19:01 2019 user.info kernel: [    2.121392] init: Console is alive
Thu Jun 27 12:19:01 2019 user.info kernel: [    2.129218] init: - watchdog -
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    2.586054] random: fast init done
Thu Jun 27 12:19:01 2019 kern.info kernel: [    2.672827] rt3050-esw 10110000.esw: link changed 0x08
Thu Jun 27 12:19:01 2019 user.info kernel: [    3.310116] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Thu Jun 27 12:19:01 2019 user.info kernel: [    3.473617] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Thu Jun 27 12:19:01 2019 user.info kernel: [    3.499523] init: - preinit -
Thu Jun 27 12:19:01 2019 kern.info kernel: [    4.744023] 8021q: adding VLAN 0 to HW filter on device eth0
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    4.807593] random: procd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 user.notice kernel: [    8.389257] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
Thu Jun 27 12:19:01 2019 user.warn kernel: [    8.461892] urandom-seed: Seed file not found (/etc/urandom.seed)
Thu Jun 27 12:19:01 2019 user.info kernel: [    8.691867] procd: - early -
Thu Jun 27 12:19:01 2019 user.info kernel: [    8.698345] procd: - watchdog -
Thu Jun 27 12:19:01 2019 user.info kernel: [    9.542956] procd: - watchdog -
Thu Jun 27 12:19:01 2019 user.info kernel: [    9.550705] procd: - ubus -
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    9.718507] random: ubusd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    9.863957] random: ubusd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 kern.notice kernel: [    9.878290] random: ubusd: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:01 2019 user.info kernel: [    9.896376] procd: - init -
Thu Jun 27 12:19:01 2019 user.info kernel: [   10.626635] kmodloader: loading kernel modules from /etc/modules.d/*
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.654495] ip6_tables: (C) 2000-2006 Netfilter Core Team
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.696121] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.712420] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.736149] ip_tables: (C) 2000-2006 Netfilter Core Team
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.767787] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Thu Jun 27 12:19:01 2019 kern.info kernel: [   10.925396] xt_time: kernel timezone is -0000
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.050512] PPP generic driver version 2.4.2
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.066924] NET: Registered protocol family 24
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.128843] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "devdata"
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.143671] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0200 detected
Thu Jun 27 12:19:01 2019 kern.info kernel: [   11.159505] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0005 detected
Thu Jun 27 12:19:01 2019 kern.debug kernel: [   11.175056] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Thu Jun 27 12:19:01 2019 user.info kernel: [   11.349828] kmodloader: done loading kernel modules from /etc/modules.d/*
Thu Jun 27 12:19:01 2019 kern.warn kernel: [   13.056965] urandom_read: 5 callbacks suppressed
Thu Jun 27 12:19:01 2019 kern.notice kernel: [   13.056986] random: jshn: uninitialized urandom read (4 bytes read)
Thu Jun 27 12:19:03 2019 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Thu Jun 27 12:19:03 2019 user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: started, version 2.80 cachesize 150
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: DNS service limited to local subnets
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain test
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain onion
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain localhost
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain local
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain invalid
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain bind
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: using local addresses only for domain lan
Thu Jun 27 12:19:04 2019 daemon.warn dnsmasq[801]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: read /etc/hosts - 4 addresses
Thu Jun 27 12:19:04 2019 daemon.info dnsmasq[801]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: tunnel
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: Network device
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: bridge
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: veth
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: macvlan
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: 8021ad
Thu Jun 27 12:19:10 2019 user.notice : Added device handler type: 8021q
Thu Jun 27 12:19:11 2019 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Thu Jun 27 12:19:11 2019 daemon.notice procd: /etc/init.d/network: 'radio0' is disabled
Thu Jun 27 12:19:18 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/dhcp
Thu Jun 27 12:19:18 2019 user.notice ucitrack: Setting up /etc/config/network reload dependency on /etc/config/radvd
Thu Jun 27 12:19:18 2019 user.notice ucitrack: Setting up /etc/config/wireless reload dependency on /etc/config/network
Thu Jun 27 12:19:19 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/luci-splash
Thu Jun 27 12:19:19 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/qos
Thu Jun 27 12:19:19 2019 user.notice ucitrack: Setting up /etc/config/firewall reload dependency on /etc/config/miniupnpd
Thu Jun 27 12:19:20 2019 user.notice ucitrack: Setting up /etc/config/dhcp reload dependency on /etc/config/odhcpd
Thu Jun 27 12:19:22 2019 user.notice ucitrack: Setting up non-init /etc/config/fstab reload handler: /sbin/block mount
Thu Jun 27 12:19:22 2019 user.notice ucitrack: Setting up /etc/config/system reload trigger for non-procd /etc/init.d/led
Thu Jun 27 12:19:23 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/luci_statistics
Thu Jun 27 12:19:23 2019 user.notice ucitrack: Setting up /etc/config/system reload dependency on /etc/config/dhcp
Thu Jun 27 12:19:25 2019 kern.err kernel: [   44.315763] jffs2: Too few erase blocks (4)
Thu Jun 27 12:19:25 2019 daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock6 /rom/overlay: Invalid argument
Thu Jun 27 12:19:27 2019 daemon.notice procd: /etc/rc.d/S96led: setting up led WAN LED (amber)
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.657999] 8021q: adding VLAN 0 to HW filter on device eth0
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.761430] br-lan: port 1(eth0.1) entered blocking state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.772519] br-lan: port 1(eth0.1) entered disabled state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.784464] device eth0.1 entered promiscuous mode
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.794338] device eth0 entered promiscuous mode
Thu Jun 27 12:19:28 2019 kern.info kernel: [   46.991682] br-lan: port 1(eth0.1) entered blocking state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   47.002761] br-lan: port 1(eth0.1) entered forwarding state
Thu Jun 27 12:19:28 2019 kern.info kernel: [   47.014766] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' is setting up now
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' is now up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'loopback' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'loopback' is now up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'wan' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'wan6' is enabled
Thu Jun 27 12:19:28 2019 daemon.notice netifd: bridge 'br-lan' link is up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Interface 'lan' has link connectivity
Thu Jun 27 12:19:28 2019 daemon.notice netifd: Network device 'eth0' link is up
Thu Jun 27 12:19:28 2019 daemon.notice netifd: VLAN 'eth0.1' link is up
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Network device 'lo' link is up
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'loopback' has link connectivity
Thu Jun 27 12:19:29 2019 daemon.notice netifd: VLAN 'eth0.2' link is up
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan' is setting up now
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan6' has link connectivity
Thu Jun 27 12:19:29 2019 daemon.notice netifd: Interface 'wan6' is setting up now
Thu Jun 27 12:19:29 2019 kern.info kernel: [   47.656594] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Thu Jun 27 12:19:30 2019 daemon.notice netifd: wan (1178): udhcpc: started, v1.28.4
Thu Jun 27 12:19:31 2019 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Jun 27 12:19:32 2019 daemon.notice netifd: wan (1178): udhcpc: sending discover
Thu Jun 27 12:19:34 2019 daemon.info procd: - init complete -
Thu Jun 27 12:19:35 2019 daemon.notice netifd: wan (1178): udhcpc: sending discover
Thu Jun 27 12:19:38 2019 daemon.notice netifd: wan (1178): udhcpc: sending discover
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[801]: exiting on receipt of SIGTERM
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: started, version 2.80 cachesize 150
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: DNS service limited to local subnets
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify dumpfile
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq-dhcp[1322]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain test
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain onion
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain localhost
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain local
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain invalid
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain bind
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: using local addresses only for domain lan
Thu Jun 27 12:19:40 2019 daemon.warn dnsmasq[1322]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /etc/hosts - 4 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq-dhcp[1322]: read /etc/ethers - 0 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /etc/hosts - 4 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq[1322]: read /tmp/hosts/dhcp.cfg01411c - 1 addresses
Thu Jun 27 12:19:40 2019 daemon.info dnsmasq-dhcp[1322]: read /etc/ethers - 0 addresses
Thu Jun 27 12:19:47 2019 daemon.info dnsmasq-dhcp[1322]: DHCPDISCOVER(br-lan) 00:0e:c6:8e:2b:c9
Thu Jun 27 12:19:47 2019 daemon.info dnsmasq-dhcp[1322]: DHCPOFFER(br-lan) 192.168.1.122 00:0e:c6:8e:2b:c9
Thu Jun 27 12:19:48 2019 daemon.info dnsmasq-dhcp[1322]: DHCPREQUEST(br-lan) 192.168.1.122 00:0e:c6:8e:2b:c9
Thu Jun 27 12:19:48 2019 daemon.info dnsmasq-dhcp[1322]: DHCPACK(br-lan) 192.168.1.122 00:0e:c6:8e:2b:c9 badapple
Thu Jun 27 12:20:09 2019 daemon.err uhttpd[958]: luci: accepted login on /admin for root from 192.168.1.122
Thu Jun 27 12:20:34 2019 kern.notice kernel: [  112.796216] random: crng init done
Thu Jun 27 12:20:34 2019 daemon.info urandom_seed[1268]: Seed saved (/etc/urandom.seed)
Thu Jun 27 12:20:56 2019 auth.err passwd: password for root changed by root
Thu Jun 27 12:21:36 2019 auth.err passwd: password for root changed by root
24.08.20192462Base systemBug ReportVery LowHighwrt32x WIFI was breaking on 2 sec I did not get full co...AllUnconfirmed Task Description

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

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

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

Device: Netgear EX2700

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

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

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

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


10.10.20192543Base systemBug ReportVery LowHighCloud Engines Pogoplug V4 USB3 Does Not Workopenwrt-18.06Unconfirmed Task Description

In the configuration added

define Device/cloudengines_pogoplugv4

DEVICE_TITLE := Cloud Engines Pogoplug V4
DEVICE_DTS := kirkwood-pogoplug-series-4
DEVICE_PACKAGES := kmod-usb3

endef
TARGET_DEVICES += cloudengines_pogoplugv4

But kmod-usb3 has built and included. I need to enabled CONFIG_PACKAGE_kmod-usb3=y which also enables CONFIG_PACKAGE_kmod-usb-core=y as dependency the USB3 is working. This is build issue.

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

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

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

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

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

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

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

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

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

 

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

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

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

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

Supply the following if possible:
- Device problem occurs on

Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)

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

11595-g5d2a900163

- Steps to reproduce

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

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

Device is Linksys EA6350v3

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

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

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

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

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

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

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

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

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

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

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

DHCP offer from ISP:

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

18.06.5 reaction to Classless-Static-Route Option 121:

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

Fixing:

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

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

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

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

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

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

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

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

Status:

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

(yes, very bad line)

Config:

config atm-bridge ‘atm’

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

config dsl ‘dsl’

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

config interface ‘wan’

option ifname 'dsl0'
option proto 'pppoe'
option ipv6 '1'
option username 'censored'
list dns '8.8.8.8'
list dns '8.8.4.4'
option peerdns '0'
option keepalive '60 5'
option password 'censored'
13.01.20202733Base systemBug ReportVery LowHighAth79 firmware accident enter to failsafe mode when reb...openwrt-19.07Unconfirmed Task Description

Sometime when reboot/reflash router, I see serial console messages:

[    5.868712] init: - preinit -
[    5.960699] random: procd: uninitialized urandom read (4 bytes read)
[    6.909058] random: jshn: uninitialized urandom read (4 bytes read)
[    7.327749] random: jshn: uninitialized urandom read (4 bytes read)
[    7.567130] random: jshn: uninitialized urandom read (4 bytes read)
[    7.638687] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    9.860896] eth0: link up (1000Mbps/Full duplex)
- failsafe button rfkill was pressed -
- failsafe -
[   12.309911] urandom_read: 3 callbacks suppressed
[   12.309921] random: dropbearkey: uninitialized urandom read (32 bytes read)
Generating 1024 [   12.323834] random: dropbearkey: uninitialized urandom read (32 bytes read)
bit rsa key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCKZVT/UJoTHz2CkNHrYmfzzBDfa/6Yd6+LJVcrURD15lbN3ch7AG/tc/ZolkeOrqkKD6dM2h4TsYv4+)
Fingerprint: sha1!! b9:a4:d3:94:71:b3:34:ae:a3:85:c8:e9:a7:c8:63:fd:74:52:5e:ad


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

ash: can't access tty; job control turned off
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 19.07-SNAPSHOT, r10868-08d9828b76
 -----------------------------------------------------
================= FAILSAFE MODE active ================

I noticed when wifi on/off switch on router is on, sometime it accident enter failsafe mode. If switch to off, it’s not happen.
Issue happens with 841n v8/v9/v10 & 841hp v3 (same hardware as v9/10) model.


15.01.20202739Base systemBug ReportVery LowHighArbitrary File CreationAllUnconfirmed Task Description

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

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

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

POC

1. set the path of sustem log and buffer size

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

2. reboot or wait a moment

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

3. result

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

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

ucert -A generates something that ucert cannot read back.

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

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

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

This is related to  FS#2762  and FS#2763

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

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

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

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

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

Devices tested:

  • Mikrotik rb433
  • Mikrotik rb435g

Software version: Using the v19.07.1 tag.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

 

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

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

PLEASE, FIX IT!

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

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

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

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

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

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

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

cat /etc/config/wireless

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

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

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

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

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

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

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

- Steps to reproduce

 


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

_______                     ________        __

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

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

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


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

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

_______                     ________        __

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

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

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


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

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

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

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

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

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

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

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

Most affected hardware

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

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

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

Hi,

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

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

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

It works correctly with latest stable, 19.07.2.

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

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

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

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

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

Linksys WRT32X with NAT6 configuration.

On latest 19.07 branch r10959

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

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

In the meantime, ICMPv6 worked normally.

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

IPv4 part looked normal even if flow_offload is on.

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

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

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

Observed behavior:

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

Work-Around:

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



Expected behaviour:

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


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

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

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

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

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

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

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


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

using fresh install

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

pushing the update list button
the loading package information never arrived

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


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

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

In /etc/config/network:

 

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

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

The syntax given by the help of odhcp6c is different:

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

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

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

Thanks
Regards

08.04.20202980Base systemBug ReportVery LowHighNo connection to Ethernet portTrunkUnconfirmed Task Description

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

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


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

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

Hi.

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

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

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

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

13.04.20203005Base systemBug ReportVery LowHighiptables ruleset order improvement optionTrunkUnconfirmed Task Description

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

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

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

Steps to reproduce:

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

opkg update

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

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

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

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

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

If you do

opkg update

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

root@turris:~# opkg install busybox --force-reinstall
Refusing to remove essential package busybox.
        Removing an essential package may lead to an unusable system, but if
        you enjoy that kind of pain, you can force opkg to proceed against
        its will with the option: --force-removal-of-essential-packages
No packages removed.
Package busybox (1.30.1-5.18) installed in root is up to date.
28.04.20203057Base systemBug ReportHighHighramips/mt7621/edimax_ra21s boot failure with kernel 5.4TrunkUnconfirmed Task Description

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

Partial serial console log with an official snapshot image. The boot process hangs after printing the kernel version line:

....
3: System Boot system code via Flash.

## Booting image at bfc50000 ...

   Image Name:   MIPS OpenWrt Linux-5.4.35

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    2439444 Bytes =  2.3 MB

   Load Address: 80001000

   Entry Point:  80001000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... OK

No initrd

## Transferring control to Linux (at address 80001000) ...

## Giving linux memsize in MB, 256


Starting kernel ...


[    0.000000] Linux version 5.4.35 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13089-3fdb08681b)) #0 SMP Sun Apr 26 22:25:12 2020

Partial serial console log after booting an image I compiled myself. An LZMA error is displayed and the device gets into a reboot loop:

....
3: System Boot system code via Flash.

## Booting image at bfc50000 ...

   Image Name:   MIPS OpenWrt Linux-5.4.35

   Image Type:   MIPS Linux Kernel Image (lzma compressed)

   Data Size:    2439479 Bytes =  2.3 MB

   Load Address: 80001000

   Entry Point:  80001000

   Verifying Checksum ... OK

   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover

   

===================================================================

                MT7621   stage1 code Mar 12 2015 14:43:30 (ASIC)

                CPU=50000000 HZ BUS=12500000 HZ

==================================================================
....

With the patch below, the device boots correctly:

diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index d5527cd98d..43eb04e53f 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -249,6 +249,7 @@ endef
 TARGET_DEVICES += d-team_pbr-m1
 
 define Device/edimax_ra21s
+  $(Device/uimage-lzma-loader)
   IMAGE_SIZE := 16064k
   DEVICE_VENDOR := Edimax
   DEVICE_MODEL := RA21S
@@ -262,6 +263,7 @@ endef
 TARGET_DEVICES += edimax_ra21s
 
 define Device/edimax_rg21s
+  $(Device/uimage-lzma-loader)
   IMAGE_SIZE := 16064k
   DEVICE_VENDOR := Edimax
   DEVICE_MODEL := Gemini AC2600 RG21S

Note that the patch should also work on the edimax_rg21s, which has identical hardware. I’ve not tested on that device. The bootloader searches for the default tftp image uImage_ELECOM-WRC-2533GHBK-I, so it’s likely that more devices exist that are based on the same ELECOM WRC-2533GHBK-I hardware:

2: System Load Linux Kernel then write to Flash via TFTP.

 Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)

 Please Input new ones /or Ctrl-C to discard

        Input device IP (192.168.99.9) ==:192.168.99.9

        Input server IP (192.168.99.8) ==:192.168.99.8

        Input Linux Kernel filename (uImage_ELECOM-WRC-2533GHBK-I) ==:uImage_ELECOM-WRC-2533GHBK-I
08.05.20203072Base systemBug ReportVery LowHighSamknows WhiteBox8 misses 2.4 GHz pcie wireless NICTrunkUnconfirmed Task Description

device

software versions

tested & misses 2.4 GHz NIC

tested & has 2.4 GHz NIC

reproduce

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

conclusion

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

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

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

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

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

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

 

Hello,

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

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

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

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

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

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

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

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

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

Host device

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

External server/service

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

Client

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

Steps to reproduce:

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

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

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

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

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

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

Steps to workaround:

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

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


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

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


deploying from GPT partition

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

This patch sorts the issue

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


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

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

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

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

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

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

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

I make sure that they are on the same channel.

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

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

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

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

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

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

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

 


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

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

 

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

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

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

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

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

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

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

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

16.08.201694Base systemBug ReportVery LowMediumnetifd: PPPoE MTU problemTrunkNew Task Description

When you set the MTU of a ppp interface with proto=pppoe and ifname=nas0 via the mtu option,
the configured mtu will not be set on the ppp interface (what you want), but on the
underlying interface named by ifname (what you normally don’t want to change).

This leeds to log messages like this:


pppd[5641]: Interface nas0 has MTU of 1448 – should be at least 1500.


and MTUs other than what you really want.

example:


desired PPPoE MTU: 1448
actual nas0 MTU: 1448
actual PPPoE MTU: 1440

This issue seems to be related to the commit 7ac29b75319fd69a8a7c0aeea7804d381ec07d3d of netifd.

Regards,
Martin

24.08.2016115Base systemBug ReportVery LowMediumWWAN-connections using 3g with HUAWEI ME909u-521 unstab...TrunkUnconfirmed Task Description

Actually, I am trying to stabilize wwan (3g actually; LTE later on) using pppd with my HUAWEI ME909u-521,
because either my MT7620-based router locks up during boot already; or after short period of real usage.
During night, when router is almost idle, just some watchdog date sent via wwan, no problem.

First trace of a possible problem was this msg in logread:
daemon.notice netifd: wwan (1676): Error setting WWAN mode!

Wich is expected, as in /lib/netifd/proto/3g.sh:

...

                      elif echo "$cardinfo" | grep -qi huawei; then
                              case "$service" in
                                      umts_only) CODE="14,2";;
                                      gprs_only) CODE="13,1";;
                                      *) CODE="2,2";;
                              esac
                              export MODE="AT^SYSCFG=${CODE},3FFFFFFF,2,4"    #####Will not work !!!!! Switching USB-Stick to 3g-preferred ?

...
...

                      [ -n "$MODE" ] && gcom -d "$device" -s /etc/gcom/setmode.gcom

Will not work, because the ME909u-521 rejects AT^SYSCFG . However, AT^SYSCFGEX will work, but having different syntax.
MODE=”AT^SYSCFG=${CODE},3FFFFFFF,2,4” will be effective for simpler modems.

/etc/gcom/setmode.gcom returns exit 1; but this error is not checked in 3g.sh

Not shure, whether this is the reason for my problems; however, reason of concern, as high speed modems
are more and more common.
Willing to participate in testing/debugging.

For details regarding my modem, consult
HUAWEI ME909u-521 LTE LGA Module AT Command Interface Specification
http://www.paoli.cz/out/media/HUAWEI_ME909u-521_LTE_LGA_Module_AT_Command_Interface_Specification-V100R001_02.pdf

17.09.2016181Base systemBug ReportVery LowMediumChanging TX power doesn't nothing (MediaTek MT7628AN ve...TrunkUnconfirmed Task Description

Hello,

As I said, if I change the TX power from 0 dBm to 20 dBm doesn’t nothing. There isn’t any visible change in tx power. I tested other powers too (5, 8, 15,..).

It is a Xiaomi Nano (lite).

SoC Type: MediaTek MT7628AN ver:1 eco:2
MIPS: machine is MiWiFi Nano
Linux version 4.4.19 (-) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1444) ) #0 Fri Aug 26 15:03:40 2016.

29.11.2016315Base systemFeature RequestVery LowMediumImprove sysupgrade (CLI) on dual-partition routersTrunkUnconfirmed Task Description

Some of the recent Linksys (maybe other) routers have two partitions: WRT1900, EA8500, etc.

Would be great if when running sysupgrade on those routers it did NOT kill all active processes and kept the router working while writing an image to the inactive partition.

Would also be great if there was an option to prevent automatic reboot after writing an image.

Ultimate goal is to have an upgrade process where current working state is uninterrupted and only when you reboot – you boot into new image.

24.01.2017427Base systemBug ReportVery LowMediumSwitch broken with WRT3200ACM (removes wifi adapters an...TrunkUnconfirmed Task Description

- Device problem occurs on:

WRT3200ACM

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

master tree (and v17.01), bisected to f24ffb901e0408917748773b883841eca52eea05.

- Steps to reproduce

* Flash a recent LEDE snapshot on the WRT3200ACM (and factory reset),
* enable wifi (2 or 5 Gz) → Wifi works
* disable wifi → errors in the dmesg about not being able to set a feature (can’t remember the exact error)
* re-enable wifi → errors in the dmesg saying that the adapter does not exist. This gets shouted in the dmesg every 5 seconds

A reboot doesn’t fix the issue. I need to downgrade the firmware prior to f24ffb901e0408917748773b883841eca52eea05 and factory reset to get the wifi adapters back.

For the Vlan bridge, symptoms are easier to detect:
* create a new adapter bridged on eth0.100 eth1.100
* no traffic goes through it. An snapshot before f24ffb901 used to work
(the setup is the Free french provider which has a vlan between the modem and the TV adapter over VLAN 100. So the LEDE box should act like a pass-through here only)

I bisected to the commit mentioned above (which, to me seems suspicious given that the driver is for mvsw61xx and the switch in the WRT3200ACM is MV88E6352, so a different generation). I don’t have enough knowledge of the chip to understand why this fails, but I don’t feel confident enough to simply send a PR with the revert.

Reverting f24ffb901e on top of master makes the Wifi and VLAN back to normal.


04.02.2017461Base systemBug ReportVery LowMediumMass Cascade of DHCP ULA Prefix Assignments with DHCP-P...AllUnconfirmed Task Description

Here is one that gets a bit ugly. Lets say we chain a bunch of LEDE based routers together. Lets also enable a nice numbering system in IP4 and IP6. Lets enable DHCP-PD through the network, because our ISP was generous with a /56. The IP4 is only static and is easy to control, see table below. Its tedious, but easy. The problem is in parallel the IP6 addresses compound in the ULA region. Each router DHCP-PD the ULA above it, and gets its own ULA from Global settings in Network UCI. There seems no easy way to control this mass cascade of ULA, and get good fail over.

Ideal Requirements:
(1) If router above is unavailable, then next tier router uses ULA (network global UCI) to begin assigning addresses to clients and subnets.
(2) If router above is available, then next tier router expires its self-generated ULA and subnets, and gets ULA from delegation above to then re-delegate to subnets.
(*) Bonus: make some parts optional

IP4 WAN Name Serves Subnet
(NAT) Router-1 172.16.0.1/24
172.16.0.2 Router-2A 172.17.0.1/24
172.17.0.2 Router-3A 172.24.0.1/24
172.17.0.3 Router-3B 172.25.0.1/24
172.16.0.3 Router-2B 172.18.0.1/24

IP6 Roots Name Serves Subnet Delegates Subnet
2001:db8/56 Router-1 2001:db8::1/64 2001:db8:0:10/60
fd00:ac10/48 fd00:ac10::1/64 2001:db8:0:20/60

                                                fd00:ac10:0:10/60
                                                fd00:ac10:0:20/60

2001:db8:0:10/60 Router-2A 2001:db8:0:10::1/64 2001:db8:0:14/62
fd00:ac10:0:10/60 fd00:ac10:0:10::1/64 2001:db8:0:18/62
fd00:ac11/48 fd00:ac11::1/64 fd00:ac10:0:14/62

                                                fd00:ac10:0:18/62
                                                fd00:ac11:0:14/62
                                                fd00:ac11:0:18/62

* please, i don’t want to type more. see how the ULA prefixes just keep multiplying.
** ‘172.16’ = ‘ac10’

Showing tasks 101 - 150 of 1046 Page 3 of 21 - 1 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing