OpenWrt/LEDE Project

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

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

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

Opened  descIDCategoryTask TypePrioritySeveritySummaryReported InStatus
09.12.20192666Base systemBug ReportVery LowMediumprocd: reboot inside lxc container causes shutdownopenwrt-19.07Unconfirmed Task Description

- Device problem occurs on
armvirt64
- Software versions of OpenWrt/LEDE release, packages, etc.
openwrt-19.07-rc2
- Steps to reproduce

Create a lxc package from the openwrt-19.07-rc2 rootfs package.
Start a lxc container using the openwrt lxc package.
Initiate a `reboot` command from inside the container.

Expected result: Container reboots.
Actual result: Container halts.

Current Version openwrt-19.07-rc2.
While running in a lxc container, initiating a reboot from openwrt results in a shutdown of the container instead of rebooting the container.

This appears to have been caused by commit <832369078d818d19ab64051fdc8da9e06c90ad88> state: fix shutdown when running in a container ( FS#2425 ).
Instead of triggering reboot(reboot_event);, it detects that it is inside a container and exits pid 1, resulting in the container halting.

There is a patch at [0] to resolve this, but would likely break the original intention of the fix above.

09.12.20192665Base systemBug ReportVery LowMediumtplink_tl-wdr4300-v1 ath79 fails with hardware ID misma...openwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Model: TP-Link TL-WDR4300 (IL) v1
hw:43008001 00000001

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

openwrt-19.07.0-rc2-ath79-generic-tplink_tl-wdr4300-v1-squashfs-sysupgrade.bin

- Steps to reproduce

 

try to sysupgrade to openwrt image above, from gui.

received error message:
cat: write error: Broken pipe cat: write error: Broken pipe
Invalid image, hardware ID mismatch,
hw:43008001 00000001
image:43000001 00000001.
Image check failed.

additional info:
i tested the following images:

  • works - openwrt-18.06.5-ar71xx-generic-tl-wdr4300-v1-il-squashfs-sysupgrade.bin
  • works (ar71xx) - openwrt-19.07.0-rc2-ar71xx-generic-tl-wdr4300-v1-il-squashfs-sysupgrade.bin
  • fails (ath79) - openwrt-19.07.0-rc2-ath79-generic-tplink_tl-wdr4300-v1-squashfs-sysupgrade.bin

hardware ID mismatch

it seems there is needs to be a special build for wdr4300-v1-il il,
it exists for ar71xx

question: which image should be used for ath79 / ISRAEL hardware version?
hw:43008001 00000001

references:

patch for v1 il:
https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg17574.html

discussion of patch:
https://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg17573.html

“The hardware-ID is different for TL-WDR4300v1 devices sold in Israel.”

wiki:
“Devices that require the Israeli firmware will show a warning on the Firmware Update page. If you see this warning, fallback to the “-il-” image. The Israeli firmware differs only in the Hardware ID, in order to enable flashing from the original firmware interface. There is no difference between the images otherwise.”

https://openwrt.org/toh/tp-link/tl-wdr4300

09.12.20192664Base systemBug ReportVery LowMediumMemory and LuCI errorsopenwrt-19.07Unconfirmed Task Description

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

 

Hi, I am new to OpenWRT and reporting bugs, so I’ll do the best I can. I am getting some errors on my TP-Link Archer C60v2. I flashed “openwrt-19.07.0-rc2-ath79-generic-tplink_archer-c60-v2-squashfs-factory.bin” on my device. Everything seems to work, but when I try to run “opkg update” from LuCI I sometimes get this error:

Collected errors:
* pkg_hash_add_from_file: Failed to open /var/opkg-lists/openwrt_routing: Out of memory.

Sometimes it works so I upgrade the packages that have updates to them, but when I log in to LuCI I can see the free memory keeps going down. And after some time I am unable to access LuCI at all. Going to the devics’s IP in a browser brings me to a blank page with this error:

/usr/lib/lua/luci/dispatcher.lua:315: /etc/config/luci seems to be corrupt, unable to find section ‘main’ stack traceback:

[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:315: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:208: in function </usr/lib/lua/luci/dispatcher.lua:207>

A reboot helps temporarily, and I can access LuCI, but I get the same errors again after a few minutes. Reflashing OpenWRT did not help. As a sidenote, I do also have an TP-Link Archer C6v2 as well, and updating packages and LuCl works fine on it. I read that the Archer c60 just got switched from ar71xx to ath79 (I don’t understand the details of it much), is this because of that? Because I tried OpenWRT 18.06 (ar71xx) on my Archer c60 a few weeks ago and I did not have these errors then.


09.12.20192662Base systemBug ReportVery LowLowmt7628an_hiwifi_hc5761a usb has no powerTrunkUnconfirmed Task Description

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

 

I have test on hiwifi_hc5761a usb is no power,can’t not work.

verison: openwrt trunk latest version


08.12.20192661Base systemBug ReportVery LowLowWeekdays restrcition in FW rule do not workTrunkUnconfirmed Task Description

Supply the following if possible:
- Device Netgear R6220
- Software versions LuCI openwrt-19.07 branch (git-19.334.63023-039ef1f) / OpenWrt 19.07.0-rc2 r10775-db8345d8e4
- Steps to reproduce
Create accept FW rule with some weekday restrictions.
Weekdays restrictions are stored in the configuration file as list, and do not get applied to the firewall rules. (ie rule is just ignored by firewall)
Manually changing the firewall config file from
list weekdays ‘Sun’ list weekdays ‘Sat’

to
Option weekdays ‘Sun Sat’

will fix the issue. The rule is properly load and shows up in the GUI. Upon edition, the GUI put back the list weekdays.

 


08.12.20192660PackagesBug ReportVery LowHighPlease tune down cifsd to avoid OOMopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: TP-Link Archer C7 v2
- Software versions of OpenWrt/LEDE release, packages, etc.: OpenWRT 19.07-rc2, cifsd-tools - 2019-11-25-49d0c401-1, kmod-fs-cifsd - 4.14.156+2019-11-22-511ee7e8-1, luci-app-cifsd - git-19.332.23110-3e90684-1
- Steps to reproduce: play a “heavy” video file (e.g. a BluRay rip) using VLC from an SMB share.

According to the documentation at https://github.com/namjaejeon/cifsd-tools/blob/master/Documentation/configuration.txt, cifsd has some buffers that are way too big for embedded devices. The template configuration supplied by luci-app-cifsd (?) does not take this into account, thus making it too easy to invoke the OOM killer by accident with the default settings.

In particular, I am worried about these parameters and their default values:

* max open files: default 10000, not sure what would be the reasonable value for others.
* smb2 max read: default 4 MB, I am quite happy with 65536 bytes.
* smb2 max write, smb2 max trans: same.
* cache read buffers, cache trans buffers: default yes, these need investigation whether it makes sense to default to “no”.

08.12.20192659Base systemBug ReportVery LowMediumRE450v2 QCA9880 5GHz Memory leakopenwrt-19.07Unconfirmed Task Description

Device: TP-Link RE450v2
OpenWRT: 19.07.0-rc{1,2} ath79 build (18.06 not tested)

Steps to reproduce:
Activating 5GHz network with following drivers in use:
ath10k-firmware-qca988x-ct 2019-10-03-d622d160-1
kmod-ath10k-ct 4.14.156+2019-09-09-5e8cd86f-1

When you activate the 5GHz WiFi you can see how the memory gets eaten up slowly, it takes max. 5-10 min until the device runs out of memory and will not be reachable anymore (except ping). Already tried different things, like no crack protection, different channels, auto channels, all signal width, without 802.11r.
With the mainline drivers:
ath10k-firmware-qca988x - 2019-10-03-d622d160-1
kmod-ath10k - 4.14.156+4.19.85-1-1
everything seems to work fine. So an easy workaround could be reverting these files in the automatic build.

07.12.20192658Base systemBug ReportVery LowLowAter upgrade from 18.06.2 to 18.06.5 WAN LED stopped t...openwrt-18.06Unconfirmed Task Description

- Device problem occurs on

 Linksys WRT3200ACM

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

 OpenWrt 18.06.5 r7897-9d401013fc / LuCI openwrt-18.06 branch (git-19.309.48729-bc17ef6) 

- Steps to reproduce

Ater upgrade from 18.06.2 to 18.06.5 WAN LED stopped to work after reboot. I can force this LED saving configuration (I do not change anything simply press Save & Apply)


config led ‘led_wan’

      option name 'WAN'
      option sysfs 'pca963x:rango:white:wan'
      option trigger 'netdev'
      option mode 'link tx rx'
      option dev 'pppoe-wan'
      option default '1'
07.12.20192657Base systemBug ReportVery LowLowFailsafe mode dosn't work on MikroTik (RB750r2, RB951Ui...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: MikroTik RB750r2, RB951Ui-2HnD
- Software versions of OpenWrt/LEDE: 18.06.5 fresh install

So I have several of both of these devices, and I can’t seem to do
boot to failsafe on them. After some initial difficulties I tried
some experiements with freshly flashed systems...

1) If I try the “wait for the 5Hz flashing LED then press button” method, it goes to 10Hz flashing and never stops... never responds
to pings on 192.168.1.1.

2) If I try the “watch for message on network with tcpdump”
method, no such message appears. Here I’ve tried both WAN and LAN
ports, and used tcpdump with and without filters (without filters
I see a bunch of stuff, but not the “please press button now”
message).

The above holds for both types of boxes. They work fine otherwise,
for basic as routers/access points.

I’d be happy to more testing... I have ar least one 750r2 that’s not
in service.

07.12.20192656Base systemBug ReportVery LowCriticalKernel panic caused by init with x86_64 and glibc-2.27openwrt-19.07Unconfirmed Task Description

A kernel panic caused by init occurs during boot when using glibc-2.27.

Updating the glibc version used to glibc-2.28 does not fix this. Updating the glibc version to glibc-2.30 fixes the panic and it boots successfully.

If updating beyond glibc-2.27, the ppp package needs to have the last patch 600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch removed and a new patch put in its place to remove the explicit -I CFLAG that points to the host system openssl installation due to the removal of crypt in glibc versions > 2.27.

--- a/pppd/Makefile.linux
+++ b/pppd/Makefile.linux
@@ -140,7 +140,6 @@ endif

 ifdef NEEDDES
 ifndef USE_CRYPT
-CFLAGS   += -I/usr/include/openssl
 LIBS     += -lcrypto
 else
 CFLAGS   += -DUSE_CRYPT=1

Similarly, the ppp package Makefile would need to be updated to have a build and install dependency of openssl.

 
07.12.20192655Base systemBug ReportVery LowMediumFailed to build Perlopenwrt-19.07Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
- Software versions of OpenWrt/LEDE release, packages, etc.
- Steps to reproduce
Operating system Ubuntu 19.10
Using openwrt master library and openwrt 19.07 Library
gcc9.2 and gcc 8.3
Error building Perl with glibc
Without any changes to the code

05.12.20192653Base systemFeature RequestVery LowLowGL-iNet 6416A migrated from ar71xx to ath79openwrt-19.07Unconfirmed Task Description

The 6416A is very similar to that of the AR150, but AR150 was migrated to ath79, 6416A has not yet.

04.12.20192652KernelBug ReportVery LowCriticalDirect firmware load for ath10k/QCA988X/hw2.0/ct-firmwa...openwrt-19.07Unconfirmed Task Description

Device: TP-Link Archer C7 V2
Build: openwrt-19.07.0-rc2-ar71xx-generic-archer-c7-v2-squashfs

Steps to reproduce:
1. Flash the image
2. Boot device and see kernel log

Expected result: Successfully loaded firmware

Actual result: Many attempts to load firmware with final status “firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed” Low performance on 5GHz SpeedTest

Kernel log:

[    0.000000] Linux version 4.14.156 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r10775-db8345d8e4)) #0 Sat Nov 30 15:52:33 2019
[    0.000000] MyLoader: sysp=00080000, boardp=00000000, parts=00000000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined 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 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] free_area_init_node: node 0, pgdat 804ead30, node_mem_map 81000020
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] random: get_random_bytes called from 0x804ee740 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7-V2  console=ttyS0,115200 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: 124296K/131072K available (3944K kernel code, 195K rwdata, 516K rodata, 328K init, 211K bss, 6776K 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:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008295] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.074984] pid_max: default: 32768 minimum: 301
[    0.080079] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.087122] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.096406] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106904] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.114337] NET: Registered protocol family 16
[    0.120164] MIPS: machine is TP-LINK Archer C7
[    0.127962] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.133466] registering PCI controller with io_map_base unset
[    0.139702] registering PCI controller with io_map_base unset
[    0.636127] PCI host bridge to bus 0000:00
[    0.640492] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.647822] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.653749] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.660979] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.669417] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.669524] PCI host bridge to bus 0000:01
[    0.673907] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.681215] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.687150] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.694370] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.702831] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
[    0.702885] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.702939] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.703012] pci 0000:01:00.0: supports D1 D2
[    0.703174] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.703196] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.710987] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.721462] clocksource: Switched to clocksource MIPS
[    0.727692] NET: Registered protocol family 2
[    0.733085] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.740507] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.747317] TCP: Hash tables configured (established 1024 bind 1024)
[    0.754192] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.760415] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.767315] NET: Registered protocol family 1
[    0.772018] PCI: CLS 0 bytes, default 32
[    0.774337] Crashlog allocated RAM at address 0x3f00000
[    0.780893] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.791954] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.798157] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.816198] io scheduler noop registered
[    0.820367] io scheduler deadline registered (default)
[    0.826224] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.834733] console [ttyS0] disabled
[    0.858619] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.867805] console [ttyS0] enabled
[    0.875230] bootconsole [early0] disabled
[    0.889099] m25p80 spi0.0: found w25q128, expected m25p80
[    0.905426] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.910649] 5 tp-link partitions found on MTD device spi0.0
[    0.916329] Creating 5 MTD partitions on "spi0.0":
[    0.921196] 0x000000000000-0x000000020000 : "u-boot"
[    0.927610] 0x000000020000-0x0000001a3174 : "kernel"
[    0.933761] 0x0000001a3174-0x000000ff0000 : "rootfs"
[    0.939420] mtd: device 2 (rootfs) set to be root filesystem
[    0.945259] 1 squashfs-split partitions found on MTD device rootfs
[    0.951549] 0x000000460000-0x000000ff0000 : "rootfs_data"
[    0.959188] 0x000000ff0000-0x000001000000 : "art"
[    0.965094] 0x000000020000-0x000000ff0000 : "firmware"
[    0.972722] libphy: Fixed MDIO Bus: probed
[    0.987098] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.682299] libphy: ag71xx_mdio: probed
[    2.312986] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.324244] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: rgmii
[    2.601460] random: fast init done
[    2.953008] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: sgmii
[    2.961042] NET: Registered protocol family 10
[    2.969636] Segment Routing with IPv6
[    2.973483] NET: Registered protocol family 17
[    2.978026] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.991636] 8021q: 802.1Q VLAN Support v1.8
[    2.997161] hctosys: unable to open rtc device (rtc0)
[    3.008375] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.016762] Freeing unused kernel memory: 328K
[    3.021273] This architecture does not have kernel memory protection.
[    3.697022] init: Console is alive
[    3.700658] init: - watchdog -
[    4.864155] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.925014] usbcore: registered new interface driver usbfs
[    4.930667] usbcore: registered new interface driver hub
[    4.936179] usbcore: registered new device driver usb
[    4.945589] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.953550] ehci-platform: EHCI generic platform driver
[    4.958929] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.965002] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.975286] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.981392] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    5.011498] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.018700] hub 1-0:1.0: USB hub found
[    5.022823] hub 1-0:1.0: 1 port detected
[    5.027191] ehci-platform ehci-platform.1: EHCI Host Controller
[    5.033274] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    5.043567] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    5.049671] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    5.081538] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    5.088725] hub 2-0:1.0: USB hub found
[    5.092846] hub 2-0:1.0: 1 port detected
[    5.097697] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.115421] init: - preinit -
[    6.321585] eth1: link up (1000Mbps/Full duplex)
[    6.344679] random: procd: uninitialized urandom read (4 bytes read)
[    9.689070] jffs2: notice: (472) jffs2_build_xattr_subsystem: complete building xattr subsystem, 5 of xdatum (3 unchecked, 2 orphan) and 34 of xref (2 dead, 0 orphan) found.
[    9.707841] mount_root: switching to jffs2 overlay
[    9.736909] overlayfs: upper fs does not support tmpfile.
[    9.750570] urandom-seed: Seeding with /etc/urandom.seed
[    9.877048] eth1: link down
[    9.891025] procd: - early -
[    9.894601] procd: - watchdog -
[   10.517609] procd: - watchdog -
[   10.521047] procd: - ubus -
[   10.643911] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.652247] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.659064] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.666380] procd: - init -
[   11.465542] urngd: v1.0.0 started.
[   11.707725] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.718325] random: crng init done
[   11.721799] random: 6 urandom warning(s) missed due to ratelimiting
[   11.755686] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.770749] Loading modules backported from Linux version v4.19.85-0-gc63ee2939dc1
[   11.778475] Backport generated by backports.git v4.19.85-1-0-g8a8be258
[   11.787511] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.800920] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   11.929908] xt_time: kernel timezone is -0000
[   12.097573] PPP generic driver version 2.4.2
[   12.104120] NET: Registered protocol family 24
[   12.132091] pci 0000:01:00.0: using irq 41 for pin 1
[   12.137137] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[   12.146305] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   12.152264] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   13.096140] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:01:00.0.txt failed with error -2
[   13.106853] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.288487] firmware ath10k!fwcfg-pci-0000:01:00.0.txt: firmware_loading_store: map pages failed
[   13.297680] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   13.308565] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.451094] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   13.463396] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   13.474559] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.615058] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   13.624679] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   13.635828] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.776735] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   13.786367] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   13.797254] ath10k_pci 0000:01:00.0: Falling back to user helper
[   13.938738] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   13.948112] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   13.959000] ath10k_pci 0000:01:00.0: Falling back to user helper
[   14.099763] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   14.109124] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   14.120012] ath10k_pci 0000:01:00.0: Falling back to user helper
[   14.261884] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   14.271202] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   14.282086] ath10k_pci 0000:01:00.0: Falling back to user helper
[   14.422969] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   14.435929] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.445331] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.457737] ath10k_pci 0000:01:00.0: firmware ver 10.1-ct-8x-__fW-022-64cc8007 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 156478f0
[   14.569243] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   14.579881] ath10k_pci 0000:01:00.0: Falling back to user helper
[   14.657585] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   14.688898] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   15.964494] ath10k_pci 0000:01:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   15.981266] ath10k_pci 0000:01:00.0: wmi print 'P 128 V 8 T 410'
[   15.987606] ath10k_pci 0000:01:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   15.995749] ath10k_pci 0000:01:00.0: wmi print 'alloc rem: 20904 iram: 26072'
[   16.058310] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   16.071137] ath10k_pci 0000:01:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   16.204315] ath: EEPROM regdomain: 0x0
[   16.204322] ath: EEPROM indicates default country code should be used
[   16.204325] ath: doing EEPROM country->regdmn map search
[   16.204337] ath: country maps to regdmn code: 0x3a
[   16.204342] ath: Country alpha2 being used: US
[   16.204345] ath: Regpair used: 0x3a
[   16.264915] ath: EEPROM regdomain: 0x0
[   16.264923] ath: EEPROM indicates default country code should be used
[   16.264926] ath: doing EEPROM country->regdmn map search
[   16.264938] ath: country maps to regdmn code: 0x3a
[   16.264943] ath: Country alpha2 being used: US
[   16.264946] ath: Regpair used: 0x3a
[   16.282830] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   16.284467] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   16.352357] kmodloader: done loading kernel modules from /etc/modules.d/*
[   27.114332] eth1: link up (1000Mbps/Full duplex)
[   27.119093] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   27.158349] br-lan: port 1(eth1.1) entered blocking state
[   27.163872] br-lan: port 1(eth1.1) entered disabled state
[   27.169604] device eth1.1 entered promiscuous mode
[   27.174514] device eth1 entered promiscuous mode
[   27.251827] br-lan: port 1(eth1.1) entered blocking state
[   27.257317] br-lan: port 1(eth1.1) entered forwarding state
[   27.263153] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.338597] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.381584] device eth0 entered promiscuous mode
[   27.386365] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   28.121557] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   28.128432] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   28.362967] eth0: link up (1000Mbps/Full duplex)
[   28.367796] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.421613] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   29.721348] ath: EEPROM regdomain: 0x8324
[   29.725456] ath: EEPROM indicates we should expect a country code
[   29.731654] ath: doing EEPROM country->regdmn map search
[   29.737036] ath: country maps to regdmn code: 0x3e
[   29.741908] ath: Country alpha2 being used: UA
[   29.746415] ath: Regpair used: 0x3e
[   29.749954] ath: regdomain 0x8324 dynamically updated by user
[   29.755867] ath: EEPROM regdomain: 0x8324
[   29.759931] ath: EEPROM indicates we should expect a country code
[   29.766132] ath: doing EEPROM country->regdmn map search
[   29.771529] ath: country maps to regdmn code: 0x3e
[   29.776388] ath: Country alpha2 being used: UA
[   29.780893] ath: Regpair used: 0x3e
[   29.784447] ath: regdomain 0x8324 dynamically updated by user
[   32.102710] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   33.138056] ath10k_pci 0000:01:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   33.154824] ath10k_pci 0000:01:00.0: wmi print 'P 128 V 8 T 410'
[   33.161137] ath10k_pci 0000:01:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   33.169307] ath10k_pci 0000:01:00.0: wmi print 'alloc rem: 20904 iram: 26072'
[   33.237518] ath10k_pci 0000:01:00.0: pdev param 0 not supported by firmware
[   33.252465] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   33.258790] br-lan: port 2(wlan1) entered blocking state
[   33.264235] br-lan: port 2(wlan1) entered disabled state
[   33.269896] device wlan1 entered promiscuous mode
[   33.279402] br-lan: port 3(wlan0) entered blocking state
[   33.284857] br-lan: port 3(wlan0) entered disabled state
[   33.290518] device wlan0 entered promiscuous mode
[   33.321361] ath: EEPROM regdomain: 0x8348
[   33.325480] ath: EEPROM indicates we should expect a country code
[   33.331687] ath: doing EEPROM country->regdmn map search
[   33.337071] ath: country maps to regdmn code: 0x3a
[   33.341946] ath: Country alpha2 being used: US
[   33.346450] ath: Regpair used: 0x3a
[   33.349990] ath: regdomain 0x8348 dynamically updated by user
[   33.355923] ath: EEPROM regdomain: 0x8348
[   33.359984] ath: EEPROM indicates we should expect a country code
[   33.366186] ath: doing EEPROM country->regdmn map search
[   33.371583] ath: country maps to regdmn code: 0x3a
[   33.376448] ath: Country alpha2 being used: US
[   33.380945] ath: Regpair used: 0x3a
[   33.384493] ath: regdomain 0x8348 dynamically updated by user
[   33.491392] ath: EEPROM regdomain: 0x8324
[   33.495499] ath: EEPROM indicates we should expect a country code
[   33.501786] ath: doing EEPROM country->regdmn map search
[   33.507176] ath: country maps to regdmn code: 0x3e
[   33.512061] ath: Country alpha2 being used: UA
[   33.516579] ath: Regpair used: 0x3e
[   33.520112] ath: regdomain 0x8324 dynamically updated by user
[   33.526111] ath: EEPROM regdomain: 0x8324
[   33.530177] ath: EEPROM indicates we should expect a country code
[   33.536388] ath: doing EEPROM country->regdmn map search
[   33.541792] ath: country maps to regdmn code: 0x3e
[   33.546650] ath: Country alpha2 being used: UA
[   33.551155] ath: Regpair used: 0x3e
[   33.554702] ath: regdomain 0x8324 dynamically updated by user
[   40.451496] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   40.458174] br-lan: port 2(wlan1) entered blocking state
[   40.463613] br-lan: port 2(wlan1) entered forwarding state
[   45.823947] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   45.830702] br-lan: port 3(wlan0) entered blocking state
[   45.836153] br-lan: port 3(wlan0) entered forwarding state


04.12.20192651Base systemBug ReportVery LowLowTp-Link Archer C60 V2, openwrt-ath79-generic, 5Ghz ena...openwrt-19.07Unconfirmed Task Description

- Device problem occurs on Archer C60 V2
- Software versions: Powered by LuCI Master (git-19.337.71995-796301a) / OpenWrt SNAPSHOT r11618-416d2cc71e

I’ve installed via TFTP “openwrt-19.07.0-rc2-ath79-generic-tplink_archer-c60-v2-squashfs-factory.bin” but because of some “out of memory” errors, i’ve upgraded to “openwrt-ath79-generic-tplink_archer-c60-v2-squashfs-sysupgrade.bin” in the hope of solving.
The problems continued, so i wrote to forum (https://forum.openwrt.org/t/tp-link-archer-c60-v2-19-07-0-rc2-ath79-snapshot-out-of-memory/49725) and i saw that other users had the same problem that they solved by disabling 5 Ghz.
Disabling the 5Ghz actually “out of memory” problems disappear. I was also able to install additional packages without problem.

 


03.12.20192650Base systemBug ReportVery LowMediumr7800 19.07-rc2 unable to change channel for ACopenwrt-19.07Unconfirmed Task Description

- Device problem occurs on - Linux r7800 4.14.156 #0 SMP Sat Nov 30 15:52:33 2019 armv7l GNU/Linux
- Software versions of OpenWrt/LEDE release - 19.07-rc2

in Luci when change channel number change actually never gets committed, when do manually in /etc/config/wireless and then reboot router comes up with 5GHz network disabled, after changing back to default channel 36 5GHz network is usable again.

please provide steps to collect log

in dmesg only:

(wlan0) entered blocking state
(wlan0) entered disabled state
   
02.12.20192648PackagesFeature RequestVery LowLow[libs] libnftnl bump version 1.1.5AllUnconfirmed Task Description

dot release 1.1.5, change log attached

https://netfilter.org/news.html#2019-12-02
https://netfilter.org/projects/libnftnl/downloads.html#libnftnl-1.1.5

 


01.12.20192647Base systemBug ReportVery LowHighEA6350v3 (IPQ4018) memory usage climbs until processes ...openwrt-19.07Unconfirmed Task Description

Device is Linksys EA6350v3

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

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

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

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

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

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

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

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

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

01.12.20192646Base systemBug ReportVery LowLowKernel panics with docler on openwrt x86-64TrunkUnconfirmed Task Description

I have been setting up openwrt for an i7-3770 server. I have it booting from uefi, with dual rootfs partition so I can upgrade with sysupgrade safely from openwrt itself. It’s really cool building openwrt from inside itself.

All seems to work wonderfully, but one important detail, which renders the whole thing unusable. The kernel panics again and again when using docker. The back traces are so different that I have no clue what the problem really is.

All I know for sure is it happens when docker is running. The usually are (if not always) general protection faults, but the hardware is rock solid, has been for 6+ years. The same dockers work fine on ubuntu on the same hardware, so I suspect the kernel, but as I said, I haven’t been able to stabilize it at all. I tried both 4.14 and 4.19, and I even tried to build openwrt with a newer kernel, but that’s not a 2 hours job, it’s way more involved.

01.12.20192645Base systemBug ReportVery LowCritical18.06.3 - Broken compatibility with flash on bcm6538 ba...openwrt-18.06Unconfirmed Task Description

Supply the following if possible:
- Device problem occurs on: Pirelli A226M
- Software versions of OpenWrt/LEDE release: 18.06.3
- Steps to reproduce: just flash a 18.06.3 version or greater and verify the device won’t boot, hanging when it gets to mount local flash. 18.06.1 is working, never tried 18.06.2.

[    1.065798] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.073562] Please append a correct "root=" boot option; here are the available partitions:
[    1.082174] 1f00             128 mtdblock0 [    1.086283]  (driver?)
[    1.088718] 1f01           16128 mtdblock1 [    1.092823]  (driver?)
[    1.095210] 1f02             128 mtdblock2 [    1.099366]  (driver?)
[    1.101798] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
 


01.12.20192644Base systemBug ReportVery LowLowdnsmasq-full: Cannot satisfy dependenciesopenwrt-19.07Unconfirmed Task Description

Environment:
arch: mips
model: TP-link WDR4300
Openwrt: 19.07.0-rc1

Description:
I probably overlooked but hit the following issue where unable to install dnsmasq-full. Actually downloading only already gives the following warning and wonder if I can/should force-install:

# opkg install dnsmasq-full --download-only
Downloading http://downloads.openwrt.org/releases/19.07.0-rc1/packages/mips_24kc/base/dnsmasq-full_2.80-14_mips_24kc.ipk
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for dnsmasq-full:
 * 	kernel (= 4.14.151-1-342af9e4f67b3447c53216ab8e3b12a1)
 * opkg_install_cmd: Cannot install package dnsmasq-full.
30.11.20192643Base systemBug ReportVery LowHighEspressoBin: Internal error: synchronous parity or ECC ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

Hardware name: Globalscale Marvell ESPRESSOBin Board (DT)

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

11595-g5d2a900163

- Steps to reproduce

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

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

Hello;
- Device: TP-Link TD-W8970 V1
- OpenWRT Release: 18.06.4 to 18.06.5

In 18.06.2 I have a problem with “wifi LED” and I reported it as “ FS#2098 “. In 18.06.4, It was fixed but I have a new problem: When PPP Link established and Internet connected, the Internet LED does not Light up! If I use “/etc/init.d/led restart” command to restart It manually after the connection was established, the LED will light, But in case of restating the pppoe-wan or rebooting the device, It will turn off again.

29.11.20192641KernelBug ReportVery LowCriticalDevice file for USB does not appear /dev/ttyUSB*openwrt-19.07Unconfirmed Task Description

With new version 19.7.0rc I could not make my USB cellular (3g) modem dongle to work due to it simply no any serial device like /dev/ttyUSB* file appear with insertion.
In kernel log it appears report about new device insertion and nothing happenings after.
I made several attempts, with ‘modeswitch’ or without and several other ‘mods’ the result is the same no any /dev/ttyUSB*
With other version it was not such problem it appeared exactly three /dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 es well as on my Ubuntu 19.04 And Ubuntu 16.04 Ubuntu 18.04

Both router and dongle are USB-2
Actually router is Asus RT-N16
and modem dongle is Alcatel One Touch X090S

P.S. I need this one to be solved to report other bugs. :)

28.11.20192640Base systemBug ReportVery LowLowFailed to sync jffs2 overlayopenwrt-19.07Unconfirmed Task Description

GL-B1300
19.07-SNAPSHOT

Every time I run a sys upgrade I get “failed to sync jffs2 overlay” message in the log (log is configured during the setup by a custom script under /etc/uci-defaults). The error happens during execution of the command: “cp -a /tmp/root/upper/* / 2>/dev/null” in “libfstools/overlay.c”. By the time the copy command runs, the files under /etc/uci-defaults are already deleted and it looks like the “deletion marker” files cannot be copied in this case.

I re-run the command myself after a successful upgrade and got the following logs.

cp -a /tmp/root/upper/* /root/test/
cp: can’t create ‘/root/test/etc/uci-defaults/luci-sqm’: Operation not permitted
cp: can’t create ‘/root/test/etc/uci-defaults/ddns’: Operation not permitted
cp: can’t create ‘/root/test/etc/uci-defaults/bcp38’: Operation not permitted

ls -la /tmp/root/upper/etc/uci-defaults/
c——— 1 root root 0, 0 Nov 26 16:48 bcp38
c——— 1 root root 0, 0 Nov 26 16:48 ddns
c——— 1 root root 0, 0 Nov 26 16:48 luci-sqm

More details: https://forum.openwrt.org/t/getting-error-failed-to-sync-jffs2-overlay/47742


28.11.20192639KernelBug ReportVery LowCriticalkernel oops when visit a invalid virtual addressTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

 youku-l2

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

 snapshot. at 
 Linux OpenWrt 4.14.155 #0 SMP Sun Nov 24 22:17:34 2019 mips GNU/Linux

- Steps to reproduce

 I don't know. but this problem occurs, from the device reboot, after several hours or one or two days, the oops occurs. 
 
BusyBox v1.31.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r11591-c5497ebb1c
 -----------------------------------------------------
root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1574977671.59411
Modules:        pppoe@8ee64000+22f0     ppp_async@8efa2000+1bc0 pppox@8e8de000+58a       ppp_generic@8e9f8000+5c82        nf_conntrack_ipv6@8f094000+15c0 mt76x2e@8f0ec000+2910    mt76x2_common@8f0f0000+2d88      mt76x02_lib@8f150000+a421       mt7603e@8ef30000+96cc    mt76@8e978000+7f5d       mac80211@8e900000+77c89 iptable_nat@8eff6000+3b0                 ipt_REJECT@8f023000+410  ipt_MASQUERADE@8e80b000+2f0     cfg80211@8ef40000+3f4f9          xt_time@8f0ba000+730     xt_tcpudp@8f0b7000+750  xt_state@8f0b4000+310   xt_nat@8f0b0000+650       xt_multiport@8f0a7000+550       xt_mark@8f0a4000+2f0    xt_mac@8f0a0000+2b0      xt_limit@8f09e000+4f0    xt_conntrack@8f07e000+910       xt_comment@8f067000+230          xt_TCPMSS@8e8d7000+b30   xt_REDIRECT@8f09c000+310        xt_LOG@8e8fb000+350              xt_FLOWOFFLOAD@8e8f8000+c30      xt_CT@8e8f5000+ab0      slhc@8f090000+14bb               nf_reject_ipv4@8ef96000+903      nf_nat_redirect@8ef9a000+63b    nf_nat_masquerade_ipv4@8ef9d000+71c       nf_conntrack_ipv4@8f064000+1450 nf_nat_ipv4@8e8b0000+1031                nf_nat@8f080000+3a7c     nf_log_ipv4@8efd5000+df0        nf_flow_table_hw@8e8e5000+920    nf_flow_table@8efb8000+367f      nf_defrag_ipv6@8efb2000+147e    nf_defrag_ipv4@8e8e8000+4b6       nf_conntrack_rtcache@8e8ea000+b10       nf_conntrack@8ef80000+11bca              iptable_mangle@8e8d8000+470      iptable_filter@8f7ed000+3d0     ip_tables@8e8d4000+2bdd  crc_ccitt@8e80e000+42b   compat@8e8d0000+1de4    ledtrig_usbport@8f7e4000+b00             nf_log_ipv6@8e8c6000+10d0        nf_log_common@8f001000+baf      ip6table_mangle@8f76b000+570      ip6table_filter@8f75e000+3d0    ip6_tables@8e8c0000+2ae1        ip6t_REJECT@8efc7000+450  x_tables@8efdc000+38af  nf_reject_ipv6@8eff7000+ac8     leds_gpio@8f794000+bb0   xhci_plat_hcd@8f790000+1650      xhci_pci@8f72e000+c30   xhci_mtk@8f7f2000+1490           xhci_hcd@8f7a0000+16e09  gpio_button_hotplug@8f78e000+1ad0       usbcore@8f7c0000+21591   nls_base@8f734000+1570   usb_common@8ffe1000+a37
<6>[    2.021026] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
<6>[    2.027787] pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
<6>[    2.034511] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x602fffff pref]
<6>[    2.041702] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
<6>[    2.048423] pci 0000:00:01.0: BAR 1: assigned [mem 0x60310000-0x6031ffff]
<6>[    2.055183] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
<6>[    2.061894] pci 0000:00:00.0: PCI bridge to [bus 01]
<6>[    2.066846] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
<6>[    2.073574] pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
<6>[    2.080852] pci 0000:02:00.0: BAR 6: assigned [mem 0x60200000-0x6020ffff pref]
<6>[    2.087987] pci 0000:00:01.0: PCI bridge to [bus 02]
<6>[    2.092933] pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
<6>[    2.099653] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff pref]
<6>[    2.108218] clocksource: Switched to clocksource GIC
<6>[    2.114767] NET: Registered protocol family 2
<6>[    2.119945] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    2.126839] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    2.133270] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    2.139690] UDP hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.145452] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
<6>[    2.151946] NET: Registered protocol family 1
<7>[    2.156268] PCI: CLS 0 bytes, default 32
<6>[    2.388167] 4 CPUs re-calibrate udelay(lpj = 2924544)
<4>[    2.394747] Crashlog allocated RAM at address 0x3f00000
<6>[    2.400168] workingset: timestamp_bits=14 max_order=16 bucket_order=2
<6>[    2.414833] squashfs: version 4.0 (2009/01/31) Phillip Lougher
<6>[    2.420603] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
<5>[    2.431036] random: fast init done
<6>[    2.434139] io scheduler noop registered
<6>[    2.438310] io scheduler deadline registered (default)
<6>[    2.444494] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
<6>[    2.454582] console [ttyS0] disabled
<6>[    2.458130] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
<6>[    2.467147] console [ttyS0] enabled
<6>[    2.474027] bootconsole [early0] disabled
<4>[    2.484276] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
<6>[    2.491904] spi-mt7621 1e000b00.spi: sys_freq: 220000000
<6>[    2.498139] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
<5>[    2.503281] 4 fixed-partitions partitions found on MTD device spi0.0
<5>[    2.509651] Creating 4 MTD partitions on "spi0.0":
<5>[    2.514435] 0x000000000000-0x000000030000 : "u-boot"
<5>[    2.520678] 0x000000030000-0x000000040000 : "u-boot-env"
<5>[    2.527090] 0x000000040000-0x000000050000 : "factory"
<5>[    2.533241] 0x000000050000-0x000001000000 : "firmware"
<5>[    2.539665] 2 uimage-fw partitions found on MTD device firmware
<5>[    2.545569] Creating 2 MTD partitions on "firmware":
<5>[    2.550579] 0x000000000000-0x0000001ffad5 : "kernel"
<5>[    2.556604] 0x0000001ffad5-0x000000fb0000 : "rootfs"
<5>[    2.562721] mtd: device 5 (rootfs) set to be root filesystem
<5>[    2.568570] 1 squashfs-split partitions found on MTD device rootfs
<5>[    2.574736] 0x000000430000-0x000000fb0000 : "rootfs_data"
<6>[    2.582044] libphy: Fixed MDIO Bus: probed
<6>[    2.650253] libphy: mdio: probed
<6>[    4.054512] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
<6>[    4.061238] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
<6>[    4.072283] NET: Registered protocol family 10
<6>[    4.078487] Segment Routing with IPv6
<6>[    4.082230] NET: Registered protocol family 17
<6>[    4.086730] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
<6>[    4.099677] 8021q: 802.1Q VLAN Support v1.8
<6>[    4.106481] hctosys: unable to open rtc device (rtc0)
<6>[    4.119110] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
<6>[    4.130502] Freeing unused kernel memory: 1260K
<4>[    4.135030] This architecture does not have kernel memory protection.
<14>[    4.872669] init: Console is alive
<14>[    4.876317] init: - watchdog -
<14>[    5.882569] kmodloader: loading kernel modules from /etc/modules-boot.d/*
<6>[    6.029362] usbcore: registered new interface driver usbfs
<6>[    6.034945] usbcore: registered new interface driver hub
<6>[    6.040467] usbcore: registered new device driver usb
<4>[    6.054247] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
<4>[    6.062995] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
<6>[    6.071955] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.077277] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
<6>[    6.088345] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
<6>[    6.097519] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
<6>[    6.104357] hub 1-0:1.0: USB hub found
<6>[    6.108234] hub 1-0:1.0: 2 ports detected
<6>[    6.112875] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
<6>[    6.118241] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
<6>[    6.125705] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
<6>[    6.132341] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
<6>[    6.141347] hub 2-0:1.0: USB hub found
<6>[    6.145168] hub 2-0:1.0: 1 port detected
<14>[    6.154150] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
<14>[    6.178545] init: - preinit -
<6>[    7.177582] mtk_soc_eth 1e100000.ethernet: PPE started
<5>[    7.252645] random: procd: uninitialized urandom read (4 bytes read)
<5>[   10.531863] jffs2: notice: (482) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (3 unchecked, 4 orphan) and 43 of xref (4 dead, 0 orphan) found.
<14>[   10.553355] mount_root: switching to jffs2 overlay
<4>[   10.576616] overlayfs: upper fs does not support tmpfile.
<12>[   10.592158] urandom-seed: Seeding with /etc/urandom.seed
<6>[   10.695023] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
<14>[   10.716965] procd: - early -
<14>[   10.719988] procd: - watchdog -
<14>[   11.368370] procd: - watchdog -
<14>[   11.371872] procd: - ubus -
<5>[   11.397531] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   11.430071] random: ubusd: uninitialized urandom read (4 bytes read)
<5>[   11.436790] random: ubusd: uninitialized urandom read (4 bytes read)
<14>[   11.444092] procd: - init -
<14>[   12.071546] kmodloader: loading kernel modules from /etc/modules.d/*
<6>[   12.083773] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[   12.097818] Loading modules backported from Linux version v5.4-rc8-0-gaf42d3466bdc
<6>[   12.105474] Backport generated by backports.git v5.4-rc8-1-0-g368e8c51
<6>[   12.114103] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[   12.126620] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
<6>[   12.177575] xt_time: kernel timezone is -0000
<4>[   12.240330] bus=0x1, slot = 0x0, irq=0xff
<6>[   12.244587] mt7603e 0000:01:00.0: ASIC revision: 76030010
<14>[   12.248691] urngd: v1.0.1 started.
<5>[   12.400941] random: crng init done
<5>[   12.404350] random: 6 urandom warning(s) missed due to ratelimiting
<6>[   13.279501] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
<6>[   13.285073] mt7603e 0000:01:00.0: Build Time: 20160107100755
<6>[   13.328226] mt7603e 0000:01:00.0: firmware init done
<7>[   13.500398] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<4>[   13.513858] bus=0x2, slot = 0x1, irq=0xff
<6>[   13.518248] mt76x2e 0000:02:00.0: ASIC revision: 76120044
<6>[   14.269373] mt76x2e 0000:02:00.0: ROM patch build: 20141115060606a
<6>[   14.279042] mt76x2e 0000:02:00.0: Firmware Version: 0.0.00
<6>[   14.284520] mt76x2e 0000:02:00.0: Build: 1
<6>[   14.288650] mt76x2e 0000:02:00.0: Build Time: 201507311614____
<6>[   14.308213] mt76x2e 0000:02:00.0: Firmware running!
<7>[   14.315892] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
<6>[   14.323384] PPP generic driver version 2.4.2
<6>[   14.329343] NET: Registered protocol family 24
<14>[   14.337138] kmodloader: done loading kernel modules from /etc/modules.d/*
<6>[   18.442839] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
<6>[   20.695431] mtk_soc_eth 1e100000.ethernet: PPE started
<6>[   20.705271] br-lan: port 1(eth0.1) entered blocking state
<6>[   20.710862] br-lan: port 1(eth0.1) entered disabled state
<6>[   20.716991] device eth0.1 entered promiscuous mode
<6>[   20.721938] device eth0 entered promiscuous mode
<6>[   20.731335] br-lan: port 1(eth0.1) entered blocking state
<6>[   20.736800] br-lan: port 1(eth0.1) entered forwarding state
<6>[   20.743072] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
<6>[   21.504643] pppoe-wan: renamed from ppp0
<6>[   21.759034] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
<6>[   25.485868] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
<6>[   25.499062] br-lan: port 2(wlan1) entered blocking state
<6>[   25.504430] br-lan: port 2(wlan1) entered disabled state
<6>[   25.510505] device wlan1 entered promiscuous mode
<6>[   25.555437] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
<6>[   25.566445] br-lan: port 3(wlan0) entered blocking state
<6>[   25.571826] br-lan: port 3(wlan0) entered disabled state
<6>[   25.577853] device wlan0 entered promiscuous mode
<6>[   25.583186] br-lan: port 3(wlan0) entered blocking state
<6>[   25.588566] br-lan: port 3(wlan0) entered forwarding state
<6>[   26.063776] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   26.077173] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.083073] br-lan: port 4(wlan0-1) entered disabled state
<6>[   26.089464] device wlan0-1 entered promiscuous mode
<6>[   26.099208] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
<6>[   26.105510] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.111095] br-lan: port 4(wlan0-1) entered forwarding state
<6>[   26.662628] br-lan: port 4(wlan0-1) entered disabled state
<6>[   26.669241] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   26.676001] br-lan: port 2(wlan1) entered blocking state
<6>[   26.681401] br-lan: port 2(wlan1) entered forwarding state
<6>[   26.695246] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
<6>[   26.703001] br-lan: port 4(wlan0-1) entered blocking state
<6>[   26.708650] br-lan: port 4(wlan0-1) entered forwarding state
<6>[   26.723751] br-lan: port 5(wlan0-2) entered blocking state
<6>[   26.729417] br-lan: port 5(wlan0-2) entered disabled state
<6>[   26.735733] device wlan0-2 entered promiscuous mode
<6>[   26.742641] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
<6>[   26.748867] br-lan: port 5(wlan0-2) entered blocking state
<6>[   26.754465] br-lan: port 5(wlan0-2) entered forwarding state
<6>[   27.177925] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
<1>[159983.016519] CPU 1 Unable to handle kernel paging request at virtual address 07406000, epc == 801317c0, ra == 80131674
<4>[159983.027206] Oops[#1]:
<4>[159983.029559] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.155 #0
<4>[159983.035718] task: 8fc3c100 task.stack: 8fc5c000
<4>[159983.040314] $ 0   : 00000000 00000001 00000000 81266650
<4>[159983.045615] $ 4   : 806061fc 00000001 00000001 07406000
<4>[159983.050915] $ 8   : 000289b4 000289b3 00000000 00000001
<4>[159983.056211] $12   : 00000002 00000000 c0222b40 00009180
<4>[159983.061507] $16   : 8fc02a00 01090220 807a0000 8ea80000
<4>[159983.066803] $20   : 00000018 00000800 00000000 01080020
<4>[159983.072101] $24   : 3b9aca00 80008e2c
<4>[159983.077399] $28   : 8fc5c000 8fc0b9c8 00000000 80131674
<4>[159983.082697] Hi    : 00002665
<4>[159983.085647] Lo    : 94af5487
<4>[159983.088611] epc   : 801317c0 __kmalloc_track_caller+0x20c/0x290
<4>[159983.094591] ra    : 80131674 __kmalloc_track_caller+0xc0/0x290
<4>[159983.100478] Status: 11007c03     KERNEL EXL IE
<4>[159983.104737] Cause : 40800008 (ExcCode 02)
<4>[159983.108810] BadVA : 07406000
<4>[159983.111762] PrId  : 0001992f (MIPS 1004Kc)
<4>[159983.115920] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
<4>[159983.186680] Process swapper/1 (pid: 0, threadinfo=8fc5c000, task=8fc3c100, tls=00000000)
<4>[159983.194820] Stack : 80666658 8eec1e00 00000000 00000000 0000006c 8ee726c0 00000000 01080020
<4>[159983.203242]         8038772c 80383e60 00000000 00000000 284162c7 b901a8c0 fb0000e0 8ee726c0
<4>[159983.211663]         8ee726c0 00000000 00000740 00000018 8ef3cc00 8038772c 00000000 80600000
<4>[159983.220082]         00000004 00000000 00000000 8ef3cc00 8ee726c0 8ef77ab2 8ee726c0 00000018
<4>[159983.228504]         8ef3cc00 00000000 00000000 8e932214 000000e1 806061fc 8fc0bb44 8fc0bb4c
<4>[159983.236932]         ...
<4>[159983.239455] Call Trace:
<4>[159983.241987] [<801317c0>] __kmalloc_track_caller+0x20c/0x290
<4>[159983.247645] [<80383e60>] __kmalloc_reserve.isra.45+0x44/0xac
<4>[159983.253388] [<8038772c>] pskb_expand_head+0x8c/0x328
<4>[159983.258565] [<8e932214>] ieee80211_skb_resize+0x19c/0xde0 [mac80211]
<4>[159983.265045] [<8e932b44>] ieee80211_skb_resize+0xacc/0xde0 [mac80211]
<4>[159983.271514] [<8f080e1c>] nf_xfrm_me_harder+0x830/0xa90 [nf_nat]
<4>[159983.277497] Code: 00000000  8e020014  00e23821 <8ce20000> 10000012  cc400000  10400005  00000000  8e060010
<4>[159983.287311]
<4>[159983.289013] ---[ end trace de892621f972e570 ]---

===================================
Time: 1574977671.67638
root@OpenWrt:~#
 
28.11.20192638KernelBug ReportVery LowCriticalNot enough host controller resources for new device sta...AllUnconfirmed Task Description

After connecting the usb hub and two identical e3372h modems, receives the following error:

kern.info kernel: [ 4313.927551] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
kern.info kernel: [ 4313.963934] hub 2-1:1.0: USB hub found
kern.info kernel: [ 4313.968328] hub 2-1:1.0: 4 ports detected
kern.info kernel: [ 4314.107232] usb 1-1: new high-speed USB device number 16 using xhci-mtk
kern.info kernel: [ 4314.309707] hub 1-1:1.0: USB hub found
kern.info kernel: [ 4314.314024] hub 1-1:1.0: 4 ports detected
kern.err kernel: [ 4315.449126] usb 1-1-port2: Cannot enable. Maybe the USB cable is bad?
kern.info kernel: [ 4323.227134] usb 1-1.1: new high-speed USB device number 19 using xhci-mtk
kern.info kernel: [ 4323.359684] usb-storage 1-1.1:1.0: USB Mass Storage device detected
kern.info kernel: [ 4323.366475] scsi host3: usb-storage 1-1.1:1.0
kern.info kernel: [ 4323.667042] usb 1-1.4: new high-speed USB device number 20 using xhci-mtk
kern.warn kernel: [ 4323.799302] usb 1-1.4: Not enough host controller resources for new device state.
kern.err kernel: [ 4323.806875] usb 1-1.4: can't set config #1, error -12
kern.info kernel: [ 4324.317141] usb 2-1: USB disconnect, device number 2
kern.notice kernel: [ 4324.428273] scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
kern.notice kernel: [ 4324.441876] scsi 3:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
kern.notice kernel: [ 4324.469348] sd 3:0:0:1: [sdb] Attached SCSI removable disk
kern.info kernel: [ 4324.667338] usb 2-1: new SuperSpeed USB device number 3 using xhci-mtk
kern.info kernel: [ 4324.703318] hub 2-1:1.0: USB hub found
kern.info kernel: [ 4324.707765] hub 2-1:1.0: 4 ports detected
kern.info kernel: [ 4324.975384] usb 1-1.1: USB disconnect, device number 19
kern.info kernel: [ 4325.377043] usb 1-1.1: new high-speed USB device number 21 using xhci-mtk
kern.warn kernel: [ 4325.508714] usb 1-1.1: Not enough host controller resources for new device state.
kern.err kernel: [ 4325.516294] usb 1-1.1: can't set config #1, error -12
kern.info kernel: [ 4332.655468] usb 1-1.4: USB disconnect, device number 20
kern.info kernel: [ 4333.567032] usb 1-1.4: new high-speed USB device number 22 using xhci-mtk
kern.info kernel: [ 4333.699727] usb-storage 1-1.4:1.0: USB Mass Storage device detected
kern.info kernel: [ 4333.706535] scsi host3: usb-storage 1-1.4:1.0
kern.info kernel: [ 4334.703592] usb 1-1.4: USB disconnect, device number 22
kern.info kernel: [ 4335.106995] usb 1-1.4: new high-speed USB device number 23 using xhci-mtk
kern.warn kernel: [ 4335.238608] usb 1-1.4: Not enough host controller resources for new device state.
kern.err kernel: [ 4335.246174] usb 1-1.4: can't set config #1, error -12
kern.info kernel: [ 4335.254656] usb 1-1.1: USB disconnect, device number 21
kern.info kernel: [ 4335.556999] usb 1-1.1: new high-speed USB device number 24 using xhci-mtk
kern.warn kernel: [ 4335.689333] usb 1-1.1: Not enough host controller resources for new device state.
kern.err kernel: [ 4335.697209] usb 1-1.1: can't set config #1, error -12
kern.info kernel: [ 4338.571247] usb 2-1: USB disconnect, device number 3
kern.info kernel: [ 4338.937429] usb 2-1: new SuperSpeed USB device number 4 using xhci-mtk
kern.info kernel: [ 4338.973068] hub 2-1:1.0: USB hub found
kern.info kernel: [ 4338.977396] hub 2-1:1.0: 4 ports detected
28.11.20192637Base systemBug ReportHighHighhostapd ubus reload makes OpenWrt as WiFi client very u...TrunkNew Task Description

Commit 60fb4c92b6b0d1582d31e02167b90b424185f3a2 (hostapd: add ubus reload) breaks WiFi client connectivity when for some reason the association does not succeed immediately.

I started seeing this problem on all my Raspberry Pi Zero W devices, where WiFi takes a long time to come up due to the lack of entropy:

[   32.392170] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  104.672670] random: crng init done
[  104.685751] random: 3 urandom warning(s) missed due to ratelimiting
[  105.436537] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

At this point, the Raspberry Pi is associated to the AP, but the DHCP client is not running. This is the output of ifstatus lan:

{
        "up": false,
        "pending": false,
        "available": false,
        "autostart": true,
        "dynamic": false,
        "proto": "dhcp",
        "data": {

        },
        "errors": [
                {
                        "subsystem": "interface",
                        "code": "NO_DEVICE"
                }
        ]
}

Running ifup lan fixes the problem, but this is of course not easy to do on headless devices.

Later I also experienced this problem on a Raspberry Pi 3 A, which does not have the low entropy problem. In this case the delayed association was caused by a power outage, and the Raspberry Pi booted faster than the APs.

27.11.20192636Base systemBug ReportVery LowMediumTurris Onmia: sysupgrade is brokenTrunkUnconfirmed Task Description

I just found that a sysupgrade fails on mvebu_cortexa9 → Turris Omnia using
“OpenWrt SNAPSHOT, r11595-5d2a900163”

Steps to reproduce:
- install OpenWrt master (r11595-5d2a900163) via medkit; hold reset-button on powerup till 4 LEDs are flashing
- wait till OpenWrt is installed
- login
- “cd /tmp” - “wget http://downloads.openwrt.org/snapshots/targets/mvebu/cortexa9/openwrt-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz” - “sysupgrade -n openwrt-mvebu-cortexa9-cznic_turris-omnia-sysupgrade.img.gz” - following output will come up


root@OpenWrt:/tmp# sysupgrade -n /tmp/openwrt-mvebu-cortexa9-cznic_turris-omnia-
sysupgrade.img.gz
zcat: write error: Broken pipe
zcat: write: Broken pipe
Unable to determine upgrade device
Image check failed.
26.11.20192635Base systemBug ReportVery LowLow5 GHz radio / modem doesn't workTrunkUnconfirmed Task Description

Hello Team!

Since the last update from 18.06 to 19.07.0-rc1 my 5 GHz radio /
wireless controller doesn’t work. Please can you help me (log in the
attachment)?

Regards
Falko

26.11.20192634Base systemBug ReportVery LowCriticalLuci allows access if root password is cleared and lock...AllUnconfirmed Task Description

Luci doesn’t correctly handle a disabled, empty password for root.
Deleting and disabling the root password makes the luci interface accessible without a password.

Steps to reproduce:
- Delete root password (passwd -d root)
- Lock root password (passwd -l root)
- Try to access Luci

25.11.20192632KernelBug ReportVery LowLowIncomplete HNAPT FoE entries, HW flow offloading not wo...TrunkUnconfirmed Task Description

Using current snapshot, HW flow offloading is not working. Hardware flow offloading entries seem to be incomplete. Most of them lack new addresses, ports and MAC addreses. Interestingly, the only entries which are complete are for flows which are reflected by NAT (port forwarding). But packets of these flows also seem to go via the software path, as counters in conntrack keep increasing (I assume that with HW flow offloading accounting should not work.).

Model
ASUS RT-AC65P
Architecture
MediaTek MT7621 ver:1 eco:3
Firmware Version
OpenWrt SNAPSHOT r11583-68fb38548b / LuCI Master git-19.327.83508-5e1253f
Kernel Version
4.14.155

root@OpenWrt:~# cat /sys/kernel/debug/mtk_ppe/all_entry | grep state=[^I]
(302)0x00302|state=UNBIND|type=IPV4_HNAPT|92.119.160.52:57404->217.144.202.174:48022=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(3d2)0x003d2|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:53312->217.144.204.173:37185=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(3ea)0x003ea|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:54235->217.144.204.173:52164=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fb|info2=0x0|vlan1=0|vlan2=0
(456)0x00456|state=UNBIND|type=IPV4_HNAPT|103.79.154.155:29724->217.144.204.173:23=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001f9|info2=0x0|vlan1=0|vlan2=0
(49e)0x0049e|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64590->139.59.210.197:443=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(4b8)0x004b8|state=UNBIND|type=IPV4_HNAPT|139.59.210.197:443->217.144.XXX.YYY:64592=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(52e)0x0052e|state=UNBIND|type=IPV4_HNAPT|185.175.93.105:59022->217.144.205.174:18789=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(536)0x00536|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64041->192.168.1.1:22=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(560)0x00560|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:62177->217.144.XXX.YYY:25094=>192.168.1.1:1024->192.168.1.250:94|40:b0:76:3e:c7:7c=>f0:de:f1:07:c3:04|etype=0x0800|info1=0x500001fa|info2=0x7ff020|vlan1=1|vlan2=0
(61a)0x0061a|state=UNBIND|type=IPV4_HNAPT|195.150.8.21:3194->217.144.XXX.YYY:62461=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x500000f7|info2=0x0|vlan1=0|vlan2=0
(69c)0x0069c|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64591->139.59.210.197:443=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(728)0x00728|state=UNBIND|type=IPV4_HNAPT|51.91.212.79:37854->217.144.XXX.YYY:6443=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f6|info2=0x0|vlan1=0|vlan2=0
(8c2)0x008c2|state=UNBIND|type=IPV4_HNAPT|185.143.223.185:57177->217.144.204.173:37638=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(a8a)0x00a8a|state=UNBIND|type=IPV4_HNAPT|92.118.37.86:44194->217.144.205.210:1656=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f9|info2=0x0|vlan1=0|vlan2=0
(ae8)0x00ae8|state=UNBIND|type=IPV4_HNAPT|185.176.221.238:49680->217.144.204.52:60090=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fa|info2=0x0|vlan1=0|vlan2=0
(c1e)0x00c1e|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:53312->217.144.204.116:36732=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(c58)0x00c58|state=UNBIND|type=IPV4_HNAPT|79.100.86.244:20241->217.144.XXX.YYY:36662=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x500001fc|info2=0x0|vlan1=0|vlan2=0
(c66)0x00c66|state=UNBIND|type=IPV4_HNAPT|94.23.90.20:443->217.144.205.89:54228=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fb|info2=0x0|vlan1=0|vlan2=0
(cc8)0x00cc8|state=UNBIND|type=IPV4_HNAPT|192.168.1.250:94->192.168.1.1:1024=>217.144.XXX.YYY:25094->192.168.1.100:62177|40:b0:76:3e:c7:7c=>90:2b:34:35:7d:d5|etype=0x0800|info1=0x500000fa|info2=0x7ff020|vlan1=1|vlan2=0
(dec)0x00dec|state=UNBIND|type=IPV4_HNAPT|45.88.79.190:53312->217.144.204.142:38783=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100000f8|info2=0x0|vlan1=0|vlan2=0
(f28)0x00f28|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64352->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(f2a)0x00f2a|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64353->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(f2c)0x00f2c|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64354->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
(f56)0x00f56|state=UNBIND|type=IPV4_HNAPT|192.168.1.100:64351->192.168.1.1:80=>0.0.0.0:0->0.0.0.0:0|00:00:00:00:00:00=>00:00:00:00:00:00|etype=0x0000|info1=0x100001fc|info2=0x0|vlan1=0|vlan2=0
25.11.20192631Base systemBug ReportVery LowMediumsysntp often fails when using DHCP provided serveropenwrt-19.07Unconfirmed Task Description

I’m managing a network with 25 openwrt WLAN access points (mostly TL-WR1043ND v1, a few v2 and a few zbt-2626) and since updating to 19.07 some devices often have an incorrect time. All are configured to get their NTP server from DHCP and this happen on all models.

When this happen ntpd is simply not running and starting it restore the correct time right away. It is hard to says if ntpd crash or if it never started in the first place. Last time I checked all affected devices had been restarted recently so I would first suspect some race condition during boot.

25.11.20192630KernelFeature RequestVery LowLowconsider building netconsole into kernel (or as module)openwrt-18.06Unconfirmed Task Description

I have intermittent problems with my TP-Link (ipq806x) router locking up or rebooting. During these events, it’s rare to have anything in the logs (written to local persistent storage) or to the configured remote syslog server.

I looked into enabling netconsole in an effort to catch kernel messages during an event, but:

~/openwrt/openwrt-imagebuilder-18.06.4-ipq806x.Linux-x86_64$ find . -type f -exec grep -H NETCONSOLE {} \;
./build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/linux-ipq806x/linux-4.14.131/.config:# CONFIG_NETCONSOLE is not set
./target/linux/generic/config-4.9:# CONFIG_NETCONSOLE is not set
./target/linux/generic/config-4.14:# CONFIG_NETCONSOLE is not set

please consider building netconsole either into the kernel or as a loadable module.

25.11.20192629Base systemBug ReportVery LowLowiwinfo fails to query infos via nl80211 on Archer C7 v2TrunkUnconfirmed Task Description

TP-Link Archer C7 v2
OpenWrt 19.07 (f97d2351e2c1282cdfa0e5126bd6eef56d0e8252)

Iwinfo fails to query nl80211 and falls back to the generic wext interface and therefore offers little information.

I’ve attached the strace output in the file “out” and the config used to build this image.

root@OpenWrt:/tmp# strace -s 100 -f -o out -x $(which iwinfo)
radio0_vlan101 ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Master  Channel: unknown (unknown)
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: wext  HW Mode(s): 802.11a
          Hardware: 168C:003C 0000:0000 [Generic WEXT]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: radio0_vlan101

radio0_vlan110 ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Master  Channel: unknown (unknown)
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: wext  HW Mode(s): 802.11a
          Hardware: 168C:003C 0000:0000 [Generic WEXT]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: radio0_vlan110

radio0_vlan130 ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Master  Channel: unknown (unknown)
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: wext  HW Mode(s): 802.11a
          Hardware: 168C:003C 0000:0000 [Generic WEXT]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: radio0_vlan130

radio1_vlan101 ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Master  Channel: unknown (unknown)
          Tx-Power: 17 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: wext  HW Mode(s): 802.11bg
          Hardware: unknown [Generic WEXT]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: radio1_vlan101

radio1_vlan130 ESSID: unknown
          Access Point: 00:00:00:00:00:00
          Mode: Master  Channel: unknown (unknown)
          Tx-Power: 17 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: unknown
          Bit Rate: unknown
          Encryption: unknown
          Type: wext  HW Mode(s): 802.11bg
          Hardware: unknown [Generic WEXT]
          TX power offset: unknown
          Frequency offset: unknown
          Supports VAPs: no  PHY name: radio1_vlan130
25.11.20192628KernelBug ReportVery LowMediumEthernet erroropenwrt-19.07Unconfirmed Task Description

Model ZBT-WG3526 (16M)
Architecture - MediaTek MT7621 ver:1 eco:3
Firmware version - OpenWrt 19.07-SNAPSHOT r10731-e68d589e7b / LuCI openwrt-19.07 branch git-19.326.61751-179c5e8
Kernel version- 4.14.155

 Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.762093] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.770348] br-VLAN8: port 2(wlan1) entered blocking state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.775981] br-VLAN8: port 2(wlan1) entered forwarding state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.784594] br-VLAN6: port 3(wlan1-1) entered blocking state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.790393] br-VLAN6: port 3(wlan1-1) entered disabled state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.796955] device wlan1-1 entered promiscuous mode
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.803794] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.810026] br-VLAN6: port 3(wlan1-1) entered blocking state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  106.815820] br-VLAN6: port 3(wlan1-1) entered forwarding state
Mon Nov 25 10:11:25 2019 kern.info kernel: [  107.343567] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
Mon Nov 25 11:10:20 2019 kern.info kernel: [ 3641.266434] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
Mon Nov 25 11:37:14 2019 kern.info kernel: [ 5255.651116] TCP: request_sock_TCP: Possible SYN flooding on port 88. Sending cookies.  Check SNMP counters.
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5510.958004] ------------[ cut here ]------------
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5510.962647] WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:320 0x8038e1c0
Mon Nov 25 11:41:29 2019 kern.info kernel: [ 5510.969709] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5510.976660] Modules linked in: qcserial pppoe ppp_async option cdc_mbim usb_wwan sierra_net sierra rndis_host qmi_wwan pppox ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm cdc_ether 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_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY wireguard usbserial usbnet usblp ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5511.047339]  nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conntrack iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat cdc_wdm cdc_acm fuse ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5511.118581]  x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel tun vfat fat nls_utf8 nls_iso8859_1 nls_cp437 uas mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ahci libahci libata ehci_platform sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usbcore nls_base usb_common mii crc32c_generic
Mon Nov 25 11:41:29 2019 kern.warn kernel: [ 5511.149081] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.155 #0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.155177] Stack : 00000000 00000000 00000000 8fe6d540 00000000 00000000 00000000 00000000
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.163556]         00000000 00000000 00000000 00000000 00000000 00000001 8fc0bd60 ac07f582
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.171942]         8fc0bdf8 00000000 00000000 000093c8 00000038 8049e458 00000008 00000000
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.180305]         00000000 80550000 00024659 00000000 8fc0bd40 00000000 00000000 8050c830
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.188647]         8038e1c0 00000140 00000001 8fe6d540 00000000 802b02b8 00000004 805b0004
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.196980]         ...
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.199415] Call Trace:
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.199535] [<8049e458>] 0x8049e458
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.205440] [<8038e1c0>] 0x8038e1c0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.208923] [<802b02b8>] 0x802b02b8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.212412] [<800101a0>] 0x800101a0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.215881] [<800101a8>] 0x800101a8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.219354] [<804873a4>] 0x804873a4
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.222825] [<800759a0>] 0x800759a0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.226315] [<800325b8>] 0x800325b8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.229802] [<8038e1c0>] 0x8038e1c0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.233316] [<80032640>] 0x80032640
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.236785] [<800d20e8>] 0x800d20e8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.240287] [<8038e1c0>] 0x8038e1c0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.243757] [<8009d860>] 0x8009d860
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.247237] [<8038e014>] 0x8038e014
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.250711] [<8008c3dc>] 0x8008c3dc
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.254181] [<80063108>] 0x80063108
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.257662] [<8008c698>] 0x8008c698
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.261136] [<8007cfe8>] 0x8007cfe8
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.264627] [<804a5240>] 0x804a5240
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.268102] [<80036f74>] 0x80036f74
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.271573] [<8025daf0>] 0x8025daf0
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.275054] [<8000b488>] 0x8000b488
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.278548]
Mon Nov 25 11:41:30 2019 kern.warn kernel: [ 5511.280144] ---[ end trace f0b0ca1dd55db7a7 ]---
Mon Nov 25 11:41:30 2019 kern.err kernel: [ 5511.284782] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.291016] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.297053] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0dc00000, max=0, ctx=1789, dtx=1789, fdx=1788, next=1789
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.307977] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0db60000, max=0, calc=893, drx=894
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.321091] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Mon Nov 25 11:41:30 2019 kern.info kernel: [ 5511.334877] mtk_soc_eth 1e100000.ethernet: PPE started

24.11.20192627Base systemBug ReportVery LowMediumpppd does not recognize anymore sessions timeouts/disco...openwrt-18.06Unconfirmed Task Description

Model TP-Link Archer C2600
Architecture ARMv7 Processor rev 0 (v7l)
Firmware Version OpenWrt 18.06.5 r7897-9d401013fc / LuCI openwrt-18.06 branch (git-19.318.37269-ca98eae)
Kernel Version 4.14.151

Package name Version
kmod-ppp 4.14.151-1
kmod-pppoe 4.14.151-1
kmod-pppox 4.14.151-1
luci-proto-ppp git-19.318.37269-ca98eae-1
ppp 2.4.7-12
ppp-mod-pppoe 2.4.7-12
pppstats 2.4.7-12

With 18.06.4 whenever my DSL line was down pppd recognized some PAD timeouts and terminated the pppoe session or recognized the pppoe session as terminated. Now with 18.06.5 pppd does not recognize anymore the PAD0 (iirc) timeouts when my DSL connection is down. The pppoe session keeps going on even when WAN/DSL is back online but I have then of course no Internet connectivity. I have then to manually restart the pppoe session (Luci > Interfaces > WAN restart) to get Internet connectivity again. In System Log I also dont see anymore the mentioned PAD timeouts which were logged with previous .4 release. I use an external Modem connected to the WAN port.

23.11.20192626Base systemBug ReportVery LowCriticalWestern Digital MyBook Live Single iptables issueopenwrt-19.07Waiting on reporter Task Description

Hello.

https://downloads.openwrt.org/releases/19.07.0-rc1/targets/apm821xx/sata/openwrt-19.07.0-rc1-apm821xx-sata-wd_mybooklive-ext4-sysupgrade.img.gz

root@OpenWrt:~# iptables -L
iptables v1.8.3 (legacy): can’t initialize iptables table `filter’: Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

Thank you.

23.11.20192625Base systemBug ReportVery LowLowWiFi clients are isolated on WRT1900acs v2 running 19.0...TrunkUnconfirmed Task Description

I did an upgrade on a WRT1900acs v2 router (my backup router) that was running 18.06.4 (I think) via LuCI using the image “openwrt-19.07.0-rc1-mvebu-cortexa9-linksys_wrt1900acs-squashfs-sysupgrade.bin” keeping the old configuration. Everything seemed good except the clients could not connect or ping each other. The router could reach/ping the clients. This was the case whether or not “Isolate Clients” is set in the LuCI Wireless → Edit → Advanced Settings.

I noticed that if I connect an ethernet wire to one of the clients (a Raspberry Pi) and hook it to the router that I could connect/ping the Pi using either the IP associated with the ethernet connection or the IP associated with the WiFi connection from another client. When I disconnect the ethernet on the Pi I can no longer connect to the Pi’s wireless IP
address.

I decided to reinstall 19.07.0-rc1 to see where the isolated client behavior starts. After I reinstalled 19.07.0-rc1 I restored the configuration using LuCI System → Backup / Flash Firmware → Restore Backup. After it rebooted it was working, clients were not isolated. I installed a few packages that I wanted, here’s the list:

ca-bundle_20190110-1_all.ipk
ca-certificates_20190110-1_all.ipk
kmod-tun_4.14.151-1_arm_cortex-a9_vfpv3.ipk
liblzo2_2.10-2_arm_cortex-a9_vfpv3.ipk
libmbedtls12_2.16.3-1_arm_cortex-a9_vfpv3.ipk
libopenssl1.1_1.1.1d-2_arm_cortex-a9_vfpv3.ipk
libustream-mbedtls20150806_2019-11-05-c9b66682-2_arm_cortex-a9_vfpv3.ipk
openvpn-mbedtls_2.4.7-2_arm_cortex-a9_vfpv3.ipk

Everything still working. I wanted WPA3 so I removed wpad-basic and installed

wpad-openssl_2019-08-08-ca8c2bd2-1_arm_cortex-a9_vfpv3.ipk

Everything still working. I changed the 5 Ghz wifi from WPA2-SPK to WPA3-SAE. Everything still working. I changed the 2.4 Ghz wifi from WPA2-SPK to WPA2-SPK/WPA3-SAE mixed. This is when it stopped working. I don’t know if this last step actually caused the problem since setting both wifi networks back to WPA2-SPK and rebooting (and unplugging for 5 minutes) does not fix the problem, clients are still isolated. Pretty much all clients are on the 2.4 Ghz network.

Here are a couple bits of diagnostic which may or may not be helpful:

————→ when everything is working (clients not isolated):

# cat /sys/devices/virtual/net/eth0.1/brport/hairpin_mode
0

# cat /sys/devices/virtual/net/eth0.1/brport/isolated
0

# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=36

tx_queue_data2_burst=2.0
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SU-BEAMFORMER][SU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP7]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=folly_5g
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=62:38:e0:12:78:f3

# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
hw_mode=g
beacon_int=100
channel=7

ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=folly
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=62:38:e0:12:78:f2

————→ when it’s not working (clients isolated)

# cat /sys/devices/virtual/net/eth0.1/brport/hairpin_mode
0

# cat /sys/devices/virtual/net/eth0.1/brport/isolated
0

# cat /var/run/hostapd-phy0.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=36

tx_queue_data2_burst=2.0
ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]
vht_oper_chwidth=1
vht_oper_centr_freq_seg0_idx=42
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SU-BEAMFORMER][SU-BEAMFORMEE][RX-ANTENNA-PATTERN
][TX-ANTENNA-PATTERN][RX-STBC-1][MAX-A-MPDU-LEN-EXP7]

interface=wlan0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
sae_require_mfp=1
wpa_passphrase=XXXXXXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=folly_5g
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=SAE
okc=1
ieee80211w=2
group_mgmt_cipher=AES-128-CMAC
bssid=62:38:e0:12:78:f3

# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
hw_mode=g
beacon_int=100
channel=7

ieee80211n=1
ht_coex=0
ht_capab=[LDPC][SHORT-GI-20][SHORT-GI-40][DSSS_CCK-40]

interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
wpa_passphrase=XXXXXXXXXX
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=folly
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
okc=0
disable_pmksa_caching=1
ieee80211w=1
group_mgmt_cipher=AES-128-CMAC
bssid=62:38:e0:12:78:f2

23.11.20192624Base systemBug ReportVery LowCritical[19.07] wired LAN crashes repeatedly after backport com...openwrt-19.07Assigned Task Description

My new 19.07 build r10733-436dbf12aa for ipq806x/R7800 started to crash the LAN connectivity immediately after the reboot. The reason is something netfilter-related. Log below.

Wireless seems to work, but wired LAN causes repeated kernel errors.

Previous known OK build was r10697-a1ff175dbf (20191116), and after I noticed this new build r10733-436dbf12aa crashing, I looked at the 19.07 commit log and looked for possible culprits.

As the most recent commit looked as the probable culprit based on the nature (netfilter), I made test build of r10732-b177b180bb and that works ok. (I then also rebuilt with r10734-15ce616c2d and naturally that crashes, too.)

router: ipq806x/R7800
kernel: 4.14.155

Good: r10732-b177b180bb
Bad: r10733-436dbf12aa

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=436dbf12aa7381bd6db1b03b36be5a73df386eb4;hp=b177b180bbdb30978aca75d59337246aed2ac268

I have not yest tested master, but as that is a commit done there today and immediately backported to 19.07, it is quite possible that the same things happens in master.

Kernel log example:

[   88.600536] ------------[ cut here ]------------
[   88.600685] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   88.604265] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic 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_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   88.664955]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   88.736015]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   88.760160] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   88.782365] Hardware name: Generic DT based system
[   88.789444] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   88.794287] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   88.802189] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   88.809209] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   88.816096] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   88.823754] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   88.834742] [<c06d30f0>] (nf_hook_slow) from [<c06dbaf0>] (ip_forward+0x304/0x3a4)
[   88.845491] [<c06dbaf0>] (ip_forward) from [<c06dab94>] (ip_rcv+0x26c/0x290)
[   88.852870] [<c06dab94>] (ip_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   88.860076] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   88.868161] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   88.878136] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   88.887942] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   88.896703] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   88.905562] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   88.914587] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   88.922837] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   88.930563] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   88.937586] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   88.944878] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   88.952334] Exception stack(0xdd461f80 to 0xdd461fc8)
[   88.959923] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   88.964962] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   88.973091] 1fc0: 60000013 ffffffff
[   88.981252] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   88.984562] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   88.992193] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   88.999222] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   89.006868] ---[ end trace b7d04976bb2993e8 ]---
[   89.020620] ------------[ cut here ]------------
[   89.020665] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   89.024304] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic 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_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   89.084961]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   89.156117]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   89.180242] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   89.202422] Hardware name: Generic DT based system
[   89.209468] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   89.214324] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   89.222224] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   89.229251] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   89.236121] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   89.243766] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   89.254779] [<c06d30f0>] (nf_hook_slow) from [<c06dbaf0>] (ip_forward+0x304/0x3a4)
[   89.265534] [<c06dbaf0>] (ip_forward) from [<c06dab94>] (ip_rcv+0x26c/0x290)
[   89.272913] [<c06dab94>] (ip_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   89.280118] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   89.288199] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   89.298179] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   89.307984] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   89.316749] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   89.325605] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   89.334632] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   89.342880] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   89.350604] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   89.357635] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   89.364925] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   89.372387] Exception stack(0xdd461f80 to 0xdd461fc8)
[   89.379949] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   89.384986] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   89.393137] 1fc0: 60000013 ffffffff
[   89.401296] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   89.404600] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   89.412238] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   89.419267] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   89.426973] ---[ end trace b7d04976bb2993e9 ]---
[   89.433868] ------------[ cut here ]------------
[   89.438700] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   89.443227] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic 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_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   89.503856]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   89.575047]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   89.599166] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   89.621345] Hardware name: Generic DT based system
[   89.628387] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   89.633245] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   89.641147] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   89.648174] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   89.655045] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   89.662687] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   89.673703] [<c06d30f0>] (nf_hook_slow) from [<c06dbaf0>] (ip_forward+0x304/0x3a4)
[   89.684457] [<c06dbaf0>] (ip_forward) from [<c06dab94>] (ip_rcv+0x26c/0x290)
[   89.691837] [<c06dab94>] (ip_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   89.699044] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   89.707121] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   89.717102] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   89.726906] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   89.735674] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   89.744529] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   89.753557] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   89.761804] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   89.769528] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   89.776558] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   89.783849] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   89.791312] Exception stack(0xdd461f80 to 0xdd461fc8)
[   89.798871] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   89.803911] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   89.812062] 1fc0: 60000013 ffffffff
[   89.820218] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   89.823524] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   89.831160] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   89.838191] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   89.845897] ---[ end trace b7d04976bb2993ea ]---
[   89.852796] ------------[ cut here ]------------
[   89.857629] WARNING: CPU: 1 PID: 0 at net/netfilter/nf_conntrack_rtcache.c:197 nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache]
[   89.862149] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pptp pppox ppp_mppe ppp_generic 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_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt compat chaoskey fuse sch_cake sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex
[   89.922786]  cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 nf_nat nf_conntrack nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 ecb des_generic
[   89.993974]  usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat crc32c_generic
[   90.018095] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W       4.14.155 #0
[   90.040268] Hardware name: Generic DT based system
[   90.047312] [<c030f2c4>] (unwind_backtrace) from [<c030b498>] (show_stack+0x14/0x20)
[   90.052168] [<c030b498>] (show_stack) from [<c079e644>] (dump_stack+0x94/0xa8)
[   90.060070] [<c079e644>] (dump_stack) from [<c031fb58>] (__warn+0xf0/0x11c)
[   90.067098] [<c031fb58>] (__warn) from [<c031fc44>] (warn_slowpath_null+0x20/0x28)
[   90.073967] [<c031fc44>] (warn_slowpath_null) from [<bf5a312c>] (nf_conn_rtcache_destroy+0xb0/0x218 [nf_conntrack_rtcache])
[   90.081613] [<bf5a312c>] (nf_conn_rtcache_destroy [nf_conntrack_rtcache]) from [<c06d30f0>] (nf_hook_slow+0x38/0xd4)
[   90.092626] [<c06d30f0>] (nf_hook_slow) from [<c0738a3c>] (ip6_forward+0x5e8/0x684)
[   90.103384] [<c0738a3c>] (ip6_forward) from [<c073a38c>] (ipv6_rcv+0x318/0x380)
[   90.110762] [<c073a38c>] (ipv6_rcv) from [<c0697e84>] (__netif_receive_skb_core+0xa2c/0xbc8)
[   90.118053] [<c0697e84>] (__netif_receive_skb_core) from [<c069a358>] (netif_receive_skb_internal+0xc0/0xd4)
[   90.126738] [<c069a358>] (netif_receive_skb_internal) from [<c077e408>] (br_handle_frame_finish+0x4d8/0x528)
[   90.136546] [<c077e408>] (br_handle_frame_finish) from [<c077e6d4>] (br_handle_frame+0x27c/0x2bc)
[   90.146351] [<c077e6d4>] (br_handle_frame) from [<c0697b60>] (__netif_receive_skb_core+0x708/0xbc8)
[   90.155118] [<c0697b60>] (__netif_receive_skb_core) from [<c069815c>] (process_backlog+0xa8/0x160)
[   90.163974] [<c069815c>] (process_backlog) from [<c069a794>] (net_rx_action+0x144/0x31c)
[   90.173000] [<c069a794>] (net_rx_action) from [<c03015c8>] (__do_softirq+0xf0/0x264)
[   90.181248] [<c03015c8>] (__do_softirq) from [<c03240fc>] (irq_exit+0xdc/0x148)
[   90.188975] [<c03240fc>] (irq_exit) from [<c030e4cc>] (handle_IPI+0xb4/0x1ac)
[   90.196004] [<c030e4cc>] (handle_IPI) from [<c03014b8>] (gic_handle_irq+0x9c/0xb8)
[   90.203293] [<c03014b8>] (gic_handle_irq) from [<c030c08c>] (__irq_svc+0x6c/0x90)
[   90.210757] Exception stack(0xdd461f80 to 0xdd461fc8)
[   90.218318] 1f80: 00000001 00000000 00000000 c0315200 ffffe000 c0b03cb8 c0b03c6c 00000000
[   90.223355] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c030862c c0308630
[   90.231506] 1fc0: 60000013 ffffffff
[   90.239665] [<c030c08c>] (__irq_svc) from [<c0308630>] (arch_cpu_idle+0x38/0x44)
[   90.242968] [<c0308630>] (arch_cpu_idle) from [<c03588e0>] (do_idle+0xe8/0x1bc)
[   90.250603] [<c03588e0>] (do_idle) from [<c0358c28>] (cpu_startup_entry+0x1c/0x20)
[   90.257634] [<c0358c28>] (cpu_startup_entry) from [<423017cc>] (0x423017cc)
[   90.265323] ---[ end trace b7d04976bb2993eb ]---
23.11.20192623Base systemBug ReportVery LowMediumJumbo Frames not possible on Archer C7 v5openwrt-19.07Unconfirmed Task Description

ip link set mtu 9000 dev eth0
RTNETLINK answers: Invalid argument

swconfig dev eth0 show

no sign of jumbo frames.

Only a payload of 1474 can be transmitted over a mtu 9000 core network, effectively.

Related issue:
https://dev.archive.openwrt.org/ticket/18296

20.11.20192620Base systemBug ReportVery LowLowDelay when connecting ethernet from router to OpenBSD o...openwrt-18.06Unconfirmed Task Description

Occurs on Linksys E1700, when connecting to a FreeBSD or OpenBSD system only. No delay with Linux, internet access is immediately available.

Started occurring after updating 18.x, never had the problem with 17.x.

After plugging in an ethernet cable there is a blinking on the router for a while until the network is accessible. I am not using DHCP on *BSD or Linux. No delay with Linux.


19.11.20192618Base systemBug ReportVery LowHigh[WNDR3700v4] [WI-FI 5G] : Could not find PHY for device...openwrt-19.07Unconfirmed Task Description
  • Device problem occurs on NETGEAR WNDR3700
  • OpenWRT Release : SNAPSHOT 19.07 (kernel 4.19.
  • Steps to reproduce

Upgrade form 18.06 (ar71xx target) to 19.07 (new ath79 target), the WLAN2.4 is working fine but the WLAN5.0 hang each time with

netifd: radio1 (18289): Could not find PHY for device ‘radio1’ netifd: radio1 (18306): WARNING: Variable ‘data’ does not exist or is not an array/object

Suspecting also this firmware error in the kernel debug :
[ 15.460151] ath9k 18100000.wmac: Direct firmware load for ath9k-eeprom-ahb-18100000.wmac.bin failed with error -2 [ 15.470625] ath9k 18100000.wmac: Falling back to syfs fallback for: ath9k-eeprom-ahb-18100000.wmac.bin


19.11.20192617Base systemBug ReportVery LowLowkernel error: WARNING: CPU: 0 PID: 0 at net/sched/sch_g...TrunkUnconfirmed Task Description

Supply the following if possible:

Model: Zbtlink ZBT-WG3526 (32M)
Architecture: MediaTek MT7621 ver:1 eco:3
Firmware Version: OpenWrt SNAPSHOT r11367-c2675bb0ce / LuCI Master (git-19.304.35036-4798b3f)
Kernel Version: 4.14.151

some times (i guess it happs more often if more traffic transfer over network ...
and then comes:

Mon Nov 18 11:36:09 2019 kern.warn kernel: [111018.374098] ------------[ cut here ]------------
Mon Nov 18 11:36:09 2019 kern.warn kernel: [111018.378858] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:320 dev_watchdog+0x1ac/0x324
Mon Nov 18 11:36:09 2019 kern.info kernel: [111018.387224] NETDEV WATCHDOG: eth0 (mtk_soc_eth): transmit queue 0 timed out
Mon Nov 18 11:36:09 2019 kern.warn kernel: [111018.394297] Modules linked in: pppoe ppp_async option usb_wwan pptp pppox ppp_mppe ppp_generic nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 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_NETMAP xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY usbserial usb_storage ts_fsm ts_bm slhc nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table
Mon Nov 18 11:36:09 2019 kern.warn kernel: [111018.465963]  nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda macvlan iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter sch_cake nf_conntrack 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 xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.536977]  nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsv4 nfsv3 nfs ip_gre gre ifb ip_tunnel tun vfat fat lockd sunrpc grace ext4 mbcache jbd2 dns_resolver dm_mirror dm_region_hash dm_log dm_crypt dm_mod dax nls_utf8 nls_iso8859_1 nls_cp437 sha1_generic ecb arc4 crc32c_generic mmc_block mtk_sd mmc_core leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.582182] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.151 #0
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.588345] Stack : 00000000 8fd3a040 ffffffff 800775e4 80630000 805cab5c 00000000 00000000
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.596780]         80593ba0 8fc09dcc 80606ecc 80606a47 8058e924 00000001 8fc09d70 ac07f58e
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.605200]         00000000 00000000 80780000 00000000 807784a0 000001b3 00000008 00000000
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.613617]         00000000 00000000 0008e226 70617773 00000000 00000000 80630000 803c7210
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.622033]         805c4964 00000140 00000000 8fd3a040 00000008 802e6b18 00000000 80770000
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.630451]         ...
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.632975] Call Trace:
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.635528] [<8000c4d4>] show_stack+0x58/0x100
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.640074] [<804c543c>] dump_stack+0x9c/0xe0
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.644509] [<8002fd10>] __warn+0xe0/0x140
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.648673] [<8002f954>] warn_slowpath_fmt+0x30/0x3c
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.653721] [<803c7210>] dev_watchdog+0x1ac/0x324
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.658494] [<8008e5ec>] call_timer_fn.isra.28+0x24/0x84
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.663866] [<8008e94c>] run_timer_softirq+0x1bc/0x248
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.669093] [<804e2740>] __do_softirq+0x128/0x2e8
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.673869] [<800346e0>] irq_exit+0xa8/0xc4
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.678145] [<80294204>] plat_irq_dispatch+0xf0/0x13c
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.683259] [<800074c8>] except_vec_vi_end+0xb8/0xc4
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.688294] [<80008e48>] r4k_wait_irqoff+0x1c/0x24
Mon Nov 18 11:36:10 2019 kern.warn kernel: [111018.693315] ---[ end trace aa5fe4565dc85793 ]---
Mon Nov 18 11:36:10 2019 kern.err kernel: [111018.698070] mtk_soc_eth 1e100000.ethernet eth0: transmit timed out
Mon Nov 18 11:36:10 2019 kern.info kernel: [111018.704386] mtk_soc_eth 1e100000.ethernet eth0: dma_cfg:80000065
Mon Nov 18 11:36:10 2019 kern.info kernel: [111018.710478] mtk_soc_eth 1e100000.ethernet eth0: tx_ring=0, base=0eb60000, max=0, ctx=2860, dtx=2860, fdx=2859, next=2860
Mon Nov 18 11:36:10 2019 kern.info kernel: [111018.721444] mtk_soc_eth 1e100000.ethernet eth0: rx_ring=0, base=0e300000, max=0, calc=970, drx=971
Mon Nov 18 11:36:10 2019 kern.info kernel: [111018.734291] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
Mon Nov 18 11:36:10 2019 kern.info kernel: [111018.747571] mtk_soc_eth 1e100000.ethernet: PPE started
18.11.20192616Base systemBug ReportVery LowLowkernel oops: OpenWrt 18.06.4, r7808-ef686b7292 TP-Link ...openwrt-18.06Unconfirmed Task Description

I experience fairly frequent reboots - I’ve yet to find a pattern. Most reboots result in no logs, but this recent oops landed in the configured rsyslog.

Nov 18 10:41:20 portcullis kernel: [517150.599295] Unable to handle kernel paging request at virtual address f6e01f16
Nov 18 10:41:20 portcullis kernel: [517150.599329] pgd = dbeec000
Nov 18 10:41:20 portcullis kernel: [517150.605406] [f6e01f16] *pgd=00000000
Nov 18 10:41:20 portcullis kernel: [517150.608194] Internal error: Oops: 5 [#1] SMP ARM
Nov 18 10:41:20 portcullis kernel: [517150.612004] Modules linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 ip
table_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 x
t_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_FLOWOFFLOAD xt_DSCP xt_CT xt_C
LASSIFY wireguard slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_
defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat br_netfilter act_connmark nf_conntrack act_skbe
dit act_mirred em_u32 cls_u32 cls_tcindex cls_flow
Nov 18 10:41:20 portcullis kernel: [517150.665467]  cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_usbport xt_set ip_set_list_set ip_set_hash_net
iface 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_ippor
t 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_commo
n ip6table_mangle ip6table_filter ip6_tables x_tables ifb ip6_udp_tunnel udp_tunnel sit tunnel4 ip_tunnel usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd
dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_h
otplug f2fs ext4 jbd2 mbcache crc32c_generic crc32_generic
Nov 18 10:41:20 portcullis kernel: [517150.737094] CPU: 0 PID: 20340 Comm: kworker/0:2 Tainted: G        W       4.14.131 #0
Nov 18 10:41:20 portcullis kernel: [517150.759318] Hardware name: Generic DT based system
Nov 18 10:41:20 portcullis kernel: [517150.767052] Workqueue: events 0xc0648488
Nov 18 10:41:20 portcullis kernel: [517150.771815] task: dbcfa300 task.stack: da71a000
Nov 18 10:41:20 portcullis kernel: [517150.775981] pc : [<c07ae748>]    lr : [<c0564bd8>]    psr: a0000013
Nov 18 10:41:20 portcullis kernel: [517150.780671] sp : da71bd50  ip : 00000000  fp : dd7f7668
Nov 18 10:41:20 portcullis kernel: [517150.787007] r10: 00000000  r9 : ffffffff  r8 : 00000002
Nov 18 10:41:20 portcullis kernel: [517150.792301] r7 : da71bdd4  r6 : 20000013  r5 : 00000006  r4 : c0a64960
Nov 18 10:41:20 portcullis kernel: [517150.797598] r3 : 00000003  r2 : 1fffa6f0  r1 : 20000013  r0 : f6e01f16
Nov 18 10:41:20 portcullis kernel: [517150.803939] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Nov 18 10:41:20 portcullis kernel: [517150.810534] Control: 10c5787d  Table: 5deec06a  DAC: 00000051
Nov 18 10:41:20 portcullis kernel: [517150.817825] Process kworker/0:2 (pid: 20340, stack limit = 0xda71a210)
Nov 18 10:41:20 portcullis kernel: [517150.823641] Stack: (0xda71bd50 to 0xda71c000)
Nov 18 10:41:20 portcullis kernel: [517150.830162] bd40:                                     dd640258 00000001 20000013 c0564bd8
Nov 18 10:41:20 portcullis kernel: [517150.834690] bd60: dd640264 fffffffe 00000000 c0565dac 00000000 fffffffe 00000000 c0336db4
Nov 18 10:41:20 portcullis kernel: [517150.842936] bd80: dd691318 dd691304 00000000 00000002 da71bdd4 c03370b0 00000000 c0a16048
Nov 18 10:41:20 portcullis kernel: [517150.851182] bda0: dd691300 c0a13918 dd640300 00000002 3b9aca00 3b9aca00 23c34600 c03370f8
Nov 18 10:41:20 portcullis kernel: [517150.859430] bdc0: 00000000 00003208 dd54c000 c0559f14 dd54c000 dd696ec0 3b9aca00 23c34600
Nov 18 10:41:20 portcullis kernel: [517150.867676] bde0: dd54c000 dd640300 00000000 23c34600 dd4d8c00 c055b9a4 dd4d8c00 dd640058
Nov 18 10:41:20 portcullis kernel: [517150.875923] be00: 23c34600 dd4ce880 3b9aca00 3b9aca00 23c34600 c055b9d4 dd640300 23c34600
Nov 18 10:41:20 portcullis kernel: [517150.884169] be20: 00000000 dd4d8c00 dd7f7740 3b9aca00 23c34600 c055bd9c dd7f7480 23c34600
Nov 18 10:41:20 portcullis kernel: [517150.892417] be40: dd7f7640 ddc01010 dd7f7740 c055bdf8 dd7fd400 dd7f7480 dd7f7640 c05a3048
Nov 18 10:41:20 portcullis kernel: [517150.900662] be60: c0a60c8c 00000000 dcc8b740 dd7f7768 23c34600 3b9aca00 c093fca0 23c34600
Nov 18 10:41:20 portcullis kernel: [517150.908909] be80: dcc8b840 dcc8b85c 00000000 dcc8b880 000927c0 dcc8d400 ddc07540 c06493cc
Nov 18 10:41:20 portcullis kernel: [517150.917155] bea0: 00000000 c064870c 00009c40 dcc8d400 00000000 c0a60c8c 00000000 00000001
Nov 18 10:41:20 portcullis kernel: [517150.925402] bec0: 000927c0 00000000 ddc07540 c0643e14 00000002 000f4240 000927c0 00000021
Nov 18 10:41:20 portcullis kernel: [517150.933648] bee0: dcc90b00 dcc8d400 dcc90b00 dcc90b80 dcc90b80 dcc8b900 00000008 c0648044
Nov 18 10:41:20 portcullis kernel: [517150.941894] bf00: dcc90b38 00000000 dcc90b04 dcc8d400 c0a1f840 00000000 00000008 c06484c0
Nov 18 10:41:20 portcullis kernel: [517150.950142] bf20: dcc90b38 d8c31e80 ddc07540 ddc0a400 00000000 c032faa4 ddc07558 ffffe000
Nov 18 10:41:20 portcullis kernel: [517150.958388] bf40: d8c31e80 ddc07540 d8c31e98 ddc07558 ffffe000 c0a02d00 00000008 c0330b50
Nov 18 10:41:20 portcullis kernel: [517150.966635] bf60: da611ebc da543e40 da71a000 dab71340 da611ebc da543e5c d8c31e80 c033080c
Nov 18 10:41:20 portcullis kernel: [517150.974881] bf80: 00000000 c0335714 00000000 dab71340 c03355d4 00000000 00000000 00000000
Nov 18 10:41:20 portcullis kernel: [517150.983125] bfa0: 00000000 00000000 00000000 c0307da8 00000000 00000000 00000000 00000000
Nov 18 10:41:20 portcullis kernel: [517150.991374] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Nov 18 10:41:20 portcullis kernel: [517150.999619] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Nov 18 10:41:20 portcullis kernel: [517151.007851] Function entered at [<c07ae748>] from [<c0564bd8>]
Nov 18 10:41:20 portcullis kernel: [517151.016091] Function entered at [<c0564bd8>] from [<c0565dac>]
Nov 18 10:41:20 portcullis kernel: [517151.021906] Function entered at [<c0565dac>] from [<c0336db4>]
Nov 18 10:41:20 portcullis kernel: [517151.027810] Function entered at [<c0336db4>] from [<c03370b0>]
Nov 18 10:41:20 portcullis kernel: [517151.033710] Function entered at [<c03370b0>] from [<c03370f8>]
Nov 18 10:41:20 portcullis kernel: [517151.039611] Function entered at [<c03370f8>] from [<c0559f14>]
Nov 18 10:41:20 portcullis kernel: [517151.045515] Function entered at [<c0559f14>] from [<c055b9a4>]
Nov 18 10:41:20 portcullis kernel: [517151.051419] Function entered at [<c055b9a4>] from [<c055b9d4>]
Nov 18 10:41:20 portcullis kernel: [517151.057320] Function entered at [<c055b9d4>] from [<c055bd9c>]
Nov 18 10:41:20 portcullis kernel: [517151.063222] Function entered at [<c055bd9c>] from [<c055bdf8>]
Nov 18 10:41:20 portcullis kernel: [517151.069125] Function entered at [<c055bdf8>] from [<c05a3048>]
Nov 18 10:41:20 portcullis kernel: [517151.075031] Function entered at [<c05a3048>] from [<c06493cc>]
Nov 18 10:41:20 portcullis kernel: [517151.080933] Function entered at [<c06493cc>] from [<c0643e14>]
Nov 18 10:41:20 portcullis kernel: [517151.086836] Function entered at [<c0643e14>] from [<c0648044>]
Nov 18 10:41:20 portcullis kernel: [517151.092738] Function entered at [<c0648044>] from [<c06484c0>]
Nov 18 10:41:20 portcullis kernel: [517151.098639] Function entered at [<c06484c0>] from [<c032faa4>]
Nov 18 10:41:20 portcullis kernel: [517151.104544] Function entered at [<c032faa4>] from [<c0330b50>]
Nov 18 10:41:20 portcullis kernel: [517151.110447] Function entered at [<c0330b50>] from [<c0335714>]
Nov 18 10:41:20 portcullis kernel: [517151.116350] Function entered at [<c0335714>] from [<c0307da8>]
Nov 18 10:41:20 portcullis kernel: [517151.122269] Code: e5940000 e58de00c e3500000 0a000004 (e5903000)
Nov 18 10:41:20 portcullis kernel: [517151.128159] ---[ end trace 6666996ca6d0cf3e ]---
Nov 18 10:41:20 portcullis kernel: [517151.134402] Kernel panic - not syncing: Fatal exception
Nov 18 10:41:20 portcullis kernel: [517151.139194] CPU1: stopping
Nov 18 10:41:20 portcullis kernel: [517151.144567] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D W       4.14.131 #0
Nov 18 10:41:20 portcullis kernel: [517151.147082] Hardware name: Generic DT based system
Nov 18 10:41:20 portcullis kernel: [517151.154724] Function entered at [<c030f1b8>] from [<c030b388>]
Nov 18 10:41:20 portcullis kernel: [517151.159322] Function entered at [<c030b388>] from [<c07b0ed8>]
Nov 18 10:41:20 portcullis kernel: [517151.165225] Function entered at [<c07b0ed8>] from [<c030e400>]
Nov 18 10:41:20 portcullis kernel: [517151.171128] Function entered at [<c030e400>] from [<c03014b8>]
Nov 18 10:41:20 portcullis kernel: [517151.177031] Function entered at [<c03014b8>] from [<c030bf8c>]
Nov 18 10:41:20 portcullis kernel: [517151.182933] Exception stack(0xdd461f80 to 0xdd461fc8)
Nov 18 10:41:20 portcullis kernel: [517151.188864] 1f80: 00000001 00000000 00000000 c0314f40 ffffe000 c0a03c74 c0a03c28 00000000
Nov 18 10:41:20 portcullis kernel: [517151.194078] 1fa0: 00000000 512f04d0 00000000 00000000 dd461fc8 dd461fd0 c03086ac c03086b0
Nov 18 10:41:20 portcullis kernel: [517151.202301] 1fc0: 60000013 ffffffff
Nov 18 10:41:20 portcullis kernel: [517151.210536] Function entered at [<c030bf8c>] from [<c03086b0>]
Nov 18 10:41:20 portcullis kernel: [517151.214269] Function entered at [<c03086b0>] from [<c034fdb8>]
Nov 18 10:41:20 portcullis kernel: [517151.219913] Function entered at [<c034fdb8>] from [<c0350100>]
Nov 18 10:41:20 portcullis kernel: [517151.225813] Function entered at [<c0350100>] from [<423017cc>]
Nov 18 10:41:20 portcullis kernel: [517151.231727] Rebooting in 3 seconds..
18.11.20192615Base systemBug ReportVery LowLowmac80211: add support for dynamically reconfiguring wif...TrunkUnconfirmed Task Description

Unable to add encrypted mesh interface

Tested today on OpenWrt snapshot of Nov 18th
Hardware gl-ar300m
wpad-mesh-openssl installed

Mesh interface fails to come up, sometimes with segfault.

Works fine before commit https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=155ede4f1fdb192b11f8ae2dbffda5f7ef4903bd

@dangowrt and @blogic Thankyou for the all the hard work so far, much appreciated.

Reproducible as follows:

Config:
root@OpenWrt:~# cat /etc/config/wireless

config wifi-device ‘radio0’

option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/ahb/18100000.wmac'
option country 'GB'
option htmode 'HT40'
option noscan '1'
option disabled '0'
option txpower '20'

config wifi-iface ‘default_radio0’

option device 'radio0'
option network 'lan'
option mode 'ap'
option encryption 'none'
option ifname 'wlan0'
option disabled '0'
option ssid 'OpenWrt'
option wds '1'

config wifi-iface ‘mesh0’

option device 'radio0'
option ifname 'wlan0-1'
option mode 'mesh'
option mesh_fwding '1'
option disabled '0'
option network 'lan'
option mesh_rssi_threshold '-70'
option key 'meshkey'
option mesh_id 'mesh'
option encryption 'psk2/aes'

Logread after reboot:
Mon Nov 18 10:39:59 2019 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0) –> new PHY
Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.336276] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.386759] br-lan: port 2(wlan0) entered blocking state
Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.392257] br-lan: port 2(wlan0) entered disabled state
Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.398173] device wlan0 entered promiscuous mode
Mon Nov 18 10:39:59 2019 daemon.notice hostapd: wlan0: interface state UNINITIALIZED→COUNTRY_UPDATE
Mon Nov 18 10:39:59 2019 daemon.err hostapd: Using interface wlan0 with hwaddr e6:95:6e:43:c2:4b and ssid “OpenWrt” Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.657731] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.664528] br-lan: port 2(wlan0) entered blocking state
Mon Nov 18 10:39:59 2019 kern.info kernel: [ 28.670081] br-lan: port 2(wlan0) entered forwarding state
Mon Nov 18 10:39:59 2019 daemon.notice hostapd: wlan0: interface state COUNTRY_UPDATE→ENABLED
Mon Nov 18 10:39:59 2019 daemon.notice hostapd: wlan0: AP-ENABLED
Mon Nov 18 10:40:01 2019 user.notice root: ip link set dev wlan0 up
Mon Nov 18 10:40:01 2019 user.notice root: ip link set dev wlan0-1 up
Mon Nov 18 10:40:01 2019 kern.info kernel: [ 29.852996] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Mon Nov 18 10:40:01 2019 daemon.notice netifd: radio0 (1065): command failed: Link has been severed (-67)
Mon Nov 18 10:40:02 2019 daemon.notice netifd: radio0 (1065): command failed: Link has been severed (-67)
Mon Nov 18 10:40:02 2019 kern.info kernel: [ 30.797131] br-lan: port 3(wlan0-1) entered blocking state
Mon Nov 18 10:40:02 2019 kern.info kernel: [ 30.802810] br-lan: port 3(wlan0-1) entered disabled state
Mon Nov 18 10:40:02 2019 kern.info kernel: [ 30.808940] device wlan0-1 entered promiscuous mode
Mon Nov 18 10:40:02 2019 kern.info kernel: [ 30.914895] br-lan: port 2(wlan0) entered disabled state
Mon Nov 18 10:40:03 2019 kern.info kernel: [ 31.747149] do_page_fault(): sending SIGSEGV to wpa_supplicant for invalid read access from 000005b8
Mon Nov 18 10:40:03 2019 kern.info kernel: [ 31.756745] epc = 004840c9 in wpad[400000+b4000]
Mon Nov 18 10:40:03 2019 kern.info kernel: [ 31.761534] ra = 004840b3 in wpad[400000+b4000]
Mon Nov 18 10:40:05 2019 kern.info kernel: [ 34.587715] br-lan: port 2(wlan0) entered blocking state
Mon Nov 18 10:40:05 2019 kern.info kernel: [ 34.593215] br-lan: port 2(wlan0) entered forwarding state
Mon Nov 18 10:40:05 2019 daemon.notice netifd: Network device ‘wlan0’ link is up

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

 


18.11.20192614Base systemBug ReportVery LowHigh[C2600] / [Wi-Fi 5GHz] Some devices on the home network...openwrt-19.07Unconfirmed Task Description

* - Device problem occurs on TP-Link Archer C2600.

* - Software version of OpenWrt 19.07-rc1 and older 19.07.

* - From the first version, which I tested after the release of 19.07, I have a problem with 5GHz radio / Wi-Fi. On two devices: LG OLED B8 55 “OTT and Cyfrowy Polsat STB OTT does not work internet. Both devices connect to the network, but do not have access to the Internet. In the connection diagnostics on the TV, the message pops up that it is a DNS error. On 2.4 GHz Wi-Fi everything is fine.

* - I have reverted to the 18.06 to fix the problem for now.


17.11.20192613Base systemBug ReportVery LowLowKeeping luci overview page leads to loadaverage > 1TrunkUnconfirmed Task Description

I’m reporting this bug against openwrt-19.07, haven’t looked at master, I think it was also happening on 18.06 but never took time to investigate
My test router is “MikroTik RouterBOARD wAP G-5HacT2HnD” running “OpenWrt 19.07-SNAPSHOT r10700-960de44fa9 / LuCI openwrt-19.07 branch git-19.320.62787-2390e72”

When open, the overview page is doing 2 calls to ‘/cgi-bin/luci/admin/ubus’ every X seconds
Each call is taking ~270ms (according to firefox debugger)

Doing a smaller test call (from my laptop, connected over ethernet)

$ curl 'http://192.168.1.1/cgi-bin/luci/admin/ubus' -H 'Content-Type: application/json' --data '[{"jsonrpc":"2.0","id":130,"method":"call","params":["d385054a42004fcb49bd866fc8008843","file","read",{"path":"/proc/sys/net/netfilter/nf_conntrack_count"}]}]' -s -w '\n%{time_starttransfer} %{time_total}\n'
[{"id":130,"jsonrpc":"2.0","result":[0,{"data":"15\n"}]}]
0,137934 0,147648

Similar command line call

time -v ubus call file read '{"path":"/proc/sys/net/netfilter/nf_conntrack_count"}'
{
	"data": "5\n"
}
 Command being timed: "ubus call file read {"path":"/proc/sys/net/netfilter/nf_conntrack_count"}"
 User time (seconds): 0.00
 System time (seconds): 0.00
 Percent of CPU this job got: 66%
 Elapsed (wall clock) time (h:mm:ss or m:ss): 0m 0.00s

So basically requests via ‘/cgi-bin/luci/admin/ubus’ are at least 15 time slower

Playing with strace (even if it has a big impact on performance)
# strace -f -ttr -p 418 -p 1 -p 1306 -p 1058
where
1 == procd
418 == ubusd
1058 == rpcd
1306 == uhttpd
5554 == uhttpd child
I see (full trace attached)
[pid 1306] 05:33:12.627708 (+ 0.001768) accept(3, {sa_family=AF_INET, sin_port=htons(43820), sin_addr=inet_addr(”192.168.1.2”)}, [28→16]) = 8
[pid 1306] 05:33:12.661205 (+ 0.002565) fork() = 5554
[pid 1306] 05:33:12.696731 (+ 0.001535) write(12, “[{\”jsonrpc\”:\”2.0\”,\”id\”:130,\”meth”..., 158 <unfinished ...>
[pid 5554] 05:33:12.762596 (+ 0.002187) execve(”/www/cgi-bin/luci”, [”/www/cgi-bin/luci”], 0x77f03380 /* 25 vars */) = 0
[pid 5554] 05:33:15.206711 (+ 0.002222) readv(0, [{iov_base=”[{\”jsonrpc\”:\”2.0\”,\”id\”:130,\”meth”..., iov_len=157}, {iov_base=”]”, iov_len=1024}], 2) = 158
[pid 1306] 05:33:15.600031 (+ 0.002791) write(8, “\r\n”, 2) = 2

2.972323 from accept to last write
2.444115 from execve to readv
80%+ of the time is spent loading luci interface, where we “just” want to call ubus

17.11.20192609PackagesBug ReportVery LowLowDependency issues in feeds/packages on clean installopenwrt-19.07Unconfirmed Task Description

Hi.
There is a problem with dependency in packages/feeds in clean install of OpenWRT 19.07.0-rc1. Here is what I do:

git checkout openwrt-19.07
git pull
make distclean
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig (and select target)
make defconfig

and after last command I get these warnings:

WARNING: Makefile 'package/feeds/luci/luci-app-cifsd/Makefile' has a dependency on 'cifsd-tools', which does not exist
WARNING: Makefile 'package/feeds/luci/luci-proto-modemmanager/Makefile' has a dependency on 'modemmanager', which does not exist
WARNING: Makefile 'package/feeds/packages/python-zipp/Makefile' has a dependency on 'python3-more-itertools', which does not exist
tmp/.config-package.in:104681:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:104681:	symbol PACKAGE_nfs-kernel-server depends on NFS_KERNEL_SERVER_V4
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
feeds/packages/net/nfs-kernel-server/Config.in:4:	symbol NFS_KERNEL_SERVER_V4 depends on PACKAGE_nfs-kernel-server
#
# configuration written to .config
#

If I do exactly the same steps on 18.06 then no warnings/faults are received. So, I guess there are some kind of dependency issues in feeds/packages.

17.11.20192608Base systemBug ReportVery LowLowsysntpd cannot acquire time on IPv6 only networkopenwrt-19.07Unconfirmed Task Description

I’ve encountered an issue with ntpd in OpenWrt where it cannot acquire the time on an IPv6 only network, it seems that the issue lies in dns resolution by ntpd as specifying an IPv6 address instead of a domain works as expected.

By the way, I believe only 2.pool.ntp.org returns IPv6 addresses in case anyone tries to reproduce my issue.

Possibly relevant: https://dev.archive.openwrt.org/attachment/ticket/12167/0001-busybox-make-ntpd-prefer-IPv6-addresses.patch

16.11.20192607PackagesBug ReportVery LowLowodhcpd: assigns IPv4 address outside of interface subne...openwrt-19.07Unconfirmed Task Description

When a static IPv4 lease is set up for a MAC address, odhcpd assigns that address even if it is outside the configured subnet of the relevant interface.

This is a problem if one wants to set a static lease for a host that may connect to one of multiple interfaces. It is also not possible to set separate static leases for each interface, as only the last one is used.

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

Trunk and 19.07.
18.06 is unaffected.

It looks like this was introduced with https://git.openwrt.org/?p=project/odhcpd.git;a=commit;h=ca8ba91c757b1559bc6391707547d54477c8315a.

Steps to reproduce:

Steps based on fresh install of OpenWrt:

Replace odhcpd-ipv6only by odhcpd

Enable odhcpd for IPv4 and set static lease with IPv4 address outside the default lan subnet:

uci set dhcp.odhcp.maindhcp=1
uci set dhcp.lan.dhcpv4="server"

uci add dhcp host
uci set dhcp.@host[-1].mac="11:22:33:44:55:66"
uci set dhcp.@host[-1].ip="192.168.2.100"

uci commit dhcp

Expected result: IP address from 192.168.1.0/24 is assigned to host 11:22:33:44:55:66
Actual result: IP address 192.168.2.100 is assigned to host 11:22:33:44:55:66

Showing tasks 1 - 50 of 901 Page 1 of 191 - 2 - 3 - 4 - 5 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing