OpenWrt/LEDE Project

Welcome to the OpenWrt Project bug reporting and issue tracking system

Problems to be reported here are for the current OpenWrt and legacy LEDE Project’s targets, sources, toolchain, core packages, build procedures, distribution and infrastructure. Guidelines for submitting a good bug report can be found at the OpenWrt 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 openwrt-bugs@infradead.org.

OpenedIDCategoryTask TypePrioritySeveritySummary  descReported InStatus
20.01.20213583Base systemBug ReportVery LowLowTPLink RE450 Falis getting IP on 5Ghz radioTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
RE450 set up as dumb Access Point
Main router is WRT1900ACS also using OpenWRT 19.07.6
Main router is DHCP server.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.6 r11278-8055e38794

- Steps to reproduce

 

Ethernet, Wifi 0 and Wifi 1 are all bridged as LAN.

When I connect to 2.4Ghz WIfi, devices connect and get IP and access to the internet.
When I connect to 5Ghz wifi, devices cannot obtain IP and disconnect.
On conecting Mac I see message that it failed to obtain IP

Network:
config interface ‘loopback’

option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals ‘globals’

option ula_prefix 'fd7c:fc53:55ff::/48'

config interface ‘lan’

option type 'bridge'
option ifname 'eth0'
option proto 'static'
option ipaddr '192.168.1.2'
option gateway '192.168.1.1'
list dns '192.168.1.1'
option netmask '255.255.255.0'

Wireless:
config wifi-device ‘radio0’

option type 'mac80211'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0'
option htmode 'VHT80'
option channel 'auto'
option country 'ES'

config wifi-iface ‘default_radio0’

option device 'radio0'
option network 'lan'
option mode 'ap'
option key 'pass'
option encryption 'psk2'
option ssid 'AP5G'
option disassoc_low_ack '0'

config wifi-device ‘radio1’

option type 'mac80211'
option hwmode '11g'
option path 'platform/ahb/18100000.wmac'
option channel 'auto'
option noscan '1'
option htmode 'HT40'
option country 'ES'

config wifi-iface ‘default_radio1’

option device 'radio1'
option network 'lan'
option mode 'ap'
option key 'pass'
option encryption 'psk2'
option ssid 'AP'
option disassoc_low_ack '0'

DHCP:

config dnsmasq

option domainneeded '1'
option boguspriv '1'
option filterwin2k '0'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option nonegcache '0'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option nonwildcard '1'
option localservice '1'

config dhcp ‘lan’

option interface 'lan'
option ignore '1'

config dhcp ‘wan’

option interface 'wan'
option ignore '1'

config odhcpd ‘odhcpd’

option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'


23.10.20171105Base systemBug ReportVery LowLowtp-link wr840n v4 - wifi disabled when channel is set t...TrunkUnconfirmed Task Description

When I set the wifi channel to ‘auto’, on a tp-link wr840n v4, the wifi interface seems to get disabled.

I’m using “Reboot SNAPSHOT r5122-f7a6fd3”.

If I fix some channel (1 to 11), the wifi connection works normaly.

 


14.09.20214038Base systemBug ReportVery LowHighTP-Link WDR4900 simpleboot not working with kernel 5.10TrunkUnconfirmed Task Description

With commit 1e41de2f48e284c9d6658f9403365651178f6826, @chunkeey added simpleImage support for the WDR4900 V1. Now with kernel version 5.10, the simpleImage is no longer working. Please, if possible, extend support for this device with an updated simpleImage.

16.03.20192191Base systemBug ReportVery LowMediumTP-Link WBS210 Images brokenopenwrt-19.07Unconfirmed Task Description

I cannot install the 18.06.1 and 18.06.2 Images on my TP-Link WBS210. For the openwrt-18.06.x-ar71xx-generic-wbs210-v1-squashfs-sysupgrade.bin image I get the message:

“The uploaded image file does not contain a supported format. Make sure that you choose the generic image format for your platform.”

Up to version 18.06.0 everything worked fine.

08.03.20202889KernelBug ReportVery LowMediumTP-Link TL-WR841 snpshot ath79 kernel 5.4 error : ag71x...TrunkUnconfirmed Task Description

problem is : Failed to connect to the switch !
only happen with kernel 5.4, kernel 4.19 is fine

U-Boot 1.1.4 (Nov 16 2009 - 09:06:24)

AP93 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 8
32 MB
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

Hn:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7014
dth0: 00:03:7f:09:0b:ad
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... @K

Starting kernel ...



OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf022000
Decompressing kernel... done!
Ptarting kernel at 80060000...

Linux version 5.4.22 (huhu@bikom) (gcc version 8.3.0 (OpenWrt GCC 8.3.0 r11816-d5ede68f8b)) #0 Thu Mar 5 11:53:50 2020
printk: bootconsole [early0] enabled
CPU0 revision is: 00019374 (MIPS 24Kc)
LIPS: machine is TP-Link TL-WR841N/ND v5/v6
SoC: Atheros AR7240 rev 2
Initrd not found or empty - disabling initrd
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Zone ranges:
  Normal   [mem 0x0000000000000000-0x0000000001ffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x0000000001ffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
Built 1 zonelists, mobility grouping on.  Total pages: 8128
Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Writing ErrCtl register=00000000
Readback ErrCtl regist"er=00000000
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 27372K/32768K available (3175K kernel code, 134K rwdata, 372K rodata, 1176K init, 182K bss, 5396K reserved, 0K cma-reserved)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS: 51
random: get_random_bytes called from 0x803fa9ac with crng_init=0
CPU clock: 400.000 MHz
clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
 MEM 0x0000000010000000..0x0000000013ffffff
  IO 0x0000000000000000..0x0000000000000000
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
pci_bus 0000:00: root bus resource [io  0x0000]
pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
clocksource: Switched to clocksource MIPS
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
NET: Registered protocol family 1
PCI: CLS 0 bytes, default 32
workingset: timestamp_bits=30 max_order=13 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
pinctrl-single 18040028.pinmux: 64 pins, size 8
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
printk: console [ttyS0] enabled
printk: bootconsole [early0] disabled
printk: bootconsole [early0] disabled
spi-nor spi0.0: s25sl032p (4096 Kbytes)
3 fixed-partitions partitions found on MTD device spi0.0
Creating 3 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x0000003f0000 : "firmware"
2 tplink-fw partitions found on MTD device firmware
Creating 2 MTD partitions on "firmware":
0x000000000000-0x000000136bf2 : "kernel"
0x000000136bf4-0x0000003d0000 : "rootfs"
mtd: device 3 (rootfs) set to be root filesystem
0 squashfs-split partitions found on MTD device rootfs
0x000000370000-0x0000003d0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
libphy: Fixed MDIO Bus: probed
ag71xx: probe of 19000000.eth failed with error -2
ag71xx: probe of 1a000000.eth failed with error -2
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Freeing unused kernel memory: 1176K
This architecture does not have kernel memory protection.
Run /sbin/init as init process
random: fast init done
init: Console is alive
init: - watchdog -
hmodloader: loading kernel modules from /etc/modules-boot.d/*
kmodloader: done loading kernel modules from /etc/modules-boot.d/*
init: - preinit -
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
Failed to connect to the switch. Use the "list" command to see which switches are available.
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
trandom_read: 2 callbacks suppressed
random: procd: uninitialized urandom read (4 bytes read)
jffs2: notice: (362) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (0 unchecked, 8 orphan) and 17 of xref (8 dead, 0 orphan) found.
mount_root: switching to jffs2 overlay
`verlayfs: upper fs does not support tmpfile.
urandom-seed: Seeding with /etc/urandom.seed
procd: - early -
procd: - watchdog -
procd: - watchdog -
procd: - ubus -
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
random: ubusd: uninitialized urandom read (4 bytes read)
procd: - init -
Please press Enter to activate this console.
kmodloader: loading kernel modules from /etc/modules.d/*
tun: Universal TUN/TAP device driver, 1.6
Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
xt_time: kernel timezone is -0000
ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=14
kmodloader: done loading kernel modules from /etc/modules.d/*
urngd: v1.0.2 started.
random: crng init done
random: 1 urandom warning(s) missed due to ratelimiting


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

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

- Steps to reproduce:

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

- Logs:

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

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

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

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

21.07.20181682Base systemBug ReportVery LowLowTP-Link RE350: 5GHz radio not recognizedTrunkUnconfirmed Task Description

I’ve tried both trunk and 18.06-rc2 on a TP-Link RE350 and only 2,4GHz radio is detected. 5GHz is not recognized.

Dmesg 18.06-rc2: https://pastebin.com/5Lms2esB Dmesg trunk: https://pastebin.com/Q9ZuCqgg

05.05.20213782Base systemBug ReportVery LowCriticalTP-Link CPE510 v2 bootloop with 21.02.0-rc1openwrt-21.02Requires testing Task Description

Installing the 21.02.0-rc1 Sysupgrade image on the TP-Link CPE510 v2 or TP-Link CPE610 v1 results in the same bootloop as reported in https://bugs.openwrt.org/index.php?do=details&task_id=3750

Here is a log from my device with a line length of 80 chars

TP-LINK SafeLoader (Build time: Jun 14 2017 - 10:08:41)
CPU: 560MHz AHB: 225MHz DDR: 8MB
Performing LED check..  PASS
Press CTRL+B to enter SafeLoader: 1

Allocated memory for elf segment ok: addr: 0x80060000, size 0x16dc
Loading .text @ 0x80060000 (5852 bytes)

Starting kernel


OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Looking for OpenWrt image... found at 0xbf043000
Decompressing kernel... done!
Starting kernel at 80060000...
[    0.000000] Linux version 5.4.111 (builder@buildhost) (gcc version 8.4.0 (Ope
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link CPE510 v2
[    0.000000] SoC: Atheros AR9344 rev 2
[    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
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jf
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, li
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, lin
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 57336K/65536K available (5216K kernel code, 190K rwdata,
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from 0x80655984 with crng_init=0
[    0.000000] CPU clock: 560.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_
[    0.000010] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669
[    0.009095] Calibrating delay loop... 278.78 BogoMIPS (lpj=557568)
[    0.052225] pid_max: default: 32768 minimum: 301
[    0.057783] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, line
[    0.066284] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,
[    0.080827] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, m
[    0.092208] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.100259] pinctrl core: initialized pinctrl subsystem
[    0.109580] NET: Registered protocol family 16
[    0.117299] GPIO line 18 (tp-link:ext:lna0) hogged as output/high
[    0.124466] GPIO line 19 (tp-link:ext:lna1) hogged as output/high
[    0.159972] workqueue: max_active 576 requested for napi_workq is out of ran
[    0.176037] clocksource: Switched to clocksource MIPS
[    0.183518] NET: Registered protocol family 2
[    0.189793] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096
[    0.199606] TCP established hash table entries: 1024 (order: 0, 4096 bytes, 
[    0.208534] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.216742] TCP: Hash tables configured (established 1024 bind 1024)
[    0.224301] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.231970] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.240490] NET: Registered protocol family 1
[    0.245632] PCI: CLS 0 bytes, default 32
[    0.255091] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.271344] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.278179] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORI
[    0.307686] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
[    0.321044] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.329034] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.339440] printk: console [ttyS0] disabled
[    0.344535] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 25
[    0.354585] printk: console [ttyS0] enabled
[    0.354585] printk: console [ttyS0] enabled
[    0.363495] printk: bootconsole [early0] disabled
[    0.363495] printk: bootconsole [early0] disabled
[    0.388005] spi-nor spi0.0: gd25q64 (8192 Kbytes)
[    0.392920] 6 fixed-partitions partitions found on MTD device spi0.0
[    0.399384] Creating 6 MTD partitions on "spi0.0":
[    0.404285] 0x000000000000-0x000000020000 : "u-boot"
[    0.410563] 0x000000020000-0x000000030000 : "partition-table"
[    0.417611] 0x000000030000-0x000000040000 : "info"
[    0.423688] 0x000000040000-0x0000007c0000 : "firmware"
[    0.430160] 0x0000007c0000-0x0000007f0000 : "config"
[    0.436538] 0x0000007f0000-0x000000800000 : "art"
[    0.445059] libphy: Fixed MDIO Bus: probed
[    0.768479] libphy: ag71xx_mdio: probed
[    0.773748] libphy: ar8xxx-mdio: probed
[    0.785848] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.145976] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd
[    1.156116] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    1.162648] i2c /dev entries driver
[    1.169430] NET: Registered protocol family 10
[    1.180091] random: fast init done
[    1.184945] Segment Routing with IPv6
[    1.188879] NET: Registered protocol family 17
[    1.193512] bridge: filtering via arp/ip/ip6tables is no longer available by
[    1.206679] 8021q: 802.1Q VLAN Support v1.8
[    1.212391] hctosys: unable to open rtc device (rtc0)
[    1.218812] /dev/root: Can't open blockdev
[    1.223069] VFS: Cannot open root device "(null)" or unknown-block(0,0): err
[    1.230673] Please append a correct "root=" boot option; here are the availa
[    1.239162] 1f00             128 mtdblock0 
[    1.239166]  (driver?)
[    1.245826] 1f01              64 mtdblock1 
[    1.245829]  (driver?)
[    1.252485] 1f02              64 mtdblock2 
[    1.252488]  (driver?)
[    1.259138] 1f03            7680 mtdblock3 
[    1.259140]  (driver?)
[    1.265792] 1f04             192 mtdblock4 
[    1.265795]  (driver?)
[    1.272452] 1f05              64 mtdblock5 
[    1.272455]  (driver?)
[    1.279103] Kernel panic - not syncing: VFS: Unable to mount root fs on unkn
[    1.287482] Rebooting in 1 seconds..


31.08.20203315Base systemBug ReportVery LowMediumTP-Link CPE210v1 - regular network disconnects - daemon...TrunkUnconfirmed Task Description

I have build a Image for TP-Link CPE210v1. OpenWrt SNAPSHOT r14184-eadb1a9437

I have issues with connection drop. The connection(routing?) suddenly dropps and then i have to reboot the device to fix this. The wifi connection itself seems to be fine at this moment (i can see in luci that its connected).

I think this is related to this issue:
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: * has_emperor mode detected (fd: 7) *
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-webui.ini
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:43 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini has been spawned
Mon Aug 31 16:27:43 2020 daemon.info uwsgi-luci: * big endian arch detected *
Mon Aug 31 16:27:43 2020 daemon.info uwsgi-luci: spawned uWSGI master process (pid: 3293)
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:43 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is ready to accept requests
Mon Aug 31 16:27:43 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:43 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-webui.ini is now loyal
Mon Aug 31 16:27:47 2020 daemon.info uwsgi-luci: luci: accepted login on / for root from Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: * has_emperor mode detected (fd: 8) *
Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: [uWSGI] getting INI configuration from /etc/uwsgi/vassals/luci-cgi_io.ini
Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:53 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini has been spawned
Mon Aug 31 16:27:53 2020 daemon.err uwsgi[1135]: Mon Aug 31 16:27:53 2020 - [emperor] vassal /etc/uwsgi/vassals/luci-cgi_io.ini is ready to accept requests

31.08.20203316KernelBug ReportVery LowLowTP-Link CPE210v1 - kernel issue - kernel trace included...TrunkUnconfirmed Task Description

I have build a Image for TP-Link CPE210v1. OpenWrt SNAPSHOT r14184-eadb1a9437

I can see in dmesg output in luci at every boot following trace:

[    1.145135] ------------[ cut here ]------------
[    1.149922] WARNING: CPU: 0 PID: 1 at drivers/reset/core.c:556 __reset_control_get_internal+0x15c/0x190
[    1.159456] Modules linked in:
[    1.162577] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.52 #0
[    1.168411] Stack : 80640000 805ed468 00000000 00000000 805ec638 83c2795c 83c282fc 80623ce3
[    1.176914]         8058e9ac 00000001 807832d8 00000001 00000000 00000001 83c27910 39024192
[    1.185410]         00000000 00000000 807b0000 00000055 61696e74 00000000 2e342e35 32202330
[    1.193903] random: fast init done
[    1.197360]         00000055 a3248495 00000000 00027b11 00000000 00000009 00000000 802e6d08
[    1.205852]         00000009 00000001 00000000 83c7da10 00000000 802fe010 00000000 80780000
[    1.214344]         ...
[    1.216836] Call Trace:
[    1.219344] [<80069934>] show_stack+0x30/0x100
[    1.223873] [<8008254c>] __warn+0xc0/0x10c
[    1.228051] [<800825f4>] warn_slowpath_fmt+0x5c/0xac
[    1.233111] [<802e6d08>] __reset_control_get_internal+0x15c/0x190
[    1.239315] [<802e6e7c>] __of_reset_control_get+0x140/0x1fc
[    1.244991] [<802e7204>] __devm_reset_control_get+0x70/0x108
[    1.250776] [<8036369c>] ag71xx_mdio_probe+0xbc/0x208
[    1.255942] [<80311998>] platform_drv_probe+0x40/0x94
[    1.261087] [<8030faec>] really_probe+0x104/0x358
[    1.265883] [<8030dbdc>] bus_for_each_drv+0x70/0xb0
[    1.270854] [<8030f9a4>] __device_attach+0xdc/0x118
[    1.275827] [<8030eb14>] bus_probe_device+0x9c/0xb8
[    1.280797] [<8030bee8>] device_add+0x3e4/0x608
[    1.285413] [<803788d4>] of_platform_device_create_pdata+0xa8/0x150
[    1.291789] [<80378abc>] of_platform_bus_create+0x134/0x224
[    1.297465] [<80378d28>] of_platform_populate+0x78/0xec
[    1.302794] [<803659cc>] ag71xx_probe+0x6e4/0x98c
[    1.307586] [<80311998>] platform_drv_probe+0x40/0x94
[    1.312733] [<8030faec>] really_probe+0x104/0x358
[    1.317531] [<80310234>] device_driver_attach+0x70/0x98
[    1.322852] [<803102bc>] __driver_attach+0x60/0x100
[    1.327816] [<8030db1c>] bus_for_each_dev+0x68/0xa4
[    1.332788] [<8030ee88>] bus_add_driver+0x1f0/0x200
[    1.337752] [<80310928>] driver_register+0x84/0x148
[    1.342741] [<80660c14>] ag71xx_module_init+0x2c/0x50
[    1.347889] [<80060a1c>] do_one_initcall+0x7c/0x1dc
[    1.352877] [<8064ce10>] kernel_init_freeable+0x158/0x23c
[    1.358391] [<80500858>] kernel_init+0x10/0xf0
[    1.362922] [<80064d98>] ret_from_kernel_thread+0x14/0x1c
[    1.368431] ---[ end trace c9bd124b3a38de6d ]---
18.10.20214089Base systemBug ReportVery LowMediumTP-Link Archer C7 v5 - TEMPer1 (USB HID Device) not rec...openwrt-21.02Unconfirmed Task Description

I am using a TEMPer1 device and when connecting it to an Archer C7 v5, it is not recognized. In the log, there are following errors:

Mon Oct 18 19:25:57 2021 kern.info kernel: [ 407.582498] usb 1-1: new low-speed USB device number 2 using ehci-platform
Mon Oct 18 19:26:12 2021 kern.err kernel: [ 422.842461] usb 1-1: device descriptor read/64, error -145
Mon Oct 18 19:26:27 2021 kern.err kernel: [ 438.282399] usb 1-1: device descriptor read/64, error -145
Mon Oct 18 19:26:28 2021 kern.info kernel: [ 438.552372] usb 1-1: new low-speed USB device number 3 using ehci-platform
Mon Oct 18 19:26:43 2021 kern.err kernel: [ 453.882301] usb 1-1: device descriptor read/64, error -145
Mon Oct 18 19:26:58 2021 kern.err kernel: [ 469.322235] usb 1-1: device descriptor read/64, error -145
Mon Oct 18 19:26:59 2021 kern.info kernel: [ 469.442282] usb usb1-port1: attempt power cycle
Mon Oct 18 19:26:59 2021 kern.info kernel: [ 469.912231] usb 1-1: new low-speed USB device number 4 using ehci-platform
Mon Oct 18 19:27:10 2021 kern.err kernel: [ 480.512195] usb 1-1: device not accepting address 4, error -145
Mon Oct 18 19:27:10 2021 kern.info kernel: [ 480.662196] usb 1-1: new low-speed USB device number 5 using ehci-platform
Mon Oct 18 19:27:20 2021 kern.err kernel: [ 491.232218] usb 1-1: device not accepting address 5, error -145
Mon Oct 18 19:27:20 2021 kern.err kernel: [ 491.252221] usb usb1-port1: unable to enumerate USB device

I am using this device without any issues on other devices (e.g. TP-Link TL-WR842N/ND v2, Netgear WNDR3800, Netgear WNDR3800).

This errors occur in OWRT 19.07.8 as well as in OWRT 21.02.0.
The packages kmod-hid, kmod-hid-generic and kmod-usb-hid are installed.

22.05.20213822KernelBug ReportVery LowHighTP-Link Archer C7 v4 - Kernel Warning / Stack Traceopenwrt-21.02Unconfirmed Task Description

I have a TP-Link Archer C7 v4 running the Freifunk Berlin Falter Firmware 1.2.0-Snapshot based on OpenWrt 21.02-SNAPSHOT r16090-bbbc01ede5

I get the following kernel log with a warning / stack trace.

[    0.000000] Linux version 5.4.119 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16090-bbbc01ede5)) #0 Mon May 17 21:03:13 2021
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer C7 v4
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    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: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 122244K/131072K available (5222K kernel code, 192K rwdata, 684K rodata, 1188K init, 205K bss, 8828K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] random: get_random_bytes called from 0x80657a28 with crng_init=0
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000007] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008229] Calibrating delay loop... 385.02 BogoMIPS (lpj=770048)
[    0.046713] pid_max: default: 32768 minimum: 301
[    0.051714] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.059425] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.072231] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.082547] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.089824] pinctrl core: initialized pinctrl subsystem
[    0.097717] NET: Registered protocol family 16
[    0.126512] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.140128] clocksource: Switched to clocksource MIPS
[    0.146579] NET: Registered protocol family 2
[    0.151367] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.159667] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.168544] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.176635] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.184079] TCP: Hash tables configured (established 1024 bind 1024)
[    0.190908] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.197852] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.205497] NET: Registered protocol family 1
[    0.210145] PCI: CLS 0 bytes, default 32
[    0.217899] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.230918] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.237111] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.260358] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.271643] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.278322] gpio-export gpio-export: 2 gpio(s) exported
[    0.284697] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.293573] printk: console [ttyS0] disabled
[    0.298161] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.307265] printk: console [ttyS0] enabled
[    0.316331] printk: bootconsole [early0] disabled
[    0.335184] led_gpio@0 enforce active low on chipselect handle
[    0.346805] spi-nor spi0.0: gd25q128 (16384 Kbytes)
[    0.351942] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.358521] Creating 5 MTD partitions on "spi0.0":
[    0.363486] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.370131] 0x000000020000-0x000000040000 : "u-boot"
[    0.376214] 0x000000040000-0x000000f00000 : "firmware"
[    0.384926] 2 uimage-fw partitions found on MTD device firmware
[    0.391093] Creating 2 MTD partitions on "firmware":
[    0.396235] 0x000000000000-0x0000001f1110 : "kernel"
[    0.402168] 0x0000001f1110-0x000000ec0000 : "rootfs"
[    0.408216] mtd: device 4 (rootfs) set to be root filesystem
[    0.415723] 1 squashfs-split partitions found on MTD device rootfs
[    0.422186] 0x000000730000-0x000000ec0000 : "rootfs_data"
[    0.428677] 0x000000f00000-0x000000ff0000 : "info"
[    0.434506] 0x000000ff0000-0x000001000000 : "art"
[    0.442165] libphy: Fixed MDIO Bus: probed
[    1.096499] libphy: ag71xx_mdio: probed
[    1.103567] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.148120] random: fast init done
[    1.691621] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.702905] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.709675] i2c /dev entries driver
[    1.720339] NET: Registered protocol family 10
[    1.728599] Segment Routing with IPv6
[    1.732540] NET: Registered protocol family 17
[    1.737210] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.750606] 8021q: 802.1Q VLAN Support v1.8
[    1.755742] PCI host bridge /ahb/pcie-controller@18250000 ranges:
[    1.762110]  MEM 0x0000000012000000..0x0000000013ffffff
[    1.767513]   IO 0x0000000000000000..0x0000000000000000
[    1.773056] PCI host bridge to bus 0000:00
[    1.777320] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.784429] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.790188] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.797202] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.805432] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    1.811700] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.818765] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.825758] pci 0000:00:00.0: supports D1 D2
[    1.831178] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.838059] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    1.845637] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    1.854454] hctosys: unable to open rtc device (rtc0)
[    1.865436] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.879260] Freeing unused kernel memory: 1188K
[    1.883966] This architecture does not have kernel memory protection.
[    1.890615] Run /sbin/init as init process
[    2.531279] init: Console is alive
[    2.535100] init: - watchdog -
[    3.858980] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.949999] usbcore: registered new interface driver usbfs
[    3.955784] usbcore: registered new interface driver hub
[    3.961377] usbcore: registered new device driver usb
[    3.972422] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.980762] ehci-fsl: Freescale EHCI Host controller driver
[    3.987900] ehci-platform: EHCI generic platform driver
[    3.993571] ehci-platform 1b000000.usb: EHCI Host Controller
[    3.999481] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    4.007687] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[    4.028140] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    4.035363] hub 1-0:1.0: USB hub found
[    4.039636] hub 1-0:1.0: 1 port detected
[    4.044357] ehci-platform 1b400000.usb: EHCI Host Controller
[    4.050276] ehci-platform 1b400000.usb: new USB bus registered, assigned bus number 2
[    4.058501] ehci-platform 1b400000.usb: irq 14, io mem 0x1b400000
[    4.080142] ehci-platform 1b400000.usb: USB 2.0 started, EHCI 1.00
[    4.087319] hub 2-0:1.0: USB hub found
[    4.091573] hub 2-0:1.0: 1 port detected
[    4.098529] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.107083] init: - preinit -
[    5.373251] random: jshn: uninitialized urandom read (4 bytes read)
[    5.487990] random: jshn: uninitialized urandom read (4 bytes read)
[    5.716329] random: jshn: uninitialized urandom read (4 bytes read)
[    7.450802] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 1 is up
[    7.457222] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    7.483636] eth0: link up (1000Mbps/Full duplex)
[    7.493582] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.507403] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    7.532598] urandom_read: 4 callbacks suppressed
[    7.532605] random: procd: uninitialized urandom read (4 bytes read)
[   11.817888] jffs2: notice: (608) jffs2_build_xattr_subsystem: complete building xattr subsystem, 66 of xdatum (27 unchecked, 35 orphan) and 75 of xref (8 dead, 31 orphan) found.
[   11.836311] mount_root: switching to jffs2 overlay
[   11.852207] overlayfs: upper fs does not support tmpfile.
[   11.864361] urandom-seed: Seeding with /etc/urandom.seed
[   11.974733] eth0: link down
[   11.999661] procd: - early -
[   12.002789] procd: - watchdog -
[   12.651085] procd: - watchdog -
[   12.655704] procd: - ubus -
[   12.726207] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.734816] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.744823] procd: - init -
[   13.618022] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.684904] ipip: IPv4 and MPLS over IPv4 tunneling driver
[   13.743030] l2tp_core: L2TP core driver, V2.0
[   13.757214] l2tp_netlink: L2TP netlink interface
[   13.769363] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
[   13.785399] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[   13.801335] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
[   13.869266] Mirror/redirect action on
[   13.950939] u32 classifier
[   13.953789]     input device check on
[   13.957584]     Actions configured
[   14.015242] Loading modules backported from Linux version v5.10.34-0-g0aa66717f684
[   14.023115] Backport generated by backports.git v5.10.34-1-0-g7b5533e1
[   14.032271] urngd: v1.0.2 started.
[   14.304930] xt_time: kernel timezone is -0000
[   14.524192] PPP generic driver version 2.4.2
[   14.535650] random: crng init done
[   14.541580] NET: Registered protocol family 24
[   14.604961] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   14.611646] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   16.094363] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   16.103932] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   16.116961] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00047 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 35bd9258
[   16.406681] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   17.564508] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   17.675676] ath: EEPROM regdomain sanitized
[   17.675686] ath: EEPROM regdomain: 0x64
[   17.675689] ath: EEPROM indicates we should expect a direct regpair map
[   17.675707] ath: Country alpha2 being used: 00
[   17.675710] ath: Regpair used: 0x64
[   17.785074] batman_adv: B.A.T.M.A.N. advanced 2021.0-openwrt-1 (compatibility version 15) loaded
[   17.817578] ath: EEPROM regdomain sanitized
[   17.817588] ath: EEPROM regdomain: 0x64
[   17.817591] ath: EEPROM indicates we should expect a direct regpair map
[   17.817610] ath: Country alpha2 being used: 00
[   17.817613] ath: Regpair used: 0x64
[   17.829185] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   17.831073] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   17.859139] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.196791] eth0: link up (1000Mbps/Full duplex)
[   32.214197] br-dhcp: port 1(eth0.1) entered blocking state
[   32.219926] br-dhcp: port 1(eth0.1) entered disabled state
[   32.225916] device eth0.1 entered promiscuous mode
[   32.230910] device eth0 entered promiscuous mode
[   32.236905] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   32.300248] br-dhcp: port 1(eth0.1) entered blocking state
[   32.305945] br-dhcp: port 1(eth0.1) entered forwarding state
[   32.397302] br-wan: port 1(eth0.2) entered blocking state
[   32.402938] br-wan: port 1(eth0.2) entered disabled state
[   32.408837] device eth0.2 entered promiscuous mode
[   32.532652] br-wan: port 1(eth0.2) entered blocking state
[   32.538282] br-wan: port 1(eth0.2) entered forwarding state
[   33.196223] IPv6: ADDRCONF(NETDEV_CHANGE): br-dhcp: link becomes ready
[   36.184580] ath: EEPROM regdomain: 0x8114
[   36.184587] ath: EEPROM indicates we should expect a country code
[   36.184591] ath: doing EEPROM country->regdmn map search
[   36.184595] ath: country maps to regdmn code: 0x37
[   36.184600] ath: Country alpha2 being used: DE
[   36.184603] ath: Regpair used: 0x37
[   36.184609] ath: regdomain 0x8114 dynamically updated by user
[   36.184682] ath: EEPROM regdomain: 0x8114
[   36.184685] ath: EEPROM indicates we should expect a country code
[   36.184688] ath: doing EEPROM country->regdmn map search
[   36.184691] ath: country maps to regdmn code: 0x37
[   36.184694] ath: Country alpha2 being used: DE
[   36.184697] ath: Regpair used: 0x37
[   36.184701] ath: regdomain 0x8114 dynamically updated by user
[   40.171117] br-dhcp: port 2(wlan1-dhcp-2) entered blocking state
[   40.177391] br-dhcp: port 2(wlan1-dhcp-2) entered disabled state
[   40.184008] device wlan1-dhcp-2 entered promiscuous mode
[   40.291262] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-dhcp-2: link becomes ready
[   40.298697] br-dhcp: port 2(wlan1-dhcp-2) entered blocking state
[   40.304952] br-dhcp: port 2(wlan1-dhcp-2) entered forwarding state
[   42.205121] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[   42.249745] br-dhcp: port 3(wlan0-dhcp-5) entered blocking state
[   42.256033] br-dhcp: port 3(wlan0-dhcp-5) entered disabled state
[   42.262672] device wlan0-dhcp-5 entered promiscuous mode
[   42.329653] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-dhcp-5: link becomes ready
[   42.337106] br-dhcp: port 3(wlan0-dhcp-5) entered blocking state
[   42.343350] br-dhcp: port 3(wlan0-dhcp-5) entered forwarding state
[   45.044402] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-mesh-5: link becomes ready
[   45.088335] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-mesh-2: link becomes ready
[   45.110870] ------------[ cut here ]------------
[   45.115703] WARNING: CPU: 0 PID: 2208 at net/core/flow_dissector.c:958 0x803cc434
[   45.123444] Modules linked in: ath9k ath9k_common pppoe ppp_async batman_adv ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic mac80211 iptable_nat ipt_REJECT cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conncount libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat act_connmark nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb l2tp_ip6 l2tp_ip l2tp_eth l2tp_netlink l2tp_core
[   45.123595]  udp_tunnel ip6_udp_tunnel ipip tunnel4 ip_tunnel fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
[   45.231414] CPU: 0 PID: 2208 Comm: sh Not tainted 5.4.119 #0
[   45.237258] Stack : 00000000 800b92f8 80650000 805f2a28 00000000 00000000 00000000 00000000
[   45.245894]         00000000 00000000 00000000 00000000 00000000 00000001 87c0bbe0 646c4d3b
[   45.254530]         87c0bc78 00000000 00000000 000000f5 00000038 80573264 204e6f74 20746169
[   45.263167]         000000f5 d3193319 00000000 000387f6 80000000 87c0bbc0 00000000 803cc434
[   45.271805]         00000009 86dc73b4 87ec7818 80630000 00000003 8031ec9c 00000000 80780000
[   45.280443]         ...
[   45.282961] Call Trace:
[   45.282969] [<800b92f8>] 0x800b92f8
[   45.289103] [<80573264>] 0x80573264
[   45.292711] [<803cc434>] 0x803cc434
[   45.296357] [<8031ec9c>] 0x8031ec9c
[   45.299965] [<80069364>] 0x80069364
[   45.303575] [<8006936c>] 0x8006936c
[   45.307184] [<800821b4>] 0x800821b4
[   45.310794] [<803cc434>] 0x803cc434
[   45.314404] [<8008225c>] 0x8008225c
[   45.318039] [<803cc434>] 0x803cc434
[   45.321648] [<804df048>] 0x804df048
[   45.325271] [<804dfad4>] 0x804dfad4
[   45.328890] [<804df130>] 0x804df130
[   45.332525] [<804df130>] 0x804df130
[   45.336162] [<804dfce0>] 0x804dfce0
[   45.339805] [<803cd8ac>] 0x803cd8ac
[   45.343411] [<803d8e50>] 0x803d8e50
[   45.347088] [<86c32a30>] 0x86c32a30 [mac80211@8134b527+0x7ced0]
[   45.353235] [<803da098>] 0x803da098
[   45.356883] [<86c38924>] 0x86c38924 [mac80211@8134b527+0x7ced0]
[   45.363027] [<87749014>] 0x87749014 [ath10k_pci@70f8799a+0x6770]
[   45.369310] [<86c3a5a0>] 0x86c3a5a0 [mac80211@8134b527+0x7ced0]
[   45.375456] [<803da7b0>] 0x803da7b0
[   45.379077] [<800ba1f0>] 0x800ba1f0
[   45.382683] [<80085040>] 0x80085040
[   45.386292] [<805788b0>] 0x805788b0
[   45.389902] [<800bed80>] 0x800bed80
[   45.393515] [<802be854>] 0x802be854
[   45.397139] [<80064f78>] 0x80064f78
[   45.400753] 
[   45.402293] ---[ end trace b6c86392035260d5 ]---
19.12.20203524KernelBug ReportVery LowVery LowTP-Link Archer C7 v2, missing tp-link:green:lan* and tp...openwrt-19.07Unconfirmed Task Description

Hardware is TP-Link Archer C7 v2.

I’ve just upgraded to 19.07.5 using prebuilt image “openwrt-19.07.5-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin” from some version of LEDE 17, and found that it’s not possible to control LAN/WAN leds anymore. There are tp-link:green:{qss,system,usb1,usb2,wlan2g,wlan5g} leds listed in /sys/class/leds, but there are no mentions of lan1, lan2, lan3, lan4 or wan. I don’t remember which particular version of LEDE it was before. Something from 2017.

Next is just a guess. I’ve tried to bisect code, but without trying to build and run it on the hardware, and found that last time string “tp-link:green:wan” was in the source that was somehow related to Archer C7 v2 was just before 4e4ee4649553ab536225060a27fc320bf54e458c (ar71xx: drop target). In target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c there were two sets of leds. One, registered with mdiobus_register_board_info(), these are now missing. And another, registered with ath79_register_leds_gpio(), these are now present.

Haven’t had a chance to test various versions from bisecting on the actual hardware yet.

16.03.20192190Base systemBug ReportVery LowLowTP-Link Archer C7 v2 ath79 - using lastest gcc doesnt b...TrunkUnconfirmed Task Description

I compile openwrt / lede for many years... using gcc 8.x + binutils 2.32, tplink doesnt boot!
Compatibility problem?

27.01.20213599Base systemBug ReportVery LowMediumTP-Link Archer C7 v2 - Wireless module 2.4GHz stop work...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device: TP-Link Archer C7 v2(ath79)
- Software versions of OpenWrt: OpenWrt 19.07.6 r11278-8055e38794 / LuCI openwrt-19.07 branch git-21.022.31068-7129723
- Steps to reproduce:

  • Turn On XBox One S
  • Wireless module 2.4GHz stop working...devices disconnect and can’t reconnect to the router
  • Reboot or only restart 2.4GHz module from webGUI-Network-Wireless

Now I try to disable option “Disassociate On Low Acknowledgement”

14.11.20171169Base systemBug ReportVery LowMediumTP-Link Archer C7 no Wan on intial bootupTrunkUnconfirmed Task Description

On initial bootup my Tp-Link Archer C7 v2 will not get a WAN address using the LEDE firmware. Although the cable is connected and there is a link light the WAN interfaces for v4 and v6 simply say “notconnected”. A manual disable/enable does not resolve the problem the only fix is a physical disconnect and reconnect of the ethernet cable to the WAN interface on the router.

Some other information.
This happens with my Comcast ISP via a cable modem pulling a dhcp and a IPv6-PD address. (Neither comes up)
The connection is a gigabit ethernet connection via a known good cable (tested via a Fluke cable tester).
I have tried multiple modems (Netgear, and 2 Motorola modems)

This happen with any version of LEDE I have tried.

24.02.20202854Base systemBug ReportVery LowLowTP-Link Archer C6 v2 (US) WAN LED amber/green switchedTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link Archer C6 v2 US
- Software versions of OpenWrt/LEDE release, packages, etc: OpenWrt SNAPSHOT r12297-7e9c7e7b2d
- Steps to reproduce:

- Install OpenWrt snapshot on Archer C6 v2 US
- Connect to the router using a LAN cable
- Login into the shell (ssh root@<ip>)
- Unplug any cables from WAN - execute and check the color of the led in the device, should be amber but it’s green:

echo 0 | tee /sys/class/leds/tp-link\:amber\:wan/brightness
echo 0 | tee /sys/class/leds/tp-link\:green\:wan/brightness
echo 255 | tee /sys/class/leds/tp-link\:amber\:wan/brightness

- if we do the opposite, it should be green but it’s amber:

echo 0 | tee /sys/class/leds/tp-link\:amber\:wan/brightness
echo 0 | tee /sys/class/leds/tp-link\:green\:wan/brightness
echo 255 | tee /sys/class/leds/tp-link\:green\:wan/brightness
31.12.20214215Base systemBug ReportVery LowMediumTP-Link Archer C6 loses internet connectivity after a w...TrunkUnconfirmed Task Description

Problem device: Tp-Link Archer C6 v2 EU version
Software:
- LuCI openwrt-21.02 branch (git-21.231.26241-422c175)
- OpenWrt 21.02.0 r16279-5cc0535800

I installed the open wrt binary using this guide: https://radix007.github.io/OpenWrt-Tp-Link-C6/#installing-openwrt-using-tftpd-method-b-

No custom setup was done, I only turned 5Ghz radio on. Both wifi and ethernet worked out of the box, WAN connected without issues however in the morning internet connection was down. It fixed after restarting WAN interface from GUI. According to my script that was pinging google connection lasted for about 7 hours before going down. There were no logs from around the time connection was lost.

16.09.20192500Base systemBug ReportVery LowLowTP-Link Archer C50 extremly low distance to connect to...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on TP-Link Archer C50
- Software versions of OpenWrt/LEDE release, packages : https://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/ramips/mt76x8/ - Steps to reproduce : Install OpenWrt, configure some Wifi SSID a try connect. With original firmware can be distance between router and me ten of meters.
With OpenWrt closing wood door between me and router and signal quality drops down.

 


19.01.20202754Base systemBug ReportVery LowLowTP-Link Archer C2 AC750 5Ghz Radio does not tune above ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TP-Link Archer C2 v1 (AC750)

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt SNAPSHOT r12040-8df14c229c / LuCI Master git-20.016.76613-0608ff0

- Steps to reproduce
1. Using LuCI Network→Wireless→Edit (MediaTek MT7610E 802.11acbgn) interface
2. Set the channel to anything above 48 (52-140)
3. Save, Save/Apply
4. Note that Radio does not come up, link stays down
5. Look at logread and see error: “Cannot read property ‘link’ of undefined”

/etc/config/wireless
config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11a'
	option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
	option htmode 'VHT40'
	option legacy_rates '0'
	option channel '44'
 iw phy0 info
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2243 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0x1 RX 0x1
	Configured Antennas: TX 0x1 RX 0x1
...
		Frequencies:
			* 5180 MHz [36] (12.0 dBm)
			* 5200 MHz [40] (12.0 dBm)
			* 5220 MHz [44] (11.0 dBm)
			* 5240 MHz [48] (11.0 dBm)
			* 5260 MHz [52] (11.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (11.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (11.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (11.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (12.0 dBm) (no IR, radar detection)
			* 5520 MHz [104] (12.0 dBm) (no IR, radar detection)
			* 5540 MHz [108] (12.0 dBm) (no IR, radar detection)
			* 5560 MHz [112] (12.0 dBm) (no IR, radar detection)
			* 5580 MHz [116] (12.0 dBm) (no IR, radar detection)
			* 5600 MHz [120] (13.0 dBm) (no IR, radar detection)
			* 5620 MHz [124] (13.0 dBm) (no IR, radar detection)
			* 5640 MHz [128] (13.0 dBm) (no IR, radar detection)
			* 5660 MHz [132] (13.0 dBm) (no IR, radar detection)
			* 5680 MHz [136] (13.0 dBm) (no IR, radar detection)
			* 5700 MHz [140] (13.0 dBm) (no IR, radar detection)
			* 5745 MHz [149] (13.0 dBm) (no IR)
			* 5765 MHz [153] (13.0 dBm) (no IR)
			* 5785 MHz [157] (13.0 dBm) (no IR)
			* 5805 MHz [161] (13.0 dBm) (no IR)
			* 5825 MHz [165] (13.0 dBm) (no IR)
	valid interface combinations:
		 * #{ IBSS } <= 1, #{ managed, AP, mesh point } <= 8,
		   total <= 8, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz }

Sun Jan 19 18:41:34 2020 daemon.notice hostapd: Channel 52 (primary) not allowed for AP mode, flags: 0x97b NO-IR RADAR
Sun Jan 19 18:41:34 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Configured channel (52) not found from the channel list of current mode (2) IEEE 802.11a
Sun Jan 19 18:41:34 2020 daemon.warn hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
Sun Jan 19 18:41:34 2020 daemon.err hostapd: Could not select hw_mode and channel. (-3)


14.02.20213622Base systemBug ReportVery LowLowTP-Link Archer A7 v5: No LAN LED activity openwrt-19.07Unconfirmed Task Description

Device: TP-Link Archer A7 (DE) V5
Software: OpenWRT 19.07.6 r11278-8055e38794

None of the LAN LEDs on the device seem to function, just the ones for 2,4 and 5 GHz Wifi.
According to the switch0 section in LuCI, there is a 1000baseT full-duplex link on LAN1 and WAN and - apart from the corresponding LAN LEDs - the router functions just fine.

The Archer A7 replaces a TP-Link TL-WDR4900 v1 (with imported 19.07.6 backup of latter config, I had to reassign the Wireless deifinitions via ssh), where the LEDs flashed on LAN packet activity (WAN and LAN1 connected). The LED configuration section in LuCi is empty (standard).

Could this issue be connected to the config import?
Just let me know if there is any info I could provide, to aid in analyzing the issue further.

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.

03.12.20203487KernelBug ReportVery LowLowtp-link 841n v9: ath79_tiny NETDEV WATCHDOG: eth0 (ag71...openwrt-19.07Unconfirmed Task Description

tp-link 841n v9 crashes reliable after ~20-30minutes with: ath79_tiny NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out

Seen with OpenWrt 19.07.3 and also with latest commit on 19.07-branch (f1525e785e9359bfc34b1362ccf37aca48968028)

This does not happen with ar71xx (identical commit f1525e785e9359bfc34b1362ccf37aca48968028)

maybe it’s related to flow control? it looks like it’s activated (see swconfig output at the end) and I saw some commits that disabled it for these devices on ar71xx but nothing on ath79.

Almost stock OpenWrt just a few (unrelated) disabled config flags: https://github.com/weimarnetz/firmware/tree/96b0208a4307d0c7adc723d7ec49660b4423ed42/patches

crashlog:

 crashlog Joki_2_841v9-TP-Link TL-WR841N/ND v9
reboot2020-19.07-beta.1-55-gc32bd44+openwrt-r0+11246-f1525e785e
Linux Joki_2_841v9 4.14.209 #0 Tue Dec 1 20:59:30 2020 mips GNU/Linux
65:f0:e0:67:57:6b:da:86:e5:33:1c:0c:75:8a:6a:2a:ae:f9:b6:5a
TP-Link TL-WR841N/ND v9
Time: 1607021529.501735
Modules:	ath9k@80860000+16df0	ath9k_common@80f2c000+2a60	ath9k_hw@80800000+51d60	ath@80ef8000+4140	mac80211@80f80000+62060	iptable_nat@80ef2000+2a0	ipt_REJECT@80e72000+360	ipt_MASQUERADE@80e6e000+280	cfg80211@80ec0000+31790	xt_time@80e67000+620	xt_tcpudp@80e70000+680	xt_tcpmss@80e6b000+3e0	xt_statistic@80e68000+300	xt_state@80e66000+2a0	xt_nat@80e69000+5e0	xt_multiport@80e62000+460	xt_mark@80e61000+280	xt_mac@80e5f000+240	xt_limit@80e58000+3c0	xt_length@80e60000+2a0	xt_hl@80e5e000+300	xt_ecn@80e5d000+520	xt_dscp@80e50000+3c0	xt_conntrack@80e5a000+880	xt_comment@80e56000+1c0	xt_TCPMSS@80e53000+a40	xt_REDIRECT@80e51000+2a0	xt_LOG@80e40000+2e0	xt_HL@80e4b000+500	xt_FLOWOFFLOAD@80e4c000+af0	xt_DSCP@80e4a000+560	xt_CT@80e54000+980	xt_CLASSIFY@80e4f000+220	nf_reject_ipv4@80e47000+7a0	nf_nat_redirect@80e43000+440	nf_nat_masquerade_ipv4@80e42000+5f0	nf_conntrack_ipv4@80e48000+10a0	nf_nat_ipv4@80da7000+bf0	nf_nat@80da4000+1e90	nf_log_ipv4@80dbf000+b80	nf_flow_table_hw@80da1000+7e0	nf_flow_table@80dac000+2950	nf_defrag_ipv4@80da0000+3e0	nf_conntrack_rtcache@80dbe000+960	nf_conntrack@80db0000+b9e0	iptable_mangle@80d9a000+360	iptable_filter@80d93000+260	ipt_ECN@80d94000+540	ip_tables@80d9c000+2470	compat@80dde000+1600	nf_log_ipv6@80d95000+be0	nf_log_common@80d8f000+900	ip6table_mangle@80d8d000+460	ip6table_filter@80e33000+260	ip6_tables@80d90000+2400	ip6t_REJECT@80dd6000+380	x_tables@80e34000+3030	nf_reject_ipv6@80dd7000+840	tun@80d88000+4c40	gpio_button_hotplug@80d4c000+19e0
<5>[    0.000000] Linux version 4.14.209 (runner@fv-az32-91) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r0+11246-f1525e785e)) #0 Tue Dec 1 20:59:30 2020
<6>[    0.000000] bootconsole [early0] enabled
<6>[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
<6>[    0.000000] MIPS: machine is TP-Link TL-WR841N/ND v9
<6>[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 1 rev 1
<6>[    0.000000] Determined physical RAM map:
<6>[    0.000000]  memory: 02000000 @ 00000000 (usable)
<6>[    0.000000] Initrd not found or empty - disabling initrd
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Zone ranges:
<6>[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Movable zone start for each node
<6>[    0.000000] Early memory node ranges
<6>[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
<6>[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
<7>[    0.000000] On node 0 totalpages: 8192
<7>[    0.000000] free_area_init_node: node 0, pgdat 804268c0, node_mem_map 81007540
<7>[    0.000000]   Normal zone: 64 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
<5>[    0.000000] random: get_random_bytes called from 0x804296ec with crng_init=0
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0
<6>[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
<5>[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
<6>[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
<6>[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
<6>[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 26760K/32768K available (3346K kernel code, 134K rwdata, 388K rodata, 1180K init, 195K bss, 6008K reserved, 0K cma-reserved)
<6>[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
<6>[    0.000000] NR_IRQS: 51
<6>[    0.000000] CPU clock: 550.000 MHz
<6>[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6950037990 ns
<6>[    0.000011] sched_clock: 32 bits at 275MHz, resolution 3ns, wraps every 7809031678ns
<6>[    0.008266] Calibrating delay loop... 366.18 BogoMIPS (lpj=1830912)
<6>[    0.074841] pid_max: default: 32768 minimum: 301
<6>[    0.079941] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.086934] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.099451] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
<6>[    0.109877] futex hash table entries: 256 (order: -1, 3072 bytes)
<6>[    0.116413] pinctrl core: initialized pinctrl subsystem
<6>[    0.123115] NET: Registered protocol family 16
<6>[    0.152445] clocksource: Switched to clocksource MIPS
<6>[    0.159069] NET: Registered protocol family 2
<6>[    0.164740] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.172113] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.178895] TCP: Hash tables configured (established 1024 bind 1024)
<6>[    0.185796] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.191975] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.198939] NET: Registered protocol family 1
<7>[    0.203625] PCI: CLS 0 bytes, default 32
<4>[    0.209116] Crashlog allocated RAM at address 0x1f00000
<6>[    0.216654] workingset: timestamp_bits=30 max_order=13 bucket_order=0
<6>[    0.229890] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    0.236100] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<6>[    0.258107] io scheduler noop registered
<6>[    0.262249] io scheduler deadline registered (default)
<6>[    0.270773] pinctrl-single 1804002c.pinmux: 576 pins at pa b804002c size 72
<6>[    0.279362] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.287028] console [ttyS0] disabled
<6>[    0.290856] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
<6>[    0.300026] console [ttyS0] enabled
<6>[    0.307588] bootconsole [early0] disabled
<6>[    0.335074] m25p80 spi0.0: w25q32 (4096 Kbytes)
<5>[    0.339819] 3 fixed-partitions partitions found on MTD device spi0.0
<5>[    0.346411] Creating 3 MTD partitions on "spi0.0":
<5>[    0.351378] 0x000000000000-0x000000020000 : "u-boot"
<5>[    0.357577] 0x000000020000-0x0000003f0000 : "firmware"
<5>[    0.364139] 2 tplink-fw partitions found on MTD device firmware
<5>[    0.370261] Creating 2 MTD partitions on "firmware":
<5>[    0.375472] 0x000000000000-0x0000001438f6 : "kernel"
<5>[    0.381536] 0x0000001438f8-0x0000003d0000 : "rootfs"
<5>[    0.387623] mtd: device 3 (rootfs) set to be root filesystem
<5>[    0.393596] 1 squashfs-split partitions found on MTD device rootfs
<5>[    0.399995] 0x000000370000-0x0000003d0000 : "rootfs_data"
<5>[    0.406508] 0x0000003f0000-0x000000400000 : "art"
<6>[    0.413186] libphy: Fixed MDIO Bus: probed
<3>[    0.753580] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
<6>[    1.432891] libphy: ag71xx_mdio: probed
<6>[    1.438427] libphy: ar8xxx-mdio: probed
<6>[    1.451985] switch0: Atheros AR8229 rev. 1 switch registered on mdio-bus.0
<6>[    1.504376] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
<6>[    1.514537] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
<6>[    1.524220] NET: Registered protocol family 10
<6>[    1.536076] Segment Routing with IPv6
<6>[    1.539991] NET: Registered protocol family 17
<6>[    1.545477] 8021q: 802.1Q VLAN Support v1.8
<6>[    1.884807] ag71xx 19000000.eth: connected to PHY at mdio-bus.0:1f:04 [uid=004dd042, driver=Generic PHY]
<6>[    1.895813] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
<6>[    1.903143] hctosys: unable to open rtc device (rtc0)
<6>[    1.914565] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
<6>[    1.929876] Freeing unused kernel memory: 1180K
<4>[    1.934589] This architecture does not have kernel memory protection.
<5>[    2.542471] random: fast init done
<14>[    3.981320] init: Console is alive
<14>[    3.985252] init: - watchdog -
<14>[    5.226245] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<14>[    5.448312] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    5.466446] init: - preinit -
<5>[    7.317162] random: jshn: uninitialized urandom read (4 bytes read)
<5>[    7.640937] random: jshn: uninitialized urandom read (4 bytes read)
<5>[    7.881979] random: jshn: uninitialized urandom read (4 bytes read)
<6>[    9.350148] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[    9.356368] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
<4>[    9.457494] urandom_read: 4 callbacks suppressed
<5>[    9.457505] random: procd: uninitialized urandom read (4 bytes read)
<6>[   10.413685] eth0: link up (1000Mbps/Full duplex)
<6>[   10.418503] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[   10.425640] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
<5>[   13.204259] jffs2: notice: (387) jffs2_build_xattr_subsystem: complete building xattr subsystem, 46 of xdatum (2 unchecked, 44 orphan) and 56 of xref (44 dead, 0 orphan) found.
<14>[   13.222309] mount_root: switching to jffs2 overlay
<4>[   13.256999] overlayfs: upper fs does not support tmpfile.
<12>[   13.270584] urandom-seed: Seeding with /etc/urandom.seed
<6>[   13.606629] eth0: link down
<14>[   13.635329] procd: - early -
<14>[   13.638443] procd: - watchdog -
<14>[   14.415246] procd: - watchdog -
<14>[   14.418916] procd: - ubus -
<5>[   14.862014] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   14.870949] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[   14.879269] procd: - init -
<14>[   16.496317] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   16.515274] tun: Universal TUN/TAP device driver, 1.6
<6>[   16.539819] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   16.570947] Loading modules backported from Linux version v4.19.137-0-gc076c79e03c6
<6>[   16.578942] Backport generated by backports.git v4.19.137-1-0-g60c3a249
<6>[   16.604123] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   16.632886] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
<6>[   16.798269] xt_time: kernel timezone is -0000
<7>[   17.003259] ath: EEPROM regdomain: 0x0
<7>[   17.003272] ath: EEPROM indicates default country code should be used
<7>[   17.003276] ath: doing EEPROM country->regdmn map search
<7>[   17.003294] ath: country maps to regdmn code: 0x3a
<7>[   17.003301] ath: Country alpha2 being used: US
<7>[   17.003306] ath: Regpair used: 0x3a
<7>[   17.017937] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<6>[   17.020235] ieee80211 phy0: Atheros AR9531 Rev:1 mem=0xb8100000, irq=12
<14>[   17.372997] kmodloader: done loading kernel modules from /etc/modules.d/*
<14>[   17.626827] urngd: v1.0.2 started.
<5>[   18.145367] random: crng init done
<6>[   38.208915] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[   38.216318] eth0: link up (1000Mbps/Full duplex)
<6>[   38.221130] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<6>[   38.268978] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
<6>[   38.304912] IPv6: ADDRCONF(NETDEV_UP): br-vap: link is not ready
<6>[   38.354025] IPv6: ADDRCONF(NETDEV_UP): br-roam: link is not ready
<7>[   40.476601] ath: EEPROM regdomain: 0x8114
<7>[   40.476615] ath: EEPROM indicates we should expect a country code
<7>[   40.476621] ath: doing EEPROM country->regdmn map search
<7>[   40.476627] ath: country maps to regdmn code: 0x37
<7>[   40.476634] ath: Country alpha2 being used: DE
<7>[   40.476639] ath: Regpair used: 0x37
<7>[   40.476646] ath: regdomain 0x8114 dynamically updated by user
<6>[   45.401625] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   45.414072] br-vap: port 1(wlan0-1) entered blocking state
<6>[   45.419792] br-vap: port 1(wlan0-1) entered disabled state
<6>[   45.425965] device wlan0-1 entered promiscuous mode
<6>[   45.747193] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   45.754274] br-vap: port 1(wlan0-1) entered blocking state
<6>[   45.759954] br-vap: port 1(wlan0-1) entered forwarding state
<6>[   45.778367] br-roam: port 1(wlan0-2) entered blocking state
<6>[   45.784586] br-roam: port 1(wlan0-2) entered disabled state
<6>[   45.790829] device wlan0-2 entered promiscuous mode
<6>[   45.802728] IPv6: ADDRCONF(NETDEV_CHANGE): br-vap: link becomes ready
<6>[   45.827453] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   45.834186] br-roam: port 1(wlan0-2) entered blocking state
<6>[   45.839980] br-roam: port 1(wlan0-2) entered forwarding state
<6>[   45.847573] IPv6: ADDRCONF(NETDEV_CHANGE): br-roam: link becomes ready
<6>[   45.908943] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<6>[   46.051074] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   46.469277] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<4>[   98.092507] ------------[ cut here ]------------
<4>[   98.097311] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 0x802bf250
<6>[   98.104640] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
<0>[   98.111390] Kernel panic - not syncing: panic_on_warn set ...
<0>[   98.111390]
# swconfig dev switch0 show
Global attributes:
  enable_vlan: 1
  ar8xxx_mib_poll_interval: 500
  ar8xxx_mib_type: 0
  enable_mirror_rx: 0
  enable_mirror_tx: 0
  mirror_monitor_port: 0
  mirror_source_port: 0
  arl_table: address resolution table
Port 0: MAC c4:6e:1f:31:64:fa

Port 0:
  mib: MIB counters
RxGoodByte  : 515088 (503.0 KiB)
TxByte      : 0

  pvid: 0
  link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 
Port 1:
  mib: No MIB data
  pvid: 1
  link: port:1 link:down
Port 2:
  mib: No MIB data
  pvid: 1
  link: port:2 link:down
Port 3:
  mib: No MIB data
  pvid: 1
  link: port:3 link:down
Port 4:
  mib: No MIB data
  pvid: 1
  link: port:4 link:down
VLAN 1:
  vid: 1
  ports: 0t 1 2 3 4 
06.06.20213855KernelBug ReportVery LowLowTotolink X5000R - MAC of phy1 is not uniqueopenwrt-21.02Unconfirmed Task Description

OpenWRT allocates MAC 00:0c:43:4a:21:4e. Two different devices:

 

root@ap01:~# cat /sys/class/ieee80211/phy1/macaddress
00:0c:43:4a:21:4e
root@ap11:~# cat /sys/class/ieee80211/phy1/macaddress
00:0c:43:4a:21:4e
Other people also have this MAC on phy1, see https://forum.openwrt.org/t/mt7621-wifi-ax-routers/93991/25

MACs in hex dump of factory (mtd2):

00000000  15 79 00 00 5c 92 5e a3  03 c0 00 0c 43 4a 21 4e  |.y..\.^.....CJ!N|
                      ^^^^^^^^^^^^^^^^^^ ~~~~~~~~~~~~~~~~~
                      MAC of PHY0        MAC op phy1
[...]
00008000  00 00 00 00 5c 92 5e a3  03 c4 00 00 00 00 00 00  
                      ^^^^^^^^^^^^^^^^^^
                      Not referenced in DTS
[...]
0000e000  5c 92 5e a3 03 c0 5c 92  5e a3 03 c1 00 00 00 00  |\.^...\.^.......|
          ^^^^^^^^^^^^^^^^^ ~~~~~~~~~~~~~~~~~~
          DTS: gmac0        DTS: lan4
0000e010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|

Nota bene offset 0×8000 is used by TotoLink a7000r for MAC of one of wifis.

14.08.20181779ToolchainBug ReportVery LowMediumtools/include headers contain old, incomplete versions?AllUnconfirmed Task Description

I tried to add a package that includes <elf.h> on host and this comes from the tools/include files. The build failed because “AT_HWCAP2” was undefined.

After comparing the host distro against tools/include its clear that those files are quite old “1995-2012” vs “1995-2018”.
So why do we keep those few headers around in a old version anyway and not use the host headers?

If they are just some old copy’s, than maybe they should at least be updated?

25.02.20202860ToolchainBug ReportVery LowLowtools/firmware-utils/mkcameofw not foundTrunkUnconfirmed Task Description

Attempting to produce a factory.bin for the hardware identical devices D-Link DIR-810L and Trendnet TEW-810DR. In order to flash over the factory image, a short tag needs to be appended to firmware image. See the device pages:
]https://openwrt.org/toh/d-link/dir-810l?s[]=810l] [[https://openwrt.org/toh/trendnet/trendnet_tew-810dr_1.0_1.1?s[]=tew&s[]=810dr

Both pages use a tool that is provided in both the D-Link and Trendnet GPL source download for the respective device.
I can confirm that one cannot flash over the factory image on the Trendnet without appended tag.

I found a prior mailing of someone needing to accomplish the same task and the respondent complained about the lack of documentation. The submitter wrote his own.
https://jmomo.net/files/lede/patch_sets/v16-0002-ipq806x-Add-support-for-new-device-tew827dru.patch

I attempted to use mkcameofw/cameofw in a git pull versioned to 19.07.1 and the build error out, unable to find tool mkcameofw/cameofw.

A couple of points:

1. mkcameofw seems to be broken and unused. Both the device pages
describe the use of GPL‘d ncc_att_hwid after the build for the initial
install.

2. I’ve searched for the documentation for ncc_att_hwid and cameo
signature and only came up with it being applied in OpenWRT/DD-wrt.

3. Users are working around the broken code manually.

4. ncc_att_hwid is GPL‘d and could be included in the build tree.

5. The respective cameo signatures can be seen in the hex output of the D-Link and Trendnet firmware.

6. If the project could either adapt ncc_att_hwid or the previously submitted tool, factory flash bins could be produced for several devices.

18.01.20224228ToolchainBug ReportVery LowMediumtools: update libtoolTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
No specific device
- Software versions of OpenWrt/LEDE release, packages, etc.
Trunk

I am trying to add a package which requires libtool 2.4.6 and I was wondering if it is possible for it to be updated, since the most recent version was released 7 years ago I believe we should already be there.

Thanks!

08.04.20181477Base systemBug ReportVery LowLowtoolchain: use external toolchain build errorTrunkUnconfirmed Task Description

When I use external toolchain build openwrt

          --- Use external toolchain
          [ ]   Use host's toolchain
          (arm-openwrt-linux-gnueabi) Target name
          (arm-openwrt-linux-gnueabi-) Toolchain prefix
          ($(TOPDIR)/../toolchains/arm) Toolchain root    
          (glibc) Toolchain libc 
          (./usr/bin ./bin) Toolchain program path
          (./usr/include ./include) Toolchain include path
          (./usr/lib ./lib) Toolchain library path

I get build error(external_toolchain.txt log)

make -C /home/xukai/project/commit/robotos/openwrt/build_dir/target-arm-openwrt-linux-gnueabi/linux-leo_gx8010-dev-1v/linux-4.4.25 HOSTCFLAGS="-O2 -I/home/xukai/project/commit/robotos/openwrt/staging_dir/host/include -I/home/xukai/project/commit/robotos/openwrt/staging_dir/host/usr/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="arm-openwrt-linux-gnueabi-" ARCH="arm" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V=''  CC="arm-openwrt-linux-gnueabi-gcc" modules
make[5]: Entering directory '/home/xukai/project/commit/robotos/kernel'
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf  --silentoldconfig Kconfig
net/sched/Kconfig:44: warning: menuconfig statement without prompt
.config:1092:warning: override: DEFAULT_NOOP changes choice state
#
# configuration written to .config
#
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
make[6]: 'include/generated/mach-types.h' is up to date.
  CC      kernel/bounds.s
In file included from ./arch/arm/include/asm/bug.h:6:0,
                 from include/linux/bug.h:4,
                 from include/linux/page-flags.h:9,
                 from kernel/bounds.c:9:
./arch/arm/include/asm/opcodes.h:14:52: error: unknown type name 'u32'
 extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
                                                    ^
./arch/arm/include/asm/opcodes.h:14:64: error: unknown type name 'u32'
 extern asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr);
                                                                ^
In file included from include/linux/log2.h:16:0,
                 from kernel/bounds.c:12:
./arch/arm/include/asm/bitops.h: In function '____atomic_set_bit':
include/linux/bitops.h:8:39: error: 'BITS_PER_LONG' undeclared (first use in this function)
 #define BIT_MASK(nr)  (1UL << ((nr) % BITS_PER_LONG))
                                       ^
./arch/arm/include/asm/bitops.h:38:23: note: in expansion of macro 'BIT_MASK'
  unsigned long mask = BIT_MASK(bit);
                       ^
include/linux/bitops.h:8:39: note: each undeclared identifier is reported only once for each function it appears in
 #define BIT_MASK(nr)  (1UL << ((nr) % BITS_PER_LONG))
                                       ^
./arch/arm/include/asm/bitops.h:38:23: note: in expansion of macro 'BIT_MASK'
  unsigned long mask = BIT_MASK(bit);
                       ^
./arch/arm/include/asm/bitops.h: In function '____atomic_clear_bit':
include/linux/bitops.h:8:39: error: 'BITS_PER_LONG' undeclared (first use in this function)
 #define BIT_MASK(nr)  (1UL << ((nr) % BITS_PER_LONG))
                                       ^

08.01.20213564Base systemBug ReportVery LowMediumToo many connections and router ceases to pass trafficopenwrt-19.07Unconfirmed Task Description

I’m on a Ubiquiti Edgerouter-X (ER-X) with the latest version of OpenWRT, 19.07. Too many connections and the router ceases to pass traffic. Cannot access the router itself either. Lights blink but nothing happens. Requires a hard reset. Busy torrents will crash the router within minutes. Regular light web browsing traffic requires at least daily resets.


27.04.20203054KernelBug ReportVery LowMediumTL-WR841ND v5 (AR7240 rev 2) eth0: tx timeoutTrunkUnconfirmed Task Description

Device: TL-WR841ND v5 (SoC AR7240 rev 2)
Firmware: OpenWrt 18.06-SNAPSHOT r8004-1f0679f54d / LuCI openwrt-18.06 branch (git-20.115.52343-1e59ed1)

I use this router as wireless client (it’s only client, it’s not repeater). There are 2 clients connected on the 841ND v5 lan switch (the clients are plugged before the router is powerup), nothing connected on the wan port. High sustained traffic (main router ↔ 841ND v5 as wireless client ↔ 1 client connected to the 841ND v5 lan switch) is triggering the following on the 841ND v5:

Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.693553] ------------[ cut here ]------------
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.698221] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:316 0x802a9738
Sun Apr 26 11:48:59 2020 kern.info kernel: [25447.705315] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.711854] Modules linked in: ath9k ath9k_common ath9k_hw ath 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 nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.764877] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.219 #0
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.770718] Stack : 80447522 00000032 00000000 00000001 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.779167]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.787617]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.796095]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.804546]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.812979]         ...
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.815465] Call Trace:
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.817785] [<8006ab8c>] 0x8006ab8c
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.821283] [<8006ab8c>] 0x8006ab8c
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.824808] [<8007f9a4>] 0x8007f9a4
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.828310] [<802a9738>] 0x802a9738
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.831824] [<8007f9dc>] 0x8007f9dc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.835360] [<802a9738>] 0x802a9738
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.838862] [<80092d00>] 0x80092d00
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.842368] [<802a95c4>] 0x802a95c4
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.845880] [<800b36fc>] 0x800b36fc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.849387] [<8006d690>] 0x8006d690
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.852894] [<800b3944>] 0x800b3944
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.856407] [<800aa878>] 0x800aa878
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.859918] [<800823cc>] 0x800823cc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.863417] [<800ae4bc>] 0x800ae4bc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.866934] [<800a9fbc>] 0x800a9fbc
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.870439] [<801e3eb8>] 0x801e3eb8
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.873947] [<800660b8>] 0x800660b8
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.877438]
Sun Apr 26 11:48:59 2020 kern.warn kernel: [25447.878936] ---[ end trace 3c20d976bd0e1077 ]---
Sun Apr 26 11:48:59 2020 kern.info kernel: [25447.883580] eth0: tx timeout

after this the router lan switch is unusable. After the crash there is no useful traffic going on the lan switch. In some cases after some minutes (10+ minutes) it recovers but usualy the switch just remain stuck, unpluging and repluging the eth cable in the lan switch or reseting/powering off has no effect (the switch remain unusable; client is unable to get an ip from dhcp and manual setting one in the right class changes nothing, you can’t ping the 841ND v5 or the main router, clearly the 841ND v5 switch is stuck) The 841ND V5 can be accessed from wireless, internet addresses can be pinged from the router (the ideea is that only the eth switch is affected). Only way to fix it is to issue

ifup lan

from wireless. But it’s just matter of time until the switch will crash again. After second crash only

eth0: tx timeout

is visible in dmesg/sys log.
For example a speedtest on https://ipv6-test.com/speedtest/ can trigger it. Downloading torrents at high speed can trigger it. It’s not an 100% success rate to trigger it but it will happen sooner or later. In 12 hours I can trigger it at least 3 times by just doing my normal stuff on the internet.

Further investigation pointed to this bug report: https://bugs.openwrt.org/index.php?do=details&task_id=106 After that we had the following commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=83997146e76d4097e30facf6ad89e5fa3bd7c65b that disabled flow control for AR934x (not for ar7240).
Flow control was enabled for multiple SoCs in the following commit: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=26b8db253745b0591bfffa21f02323428f11a88f Taking into consideration the age of the commit that enabled flow control all OpenWRT 18.6.x are affected.
I decided to remove:

pdata->use_flow_control = 1;

from the following section of the file /openwrt/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

	case ATH79_SOC_AR7240:
		if (id == 0) {
			pdata->reset_bit |= AR71XX_RESET_GE0_PHY;
			pdata->set_speed = ath79_set_speed_dummy;

			pdata->phy_mask = BIT(4);
		} else {
			pdata->reset_bit |= AR71XX_RESET_GE1_PHY;
			pdata->set_speed = ath79_set_speed_dummy;

			pdata->speed = SPEED_1000;
			pdata->duplex = DUPLEX_FULL;
			pdata->switch_data = &ath79_switch_data;
			pdata->use_flow_control = 1;

			ath79_switch_data.phy_poll_mask |= BIT(4);
		}
		pdata->has_gbit = 1;
		pdata->is_ar724x = 1;
		if (ath79_soc == ATH79_SOC_AR7240)
			pdata->is_ar7240 = 1;
		break;

and compile OpenWRT 18.06 for my TL-WR841ND v5 and flash it. Atm with the firmware with pdata→use_flow_control = 1; removed from the above section I have 23 hours uptime and the eth0: tx timeout issue looks to be gone, I’m no longer capable to trigger it no matter what I try.

By looking at the source code in OpenWRT 19.07 ar71xx flow control is enable there too so OpenWRT 19.07 ar71xx is probably affected also. I don’t know where to look for ath79.

25.02.20181389Base systemBug ReportVery LowMediumTL-WR841n-V13 wireless issuesTrunkUnconfirmed Task Description

Hi everyone

I’m using the router TL-WR841n-v13, it’s only available on snapshot version. I’m using OpenWrt SNAPSHOT, r6302-0f54d96.
Also i tried to compile the Git version.

The issue is that some devices have problems to connect to the wifi or need a few attemps to connect.

Sun Feb 25 17:42:59 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:08 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:08 2018 daemon.info hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: associated (aid 1)
Sun Feb 25 17:43:08 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 38:71:de:10:33:56
Sun Feb 25 17:43:08 2018 daemon.info dnsmasq-dhcp[2197]: DHCPREQUEST(br-lan) 192.168.2.236 38:71:de:10:33:56
Sun Feb 25 17:43:08 2018 daemon.info dnsmasq-dhcp[2197]: DHCPACK(br-lan) 192.168.2.236 38:71:de:10:33:56 iPhone
Sun Feb 25 17:43:53 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:55 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:43:58 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:01 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:06 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:07 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:10 2018 daemon.notice hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: did not acknowledge authentication response
Sun Feb 25 17:44:10 2018 daemon.info hostapd: wlan0: STA 38:71:de:10:33:56 IEEE 802.11: associated (aid 1)
Sun Feb 25 17:44:10 2018 daemon.notice hostapd: wlan0: AP-STA-CONNECTED 38:71:de:10:33:56
Sun Feb 25 17:44:11 2018 daemon.info dnsmasq-dhcp[2197]: DHCPREQUEST(br-lan) 192.168.2.236 38:71:de:10:33:56
Sun Feb 25 17:44:11 2018 daemon.info dnsmasq-dhcp[2197]: DHCPACK(br-lan) 192.168.2.236 38:71:de:10:33:56 iPhone

As you can see the device needs severals attemps to connect.

I was reading the bug report https://bugs.lede-project.org/index.php?do=details&task_id=34, it seems to be very similar. The latests version in Git have the patches already applied? Those patches works on this architecture?

I tried to apply the patch but i always got this error in the compile proces

Applying ./patches/354-ath9k-rename-tx_complete_work-to-hw_check_work.patch using plaintext:
patching file drivers/net/wireless/ath/ath9k/ath9k.h
Hunk #1 FAILED at 108.
Hunk #2 FAILED at 745.
Hunk #3 FAILED at 1053.
3 out of 3 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/ath9k.h.rej
patching file drivers/net/wireless/ath/ath9k/init.c
Hunk #1 FAILED at 681.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/init.c.rej
patching file drivers/net/wireless/ath/ath9k/link.c
Hunk #1 FAILED at 20.
Hunk #2 FAILED at 41.
2 out of 2 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/link.c.rej
patching file drivers/net/wireless/ath/ath9k/main.c
Hunk #1 FAILED at 181.
Hunk #2 FAILED at 198.
Hunk #3 FAILED at 2091.
Hunk #4 FAILED at 2129.
4 out of 4 hunks FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/main.c.rej
patching file drivers/net/wireless/ath/ath9k/xmit.c
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 2915.
1 out of 1 hunk FAILED -- saving rejects to file drivers/net/wireless/ath/ath9k/xmit.c.rej
Patch failed!  Please fix ./patches/354-ath9k-rename-tx_complete_work-to-hw_check_work.patch!
Makefile:1843: recipe for target '/mnt/mgiller/lede-build_root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/backports-2017-11-01/.prepared_0b3be554104662549e5b808709992a16_6664517399ebbbc92a37c5bb081b5c53' failed
make[3]: *** [/mnt/mgiller/lede-build_root/source/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/backports-2017-11-01/.prepared_0b3be554104662549e5b808709992a16_6664517399ebbbc92a37c5bb081b5c53] Error 1
make[3]: Leaving directory '/mnt/mgiller/lede-build_root/source/package/kernel/mac80211'
package/Makefile:106: recipe for target 'package/kernel/mac80211/compile' failed
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory '/mnt/mgiller/lede-build_root/source'
package/Makefile:102: recipe for target '/mnt/mgiller/lede-build_root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile' failed
make[1]: *** [/mnt/mgiller/lede-build_root/source/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/mnt/mgiller/lede-build_root/source'
/mnt/mgiller/lede-build_root/source/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

Another problem with this router is the wifi channel configuration, when i use channel “auto” it doesen’t work. This is the log

Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: interface state ENABLED->DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Network device 'wlan0-1' link is down
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.474687] br-lanfree: port 1(wlan0-1) entered disabled state
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.485285] device wlan0-1 left promiscuous mode
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.490067] br-lanfree: port 1(wlan0-1) entered disabled state
Sun Feb 25 17:52:21 2018 daemon.notice netifd: bridge 'br-lanfree' link is down
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' has link connectivity loss
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' is now down
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Interface 'lanfree' is disabled
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: nl80211: Failed to remove interface wlan0-1 from bridge br-lanfree: No such device
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:21 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.759987] device wlan0 left promiscuous mode
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.764608] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:21 2018 daemon.notice netifd: Network device 'wlan0' link is down
Sun Feb 25 17:52:21 2018 kern.info kernel: [  851.820652] IPv6: ADDRCONF(NETDEV_UP): br-lanfree: link is not ready
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is enabled
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is setting up now
Sun Feb 25 17:52:22 2018 daemon.notice netifd: Interface 'lanfree' is now up
Sun Feb 25 17:52:22 2018 user.notice firewall: Reloading firewall due to ifup of lanfree (br-lanfree)
Sun Feb 25 17:52:23 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.504142] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.529438] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.535068] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.541054] device wlan0 entered promiscuous mode
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.545893] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.551328] br-lan: port 2(wlan0) entered forwarding state
Sun Feb 25 17:52:23 2018 kern.info kernel: [  853.568193] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sun Feb 25 17:52:23 2018 daemon.notice hostapd: wlan0: ACS-STARTED
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq[2197]: read /etc/hosts - 4 addresses
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq[2197]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Sun Feb 25 17:52:24 2018 daemon.info dnsmasq-dhcp[2197]: read /etc/ethers - 0 addresses
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Unable to collect survey data
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: All study options have failed
Sun Feb 25 17:52:31 2018 daemon.err hostapd: Interface initialization failed
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state ACS->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Possibly channel configuration is invalid, please report this along with your config file.
Sun Feb 25 17:52:31 2018 daemon.err hostapd: ACS: Failed to start
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.472251] device wlan0 left promiscuous mode
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.476960] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: interface state DISABLED->DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0-1: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0-1: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0-1 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: AP-DISABLED
Sun Feb 25 17:52:31 2018 daemon.notice hostapd: wlan0: CTRL-EVENT-TERMINATING
Sun Feb 25 17:52:31 2018 daemon.err hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): WARNING (wireless_add_process): executable path /usr/sbin/wpad does not match process 1632 path ()
Sun Feb 25 17:52:31 2018 kern.info kernel: [  861.572639] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): ip: SIOCGIFFLAGS: No such device
Sun Feb 25 17:52:31 2018 daemon.notice netifd: radio0 (5677): Interface 1 setup failed: IFUP_ERROR
Sun Feb 25 17:52:34 2018 user.notice led: Connection available
Sun Feb 25 17:52:42 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.478706] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.490938] br-lan: port 2(wlan0) entered blocking state
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.496622] br-lan: port 2(wlan0) entered disabled state
Sun Feb 25 17:52:42 2018 kern.info kernel: [  872.502554] device wlan0 entered promiscuous mode
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: ACS: Automatic channel selection started, this may take a bit
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE->ACS
Sun Feb 25 17:52:42 2018 daemon.notice hostapd: wlan0: ACS-STARTED

Boot log information

Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6291-3936616) ) #0 Sat Feb 24 15:12:57 2018
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Board has DDR2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Analog PMU set to hw control
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Digital PMU set to hw control
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] MIPS: machine is TP-Link TL-WR841N v13
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Determined physical RAM map:
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]  memory: 04000000 @ 00000000 (usable)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Zone ranges:
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Movable zone start for each node
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Early memory node ranges
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] On node 0 totalpages: 16384
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 8042c8b4, node_mem_map 81000020
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 128 pages used for memmap
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000]   Normal zone: 16384 pages, LIFO batch:3
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Writing ErrCtl register=0002e590
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Readback ErrCtl register=0002e590
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] Memory: 60180K/65536K available (3328K kernel code, 160K rwdata, 788K rodata, 196K init, 214K bss, 5356K reserved, 0K cma-reserved)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] NR_IRQS:256
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] intc: using register map from devicetree
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] CPU Clock: 580MHz
Sat Feb 24 15:42:39 2018 kern.crit kernel: [    0.000000] clocksource_probe: no matching clocksources found
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.007538] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.070056] pid_max: default: 32768 minimum: 301
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.074649] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.080990] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.094378] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.103871] futex hash table entries: 256 (order: -1, 3072 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.109805] pinctrl core: initialized pinctrl subsystem
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.116165] NET: Registered protocol family 16
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.141577] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.147299] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.152855] mt7621_gpio 10000600.gpio: registering 32 gpios
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.162541] clocksource: Switched to clocksource MIPS
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.168725] NET: Registered protocol family 2
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.173953] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.180647] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.186833] TCP: Hash tables configured (established 1024 bind 1024)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.193030] UDP hash table entries: 256 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.198631] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.204961] NET: Registered protocol family 1
Sat Feb 24 15:42:39 2018 kern.debug kernel: [    0.209136] PCI: CLS 0 bytes, default 32
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.212220] Crashlog allocated RAM at address 0x3f00000
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.218487] workingset: timestamp_bits=30 max_order=14 bucket_order=0
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.233706] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.239280] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.258244] io scheduler noop registered
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.261976] io scheduler deadline registered (default)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.267855] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.277514] console [ttyS0] disabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.280950] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.289727] console [ttyS0] enabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.296720] bootconsole [early0] disabled
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.306182] spi-mt7621 10000b00.spi: sys_freq: 193333333
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.326112] m25p80 spi32766.0: using chunked io (size=32)
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.331605] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.336872] 4 ofpart partitions found on MTD device spi32766.0
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.342799] Creating 4 MTD partitions on "spi32766.0":
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.348031] 0x000000000000-0x000000020000 : "boot"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.354629] 0x000000020000-0x0000007c0000 : "firmware"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.409677] 2 tplink-fw partitions found on MTD device firmware
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.415726] 0x000000020000-0x00000017bf82 : "kernel"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.422399] 0x00000017bf84-0x0000007c0000 : "rootfs"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.429316] mtd: device 3 (rootfs) set to be root filesystem
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.435670] 1 squashfs-split partitions found on MTD device rootfs
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.441957] 0x0000004c0000-0x0000007c0000 : "rootfs_data"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.449113] 0x0000007c0000-0x0000007d0000 : "config"
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    0.456109] 0x0000007d0000-0x000000800000 : "factory"
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.463823] libphy: Fixed MDIO Bus: probed
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.477020] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.484907] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.494972] NET: Registered protocol family 10
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.502665] NET: Registered protocol family 17
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.507243] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.520395] 8021q: 802.1Q VLAN Support v1.8
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.537708] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Sat Feb 24 15:42:39 2018 kern.info kernel: [    0.545989] Freeing unused kernel memory: 196K
Sat Feb 24 15:42:39 2018 kern.warn kernel: [    0.550496] This architecture does not have kernel memory protection.
Sat Feb 24 15:42:39 2018 user.info kernel: [    1.738778] init: Console is alive
Sat Feb 24 15:42:39 2018 user.info kernel: [    1.742456] init: - watchdog -
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    2.212552] random: fast init done
Sat Feb 24 15:42:39 2018 user.info kernel: [    3.778742] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Sat Feb 24 15:42:39 2018 kern.info kernel: [    3.990946] usbcore: registered new interface driver usbfs
Sat Feb 24 15:42:39 2018 kern.info kernel: [    3.996710] usbcore: registered new interface driver hub
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.002204] usbcore: registered new device driver usb
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.013603] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sat Feb 24 15:42:39 2018 kern.info kernel: [    4.022121] ehci-platform: EHCI generic platform driver
Sat Feb 24 15:42:39 2018 user.info kernel: [    4.032782] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Sat Feb 24 15:42:39 2018 user.info kernel: [    4.041790] init: - preinit -
Sat Feb 24 15:42:39 2018 kern.info kernel: [    5.471487] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:39 2018 kern.info kernel: [    8.844888] rt3050-esw 10110000.esw: link changed 0x01
Sat Feb 24 15:42:39 2018 kern.notice kernel: [    8.918943] jffs2: notice: (354) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Sat Feb 24 15:42:39 2018 user.info kernel: [    8.936992] mount_root: switching to jffs2 overlay
Sat Feb 24 15:42:39 2018 user.warn kernel: [    8.999423] urandom-seed: Seed file not found (/etc/urandom.seed)
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.120387] procd: - early -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.124254] procd: - watchdog -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.711108] procd: - watchdog -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.714637] procd: - ubus -
Sat Feb 24 15:42:39 2018 user.info kernel: [    9.860378] procd: - init -
Sat Feb 24 15:42:39 2018 user.info kernel: [   10.441522] kmodloader: loading kernel modules from /etc/modules.d/*
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.546554] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.562939] Netfilter messages via NETLINK v0.30.
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.570949] ip_set: protocol 6
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.624896] u32 classifier
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.627652]     input device check on
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.631358]     Actions configured
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.637834] Mirror/redirect action on
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.816137] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Sat Feb 24 15:42:39 2018 kern.notice kernel: [   10.829980] Bridge firewalling registered
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.836244] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.844437] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Sat Feb 24 15:42:39 2018 kern.info kernel: [   10.855699] ip_tables: (C) 2000-2006 Netfilter Core Team
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.078289] xt_time: kernel timezone is -0000
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.197613] mt76_wmac 10300000.wmac: ASIC revision: 76280001
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.208400] mt76_wmac 10300000.wmac: Firmware Version: _e2_mp
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.214334] mt76_wmac 10300000.wmac: Build Time: 20150211175503
Sat Feb 24 15:42:39 2018 kern.warn kernel: [   11.232541] firmware init done
Sat Feb 24 15:42:39 2018 kern.debug kernel: [   11.399014] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.430112] PPP generic driver version 2.4.2
Sat Feb 24 15:42:39 2018 kern.info kernel: [   11.446558] NET: Registered protocol family 24
Sat Feb 24 15:42:39 2018 user.info kernel: [   11.571831] kmodloader: done loading kernel modules from /etc/modules.d/*
Sat Feb 24 15:42:40 2018 kern.info kernel: [   14.779709] rt3050-esw 10110000.esw: link changed 0x00
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: tunnel
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: Network device
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: bridge
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: veth
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: macvlan
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: 8021ad
Sat Feb 24 15:42:41 2018 user.notice : Added device handler type: 8021q
Sat Feb 24 15:42:42 2018 cron.info crond[867]: crond (busybox 1.27.2) started, log level 8
Sat Feb 24 15:42:43 2018 authpriv.info dropbear[900]: Not backgrounding
Sat Feb 24 15:42:43 2018 kern.info kernel: [   18.150107] rt3050-esw 10110000.esw: link changed 0x01
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.015586] br-lan: port 1(eth0.1) entered blocking state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.021079] br-lan: port 1(eth0.1) entered disabled state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.027088] device eth0.1 entered promiscuous mode
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.031953] device eth0 entered promiscuous mode
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.061117] br-lan: port 1(eth0.1) entered blocking state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.066667] br-lan: port 1(eth0.1) entered forwarding state
Sat Feb 24 15:42:46 2018 kern.info kernel: [   21.072569] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is enabled
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is setting up now
Sat Feb 24 15:42:46 2018 daemon.notice netifd: Interface 'lan' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' is enabled
Sat Feb 24 15:42:47 2018 kern.info kernel: [   21.432180] IPv6: ADDRCONF(NETDEV_UP): br-lanfree: link is not ready
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is enabled
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lanfree' is now up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: bridge 'br-lan' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'lan' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Network device 'eth0' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.1' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.3' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'admin' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Network device 'lo' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'loopback' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: VLAN 'eth0.2' link is up
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' has link connectivity
Sat Feb 24 15:42:47 2018 daemon.notice netifd: Interface 'wan' is setting up now
Sat Feb 24 15:42:47 2018 daemon.notice netifd: wan (1212): udhcpc: started, v1.27.2
Sat Feb 24 15:42:47 2018 kern.info kernel: [   22.030028] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Sat Feb 24 15:42:48 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: sending discover
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: sending select for 192.168.1.7
Sat Feb 24 15:42:48 2018 daemon.notice netifd: wan (1212): udhcpc: lease of 192.168.1.7 obtained, lease time 86400
Sat Feb 24 15:42:48 2018 daemon.notice netifd: Interface 'wan' is now up
Sat Feb 24 15:42:49 2018 user.notice firewall: Reloading firewall due to ifup of lanfree (br-lanfree)
Sat Feb 24 15:42:50 2018 user.notice firewall: Reloading firewall due to ifup of wan (eth0.2)
Sat Feb 24 15:42:51 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.382956] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.397174] br-lan: port 2(wlan0) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.402673] br-lan: port 2(wlan0) entered disabled state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.408510] device wlan0 entered promiscuous mode
Sat Feb 24 15:42:51 2018 daemon.notice hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
Sat Feb 24 15:42:51 2018 daemon.err hostapd: Using interface wlan0 with hwaddr c0:25:e9:b1:48:b6 and ssid "Portal"
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.448746] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.455484] br-lan: port 2(wlan0) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.460901] br-lan: port 2(wlan0) entered forwarding state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.473557] br-lanfree: port 1(wlan0-1) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.479592] br-lanfree: port 1(wlan0-1) entered disabled state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.486189] device wlan0-1 entered promiscuous mode
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.602634] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.608836] br-lanfree: port 1(wlan0-1) entered blocking state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.614773] br-lanfree: port 1(wlan0-1) entered forwarding state
Sat Feb 24 15:42:51 2018 kern.info kernel: [   25.621709] IPv6: ADDRCONF(NETDEV_CHANGE): br-lanfree: link becomes ready
Sat Feb 24 15:42:51 2018 daemon.notice netifd: bridge 'br-lanfree' link is up
Sat Feb 24 15:42:51 2018 daemon.notice netifd: Interface 'lanfree' has link connectivity

Thanks

14.09.20203338Base systemBug ReportVery LowHighTL-WR841N v13 (ramips) unstable Ethernet and WiFi in 19...openwrt-19.07Unconfirmed Task Description

I am using default build of OpenWRT 19.07.4 for TL-WR841N v13 without any additional packages. I have Ethernet PPPoE from provider, some ethernet and WiFi WPA2 clients. WiFi and Ethernet are unstable: they can disappear for 30-60 seconds without any serious reason. On 18.06.8 there wasn’t those problems. I attached system log. Thanks for help.

29.06.20213907Base systemBug ReportVery LowLowTL-WDR4310 v1 random rebootsAllUnconfirmed Task Description

Device Model TP-Link TL-WDR4310 v1
Firmware Version OpenWrt SNAPSHOT r17053-76cc8a036c / LuCI Master git-21.163.60157-1bcb125(The same problem exists in other versions,Firmware Version 15.5/18.06/19.0.7/SNAPSHOT)
Kernel Version 5.4.128

1.The second router (TL-WDR4310) is wirelessly set to client mode to connect to the first router.

2. By observing the Netlink Bandwidth Monitor, when the number of concurrent connections of the second route (TL-WDR4310) connected to the device reaches more than 400K, the second route may restart randomly (observe data before failure, such as upload The total traffic is about 20GB, and the total download traffic is about 20GB).
When the upload speed is greater than 1MB and for a long time, the higher the frequency of failures, and the download speed is greater than 1MB and for a long time, it seems that there is no problem.

3.system.log

Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: reading /tmp/resolv.conf.d/resolv.conf.auto
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain test
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain onion
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain localhost
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain local
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain invalid
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain bind
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using only locally-known addresses for domain lan
Mon Jun 28 14:44:25 2021 daemon.info dnsmasq[2775]: using nameserver 192.168.3.1#53
Mon Jun 28 14:44:26 2021 daemon.info procd: - init complete -
Mon Jun 28 14:44:26 2021 user.notice firewall: Reloading firewall due to ifup of wlan1 (wlan1)
Mon Jun 28 14:44:27 2021 daemon.err odhcp6c[2064]: Failed to send SOLICIT message to ff02::1:2 (Operation not permitted)
——————- rebootting ———————-
Tue Jun 29 11:18:57 2021 user.notice nlbwmon: Reloading nlbwmon due to ifup of wlan1 (wlan1)
Tue Jun 29 11:18:59 2021 daemon.notice miniupnpd[2979]: shutting down MiniUPnPd
Tue Jun 29 11:18:59 2021 daemon.err nmbd[3276]: [2021/06/29 11:18:59.898309, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
Tue Jun 29 11:18:59 2021 daemon.err nmbd[3276]: daemon_ready: daemon ‘nmbd’ finished starting up and ready to serve connections
Tue Jun 29 11:19:00 2021 user.info adblock-4.1.3[3739]: backup directory ‘/tmp/adblock-Backup’ created
Tue Jun 29 11:19:00 2021 user.info adblock-4.1.3[3739]: adblock instance started ::: action: start, priority: 0, pid: 3739
Tue Jun 29 11:19:00 2021 daemon.notice miniupnpd[3845]: HTTP listening on port 5000
Tue Jun 29 11:19:00 2021 daemon.notice miniupnpd[3845]: HTTP IPv6 address given to control points : [fd02:1653:346d::1]
Tue Jun 29 11:19:00 2021 daemon.notice miniupnpd[3845]: Listening for NAT-PMP/PCP traffic on port 5351

PS:CPU load average and memory are normal.

25.07.20192402Base systemBug ReportVery LowLowTL-WDR3600 random rebootsTrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r10368-17ae3eb9ff
Linux OpenWrt 4.14.131 #0 Sun Jun 30 08:16:08 2019 mips GNU/Linux

16.11.20203455Base systemBug ReportVery LowLowtl-wdr3600 5ghz wireless multiple disconnection in clie...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TL WDR3600 v1
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.313.59566-7460e9d
kmod-ath9k - 4.14.195+4.19.137-1-2 (Atheros AR9580 802.11an)

root@OpenWrt:~# iw phy phy1 info
Wiphy phy1
        max # scan SSIDs: 4
        max scan IEs length: 2261 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * outside context of a BSS
        Band 2:
                Capabilities: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 5180 MHz [36] (19.0 dBm)
                        * 5200 MHz [40] (19.0 dBm)
                        * 5220 MHz [44] (19.0 dBm)
                        * 5240 MHz [48] (19.0 dBm)
                        * 5260 MHz [52] (19.0 dBm) (radar detection)
                        * 5280 MHz [56] (19.0 dBm) (radar detection)
                        * 5300 MHz [60] (19.0 dBm) (radar detection)
                        * 5320 MHz [64] (19.0 dBm) (radar detection)
                        * 5500 MHz [100] (19.0 dBm) (radar detection)
                        * 5520 MHz [104] (19.0 dBm) (radar detection)
                        * 5540 MHz [108] (19.0 dBm) (radar detection)
                        * 5560 MHz [112] (19.0 dBm) (radar detection)
                        * 5580 MHz [116] (19.0 dBm) (radar detection)
                        * 5600 MHz [120] (19.0 dBm) (radar detection)
                        * 5620 MHz [124] (19.0 dBm) (radar detection)
                        * 5640 MHz [128] (19.0 dBm) (radar detection)
                        * 5660 MHz [132] (19.0 dBm) (radar detection)
                        * 5680 MHz [136] (19.0 dBm) (radar detection)
                        * 5700 MHz [140] (19.0 dBm) (radar detection)
                        * 5745 MHz [149] (13.0 dBm)
                        * 5765 MHz [153] (13.0 dBm)
                        * 5785 MHz [157] (13.0 dBm)
                        * 5805 MHz [161] (13.0 dBm)
                        * 5825 MHz [165] (13.0 dBm)
        valid interface combinations:
                 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

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

- Steps to reproduce

Connect to a wifi without encryption

root@OpenWrt:~# cat /var/run/wpa_supplicant-wlan0.conf

country=IT
network={
        scan_ssid=1
        ssid="free-WiFi"
        key_mgmt=NONE
        beacon_int=100
}

multiple disconnection

see attach file

16.11.20203456Base systemBug ReportVery LowLowtl-wdr3600 2,4ghz wireless not work 40Mhz channel and m...AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
TL WDR3600 v1
- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.313.59566-7460e9d
kmod-cfg80211 - 4.14.195+4.19.137-1-2
kmod-mac80211 - 4.14.195+4.19.137-1-2
Generic 802.11bgn

root@OpenWrt:~# iw phy phy0 info
Wiphy phy0
        max # scan SSIDs: 4
        max scan IEs length: 2257 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Available Antennas: TX 0x3 RX 0x3
        Configured Antennas: TX 0x3 RX 0x3
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * outside context of a BSS
        Band 1:
                Capabilities: 0x11ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 8 usec (0x06)
                HT TX/RX MCS rate indexes supported: 0-15
                Frequencies:
                        * 2412 MHz [1] (20.0 dBm)
                        * 2417 MHz [2] (20.0 dBm)
                        * 2422 MHz [3] (20.0 dBm)
                        * 2427 MHz [4] (20.0 dBm)
                        * 2432 MHz [5] (20.0 dBm)
                        * 2437 MHz [6] (20.0 dBm)
                        * 2442 MHz [7] (20.0 dBm)
                        * 2447 MHz [8] (20.0 dBm)
                        * 2452 MHz [9] (20.0 dBm)
                        * 2457 MHz [10] (20.0 dBm)
                        * 2462 MHz [11] (20.0 dBm)
                        * 2467 MHz [12] (20.0 dBm)
                        * 2472 MHz [13] (20.0 dBm)
                        * 2484 MHz [14] (disabled)
        valid interface combinations:
                 * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1, #{ IBSS } <= 1,
                   total <= 2048, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz }

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

- Steps to reproduce

Connect to a wifi without encryption

root@OpenWrt:~# cat /var/run/wpa_supplicant-wlan0.conf

country=IT
network={
        scan_ssid=1
        ssid="free-WiFi"
        key_mgmt=NONE
        beacon_int=100
}

multiple disconnections have occurred and the 40 Mhz channel size does not work but only 20 Mhz even though I select “40ht” in the settings, but the parameter is ignored

[ 9310.919517] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[ 9310.942108] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[ 9310.949574] wlan0: authenticated
[ 9310.958118] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[ 9310.967484] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[ 9310.975528] wlan0: associated
[ 9310.980545] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[14386.169903] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[14386.192135] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[14386.221460] wlan0: authenticated
[14386.258393] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[14386.268632] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[14386.276858] wlan0: associated
[150814.159420] wlan0: cannot understand ECSA IE operating class, 4, ignoring
[150814.166639] wlan0: AP aa:bb:cc:dd:ee:ff tries to chanswitch to same channel, ignore
[152268.305454] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[152268.327706] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[152268.464092] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[152268.584729] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[152268.724110] wlan0: authentication with aa:bb:cc:dd:ee:ff timed out
[152270.325114] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[152270.347410] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[152270.447867] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[152270.550270] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[152270.646190] wlan0: authentication with aa:bb:cc:dd:ee:ff timed out
[152272.215055] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[152272.237313] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[152272.244860] wlan0: authenticated
[152272.254162] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[152272.263364] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[152272.271469] wlan0: associated
[155444.244711] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[155444.266922] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[155444.350695] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[155444.415256] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[155444.500674] wlan0: authentication with aa:bb:cc:dd:ee:ff timed out
[155448.144033] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[155448.166261] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[155448.179452] wlan0: authenticated
[155448.193209] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[155448.203713] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[155448.211780] wlan0: associated
[169407.360674] wlan0: cannot understand ECSA IE operating class, 4, ignoring
[169407.367880] wlan0: AP aa:bb:cc:dd:ee:ff tries to chanswitch to same channel, ignore
[180804.557552] wlan0: cannot understand ECSA IE operating class, 4, ignoring
[181313.033648] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[181313.055903] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[181313.209864] wlan0: authenticated
[181313.222629] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[181313.256578] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[181313.264725] wlan0: associated
[183301.022778] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[183301.044996] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[183301.067456] wlan0: authenticated
[183301.138782] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[183301.155290] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[183301.163425] wlan0: associated
[185525.016165] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[185525.038608] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[185525.060327] wlan0: authenticated
[185525.105330] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[185525.115047] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[185525.123140] wlan0: associated
[185969.001341] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[185969.023612] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[185969.149850] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[185969.259845] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[185969.381172] wlan0: authentication with aa:bb:cc:dd:ee:ff timed out
[185970.980914] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[185971.003176] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[185971.019374] wlan0: authenticated
[185971.049820] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[185971.060003] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[185971.068073] wlan0: associated
[186860.996960] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[186861.019228] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[186861.043203] wlan0: authenticated
[186861.075375] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[186861.090284] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[186861.098418] wlan0: associated
[186868.836153] wlan0: deauthenticating from aa:bb:cc:dd:ee:ff by local choice (Reason: 3=DEAUTH_LEAVING)
[186870.049178] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[186871.506366] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[186871.528653] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[186871.544687] wlan0: authenticated
[186871.594551] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[186871.613869] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[186871.621999] wlan0: associated
[186871.626962] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[187310.993064] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[187311.015717] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[187311.111429] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[187311.233939] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[187311.353993] wlan0: authenticated
[187311.361174] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[187311.382512] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[187311.390594] wlan0: associated
[187757.053230] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[187757.075521] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[187757.088849] wlan0: authenticated
[187757.139109] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[187757.149248] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[187757.157302] wlan0: associated
[188670.468838] wlan0: cannot understand ECSA IE operating class, 4, ignoring
[188670.475883] wlan0: AP aa:bb:cc:dd:ee:ff tries to chanswitch to same channel, ignore
[189088.021521] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[189088.043814] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[189088.169749] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[189088.299751] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[189088.359034] wlan0: authentication with aa:bb:cc:dd:ee:ff timed out
[189089.971099] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[189089.993326] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[189090.009912] wlan0: authenticated
[189090.039699] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[189090.049231] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[189090.057352] wlan0: associated
[189093.870846] wlan0: deauthenticating from aa:bb:cc:dd:ee:ff by local choice (Reason: 3=DEAUTH_LEAVING)
[189095.520884] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[189096.970549] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[189096.992821] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[189097.006463] wlan0: authenticated
[189097.048873] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[189097.059923] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[189097.067986] wlan0: associated
[189097.073072] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[189534.976401] wlan0: authenticate with 92:36:6d:93:99:85
[189534.998671] wlan0: send auth to 92:36:6d:93:99:85 (try 1/3)
[189535.094182] wlan0: send auth to 92:36:6d:93:99:85 (try 2/3)
[189535.183706] wlan0: send auth to 92:36:6d:93:99:85 (try 3/3)
[189535.271126] wlan0: authentication with 92:36:6d:93:99:85 timed out
[189536.446534] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[189536.468847] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[189536.495448] wlan0: authenticated
[189536.535539] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[189536.554540] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[189536.562656] wlan0: associated
[201274.903601] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[201274.925850] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[201275.042060] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 2/3)
[201275.162035] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 3/3)
[201275.292501] wlan0: authentication with aa:bb:cc:dd:ee:ff timed out
[201276.883507] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[201276.905711] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[201276.932138] wlan0: authenticated
[201276.942689] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[201276.952788] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[201276.960847] wlan0: associated
[237811.689601] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[237811.712053] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[237811.738528] wlan0: authenticated
[237811.778333] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[237811.796957] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[237811.805098] wlan0: associated
[237819.383155] wlan0: deauthenticating from aa:bb:cc:dd:ee:ff by local choice (Reason: 3=DEAUTH_LEAVING)
[237820.815792] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[237822.219411] wlan0: authenticate with aa:bb:cc:dd:ee:ff
[237822.241683] wlan0: send auth to aa:bb:cc:dd:ee:ff (try 1/3)
[237822.283742] wlan0: authenticated
[237822.297883] wlan0: associate with aa:bb:cc:dd:ee:ff (try 1/3)
[237822.310358] wlan0: RX AssocResp from aa:bb:cc:dd:ee:ff (capab=0x401 status=0 aid=1)
[237822.318491] wlan0: associated
[237822.325975] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
18.11.20171176Base systemBug ReportVery LowLowthermal thermal_zone0: failed to read out thermal zone ...TrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

     TP-Link Archer C2600 v1.0 - https://lede-project.org/toh/hwdata/tp-link/tp-link_archer_c2600

- Software versions of LEDE release, packages, etc.

     LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.315.61305-a9bddc4)
     Kernel Version	4.4.92

- Steps to reproduce: N/A

 

Error regarding thermal within kernel log: 56757.023342] thermal thermal_zone0: failed to read out thermal zone (-110)

Appears this issue had a patch supplied in 2015? https://patchwork.kernel.org/patch/5978221/

On Tue, Mar 10, 2015 at 04:06:46PM +0100, Hans de Goede wrote:
> Some temperature sensors only get updated every few seconds and while
> waiting for the first irq reporting a (new) temperature to happen there
> get_temp operand will return -EAGAIN as it does not have any data to report
> yet.
>
> Not logging an error in this case avoids messages like these from showing
> up in dmesg on affected systems:
>
> [ 1.219353] thermal thermal_zone0: failed to read out thermal zone 0
> [ 2.015433] thermal thermal_zone0: failed to read out thermal zone 0
> [ 2.416737] thermal thermal_zone0: failed to read out thermal zone 0
>
> Signed-off-by: Hans de Goede hdegoede@redhat.com

29.09.20171024PackagesFeature RequestVery LowLowThere is no "LEDE interface" for the Linux interface cr...AllResearching Task Description

Let’s say I want to enable dropbear only in the tun0 interface created by OpenVPN. The dropbear configuration has an “Interface” field where I can make it listen, for example, only on the “wan” or “lan” interfaces. But the tun0 interface has not been created by anything in /etc/config/network and LEDE doesn’t really know about it, so I can’t specify it the dropbear configuration.

Even adding the tun0 interface to a “vpn” network in /etc/config/network using “proto none” fails to do the trick.

30.01.20192093PackagesFeature RequestVery LowMediumThere is 'dslite' but not 'ipip6'?AllUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
This is a suggestion and is not a model-specific bug report.

- Software versions of OpenWrt/LEDE release, packages, etc.
OpenWrt 18.06.1, r7258-5eb055306f

- Steps to reproduce
Description below:

I don't understand why people have not come across this, but I honestly think there should be a package providing users with a generic implementation of IPv4-over-IPv6 tunnel. There is 'dslite' which contains 'dslite.sh' but is too specifically optimized for DS-Lite since it has IPv4 addresses of hard-coded. Sure, I could alter these values locally for personal use, but that just doesn't feel right...I find it rather inflexible. I'm not saying 'dslite' should be renamed to 'ipip6' but I do think folks will be happier if there were a separate package named like 'ipip6' implemented with more flexibility. Or am

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

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

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

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

24.01.20181293Base systemBug ReportVery LowLowThe newest trunk source make ar9344 db120 reference boa...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on AR9344 DB120
- The newest version.
- Steps to reproduce

 

## Booting image at 9f680000 ...

 Image Name:   MIPS OpenWrt Linux-4.9.77
 Created:      2018-01-24   6:33:42 UTC
 Image Type:   MIPS Linux Kernel Image (lzma compressed)
 Data Size:    1379382 Bytes =  1.3 MB
 Load Address: 80060000
 Entry Point:  80060000
 Verifying Checksum at 0x9f680040 ...OK
 Uncompressing Kernel Image ... OK

No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[ 0.000000] Linux version 4.9.77 () (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5935-c25d9cb) ) #0 Wed Jan 24 06:33:42 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 3
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 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-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART),6336k(rootfs.up),1408k(uImage.up),448k(rev) mem=128M rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124872K/131072K available (3174K kernel code, 166K rwdata, 792K rodata, 276K init, 213K bss, 6200K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6825930166 ns
[ 0.000009] sched_clock: 32 bits at 280MHz, resolution 3ns, wraps every 7669584382ns
[ 0.008310] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.081147] pid_max: default: 32768 minimum: 301
[ 0.086166] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093213] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.103149] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.113657] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.120688] NET: Registered protocol family 16
[ 0.126898] MIPS: machine is Generic AR71XX/AR724X/AR913X based board
[ 0.149064] clocksource: Switched to clocksource MIPS
[ 0.155465] NET: Registered protocol family 2
[ 0.160930] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.168359] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.175173] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.182033] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.188261] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.195205] NET: Registered protocol family 1
[ 0.203762] Crashlog allocated RAM at address 0x3f00000
[ 0.210313] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.223987] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.230227] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.248339] io scheduler noop registered
[ 0.252559] io scheduler deadline registered (default)
[ 0.258371] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.265586] console [ttyS0] disabled
[ 0.289473] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.298657] console [ttyS0] enabled
[ 0.298657] console [ttyS0] enabled
[ 0.306083] bootconsole [early0] disabled
[ 0.306083] bootconsole [early0] disabled
[ 0.316280] libphy: Fixed MDIO Bus: probed
[ 0.323674] NET: Registered protocol family 10
[ 0.337759] NET: Registered protocol family 17
[ 0.342465] 8021q: 802.1Q VLAN Support v1.8
[ 0.349040] VFS: Cannot open root device “31:02” or unknown-block(31,2): error -6
[ 0.356677] Please append a correct “root=” boot option; here are the available partitions:
[ 0.365163] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)
[ 0.374233] Rebooting in 1 seconds..

24.02.20202853Base systemBug ReportVery LowLowThe netifd is unable to find correct network interfaceTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
RouterBoard RB912UAG-5HPnD + R11e-LTE PCIe LTE card
- Software versions of OpenWrt/LEDE release, packages, etc.
NAME=”OpenWrt” VERSION=”19.07.1” Configuration of network device:
config interface ‘wwan’

      option proto 'ncm'
      option ifname 'wwan0'
      option device '/dev/ttyACM1'
      option apn 'internet.eplus.de'
      option mode 'preferlte'
      option delay '5'

- Steps to reproduce

The netifd is unable to find which logical ethXXX interface is bound with serial port /dev/ttyACM1 for NCM - both handled by the R11e-LTE card.
In logread following messages appear:
Mon Feb 24 17:19:42 2020 daemon.notice netifd: wwan (3952): ls: /sys/devices/platform/ehci-platform/usb1/1-1/1-1:1.4/../../*/net: No such file or directory

The only net directory in the tree /sys/devices/platform/ehci-platform/usb1 is /sys/devices/platform/ehci-platform/usb1/1-1/1-1:1.0/net - the content of the directory is a directory eth1. Really eth1 is correct network interface name bound, so the problem looks like listing with ls not assuming the partigular directory tree depth.

27.10.20203411Base systemBug ReportVery LowMediumThe firewall refuses any connection when i add more tha...openwrt-19.07Unconfirmed Task Description

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

 

And the DHCP Server doesn’t work any more!

My route is below:

主机名 OpenWrt
型号 UBNT-ERX
架构 MediaTek MT7621 ver:1 eco:3
固件版本 OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.247.75781-0d0ab01
内核版本 4.14.195
本地时间 2020-10-27 10:04:52

25.12.20214204PackagesBug ReportVery LowMediumthe Device hardware version Info in bin file is Incorre...openwrt-21.02Unconfirmed Task Description

When I try to update the firmware to openwrt-21.02.1 in the TP-Link pharos UI, occurred the error “The hardware version is not supported.”

I checked the Device hardware version and bin file.
They are match.

Device hardware version: tplink cpe210 v1
ImageFile: openwrt-21.02.1-ath79-generic-tplink_cpe210-v1-squashfs-factory.bin

But when I open the bin file with Editor to check the hardware version of the bin file, I found the string:
“CPE510(TP-LINK|UN|N300-5):1.0\r\n” in the header of the file
but not “CPE210(TP-LINK|UN|N300-5):1.0\r\n”

So I think that the Device hardware version Info in bin file is not match for tplink_cpe210-v1.
Could you please check it?
Thank you very much!

Firmware OpenWrt Install URL: https://downloads.openwrt.org/releases/21.02.1/targets/ath79/generic/openwrt-21.02.1-ath79-generic-tplink_cpe210-v1-squashfs-factory.bin Firmware OpenWrt snapshot Install URL: https://downloads.openwrt.org/snapshots/targets/ath79/generic/openwrt-ath79-generic-tplink_cpe210-v1-squashfs-factory.bin

19.04.20181505Base systemBug ReportVery LowLowThe "Replaces" tag on the Packages files make opkg han...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
When building a image of the firmware (for example a TP-Link Archer C7 v2/v4 or a WR1043NDv4). The problems occurs on the compiling host (Ubuntu 16.04 on a x86_64)

- Software versions of OpenWrt/LEDE release, packages, etc.
I used several snapshots of the image builder and even the trunk (commit a18d88e8630acd7fd276caa50811b57470a01f9d), used to work on LEDE 17.1.0

- Steps to reproduce
0) untar the imagebuilder
1) add “src/gz wifirover http://downloads.altsysnet.com/wifirover/lede/testing/” to the repositories.conf of the imagebuilder.
2) make a image, say for Archer C7v4:

make image PROFILE=archer-c7-v4 PACKAGES="wifirover"

Expected: Compilation succeeds
Happens: opkg segfaults

10:10 sebastien@ubuntu-N750HU: /tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64$ LANG=C make image PROFILE=archer-c7-v4 PACKAGES="wifirover" 
Building images for ar71xx - TP-LINK Archer C7 v4
Packages: wifirover ath10k-firmware-qca988x base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-ath10k kmod-ath9k kmod-gpio-button-hotplug libc libgcc logd mtd netifd odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe swconfig uboot-envtools uci uclient-fetch wpad-mini

bash: line 6:   841 Segmentation fault      (core dumped) IPKG_NO_SCRIPT=1 IPKG_INSTROOT=/tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx TMPDIR=/tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx/tmp /tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg --offline-root /tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl/root-ar71xx --force-postinstall --add-dest root:/ --add-arch all:100 --add-arch mips_24kc:200 -f /tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/repositories.conf --cache /tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/dl --lists-dir ../../../../../../tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64/dl update 1>&2

Installing packages...
Makefile:134: recipe for target 'package_install' failed
make[2]: *** [package_install] Segmentation fault (core dumped)
Makefile:100: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:175: recipe for target 'image' failed
make: *** [image] Error 2

the Packages files is like this

Package: wifirover
Version: 2017-05-1
Description: WifiRover Captive portal
Section: extras
Priority: optional
Maintainer: Olivier Fontes <olivier@altsysnet.com>, Sebastien DA ROCHA <sebastien@altsysnet.com>
License: LGPL 2.1
Architecture: all
OE: wifirover
Source: https://github.com/altsysnet/wifirover
Depends: firewall, base-files, base-files, php7, dnsmasq-full
Replaces: firewall, base-files, base-files, php7, dnsmasq-full
MD5Sum: 38f9caf3692ae69ac04c3a7d6ab6908a
Size: 20757
Filename: wifirover_2017-05-1.ipk

If I remove the “Replaces:” tag the run go on, but it fails because I’ve put custom files on my wifirover package, such as php.ini, /etc/firewall.user...

- my analysis :
I’ve compiled opkg based on https://git.openwrt.org/project/opkg-lede.git with debug enabled.

The segfaults happens just by making :
sudo opkg-cl -f repositories.conf update
opkg-cl -f repositories.conf install wifirover

using gdb, I get

10:22 sebastien@ubuntu-N750HU: /tmp/17010/openwrt-imagebuilder-ar71xx-generic.Linux-x86_64$ gdb opkg-cl 
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from opkg-cl...done.
(gdb) run -f repositories.conf install wifirover
Starting program: /usr/local/bin/opkg-cl -f repositories.conf install wifirover
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
pkg_conflicts_abstract (pkg=pkg@entry=0x6278e0, conflictee=conflictee@entry=0x62d1c0)
    at /home/sebastien/Sources/opkg-lede/libopkg/pkg_depends.c:472
472		for (conflict = conflicts; conflict->type; conflict++) {
(gdb) 

And thats where I’m stuck on my analysis :-(

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

Hello :-)

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

Messages like these appear in syslog:

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

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

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

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

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

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

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

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

13.09.20171008Base systemBug ReportVery LowLowTeach procd about mounpoint or path dependenciesTrunkUnconfirmed Task Description

So far as I have been able to discern, there is no mechanism for blocking a service’s start until a particular filesystem has been mounted (or directory exists). The motivation is that I run collectd (via luci-statistics, natch) on my router and persist the data sets (rrds) across reboot by having them written to a USB stick. However, early in boot, collectd sometimes (often? always?) manages to come up before the mount completes, and so touches the on-router flash, creating its basedir and datadir and the rrds and so on.

26.07.20192410Base systemBug ReportVery LowLowTD-W8980: Kernel panic - not syncing: Fatal exception i...TrunkUnconfirmed Task Description

A few times to day the ADSL2+ connection is unable to reconnect because something in the driver seems unable to work again, I have an older router (cisco) and it reconnects whitout any trouble.

Restarting the interface with the br2684ctl init script causes a kernel panic.

DEVICE="TP-Link TD-W8980"   
VERSION="18.06.4"
BUILD_ID="r7808-ef686b7292"
LEDE_BOARD="lantiq/xrx200"
LEDE_ARCH="mips_24kc"
Fri Jul 26 19:53:54 2019 daemon.notice pppd[32180]: pppd 2.4.7 started by root, uid 0
Fri Jul 26 19:53:54 2019 daemon.debug pppd[32180]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4
Fri Jul 26 19:53:54 2019 daemon.debug pppd[32180]:  dst ff:ff:ff:ff:ff:ff  src 30:b5:c2:9d:c4:7e
Fri Jul 26 19:53:54 2019 daemon.debug pppd[32180]:  [service-name]
Fri Jul 26 19:53:59 2019 daemon.debug pppd[32180]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4
Fri Jul 26 19:53:59 2019 daemon.debug pppd[32180]:  dst ff:ff:ff:ff:ff:ff  src 30:b5:c2:9d:c4:7e
Fri Jul 26 19:53:59 2019 daemon.debug pppd[32180]:  [service-name]
Fri Jul 26 19:54:04 2019 daemon.debug pppd[32180]: Send PPPOE Discovery V1T1 PADI session 0x0 length 4
Fri Jul 26 19:54:04 2019 daemon.debug pppd[32180]:  dst ff:ff:ff:ff:ff:ff  src 30:b5:c2:9d:c4:7e
Fri Jul 26 19:54:04 2019 daemon.debug pppd[32180]:  [service-name]
Fri Jul 26 19:54:09 2019 daemon.warn pppd[32180]: Timeout waiting for PADO packets
Fri Jul 26 19:54:09 2019 daemon.err pppd[32180]: Unable to complete PPPoE Discovery
Fri Jul 26 19:54:09 2019 daemon.info pppd[32180]: Exit.
root@OpenWrt:~# /etc/init.d/br2684ctl
[...]
[  888.844371] CPU 0 Unable to h
andle kernel paging request at virtual address 0000000c, epc == 82cce5b0, ra == 819e07a0
[  888.853829] Oops[#1]:
[  888.856086] CPU: 0 PID: 3338 Comm: sh Not tainted 4.9.184 #0
[  888.861738] task: 83a88bc0 task.stack: 81534000
[  888.866255] $ 0   : 00000000 7f8bfef0 80a08b40 82cce5a0
[  888.871476] $ 4   : 8271dc00 80a08b40 0000f6be 00000001
[  888.876697] $ 8   : 83806000 00001ff0 8003256c 7f8bfe64
[  888.881920] $12   : 7f8c0058 00000000 00000000 774b42c0
[  888.887145] $16   : 00000000 00000001 819e6b88 00000000
[  888.892365] $20   : 00000001 819e6b9c 0000000f 819e0000
[  888.897587] $24   : 0045bbe4 00000000                  
[  888.902809] $28   : 81534000 83807eb0 00000001 819e07a0
[  888.908034] Hi    : 00000018
[  888.910903] Lo    : 00000002
[  888.913857] epc   : 82cce5b0 0x82cce5b0 [br2684@82cce000+0x19f0]
[  888.919803] ra    : 819e07a0 0x819e07a0 [ltq_atm_vr9@819e0000+0x6e00]
[  888.926227] Status: 1100ff02 KERNEL EXL 
[  888.930145] Cause : 00800008 (ExcCode 02)
[  888.934147] BadVA : 0000000c
[  888.937023] PrId  : 00019556 (MIPS 34Kc)
[  888.940933] Modules linked in: ltq_atm_vr9 ath9k ath9k_common ath9k_hw ath pppoe nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat fuse sch_cake act_connmark nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api ledtrig_usbport drv_mei_cpe xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables nfsv4 nfsv3 pppoatm ppp_generic slhc
 nfsd nfs ifb rpcsec_gss_krb5 auth_rpcgss oid_registry tun lockd sunrpc grace autofs4 dns_resolver br2684 atm exportfs drv_ifxos sha1_generic md5 hmac ecb des_generic cts cbc usb_storage uhci_hcd ohci_platform ohci_hcd sd_mod scsi_mod ext4 jbd2 mbcache crc32c_generic dwc2 gpio_button_hotplug
Process sh (pid: 3338, threadinfo=81534000, task=83a88bc0, tls=774b5dc0)
[  889.090467] Stack : 00000000 805288a0 00000000 80075714 00000011 819e07a0 8383a354 8108fb80
[  889.098820]         8383a354 00000000 00020000 819e1d30 8052f3f8 00000000 00000001 00407b39
[  889.107178]         80524d40 800738a4 805331c0 00000000 819e39d4 819e39d0 8052f3f8 8052f0a0
[  889.115532]         8057b200 00010000 00000002 00000000 00000100 80033600 774aa000 00000000
[  889.123888]         00000000 800739d8 81468000 00000007 80524058 00000040 806841e0 00000006
[  889.132244]         ...
[  889.134680] Call Trace:[  889.136961] [<80075714>] 0x80075714
[  889.140450] [<819e07a0>] 0x819e07a0 [ltq_atm_vr9@819e0000+0x6e00]
[  889.146612] [<819e1d30>] 0x819e1d30 [ltq_atm_vr9@819e0000+0x6e00]
[  889.152627] [<800738a4>] 0x800738a4
[  889.156111] [<80033600>] 0x80033600
[  889.159589] [<800739d8>] 0x800739d8
[  889.163072] [<80032b74>] 0x80032b74
[  889.166553] [<80032f54>] 0x80032f54
[  889.170034] [<80072d8c>] 0x80072d8c
[  889.173515] [<8000307c>] 0x8000307c
[  889.176996] [<8000c4ec>] 0x8000c4ec
[  889.180479] [<8000a9e8>] 0x8000a9e8
[  889.183950] 
[  889.185425] Code: afbf0014  afb00010  8c9002f8 <8e02000c> 0040f809  00000000  3c028053  8c42f0ac  7c420400 
[  889.195176] 
[  889.196816] ---[ end trace 8e8def78ee4b4969 ]---
[  889.207641] Kernel panic - not syncing: Fatal exception in interrupt
[  889.217636] Rebooting in 3 seconds..
ATU-C Vendor ID:                          FF,B5,47,53,50,4E,00,10
ATU-C System Vendor ID:                   00,00,30,30,30,30,00,00
Chipset:                                  Lantiq-VRX200
Firmware Version:                         5.8.0.11.1.1
API Version:                              4.17.18.6
XTSE Capabilities:                        0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x0
Annex:                                    A
Line Mode:                                G.992.5 (ADSL2+)
Profile:                                  
Line State:                               UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS):  Near: 0 / Far: 0
Errored seconds (ES):                     Near: 2 / Far: 0
Severely Errored Seconds (SES):           Near: 0 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 0
Unavailable Seconds (UAS):                Near: 34 / Far: 34
Header Error Code Errors (HEC):           Near: 0 / Far: 0
Non Pre-emtive CRC errors (CRC_P):        Near: 0 / Far: 0
Pre-emtive CRC errors (CRCP_P):           Near: 0 / Far: 0
Power Management Mode:                    L0 - Synchronized
Latency [Interleave Delay]:               0.25 ms [Fast]   0.25 ms [Fast]
Data Rate:                                Down: 12.287 Mb/s / Up: 1.023 Mb/s
Line Attenuation (LATN):                  Down: 18.4 dB / Up: 7.3 dB
Signal Attenuation (SATN):                Down: 16.8 dB / Up: 0.0 dB
Noise Margin (SNR):                       Down: 19.1 dB / Up: 10.3 dB
Aggregate Transmit Power (ACTATP):        Down: 18.4 dB / Up: 10.4 dB
Max. Attainable Data Rate (ATTNDR):       Down: 20.132 Mb/s / Up: 1.056 Mb/s
Line Uptime Seconds:                      1273
Line Uptime:                              21m 13s
01.04.20202956KernelBug ReportVery LowMediumtcp_bbr: suffering poor performance with samba4-serveropenwrt-19.07Unconfirmed Task Description

Environment: Newifi-D2(arch mipsel_24kc), OpenWrt 19.07.1/19.07.2/master branch with kernel 1.14.170+, samba-4.11, a usb-disk with ext4 file system.
(samba4 uses default settings)

I run samba-4.11 server in my router with usb-harddisk of 3T volumes. If the router enables tcp_bbr kernel module with default config file, then lan PCs copying files from the router is very slowly with speed of 4-10MB. The speed of writing files to router’s share is also a little slower.
Without tcp_bbr the speed is up to 40-60MB when copying files from the router.

I found the problem is caused by lack value of “net.core.default_qdisc=fq” in default bbr config file (/etc/sysctl.d/12-tcp-bbr.conf)
The default bbr config file is :
```
# Do not edit, changes to this file will be lost on upgrades
# /etc/sysctl.conf can be used to customize sysctl settings

net.ipv4.tcp_congestion_control=bbr
net.core.default_qdisc=fq #add this line then problem disappear.
```


06.09.20214011Base systemBug ReportVery LowHighTCP queries to dnsmasq can cause OOM and DoS attackopenwrt-19.07Unconfirmed Task Description

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

Use a tool like netcat to open many (i.e 20+) TCP connections to port 53, simulating TCP dns queries
Observe how dnsmasq forks for each connection
Observe how at some point enough dnsmasq children are running that the kernel starts OOMing

This is a quick/easy demonstration on how simply an OpenWRT router can be DoS attacked.

There is a hard coded MAX_PROCS which defaults to 20. This clearly is too high for resource constrained systems like OpenWRT routers.

There is a discussion of this problem on the dnsmasq ML @ https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2021q1/014907.html which includes a patch to make MAX_PROCS a run-time tunable. This could be used by OpenWRT to scale up/down the MAX_PROCS value based on the size of system it’s running on.

It could/should be user-overridable in case he/she knows better what the value should be than any attempt by OpenWRT to scale on a given router.

 


Showing tasks 201 - 250 of 1419 Page 5 of 29<<First - 3 - 4 - 5 - 6 - 7 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing