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.

OpenedIDCategoryTask TypePrioritySeveritySummaryReported In  ascStatus
21.11.2016296Base systemBug ReportVery LowHighUbiquiti Bullet M 10/100 ethernet interface comes up as...TrunkUnconfirmed Task Description

For the last month or so, and persisting in r2248, when a Ubiquiti Bullet M is booted through typical Ubiquiti 10/100 passive PoE injector, the interface appears to come up in gigabit mode (see timestamp 18.990274 below), despite being only a 10/100 Mbps interface. Restarting /etc/init.d/network fixes it. I am running batman-adv over the ethernet interface, which may be involved. I will check if it happens when batman-adv is not used on the interface and report in a followup comment.

The dmesg look like this:

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00030800, boardp=088201a0, parts=fdeffeff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007858] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102739] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113516] NET: Registered protocol family 16
[    0.120053] MIPS: machine is Ubiquiti Bullet M
[    0.126714] registering PCI controller with io_map_base unset
[    0.357171] PCI host bridge to bus 0000:00
[    0.361273] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368174] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373719] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380486] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388422] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388466] pci 0000:00:00.0: fixup device configuration
[    0.395018] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395154] pci 0000:00:00.0: supports D1
[    0.395179] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395521] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395573] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402864] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408959] clocksource: Switched to clocksource MIPS
[    0.415845] NET: Registered protocol family 2
[    0.421435] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428393] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434796] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441291] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447126] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453786] NET: Registered protocol family 1
[    0.458221] PCI: CLS 0 bytes, default 32
[    0.464223] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470512] Crashlog allocated RAM at address 0x1f00000
[    0.495166] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501050] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514332] io scheduler noop registered
[    0.518252] io scheduler deadline registered (default)
[    0.523724] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530709] console [ttyS0] disabled
[    0.554342] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563020] console [ttyS0] enabled
[    0.570030] bootconsole [early0] disabled
[    0.582486] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588201] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593207] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599160] Creating 5 MTD partitions on "spi0.0":
[    0.603978] 0x000000000000-0x000000040000 : "u-boot"
[    0.611975] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619659] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638850] 2 uimage-fw partitions found on MTD device firmware
[    0.644866] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651748] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658927] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671002] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685799] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713743] libphy: ag71xx_mdio: probed
[    1.302694] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312905] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322158] NET: Registered protocol family 10
[    1.332118] NET: Registered protocol family 17
[    1.336691] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349583] 8021q: 802.1Q VLAN Support v1.8
[    1.362372] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372025] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887723] init: Console is alive
[    2.891524] init: - watchdog -
[    4.278153] usbcore: registered new interface driver usbfs
[    4.283867] usbcore: registered new interface driver hub
[    4.289377] usbcore: registered new device driver usb
[    4.301662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310384] ehci-platform: EHCI generic platform driver
[    4.319460] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327414] ohci-platform: OHCI generic platform driver
[    4.336259] init: - preinit -
[    5.148878] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181862] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    7.440590] eth0: link up (100Mbps/Full duplex)
[    7.445184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.484066] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.501955] mount_root: switching to jffs2 overlay
[    8.517794] urandom-seed: Seeding with /etc/urandom.seed
[    8.794632] eth0: link down
[    8.814035] procd: - early -
[    8.817063] procd: - watchdog -
[    9.492101] procd: - ubus -
[    9.545805] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.555498] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.564637] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.574254] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.583375] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.593373] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.602738] random: ubusd: uninitialized urandom read (4 bytes read, 16 bits of entropy available)
[    9.612394] procd: - init -
[   10.066368] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.074041] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.125220] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.213939] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.224958] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.233630] ath: EEPROM regdomain: 0x0
[   10.233647] ath: EEPROM indicates default country code should be used
[   10.233661] ath: doing EEPROM country->regdmn map search
[   10.233689] ath: country maps to regdmn code: 0x3a
[   10.233705] ath: Country alpha2 being used: US
[   10.233718] ath: Regpair used: 0x3a
[   10.248634] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.257391] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.870351] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   12.001559] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.855427] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.875510] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   18.990274] eth0: link up (1000Mbps/Full duplex)
[   18.994964] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.330349] batman_adv: bat0: Adding interface: eth0
[   19.335365] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   19.359419] batman_adv: bat0: Interface activated: eth0
[   19.367077] 8021q: adding VLAN 0 to HW filter on device bat0
[   19.406417] device bat0 entered promiscuous mode
[   19.411309] br-pub: port 1(bat0) entered forwarding state
[   19.416772] br-pub: port 1(bat0) entered forwarding state
[   19.422579] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   19.870508] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   20.359133] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   20.367269] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   21.412169] br-pub: port 1(bat0) entered forwarding state
[   21.549966] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.563679] device wlan0 entered promiscuous mode
[   21.591315] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.597879] br-pub: port 2(wlan0) entered forwarding state
[   21.603541] br-pub: port 2(wlan0) entered forwarding state
[   21.784924] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.912131] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.268273] batman_adv: bat0: Adding interface: mesh0
[   22.273432] batman_adv: bat0: Interface activated: mesh0
[   23.599046] br-pub: port 2(wlan0) entered forwarding state
[   29.369162] batman_adv: bat0: IGMP Querier appeared
[   29.374093] batman_adv: bat0: MLD Querier appeared
[   34.068975] ------------[ cut here ]------------
[   34.073700] WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:306 dev_watchdog+0x1dc/0x260()
[   34.082197] NETDEV WATCHDOG: eth0 (ag71xx): transmit queue 0 timed out
[   34.088754] Modules linked in: ath9k ath9k_common mac80211 ath9k_hw ath batman_adv libcrc32c cfg80211 compat ohci_platform ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common crc16
 cryptomgr aead crypto_null crc32c_generic crypto_hash
[   34.112252] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.32 #0
[   34.118013] Stack : 803c8fc4 00000000 00000001 80420000 80413038 80412cc3 803aa67c 00000000
[   34.118013] 	  8048379c 8041135c 00000200 00100000 0000000a 800a71a8 803afce8 80410000
[   34.118013] 	  00000003 8041135c 803ae0f4 8040dc2c 0000000a 800a5124 00000006 00000000
[   34.118013] 	  00000000 801f3100 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   34.118013] 	  ...
[   34.153969] Call Trace:
[   34.156440] [<80071af0>] show_stack+0x50/0x84
[   34.160843] [<80081870>] warn_slowpath_common+0xa0/0xd0
[   34.166096] [<800818cc>] warn_slowpath_fmt+0x2c/0x38
[   34.171111] [<80290970>] dev_watchdog+0x1dc/0x260
[   34.175854] [<800b0460>] call_timer_fn.isra.5+0x24/0x80
[   34.181125] [<800b06e4>] run_timer_softirq+0x1b4/0x1fc
[   34.186296] [<80083dec>] __do_softirq+0x250/0x298
[   34.191059] [<8006a5d0>] plat_irq_dispatch+0xd4/0x10c
[   34.196134] [<80060830>] ret_from_irq+0x0/0x4
[   34.200526] [<80060a80>] __r4k_wait+0x20/0x40
[   34.204906] [<800a2304>] cpu_startup_entry+0x9c/0xe8
[   34.209934] [<80436bd4>] start_kernel+0x470/0x490
[   34.214656] 
[   34.216159] ---[ end trace ef06a4b3ec78272a ]---
[   34.220810] eth0: tx timeout
[   37.565193] random: nonblocking pool is initialized
[   44.068999] eth0: tx timeout
[   54.069064] eth0: tx timeout
[   64.068993] eth0: tx timeout
[   74.069871] eth0: tx timeout
[   82.660973] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   84.070901] eth0: tx timeout
[   92.701961] batman_adv: bat0: MLD Querier appeared
[   94.071717] eth0: tx timeout
[  104.072355] eth0: tx timeout
[  114.072669] eth0: tx timeout
[...]

When I do an /etc/init.d/network restart, the interface recovers to normal function, and I get this in dmesg:

[ 1296.763793] br-pub: port 2(wlan0) entered disabled state
[ 1296.769232] br-pub: port 1(bat0) entered disabled state
[ 1296.808305] device bat0 left promiscuous mode
[ 1296.812986] br-pub: port 1(bat0) entered disabled state
[ 1296.862085] IPv6: ADDRCONF(NETDEV_UP): bat0: link is not ready
[ 1296.879239] device wlan0 left promiscuous mode
[ 1296.883945] br-pub: port 2(wlan0) entered disabled state
[ 1296.904196] batman_adv: bat0: Interface deactivated: mesh0
[ 1296.909752] batman_adv: bat0: Removing interface: mesh0
[ 1296.963462] batman_adv: bat0: Interface deactivated: eth0
[ 1296.993492] eth0: link down
[ 1296.998705] batman_adv: bat0: Removing interface: eth0
[ 1301.629484] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1301.649941] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[ 1301.985100] eth0: link up (100Mbps/Full duplex)
[ 1301.989698] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1302.191373] batman_adv: bat0: Adding interface: eth0
[ 1302.196453] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[ 1302.220488] batman_adv: bat0: Interface activated: eth0
[ 1302.228092] 8021q: adding VLAN 0 to HW filter on device bat0
[ 1302.275944] device bat0 entered promiscuous mode
[ 1302.280747] br-pub: port 1(bat0) entered forwarding state
[ 1302.286292] br-pub: port 1(bat0) entered forwarding state
[ 1302.292106] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[ 1302.590333] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[ 1303.213417] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[ 1303.221556] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[ 1304.283452] br-pub: port 1(bat0) entered forwarding state
[ 1304.672382] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1304.782643] device wlan0 entered promiscuous mode
[ 1304.827845] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1304.834479] br-pub: port 2(wlan0) entered forwarding state
[ 1304.840053] br-pub: port 2(wlan0) entered forwarding state
[ 1305.112607] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[ 1305.190600] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[ 1305.692918] batman_adv: bat0: Adding interface: mesh0
[ 1305.698080] batman_adv: bat0: Interface activated: mesh0
[ 1306.833410] br-pub: port 2(wlan0) entered forwarding state
[ 1312.303688] batman_adv: bat0: IGMP Querier appeared
[ 1312.308629] batman_adv: bat0: MLD Querier appeared

If I disconnect the other end of the ethernet cable so that there is no link peer, I do not see the problem (see below):

[    0.000000] Linux version 4.4.32 (openwrt@hawg) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1439) ) #0 Mon Nov 21 07:14:51 2016
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=ffffffff
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] No valid device tree found, continuing without
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80412320, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] 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] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=UBNT-BM mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,7552k(firmware),256k(cfg)ro,64k(EEPROM)ro console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27616K/32768K available (2990K kernel code, 174K rwdata, 756K rodata, 296K init, 198K bss, 5152K 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:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9801335621 ns
[    0.000013] sched_clock: 32 bits at 195MHz, resolution 5ns, wraps every 11012737021ns
[    0.007859] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)
[    0.080537] pid_max: default: 32768 minimum: 301
[    0.085319] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091915] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.102743] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113517] NET: Registered protocol family 16
[    0.120061] MIPS: machine is Ubiquiti Bullet M
[    0.126721] registering PCI controller with io_map_base unset
[    0.357179] PCI host bridge to bus 0000:00
[    0.361281] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.368182] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.373728] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.380495] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.388431] pci 0000:00:00.0: [168c:002a] type 00 class 0x028000
[    0.388474] pci 0000:00:00.0: fixup device configuration
[    0.395026] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.395163] pci 0000:00:00.0: supports D1
[    0.395187] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.395530] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.395581] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.402872] pci 0000:00:00.0: using irq 40 for pin 1
[    0.408968] clocksource: Switched to clocksource MIPS
[    0.415854] NET: Registered protocol family 2
[    0.421444] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.428402] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.434805] TCP: Hash tables configured (established 1024 bind 1024)
[    0.441299] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.447134] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.453795] NET: Registered protocol family 1
[    0.458229] PCI: CLS 0 bytes, default 32
[    0.464231] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.470521] Crashlog allocated RAM at address 0x1f00000
[    0.495175] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.501058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.514341] io scheduler noop registered
[    0.518261] io scheduler deadline registered (default)
[    0.523733] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.530718] console [ttyS0] disabled
[    0.554351] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 12187500) is a 16550A
[    0.563030] console [ttyS0] enabled
[    0.570040] bootconsole [early0] disabled
[    0.582496] m25p80 spi0.0: found mx25l6405d, expected m25p80
[    0.588212] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.593216] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.599171] Creating 5 MTD partitions on "spi0.0":
[    0.603989] 0x000000000000-0x000000040000 : "u-boot"
[    0.611984] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.619662] 0x000000050000-0x0000007b0000 : "firmware"
[    0.638852] 2 uimage-fw partitions found on MTD device firmware
[    0.644868] 0x000000050000-0x0000001a0000 : "kernel"
[    0.651750] 0x0000001a0000-0x0000007b0000 : "rootfs"
[    0.658926] mtd: device 4 (rootfs) set to be root filesystem
[    0.664753] 1 squashfs-split partitions found on MTD device rootfs
[    0.671004] 0x000000550000-0x0000007b0000 : "rootfs_data"
[    0.678725] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.685800] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.713752] libphy: ag71xx_mdio: probed
[    1.302703] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.312917] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[    1.322177] NET: Registered protocol family 10
[    1.332146] NET: Registered protocol family 17
[    1.336720] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.349611] 8021q: 802.1Q VLAN Support v1.8
[    1.362390] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.372040] Freeing unused kernel memory: 296K (80436000 - 80480000)
[    2.887726] init: Console is alive
[    2.891520] init: - watchdog -
[    4.278086] usbcore: registered new interface driver usbfs
[    4.283799] usbcore: registered new interface driver hub
[    4.289318] usbcore: registered new device driver usb
[    4.301475] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.310215] ehci-platform: EHCI generic platform driver
[    4.319363] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.327317] ohci-platform: OHCI generic platform driver
[    4.336163] init: - preinit -
[    5.148612] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.181619] random: procd: uninitialized urandom read (4 bytes read, 8 bits of entropy available)
[    8.484735] jffs2: notice: (361) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    8.502585] mount_root: switching to jffs2 overlay
[    8.518273] urandom-seed: Seeding with /etc/urandom.seed
[    8.810840] procd: - early -
[    8.813863] procd: - watchdog -
[    9.487850] procd: - ubus -
[    9.541721] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.551409] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.560553] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.570163] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.579297] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.589333] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.598611] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
[    9.608223] procd: - init -
[   10.064115] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.071796] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.122372] batman_adv: B.A.T.M.A.N. advanced 2016.4 (compatibility version 15) loaded
[   10.205329] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.216362] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[   10.225034] ath: EEPROM regdomain: 0x0
[   10.225051] ath: EEPROM indicates default country code should be used
[   10.225065] ath: doing EEPROM country->regdmn map search
[   10.225093] ath: country maps to regdmn code: 0x3a
[   10.225109] ath: Country alpha2 being used: US
[   10.225122] ath: Regpair used: 0x3a
[   10.240049] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.248689] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   11.861887] random: jshn: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   11.993063] random: ubusd: uninitialized urandom read (4 bytes read, 19 bits of entropy available)
[   18.833441] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.855566] IPv6: ADDRCONF(NETDEV_UP): br-pub: link is not ready
[   21.215610] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   21.255512] device wlan0 entered promiscuous mode
[   21.286637] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   21.293301] br-pub: port 1(wlan0) entered forwarding state
[   21.298864] br-pub: port 1(wlan0) entered forwarding state
[   21.335689] IPv6: ADDRCONF(NETDEV_CHANGE): br-pub: link becomes ready
[   21.541225] IPv6: ADDRCONF(NETDEV_UP): mesh0: link is not ready
[   21.594616] IPv6: ADDRCONF(NETDEV_CHANGE): mesh0: link becomes ready
[   22.284927] batman_adv: bat0: Adding interface: mesh0
[   22.290148] batman_adv: bat0: Interface activated: mesh0
[   22.297750] 8021q: adding VLAN 0 to HW filter on device bat0
[   22.362868] device bat0 entered promiscuous mode
[   22.367627] br-pub: port 2(bat0) entered forwarding state
[   22.373200] br-pub: port 2(bat0) entered forwarding state
[   22.718089] batman_adv: bat0: bridge_loop_avoidance: Changing from: enabled to: disabled
[   23.289035] br-pub: port 1(wlan0) entered forwarding state
[   23.309325] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   23.317459] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   24.369054] br-pub: port 2(bat0) entered forwarding state
[   29.389161] batman_adv: bat0: IGMP Querier appeared
[   38.069058] random: nonblocking pool is initialized
[   44.920666] eth0: link up (100Mbps/Full duplex)
[   44.925732] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   45.001214] batman_adv: bat0: Adding interface: eth0
[   45.006233] batman_adv: bat0: The MTU of interface eth0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the
 performance. Setting the MTU to 1532 would solve the problem.
[   45.030291] batman_adv: bat0: Interface activated: eth0
[   50.459193] batman_adv: bat0: MLD Querier appeared
[   67.509156] batman_adv: bat0: MLD Querier disappeared - multicast optimizations disabled
[   77.549128] batman_adv: bat0: MLD Querier appeared

My LEDE diffconfig looks like this:

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_ubnt-bullet-m=y
CONFIG_DEVEL=y
CONFIG_BUSYBOX_CUSTOM=y
CONFIG_ALFRED_NEEDS_lua=y
CONFIG_BUILD_LOG=y
CONFIG_BUSYBOX_CONFIG_MESG=y
CONFIG_BUSYBOX_CONFIG_PKILL=y
CONFIG_BUSYBOX_CONFIG_RDATE=y
# CONFIG_BUSYBOX_CONFIG_SHA256SUM is not set
CONFIG_KMOD_BATMAN_ADV_BATMAN_V=y
CONFIG_KMOD_BATMAN_ADV_BLA=y
CONFIG_KMOD_BATMAN_ADV_DAT=y
CONFIG_KMOD_BATMAN_ADV_DEBUGFS=y
CONFIG_KMOD_BATMAN_ADV_MCAST=y
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_POLARSSL=y
CONFIG_LIBCURL_PROXY=y
CONFIG_OPENSSL_ENGINE_CRYPTO=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_ALFRED_BATHOSTS=y
CONFIG_PACKAGE_ALFRED_VIS=y
CONFIG_PACKAGE_alfred=y
CONFIG_PACKAGE_batctl=y
CONFIG_PACKAGE_bridge=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_diffutils=y
# CONFIG_PACKAGE_dnsmasq is not set
# CONFIG_PACKAGE_firewall is not set
CONFIG_PACKAGE_horst=y
CONFIG_PACKAGE_iftop=y
# CONFIG_PACKAGE_ip6tables is not set
CONFIG_PACKAGE_iperf3=y
# CONFIG_PACKAGE_iptables is not set
CONFIG_PACKAGE_kmod-batman-adv=y
CONFIG_PACKAGE_kmod-bridge=y
CONFIG_PACKAGE_kmod-crypto-aead=y
CONFIG_PACKAGE_kmod-crypto-crc32c=y
CONFIG_PACKAGE_kmod-crypto-hash=y
CONFIG_PACKAGE_kmod-crypto-manager=y
CONFIG_PACKAGE_kmod-crypto-null=y
CONFIG_PACKAGE_kmod-crypto-pcompress=y
# CONFIG_PACKAGE_kmod-ip6tables is not set
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
# CONFIG_PACKAGE_kmod-ipt-core is not set
# CONFIG_PACKAGE_kmod-ipt-nat is not set
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
CONFIG_PACKAGE_kmod-lib-crc16=y
CONFIG_PACKAGE_kmod-lib-crc32c=y
CONFIG_PACKAGE_kmod-llc=y
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
# CONFIG_PACKAGE_kmod-nf-ipt is not set
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
# CONFIG_PACKAGE_kmod-nf-nat is not set
# CONFIG_PACKAGE_kmod-ppp is not set
CONFIG_PACKAGE_kmod-stp=y
CONFIG_PACKAGE_libcurl=y
# CONFIG_PACKAGE_libip4tc is not set
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_libncursesw=y
CONFIG_PACKAGE_libnetsnmp=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libpolarssl=y
CONFIG_PACKAGE_libpopt=y
CONFIG_PACKAGE_libpthread=y
CONFIG_PACKAGE_librt=y
# CONFIG_PACKAGE_libxtables is not set
CONFIG_PACKAGE_lua=y
# CONFIG_PACKAGE_odhcp6c is not set
# CONFIG_PACKAGE_odhcpd is not set
# CONFIG_PACKAGE_ppp is not set
CONFIG_PACKAGE_procps-ng=y
CONFIG_PACKAGE_procps-ng-free=y
CONFIG_PACKAGE_procps-ng-kill=y
CONFIG_PACKAGE_procps-ng-pgrep=y
CONFIG_PACKAGE_procps-ng-pkill=y
CONFIG_PACKAGE_procps-ng-pmap=y
CONFIG_PACKAGE_procps-ng-ps=y
CONFIG_PACKAGE_procps-ng-pwdx=y
CONFIG_PACKAGE_procps-ng-skill=y
CONFIG_PACKAGE_procps-ng-slabtop=y
CONFIG_PACKAGE_procps-ng-snice=y
CONFIG_PACKAGE_procps-ng-tload=y
CONFIG_PACKAGE_procps-ng-top=y
CONFIG_PACKAGE_procps-ng-uptime=y
CONFIG_PACKAGE_procps-ng-vmstat=y
CONFIG_PACKAGE_procps-ng-w=y
CONFIG_PACKAGE_procps-ng-watch=y
CONFIG_PACKAGE_ptp-utils=y
CONFIG_PACKAGE_rsync=y
CONFIG_PACKAGE_snmpd=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_wget=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_zlib=y
CONFIG_RSYNC_zlib=y

My uci show looks like this (system and wireless elided):

alfred.alfred=alfred
alfred.alfred.mode='master'
alfred.alfred.batmanif='bat0'
alfred.alfred.start_vis='1'
alfred.alfred.run_facters='1'
alfred.alfred.interface='br-pub'
alfred.alfred.disabled='0'
batman-adv.bat0=mesh
batman-adv.bat0.bridge_loop_avoidance='0'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.pub=interface
network.pub.type='bridge'
network.pub.proto='static'
network.pub.ip6assign='60'
network.pub.ifname='bat0'
network.pub.ipaddr='10.11.x.y'
network.pub.netmask='255.255.252.0'
network.pub.gateway='10.11.x.1'
network.pub.dns='10.11.x.1'
network.mesh=interface
network.mesh.mtu='1532'
network.mesh.proto='batadv'
network.mesh.mesh='bat0'
network.meshwire=interface
network.meshwire.proto='batadv'
network.meshwire.mesh='bat0'
network.meshwire.ifname='eth0'
09.03.2017612Base systemBug ReportVery LowHighWAN to LAN leakage on MT7620 devicesTrunkUnconfirmed Task Description

I am currently testing two MT7620 devices - the ZBT WE826 and the Sanlinking D240. During the first seconds of the boot, I see that packets leak between the WAN and LAN ports. Typically, this results in clients receiving a DHCP reply from my upstream router, rendering the clients without connectivity when the switch is properly initialized. I have also tested with the default firmware and do not see this behavior. Also, if I stop the devices in the bootloader, then packets do not leak until I resume boot again.

In order to try to solve this bug, I have tried to port some (at least to me) missing steps from the bootloader switch code and to the mt7620 switch driver in LEDE. This did not have an effect, at least not on the packet leak. A work-around I have found is to update u-boot and remove the input delay, so that the device will boot immediately. However, this is quite cumbersome to install and not very reliable. I suspect my luck with this work-around is more due to the timing of the DHCP clients in Ubuntu and Windows 10.

Does anyone have any idea as to what could be wrong and where to start looking?

Thanks in advance for any help.

 


20.10.20171087KernelBug ReportVery LowHighLEDE snaphost: sunxi cortex-a7, BanaPi target: USB not ...TrunkUnconfirmed Task Description

Hi all
With snapshot r5117-fbde9ac, at least on a bananapi (cortex-a7) the USB ports are down, apparently there is some problem with VBUS (maybe DT problem?)
Here the dmesg after boot

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.57 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5092-0d5c1d7) ) #0 SMP PREEMPT Wed Oct 18 21:26:15 2017
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: LeMaker Banana Pi
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 261738
[    0.000000] free_area_init_node: node 0, pgdat c0689140, node_mem_map ef7fa000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65130 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 14 pages/cpu @ef7c2000 s25036 r8192 d24116 u57344
[    0.000000] pcpu-alloc: s25036 r8192 d24116 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260202
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1030724K/1046952K available (4564K kernel code, 254K rwdata, 1384K rodata, 304K init, 282K bss, 16228K reserved, 0K cma-reserved, 260520K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc047d4b0   (4566 kB)
[    0.000000]       .init : 0xc05fe000 - 0xc064a000   ( 304 kB)
[    0.000000]       .data : 0xc064a000 - 0xc0689a40   ( 255 kB)
[    0.000000]        .bss : 0xc068b000 - 0xc06d1874   ( 283 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000528] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000769] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000939] Console: colour dummy device 80x30
[    0.000973] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000988] pid_max: default: 32768 minimum: 301
[    0.001112] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001123] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001736] CPU: Testing write buffer coherency: ok
[    0.002074] /cpus/cpu@0 missing clock-frequency property
[    0.002095] /cpus/cpu@1 missing clock-frequency property
[    0.002108] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002131] Setting up static identity map for 0x400082c0 - 0x40008318
[    0.170429] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.170531] Brought up 2 CPUs
[    0.170553] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.170561] CPU: All CPU(s) started in HYP mode.
[    0.170567] CPU: Virtualization extensions available.
[    0.181241] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.181967] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.181997] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.182161] pinctrl core: initialized pinctrl subsystem
[    0.183759] NET: Registered protocol family 16
[    0.184099] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.186420] No ATAGs?
[    0.252339] reg-fixed-voltage usb0-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
[    0.252404] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    0.252440] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    0.253608] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    0.254616] SCSI subsystem initialized
[    0.254990] libata version 3.00 loaded.
[    0.255707] usbcore: registered new interface driver usbfs
[    0.255854] usbcore: registered new interface driver hub
[    0.256010] usbcore: registered new device driver usb
[    0.256383] Linux video capture interface: v2.00
[    0.256631] pps_core: LinuxPPS API ver. 1 registered
[    0.256641] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.256729] PTP clock support registered
[    0.257496] Advanced Linux Sound Architecture Driver Initialized.
[    0.258937] clocksource: Switched to clocksource arch_sys_counter
[    0.260189] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0xf0900000
[    0.260208] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[    0.267397] Console: switching to colour frame buffer device 82x33
[    0.273147] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered!
[    0.285894] NET: Registered protocol family 2
[    0.286811] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.286911] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.287040] TCP: Hash tables configured (established 8192 bind 8192)
[    0.287131] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.287195] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.287430] NET: Registered protocol family 1
[    0.287817] kvm [1]: 8-bit VMID
[    0.287830] kvm [1]: IDMAP page: 40009000
[    0.287838] kvm [1]: HYP VA range: c0000000:ffffffff
[    0.288171] kvm [1]: Hyp mode initialized successfully
[    0.288246] kvm [1]: vgic-v2@1c84000
[    0.288431] kvm [1]: vgic interrupt IRQ16
[    0.288462] kvm [1]: virtual timer IRQ20
[    0.290814] No memory allocated for crashlog
[    0.291097] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.301800] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.314490] bounce: pool size: 64 pages
[    0.314510] io scheduler noop registered
[    0.314518] io scheduler deadline registered
[    0.314823] io scheduler cfq registered (default)
[    0.315575] sun4i-usb-phy 1c13400.phy: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb0_id_detect_pin@0, deferring probe
[    0.320516] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.422164] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.428293] console [ttyS0] disabled
[    0.448607] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 45, base_baud = 1500000) is a U6_16550A
[    1.110648] console [ttyS0] enabled
[    1.138088] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.170870] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.229167] loop: module loaded
[    1.234708] libphy: Fixed MDIO Bus: probed
[    1.239475] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.245231] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.252200] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.258730] ehci-platform: EHCI generic platform driver
[    1.264410] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.270651] ohci-platform: OHCI generic platform driver
[    1.276342] usbcore: registered new interface driver usb-storage
[    1.282746] mousedev: PS/2 mouse device common for all mice
[    1.289486] i2c /dev entries driver
[    1.295415] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.305385] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.389162] sunxi-mmc 1c0f000.mmc: base:0xf08db000 irq:28
[    1.395627] sun4i-ss 1c15000.crypto-engine: no reset control found
[    1.403543] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    1.414955] NET: Registered protocol family 10
[    1.424080] NET: Registered protocol family 17
[    1.428624] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.441620] can: controller area network core (rev 20120528 abi 9)
[    1.448031] NET: Registered protocol family 29
[    1.452516] 8021q: 802.1Q VLAN Support v1.8
[    1.456824] Registering SWP/SWPB emulation handler
[    1.471934] sun7i-dwmac 1c50000.ethernet: PTP uses main clock
[    1.477695] sun7i-dwmac 1c50000.ethernet: no reset control found
[    1.491416] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.502100] mmc0: new high speed SDHC card at address b368
[    1.518287] mmcblk0: mmc0:b368       3.75 GiB
[    1.523991]  mmcblk0: p1 p2
[    1.599006] sun7i-dwmac 1c50000.ethernet: Ring mode enabled
[    1.604587] sun7i-dwmac 1c50000.ethernet: DMA HW capability register supported
[    1.611833] sun7i-dwmac 1c50000.ethernet: Normal descriptors
[    1.625337] libphy: stmmac: probed
[    1.628759] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    1.640432] sun7i-dwmac 1c50000.ethernet (unnamed net_device) (uninitialized): PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    1.654246] hctosys: unable to open rtc device (rtc0)
[    1.660155] vcc3v0: disabling
[    1.663134] vcc5v0: disabling
[    1.666099] usb0-vbus: disabling
[    1.669415] usb1-vbus: disabling
[    1.672648] usb2-vbus: disabling
[    1.675876] ALSA device list:
[    1.678840]   No soundcards found.
[    1.684092] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.693047] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.705706] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.713316] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.720717] Freeing unused kernel memory: 304K
[    1.725156] This architecture does not have kernel memory protection.
[    1.808884] init: Console is alive
[    1.812591] init: - watchdog -
[    1.991859] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.109062] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    2.116602] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[    2.122530] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    2.131547] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[    2.140601] scsi host0: ahci-sunxi
[    2.144486] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 33
[    2.480406] ata1: SATA link down (SStatus 0 SControl 300)
[    2.497140] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.514855] init: - preinit -
[    2.661278] random: jshn: uninitialized urandom read (4 bytes read)
[    2.692999] random: jshn: uninitialized urandom read (4 bytes read)
[    2.715326] random: jshn: uninitialized urandom read (4 bytes read)
[    2.738512] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[    2.850208] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[    2.857528] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[    2.865213] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[    2.873355] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    5.973285] mount_root: mounting /dev/root
[    5.980967] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.013747] random: fast init done
[    6.249292] random: crng init done
[    6.398432] urandom-seed: Seeding with /etc/urandom.seed
[    6.439739] procd: - early -
[    6.442722] procd: - watchdog -
[    7.304303] procd: - watchdog -
[    7.307745] procd: - ubus -
[    7.362615] procd: - init -
[    7.508699] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.518215] tun: Universal TUN/TAP device driver, 1.6
[    7.523343] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    7.536218] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.547403] nat46: module (version 683fbd2b765506332a1af141545652bf58f03166) loaded.
[    7.559700] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    7.579497] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    7.608815] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    7.615784] sunxi-rtc 1c20d00.rtc: RTC enabled
[    7.634093] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[    7.642374] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[    7.651300] ip_tables: (C) 2000-2006 Netfilter Core Team
[    7.683086] xt_time: kernel timezone is -0000
[    7.721723] PPP generic driver version 2.4.2
[    7.727180] NET: Registered protocol family 24
[    7.738129] usbcore: registered new interface driver rtl8xxxu
[    7.766983] usbcore: registered new interface driver rt2800usb
[    7.777447] usbcore: registered new interface driver ath9k_htc
[    7.783580] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.097688] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=-1)
[   10.110360] sun7i-dwmac 1c50000.ethernet eth0: RX IPC Checksum Offload disabled
[   10.117709] sun7i-dwmac 1c50000.ethernet eth0: No MAC Management Counters available
[   10.125620] sun7i-dwmac 1c50000.ethernet eth0: PTP not supported by HW
[   10.132954] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.148402] br-lan: port 1(eth0.2) entered blocking state
[   10.153968] br-lan: port 1(eth0.2) entered disabled state
[   10.160321] device eth0.2 entered promiscuous mode
[   10.165148] device eth0 entered promiscuous mode
[   10.174920] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   10.235364] IPv6: ADDRCONF(NETDEV_UP): eth0.3: link is not ready
[   10.498273] IPv6: ADDRCONF(NETDEV_UP): tayga-nat64: link is not ready
[   10.566999] IPv6: ADDRCONF(NETDEV_CHANGE): tayga-nat64: link becomes ready
[   14.329769] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   14.337986] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   14.345064] br-lan: port 1(eth0.2) entered blocking state
[   14.350507] br-lan: port 1(eth0.2) entered forwarding state
[   14.356467] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.3: link becomes ready
[   14.363451] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

 


23.10.20171102KernelBug ReportVery LowHighKernel crash on mt7621 at mm/slub.cTrunkUnconfirmed Task Description

I have recurrent crashes when using my wg3526 based on mt76 for long time. The wifi 2.4 ghz is activated (mt7603 driver), but 5ghz is not.

<4>[19202.879743] ------------[ cut here ]------------
<4>[19202.884402] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[19202.890789] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19202.961498]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[19203.032447] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[19203.039549] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[19203.047897]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 02080020 8fd3705c
<4>[19203.056241]         804e95fc 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21ce0
<4>[19203.064589]         00000003 800a9fd0 02080020 8fd3705c 0000329a 00000007 8f21db00 00c21ce0
<4>[19203.072937]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[19203.081299]         ...
<4>[19203.083744] Call Trace:
<4>[19203.086218] [<8000f814>] show_stack+0x54/0x88
<4>[19203.090590] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[19203.094939] [<8002bdc4>] __warn+0xe4/0x118
<4>[19203.099026] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[19203.104081] [<800e882c>] ksize+0xe0/0xf8
<4>[19203.107999] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[19203.112958] [<8032aa28>] ip_forward+0x374/0x45c
<4>[19203.117474] [<803294c8>] ip_rcv+0x2b8/0x320
<4>[19203.121653] [<802e98d0>] __netif_receive_skb_core+0x718/0x970
<4>[19203.127384] [<802eb7bc>] process_backlog+0x9c/0x160
<4>[19203.132248] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.137033] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.141726] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.145913] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.150866] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.155842] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.161091] ---[ end trace 09207f98d12feebb ]---
<4>[19203.165803] Kernel bug detected[#1]:
<1>[19203.165897] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[19203.179938] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[19203.187042] task: 804ebfa0 task.stack: 804dc000
<4>[19203.191547] $ 0   : 00000000 80550000 81026b40 00000001
<4>[19203.196767] $ 4   : 00000000 81026b53 000f0000 811da600
<4>[19203.201984] $ 8   : 804f0000 80584864 8fc0df54 8fc0df54
<4>[19203.207198] $12   : 11000000 ffffffff 00000000 0000002d
<4>[19203.212415] $16   : 8eaaa600 8ffa1308 8ffa1000 0000007d
<4>[19203.217631] $20   : 000000ca 0000003f 8ffa1308 00000018
<4>[19203.222846] $24   : 00000000 8000c30c                  
<4>[19203.228063] $28   : 804dc000 8fc0de3c ffffffff 802d5e00
<4>[19203.233278] Hi    : 00000003
<4>[19203.236139] Lo    : 00000000
<4>[19203.239036] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[19203.243394] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[19203.248157] Status: 11008403      KERNEL EXL IE 
<4>[19203.252333] Cause : 50800034 (ExcCode 0d)
<4>[19203.256319] PrId  : 0001992f (MIPS 1004Kc)
<4>[19203.260389] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[19203.330928]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[19203.408441] Stack : 000000ca 0000003f 8ffa1308 00000018 8ef712d8 802b0400 0003000f 802b2240
<4>[19203.416786]         8e245c60 8eaa10c0 00000000 aef74b40 00000001 8ffa14b8 000000c9 802b2658
<4>[19203.425131]         803f7afc 8149e440 802e6138 00000001 0000012b 80510000 804df9c0 00000001
<4>[19203.433476]         8fdc7900 00000001 80580000 0000000f 00030000 9bfe8000 01000000 00000010
<4>[19203.441822]         30000000 8009483c 0e245ca0 01000000 0f2d4480 00000004 00000040 804df9c0
<4>[19203.450167]         ...
<4>[19203.452603] Call Trace:
<4>[19203.455038] [<800e9b90>] kfree+0x78/0x1a4
<4>[19203.459038] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[19203.463475] [<802b0400>] fe_txd_unmap+0xd4/0xec
<4>[19203.467986] [<802b2658>] fe_poll+0x134/0x700
<4>[19203.472243] [<802eb55c>] net_rx_action+0x138/0x2fc
<4>[19203.477022] [<8002f924>] __do_softirq+0x294/0x2e0
<4>[19203.481705] [<8002fc18>] irq_exit+0x7c/0x98
<4>[19203.485882] [<8020e3d0>] plat_irq_dispatch+0xb4/0xdc
<4>[19203.490831] [<8000a968>] except_vec_vi_end+0xb8/0xc4
<4>[19203.495777] [<8000c324>] r4k_wait_irqoff+0x18/0x20
<4>[19203.500572] [<80064fc4>] cpu_startup_entry+0x104/0x170
<4>[19203.505712] [<80513be4>] start_kernel+0x47c/0x49c
<4>[19203.510392] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[19203.520132] 
<4>[19203.521619] Oops[#2]:
<4>[19203.521836] ---[ end trace 09207f99d12feebb ]---

===================================
Time: 1508726234.629265
<0>[19203.526701] Kernel panic - not syncing: Fatal exception in interrupt
<4>[82713.077406] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.085754]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000054 8f295a00
<4>[82713.094099]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd90
<4>[82713.102444]         00000003 800a9fd0 00000054 8f295a00 0000f7f3 00000007 00000000 00c0dd90
<4>[82713.110789]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.119130]         ...
<4>[82713.121567] Call Trace:
<4>[82713.124029] [<8000f814>] show_stack+0x54/0x88
<4>[82713.128386] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.132727] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.136803] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.141876] [<8f28c124>] mt7603_mac_fill_rx+0x2b0/0x3a8 [mt7603e]
<4>[82713.147957] [<8f28ae30>] mt7603_queue_rx_skb+0x9c/0xe4 [mt7603e]
<4>[82713.153958] [<8f284d6c>] mt76_dma_attach+0xa9c/0xc94 [mt76]
<4>[82713.159601] ---[ end trace 30529a2ab5a2f517 ]---
<4>[82713.164302] ------------[ cut here ]------------
<4>[82713.169064] WARNING: CPU: 0 PID: 0 at backports-2017-10-06/net/mac80211/rx.c:4321 ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.180018] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82713.250675]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82713.321600] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82713.328698] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82713.337045]         804ec2bc 804ebea7 80482c5c 00000000 00000000 80553824 00000001 8f295a00
<4>[82713.345391]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc0dd38
<4>[82713.353736]         00000003 800a9fd0 00000001 8f295a00 0000f997 00000007 00000008 00c0dd38
<4>[82713.362081]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82713.370424]         ...
<4>[82713.372859] Call Trace:
<4>[82713.375308] [<8000f814>] show_stack+0x54/0x88
<4>[82713.379658] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82713.383995] [<8002bdc4>] __warn+0xe4/0x118
<4>[82713.388071] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82713.393195] [<8f325b94>] ieee80211_rx_napi+0xa8/0x964 [mac80211]
<4>[82713.399231] [<8f2858b4>] mt76_rx_complete+0x88/0x118 [mt76]
<4>[82713.404794] [<8f284e7c>] mt76_dma_attach+0xbac/0xc94 [mt76]
<4>[82713.410438] ---[ end trace 30529a2bb5a2f517 ]---
<4>[82715.996390] ------------[ cut here ]------------
<4>[82716.001062] WARNING: CPU: 3 PID: 0 at mm/slub.c:3843 ksize+0xe0/0xf8
<4>[82716.007380] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.078197]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]<4>[82716.149239] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G        W       4.9.54 #0
<4>[82716.156343] Stack : 00000000 00000000 80557b2a 00000041 80406a24 00000000 00000000 80550000
<4>[82716.164705]         8fc5499c 804ebea7 80482c5c 00000003 00000000 80553824 8f3a4000 8edd5c80
<4>[82716.173065]         00000000 8006b878 00000001 80550000 804f1fa4 804f1fa8 80487844 8fc21940
<4>[82716.181427]         00000003 800a9fd0 8f3a4000 8edd5c80 0000fb43 00000007 8e826084 00c21940
<4>[82716.189786]         00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>[82716.198143]         ...
<4>[82716.200587] Call Trace:
<4>[82716.203059] [<8000f814>] show_stack+0x54/0x88
<4>[82716.207424] [<801df1cc>] dump_stack+0x8c/0xd0
<4>[82716.211774] [<8002bdc4>] __warn+0xe4/0x118
<4>[82716.215861] [<8002be8c>] warn_slowpath_null+0x1c/0x30
<4>[82716.220915] [<800e882c>] ksize+0xe0/0xf8
<4>[82716.224832] [<802d90d0>] pskb_expand_head+0x98/0x23c
<4>[82716.229996] [<8f329150>] ieee80211_probereq_get+0xb48/0x190c [mac80211]
<4>[82716.236678] [<80064264>] __wake_up_common+0x64/0xb4
<4>[82716.241619] ---[ end trace 30529a2cb5a2f517 ]---
<4>[82716.246369] Kernel bug detected[#1]:
<1>[82716.246495] CPU 3 Unable to handle kernel paging request at virtual address 00004000, epc == 800eb628, ra == 800eb5ac
<4>[82716.260496] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G        W       4.9.54 #0
<4>[82716.267598] task: 804ebfa0 task.stack: 804dc000
<4>[82716.272101] $ 0   : 00000000 80550000 81026960 00000001
<4>[82716.277321] $ 4   : 00000000 81026973 000f0000 811cb400
<4>[82716.282538] $ 8   : 804f0000 801eb464 8fc0df54 8fc0df54
<4>[82716.287752] $12   : 11000000 00000000 00000000 00000005
<4>[82716.292968] $16   : 8d488000 8f295540 8ff23064 8f295b7c
<4>[82716.298183] $20   : 00000002 8f295b78 00000000 00000009
<4>[82716.303399] $24   : 00000000 8000c30c                  
<4>[82716.308613] $28   : 804dc000 8fc0de9c 802044f7 802d5e00
<4>[82716.313831] Hi    : 00000004
<4>[82716.316692] Lo    : 00000000
<4>[82716.319581] epc   : 800e9b90 kfree+0x78/0x1a4
<4>[82716.323940] ra    : 802d5e00 __kfree_skb+0x14/0xa4
<4>[82716.328701] Status: 11008403      KERNEL EXL IE 
<4>[82716.332884] Cause : 50800034 (ExcCode 0d)
<4>[82716.336872] PrId  : 0001992f (MIPS 1004Kc)
<4>[82716.340942] Modules linked in: xt_coova pppoe ppp_async rtl8192cu rtl8192c_common rtl_usb pppox ppp_generic nf_conntrack_ipv6 iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY slhc rtlwifi nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt em_cmp em_nbyte sch_dsmark sch_pie act_ipt sch_codel sch_gred em_meta sch_teql cls_basic sch_prio em_text sch_sfq act_police sch_fq sch_red
<4>[82716.411537]  act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress mt7603e ledtrig_usbport mt76 mac80211 cfg80211 compat xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun mmc_block usb_storage mtk_sd mmc_core leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd ahci libahci libata sd_mod scsi_mod gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc32c_generic [last unloaded: xt_coova]Process swapper/0 (pid: 0, threadinfo=804dc000, task=804ebfa0, tls=00000000)
<4>[82716.489176] Stack : 00000002 8f2955b0 8f295540 8ff23064 8f2955b0 8f2849f0 9bfe8000 8006d534
<4>[82716.497539]         8fc35480 00000001 00000000 00000000 00000000 00000000 00000070 804f0000
<4>[82716.505899]         00010000 8d488000 8df26790 00000001 8f295540 00000001 ffffffff 00000002
<4>[82716.514260]         00000000 804de040 00000100 0000000a 00000018 8f28ab70 80580000 80580000
<4>[82716.522625]         00000004 8006c99c 8f296188 8054121c 804e95fc 8003020c 00000006 8020f290
<4>[82716.530989]         ...
<4>[82716.533431] Call Trace:
<4>[82716.535883] [<800e9b90>] kfree+0x78/0x1a4
<4>[82716.539897] [<802d5e00>] __kfree_skb+0x14/0xa4
<4>[82716.544372] [<8f2849f0>] mt76_dma_attach+0x720/0xc94 [mt76]
<4>[82716.549930] Code: 30630001  24030001  38630001 <00030336> 8c430000  7c630380  10600003  00000000  10000002 
<4>[82716.559695] 
<4>[82716.561183] Oops[#2]:
<4>[82716.561433] ---[ end trace 30529a2db5a2f517 ]---

===================================
Time: 1508284734.35088
05.11.20171148Base systemBug ReportVery LowHighAR7 images for Fritz!Box 7170 build but do not bootTrunkUnconfirmed Task Description

Hi there,
I’m trying to get the latest LEDE with Kernel 4.9 up and running with an old Fritz!Box 7170 (ar7/EVA).
The images build fine but they are not booting at all.

Is someone able to help? I have tried to collect the “internet knowledge” about this device in this github.
I also found some very old OpenWRT patches (1)(2) for whom I don’t know if they were ever integrated in master.
I’m not a developer myself, so I don’t even know how to integrate patches to try them out.

I also created a forum thread if anyone has some more tips or ideas.

06.11.20171153Base systemFeature RequestVery LowHighConsider security monitoring featuresTrunkUnconfirmed Task Description

I see it as email notification about security events.

Examples of security events:

  • Attempts to bruteforce SSH password.
  • Appear unknown MAC’s in network.
  • Deauthentication attacks on Wi-Fi.

Monitoring is very important part of security.

25.11.20171192Base systemBug ReportVery LowHigh2.4Ghz wifi AP on mt7621 / Afoundry EW1200 doesn't workTrunkUnconfirmed Task Description

Hi LEDE folks!

I’m running the latest snapshot (r5406-5e6792e) of LEDE on an Afoundry EW1200. It’s a vast improvement from the stock firmware - my heartfelt gratitude to the author(s) of the port.

There’s one problem. 5Ghz wifi works fine but 2.4Ghz doesn’t. It detects my 2.4Ghz device and when I hit “scan” in LuCI it returns a list of nearby SSIDs.

But when I try to configure the device as an access point it isn’t visible to any of my devices. I’ve tried various channels / settings but nothing makes a difference.

Steps to reproduce:

1. Install LEDE r5406-5e6792e snapshot (latest at the time of writing) on an Afoundry EW1200
2. Use opkg to install LuCI [NB: I don’t think LuCI is to blame; it’s just the interface I use]
3. In Network/Wireless hit “Scan” for “Generic MAC80211 802.11bgn” and verify it can detect other people’s networks
4. Back in Network/Wireless, hit add (or edit) to configure an access point on that device. Use any settings you like.
5. LuCI shows the AP as running but no other device can detect the SSID it’s broadcasting.

22.01.20181286Base systemBug ReportVery LowHighNetwork startup happens too late with kernel 4.14TrunkUnconfirmed Task Description

Software version: r5917-36f1978a70-x86-64, device: x86-64 PC.

I’ve built 2 versions - one with default kernel 4.9 and another one with kernel 4.14.

The version with kernel 4.9 works fine. Netifd sets up network interfaces, after that another daemons are started.

The version with kernel 4.14 does not work as expected. Another daemons are started before network interface setup. In my case, this prevents the VPN server from working correctly. I have to manually restart VPN service after every reboot. This may potentially affect another software.

I have attached the log files. Please note the startup order as found in the log files:

kernel 4.9: netifd interface setup → block → dropbear → xl2tpd → openvpn
kernel 4.14: block → dropbear → xl2tpd → openvpn → netifd interface setup

I have no idea how a kernel version may affect the startup order. Maybe there is a kind of race condition.


29.01.20181311Base systemBug ReportVery LowHighprocd: mount /tmp with zramTrunkNew Task Description

Supply the following if possible:
- Device problem occurs on all device
- Software versions of OpenWrt/LEDE: Trunk

If i select this option in menuconfig, At the boot procd mount the wrong size of ram. I have 512mb of ram and procd mount only 11mb of ram. More detail here.
http://lists.infradead.org/pipermail/lede-dev/2018-January/011008.html

https://forum.lede-project.org/t/no-space-left-in-tmp/11000/14


01.02.20181317Base systemBug ReportVery LowHighom2p-lc sysupgrade fails silentlyTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on Openmesh om2p-lc
- Software versions of OpenWrt/LEDE release, packages, etc.
LEDE Reboot SNAPSHOT r5360-a8a23ca

- Steps to reproduce
sysupgrade -n /tmp/lede-ar71xx-generic-om2p-squashfs-sysupgrade.bin
Sysupgrade appears to go through the motions but firmware doesn’t upgrade and doesn’t delete config files with the -n switch.
I’ve tried the factory and the sysupgrade file with the same results. This build upgrades as expedted with a tl-mr3420-v2 and tl-wr740n-v4.

Not sure if it’s related but the om-watchdog init script also fails to detect the board type so doesn’t start.
Changing this line in the /etc/init.d/om-watchdog init script gets the watchdog to start which make me think it’s an identification issue.
local board=$(ar71xx_board_name)
change to
local board=$(cat /tmp/sysinfo/board_name)

 


16.03.20181437Base systemBug ReportVery LowHighTrunk r6421 not save configuration on ER3.TrunkUnconfirmed Task Description

Problem on ER3 r6421.

Flashing success, but not save configuration. Every time i'm reboot, router roll back to default config.

Here are serial output:

## Loading Linux kernel with entry point: 0xffffffff815efa20 ...
Bootloader: Done loading app on coremask: 0x3
[    0.000000] Linux version 4.14.25 (teq@teqdesk) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6302-0f54d96d24)) #0 SMP Sun Mar 18
[    0.000000] CVMSEG size: 2 cache lines (256 bytes)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 000d0601 (Cavium Octeon+)
[    0.000000] Checking for the multiply/shift bug... no.
[    0.000000] Checking for the daddiu bug... no.
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 0000000005400000 @ 0000000002a00000 (usable)
[    0.000000]  memory: 0000000007c00000 @ 0000000008200000 (usable)
[    0.000000]  memory: 000000000fc00000 @ 0000000410000000 (usable)
[    0.000000]  memory: 0000000001826e20 @ 0000000001100000 (usable)
[    0.000000] Wasting 243712 bytes for tracking 4352 unused pages
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Using internal Device Tree.
[    0.000000] software IO TLB [mem 0x0398e000-0x0798e000] (64MB) mapped at [800000000398e000-800000000798dfff]
[    0.000000] Primary instruction cache 32kB, virtually tagged, 4 way, 64 sets, linesize 128 bytes.
[    0.000000] Primary data cache 16kB, 64-way, 2 sets, linesize 128 bytes.
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000efffffff]
[    0.000000]   Normal   [mem 0x00000000f0000000-0x000000041fbfffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000002925fff]
[    0.000000]   node   0: [mem 0x0000000002a00000-0x0000000007dfffff]
[    0.000000]   node   0: [mem 0x0000000008200000-0x000000000fdfffff]
[    0.000000]   node   0: [mem 0x0000000410000000-0x000000041fbfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000041fbfffff]
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 19 pages/cpu @80000000079f9000 s39344 r8192 d30288 u77824
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 126539
[    0.000000] Kernel command line: mtdparts=phys_mapped_flash:512k(boot0)ro,512k(boot1)ro,64k(eeprom)ro root=/dev/sda2 root0
[    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.000000] Memory: 396916K/513176K available (5086K kernel code, 330K rwdata, 1236K rodata, 1328K init, 16731K bss, 1162)
[    0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 127
[   13.844962] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
[   13.855830] Calibrating delay loop (skipped) preset value.. 1000.00 BogoMIPS (lpj=2000000)
[   13.864040] pid_max: default: 32768 minimum: 301
[   13.868767] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   13.875252] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes)
[   13.882962] Checking for the daddi bug... no.
[   13.888198] Hierarchical SRCU implementation.
[   13.893207] smp: Bringing up secondary CPUs ...
[   13.898265] SMP: Booting CPU01 (CoreId  1)...
[   13.902655] CPU1 revision is: 000d0601 (Cavium Octeon+)
[   13.902885] smp: Brought up 1 node, 2 CPUs
[   13.916204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[   13.925852] futex hash table entries: 512 (order: 4, 65536 bytes)
[   13.932600] NET: Registered protocol family 16
[   13.947309] Not in host mode, PCI Controller not initialized
[   13.968490] SCSI subsystem initialized
[   13.972686] usbcore: registered new interface driver usbfs
[   13.978233] usbcore: registered new interface driver hub
[   13.983653] usbcore: registered new device driver usb
[   13.990959] clocksource: Switched to clocksource OCTEON_CVMCOUNT
[   13.998255] NET: Registered protocol family 2
[   14.003415] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[   14.010447] TCP bind hash table entries: 4096 (order: 5, 131072 bytes)
[   14.016998] TCP: Hash tables configured (established 4096 bind 4096)
[   14.023382] UDP hash table entries: 256 (order: 2, 24576 bytes)
[   14.029247] UDP-Lite hash table entries: 256 (order: 2, 24576 bytes)
[   14.035842] NET: Registered protocol family 1
[   14.041861] Crashlog allocated RAM at address 0x3f00000
[   14.047176] workingset: timestamp_bits=62 max_order=17 bucket_order=0
[   14.065676] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[   14.071763] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[   14.086436] io scheduler noop registered
[   14.090468] io scheduler deadline registered (default)
[   14.096184] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver probed.
[   14.103985] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   14.111417] console [ttyS0] disabled
[   14.114893] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 41, base_baud = 31250000) is a OCTEON
[   14.124683] console [ttyS0] enabled
[   14.124683] console [ttyS0] enabled
[   14.131607] bootconsole [early0] disabled
[   14.131607] bootconsole [early0] disabled
[   14.140285] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 42, base_baud = 31250000) is a OCTEON
[   14.150793] octeon_rng octeon_rng: Octeon Random Number Generator
[   14.157467] cacheinfo: Failed to find cpu0 device node
[   14.162685] cacheinfo: Unable to detect cache hierarchy for CPU 0
[   14.175673] loop: module loaded
[   14.179780] of-flash 1f400000.nor: Can't get bank width from device tree
[   14.187061] libphy: mdio_octeon: probed
[   14.191005] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@7: Whitelisted compatible string. Please remove
[   14.202182] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@6: Whitelisted compatible string. Please remove
[   14.213362] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@5: Whitelisted compatible string. Please remove
[   14.224507] mdio_octeon 1180000001800.mdio: Probed
[   14.229932] libphy: Fixed MDIO Bus: probed
[   14.234303] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   14.240892] ehci-platform: EHCI generic platform driver
[   14.246401] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   14.252671] ohci-platform: OHCI generic platform driver
[   14.258302] usbcore: registered new interface driver usb-storage
[   14.264425] octeon_wdt: Initial granularity 5 Sec
[   14.273052] Interface 0 has 3 ports (RGMII)
[   14.281525] octeon-hcd 16f0010000000.usbc: Octeon Host Controller
[   14.287752] octeon-hcd 16f0010000000.usbc: new USB bus registered, assigned bus number 1
[   14.295976] octeon-hcd 16f0010000000.usbc: irq 56, io mem 0x00000000
[   14.303455] hub 1-0:1.0: USB hub found
[   14.307394] hub 1-0:1.0: 1 port detected
[   14.311991] octeon-hcd 16f0010000000.usbc: Registered HCD for port 0 on irq 56
[   14.320877] NET: Registered protocol family 10
[   14.327445] Segment Routing with IPv6
[   14.331299] NET: Registered protocol family 17
[   14.335870] 8021q: 802.1Q VLAN Support v1.8
[   14.340407] Bootbus flash: Setting flash for 4MB flash at 0x1f800000
[   14.346967] phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0000a7
[   14.357360] Amd/Fujitsu Extended Query Table at 0x0040
[   14.362566]   Amd/Fujitsu Extended Query version 1.1.
[   14.367649] phys_mapped_flash: Swapping erase regions for top-boot CFI table.
[   14.374815] number of CFI chips: 1
[   14.378278] 3 cmdlinepart partitions found on MTD device phys_mapped_flash
[   14.385191] Creating 3 MTD partitions on "phys_mapped_flash":
[   14.390979] 0x000000000000-0x000000080000 : "boot0"
[   14.397066] 0x000000080000-0x000000100000 : "boot1"
[   14.403212] 0x000000100000-0x000000110000 : "eeprom"
[   14.411056] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[   14.418316] Waiting for root device /dev/sda2...
[   14.694990] usb 1-1: new high-speed USB device number 2 using octeon-hcd
[   15.157589] usb-storage 1-1:1.0: USB Mass Storage device detected
[   15.164285] scsi host0: usb-storage 1-1:1.0
[   16.377528] scsi 0:0:0:0: Direct-Access     SRT      USB              1100 PQ: 0 ANSI: 4
[   16.387726] sd 0:0:0:0: [sda] 15765504 512-byte logical blocks: (8.07 GB/7.52 GiB)
[   16.396124] sd 0:0:0:0: [sda] Write Protect is off
[   16.401790] sd 0:0:0:0: [sda] No Caching mode page found
[   16.407211] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   16.417477]  sda: sda1 sda2
[   16.423799] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   16.435439] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[   16.443711] Freeing unused kernel memory: 1328K
[   16.448300] This architecture does not have kernel memory protection.
[   16.979499] init: Console is alive
[   16.983324] init: - watchdog -
[   17.607797] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[   17.722469] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[   17.740277] init: - preinit -
[   18.930430] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   20.963071] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   20.968484] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   22.208639] mount_root: rootdisk overlay filesystem has not been formatted yet
sh: mkfs.f2fs: not found
[   22.221786] mount_root: no usable overlay filesystem found, using tmpfs overlay
[   23.377720] random: crng init done
[   23.407105] urandom-seed: Seed file not found (/etc/urandom.seed)
[   23.538293] eth0: Link down
[   23.551669] procd: - early -
[   23.554692] procd: - watchdog -
[   24.221523] procd: - watchdog -
[   24.225235] procd: - ubus -
[   24.364194] procd: - init -
Please press Enter to activate this console.
[   24.943579] kmodloader: loading kernel modules from /etc/modules.d/*
[   24.964605] l2tp_core: L2TP core driver, V2.0
[   24.970234] l2tp_netlink: L2TP netlink interface
[   24.980069] gre: GRE over IPv4 demultiplexor driver
[   24.987409] ip_gre: GRE over IPv4 tunneling driver
[   25.001262] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   25.289771] Netfilter messages via NETLINK v0.30.
[   25.297611] ip_set: protocol 6
[   25.337788] cryptodev: driver 1.9 loaded.
[   25.358006] u32 classifier
[   25.360794]     input device check on
[   25.364596]     Actions configured
[   25.371338] Mirror/redirect action on
[   25.386211] nf_conntrack version 0.5.0 (3584 buckets, 14336 max)
[   25.405328] ip_tables: (C) 2000-2006 Netfilter Core Team
[   25.553490] ctnetlink v0.93: registering with nfnetlink.
[   25.698364] wireguard: WireGuard 0.0.20180304 loaded. See www.wireguard.com for information.
[   25.706931] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   25.765405] xt_time: kernel timezone is -0000
[   25.858495] PPP generic driver version 2.4.2
[   25.865711] PPP MPPE Compression module registered
[   25.872986] NET: Registered protocol family 24
[   25.879616] PPTP driver version 0.8.5
[   25.888062] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   25.896812] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.622166] br-lan: port 1(eth0) entered blocking state
[   32.627510] br-lan: port 1(eth0) entered disabled state
[   32.633218] device eth0 entered promiscuous mode
[   32.648210] br-lan: port 1(eth0) entered blocking state
[   32.653545] br-lan: port 1(eth0) entered forwarding state
[   32.659197] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   32.700308] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   33.645742] br-lan: port 1(eth0) entered disabled state
[   34.746429] eth0: 1000 Mbps Full duplex, port 0, queue 0
[   34.763064] br-lan: port 1(eth0) entered blocking state
[   34.768376] br-lan: port 1(eth0) entered forwarding state
[   34.807116] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   35.811122] eth1: 1000 Mbps Full duplex, port 1, queue 1
[   35.816578] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   39.261056] MTD: Attempt to mount non-MTD device "/dev/loop0"
27.04.20181520Base systemFeature RequestVery LowHighCOMFAST CF-E380AC Switch 'VLAN' FeaturesTrunkUnconfirmed Task Description

Currently on LEDE version: LEDE Reboot 17.01.4 r3560-79f57e422d / LuCI lede-17.01 branch (git-17.290.79498-d3f0685)

There is no Switch feature under LUCI menu Network. In other words, I’d like to create a VLAN tagging from the main router(which already has VLAN Switch capabilities) to be able to have VLAN capabilities for multiple WLAN Virtual Interfaces.

Is it possible to do this for this AP?
thanks

23.05.20181559Base systemBug ReportVery LowHighSystem fails to start up correctly, with 2 dnsmasq/ujai...TrunkUnconfirmed Task Description

I have noticed frequent problems with OpenWrt trunk: about 30% of the time it doesn’t start up correctly (but it seems to boot OK and dmesg messages seem fine), ps shows two dnsmasq/ujail processes (note: I’ve been using ujail for the past 2+ years, without serious problems other than  FS#878 ).

When OpenWrt gets stuck with 2 dnsmasq/ujail processes, invoking logread produces the error: “Failed to find log object: Not found” multiple times. If I kill the ujail/dnsmasq processes OpenWrt will just reboot (!)

I’ve tested this on two different OpenWrt VMs and on two different systems running VBox 5.1 and 5.2 under Ubuntu.

Here is what a ps looks like when the LEDE VM has booted normally:

root@10.0.3.141's password: 


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

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r6965-9c0ddafd46
 -----------------------------------------------------
root@OpenWrt:~# ps
  PID USER       VSZ STAT COMMAND
    1 root     13384 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0]
    4 root         0 IW<  [kworker/0:0H]
    5 root         0 IW   [kworker/u2:0]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [ksoftirqd/0]
    8 root         0 IW   [rcu_sched]
    9 root         0 IW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [cpuhp/0]
   12 root         0 IW<  [netns]
   13 root         0 IW   [kworker/u2:1]
   17 root         0 IW   [kworker/0:1]
   95 root         0 SW   [oom_reaper]
   96 root         0 IW   [kworker/u2:2]
  232 root         0 IW<  [writeback]
  234 root         0 IW<  [crypto]
  235 root         0 IW<  [kintegrityd]
  237 root         0 IW<  [kblockd]
  304 root         0 IW<  [ata_sff]
  325 root         0 IW<  [watchdogd]
  379 root         0 IW   [kworker/u2:3]
  439 root         0 SW   [kswapd0]
  525 root         0 IW<  [pencrypt]
  527 root         0 IW<  [pdecrypt]
  554 root         0 IW<  [acpi_thermal_pm]
  623 root         0 SW   [scsi_eh_0]
  624 root         0 IW<  [scsi_tmf_0]
  627 root         0 SW   [scsi_eh_1]
  638 root         0 IW<  [scsi_tmf_1]
  641 root         0 SW   [scsi_eh_2]
  642 root         0 IW<  [scsi_tmf_2]
  645 root         0 IW<  [ipv6_addrconf]
  646 root         0 IW   [kworker/u2:4]
  724 root         0 IW<  [kworker/0:1H]
  732 root         0 IW<  [ext4-rsv-conver]
  818 root         0 IW<  [ext4-rsv-conver]
  973 root      9012 S    /sbin/ubusd
  978 root      2744 S    /sbin/askfirst /usr/libexec/login.sh
  979 root      3112 S    /bin/ash --login
 1273 root         0 IW<  [cfg80211]
 1512 root      7064 S    /sbin/logd -S 64
 1743 root     15564 S    /sbin/netifd
 1800 root     11260 S    /usr/sbin/odhcpd
 1860 root      2944 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 2149 root      3108 S    udhcpc -p /var/run/udhcpc-eth1.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth1 -x hostname:OpenWrt -C -O 121
 2162 root      3108 S    udhcpc -p /var/run/udhcpc-eth2.pid -s /lib/netifd/dhcp.script -f -t 0 -i eth2 -x hostname:OpenWrt -C -O 121
 2169 root      3108 S    udhcpc -p /var/run/udhcpc-vlan40.pid -s /lib/netifd/dhcp.script -f -t 0 -i vlan40 -x hostname:OpenWrt -C -O 121
 2172 root      3108 S    udhcpc -p /var/run/udhcpc-vlan50.pid -s /lib/netifd/dhcp.script -f -t 0 -i vlan50 -x hostname:OpenWrt -C -O 121
 2687 root     10032 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null -r /dev/urandom -r /etc/TZ -r /etc/dnsmasq.conf -r /etc/ethers -r /etc/group -r /etc/hosts -r /etc/passwd -r /sbin/hotplug-call 
 2700 dnsmasq  13612 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411c.pid
 2705 root         0 IW   [kworker/0:2]
 2947 root      7092 S    /usr/sbin/softflowd -d -i eth0 -m 8192 -n 10.0.3.100:2055 -p /var/run/softflowd.pid -c /var/run/softflowd.ctl -v 5 -T full -s 100 -p /var/run/softflowd.pid
 2990 root      7908 S    /usr/lib/ipsec/starter --daemon charon --nofork
 3067 root     78176 S    /usr/lib/ipsec/charon
 3121 root      3112 S<   /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 1.gr.pool.ntp.org -p 0.europe.pool.ntp.org -p 2.europe.pool.ntp.org
 3921 root      3256 S    /bin/sh /usr/sbin/mwan3track wan eth1 online 10.0.3.141 8.8.4.4 208.67.222.222
 4500 root      3256 S    /bin/sh /usr/sbin/mwan3track wan2 eth2 online 10.0.3.70 8.8.8.8 208.67.220.220
 4912 root      3060 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 4917 root      3112 S    sleep 5
 4922 root      3112 S    sleep 5
 4923 root      3112 S    -ash
 4931 root      3108 R    ps
root@OpenWrt:~# uname -a
Linux OpenWrt 4.14.41 #0 SMP Mon May 21 16:07:48 2018 x86_64 GNU/Linux
root@OpenWrt:~# cat /etc/openwrt_*
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r6965-9c0ddafd46'
DISTRIB_TARGET='x86/64'
DISTRIB_ARCH='x86_64'
DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r6965-9c0ddafd46'
DISTRIB_TAINTS=''
r6965-9c0ddafd46
root@OpenWrt:~#

And here is what ps on the same system (same VM, same /etc/config etc) looks like when it fails to work correctly:

  PID USER       VSZ STAT COMMAND
    1 root     13384 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0]
    4 root         0 IW<  [kworker/0:0H]
    5 root         0 IW   [kworker/u2:0]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [ksoftirqd/0]
    8 root         0 IW   [rcu_sched]
    9 root         0 IW   [rcu_bh]
   10 root         0 SW   [migration/0]
   11 root         0 SW   [cpuhp/0]
   12 root         0 IW<  [netns]
   13 root         0 IW   [kworker/u2:1]
   29 root         0 IW   [kworker/0:1]
   75 root         0 SW   [oom_reaper]
   76 root         0 IW   [kworker/u2:2]
  232 root         0 IW<  [writeback]
  233 root         0 IW<  [crypto]
  235 root         0 IW<  [kintegrityd]
  236 root         0 IW<  [kblockd]
  238 root         0 IW<  [ata_sff]
  325 root         0 IW<  [watchdogd]
  438 root         0 SW   [kswapd0]
  524 root         0 IW<  [pencrypt]
  526 root         0 IW<  [pdecrypt]
  545 root         0 IW<  [acpi_thermal_pm]
  622 root         0 SW   [scsi_eh_0]
  623 root         0 IW<  [scsi_tmf_0]
  626 root         0 SW   [scsi_eh_1]
  637 root         0 IW<  [scsi_tmf_1]
  640 root         0 SW   [scsi_eh_2]
  641 root         0 IW<  [scsi_tmf_2]
  644 root         0 IW<  [ipv6_addrconf]
  645 root         0 IW   [kworker/u2:3]
  646 root         0 IW   [kworker/u2:4]
  728 root         0 IW<  [kworker/0:1H]
  732 root         0 IW<  [ext4-rsv-conver]
  818 root         0 IW<  [ext4-rsv-conver]
  973 root      9016 S    /sbin/ubusd
  978 root      2744 S    /sbin/askfirst /usr/libexec/login.sh
  979 root      3112 S    /bin/ash --login
 1269 root         0 IW<  [cfg80211]
 1801 root     11328 S    /usr/sbin/odhcpd
 2697 root     10032 S    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 
 2705 root     10032 R    {dnsmasq} /sbin/ujail -n dnsmasq -u -l -r /dev/null 
 2759 root      3108 R    ps
22.07.20181686Base systemBug ReportVery LowHighMir3g random reboot/freezeTrunkUnconfirmed Task Description

Xiaomi Mi Router 3G r7519-1e83f775a3 / LuCI Master (git-18.199.46142-369553c)

i’m using a mir3g and weekly updating to the latest snapshot but from months i still having the same issue random reboots or in some cases, an amber led and what looks a freeze.

here the interesting parts i’ve found using /etc/syslog for logging (to avoid losing the log each reboot) when the reboots come up:

Fri Jul 20 05:36:04 2018 kern.alert kernel: [42728.145661] CPU 3 Unable to handle kernel paging request at virtual address 0000802f, epc == 8e9b1ae0, ra == 8e9b1994
Fri Jul 20 05:36:04 2018 kern.warn kernel: [42728.156261] Oops[#1]:
                                                                                                                  Fri Jul 20 05:36:07 2018 user.notice dnsmasq: DNS rebinding

...

Sat Jul 21 01:37:35 2018 kern.alert kernel: [72076.004853] CPU 1 Unable to handle kernel paging request at virtual address 07402008, epc == 80118aa0, ra == 8011a1f4
Sat Jul 21 01:37:35 2018 kern.warn kernel: [72076.015740] Oops[#1]:
Sat Jul 21 01:37:35 2018 kern.warn kernel: [72076.018010] CPU: 1 PID: 18600 Comm: nslookup Not tainted 4.14.54 #0
Sat Jul 21 01:37:38 2018 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!

...

Sun Jul 22 04:30:12 2018 kern.alert kernel: [96742.276696] CPU 0 Unable to handle kernel paging request at virtual address 0000802f, epc == 8e991ae0, ra == 8e991994
Sun Jul 22 04:30:12 2018 kern.warn kernel: [96742.287301] Oops[#1]:
Sun Jul 22 04:30:15 2018 user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!

any guess to whats happening? i just have a faulty unit?

16.08.20181787Base systemBug ReportVery LowHighiw doesn't support wep with ibss adhocTrunkUnconfirmed Task Description

VoCore2 / OpenWrt SNAPSHOT, r7866-8c91807

Works:

# iw phy phy0 interface add f00 type ibss
# ip link set up f00
# iw dev f00 ibss join foobar 2412
root@tolppaB8D812x67_27402:~# iwinfo f00 info
f00 ESSID: “foobar”

        Access Point: B8:D8:12:67:6B:0A
        Mode: Ad-Hoc  Channel: 1 (2.412 GHz)
        Tx-Power: 0 dBm  Link Quality: unknown/70
        Signal: unknown  Noise: unknown
        Bit Rate: unknown
        Encryption: unknown
        Type: nl80211  HW Mode(s): 802.11bgn
        Hardware: unknown [Generic MAC80211]
        TX power offset: unknown
        Frequency offset: unknown
        Supports VAPs: yes  PHY name: phy0

Does NOT work:

# iw dev f00 ibss join foobar 2412 key d:0:42325d294a
Usage: iw [options] dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]

Join the IBSS cell with the given SSID, if it doesn’t exist create
it on the given frequency. When fixed frequency is requested, don’t
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell’s BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
it with the specified basic-rates, multicast-rate and beacon-interval.

Options:

  1. -debug enable netlink debugging
23.08.20181806Base systemBug ReportVery LowHighafter rebooting with a device connect, that port doesn'...TrunkUnconfirmed Task Description

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

 

Device: Linksys E1700
Running: Trunk, but also tested positive with 17.01

After rebooting the E1700 router, that has a device connected, whos network card has enery saving activated, the link of the port, that the device is connected to, does not come up.

Tested with a Dell laptop with a Realtek PCIe GBE Familiy Controller, the driver options that needed to be deactivated were “Energy Efficient Ethernet” and “Green Ethernet”.
But the problem also happened with various thin clients and printers.

The log or dmesg does not show anything regarding this.


30.08.20181826KernelBug ReportVery LowHighFQ_codel is the wrong qdisc for the CAN busTrunkUnconfirmed Task Description

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

 bring up a can device that expects pfifo-fast, rather than noqueue

We finally had an edge case where fq_codel is totally the wrong thing.

https://marc.info/?l=linux-can&m=152785826628439&w=2

https://github.com/systemd/systemd/issues/9194

I don’t know how many can bus devices expect pfifo_fast, rather than noqueue. So far as I can tell the flow dissector doesn’t engage, so no FQ, but can is oft blocking bus so codel can drop more often than pfifo_fast does.

13.09.20181844Base systemBug ReportVery LowHighR7800 ipv6 connectivityTrunkUnconfirmed Task Description

Hello,

ipv6 does not work properly on my Netgear R7800. I am running OpenWrt 18.6.1. The device gets a ipv6 address assigned, but I cannot ping any ipv6 address. Furthermore, I get the following error:
# ping6 google.de
PING google.de (2607:f8b0:4000:817::2003): 56 data bytes
ping6: sendto: Permission denied

After running the command
# tcpdump -i eth0 -vv
for some time, ipv6 connectivity works, I am able to ping an ipv6 address, also pinging from another host and establishing v6 connections is working.
# ping6 google.de
PING google.de (2607:f8b0:4000:817::2003): 56 data bytes
64 bytes from 2607:f8b0:4000:817::2003: seq=0 ttl=51 time=118.360 ms
64 bytes from 2607:f8b0:4000:817::2003: seq=1 ttl=51 time=118.626 ms

However, after some time, this is not working anymore and I have to restart the tcpdump command.

This must be a device specific issue, since my other Netgear Router (WNDR3700) running 18.06.1 is working flawlessly.


25.09.20181868KernelBug ReportVery LowHighkmod-netem: Unable to handle kernel NULL pointer derefe...TrunkUnconfirmed Task Description

Device is WRT1900ACv2, kernel version is 4.14.71
It is simple to reproduce, just invoke netem such as `tc qdisc add dev eth1 root netem delay 100ms`, it will crash immediately

01.10.20181877KernelBug ReportVery LowHighSD Card corruption on reboot after power failureTrunkUnconfirmed Task Description

- problem occurs on zbt-we1326 with mt7621 cpu with mtk_sd kernel module loaded.
- openwrt latest snapshot(30-08-2017) firmware downloaded from openwrt.
- Steps to reproduce
1. setup extroot on the sdcard with a partition of 1gb(ext4)(boot) mounted as /overlay and 31gb(f2fs)(data) mounted at /media/
2. works fine on normal reboot(through ui).
3. turn off router power and start the router by plugging back in. notice corruption of extroot or data folder or both . it doesn’t happen rarely but it definitely happens on subsequent power off/on cycle.

 


07.10.20181883Base systemBug ReportVery LowHighWAN interface VLAN not working on AVM FRITZ!Box 4040TrunkUnconfirmed Task Description

WAN interface of AVM FRITZ!Box 4040 is on eth1. To gain internet connectivity the ISP requires VLAN tagging with ID 7. But while I can send packets through interface eth1, I cannot through eth1.7.

Affected device: https://openwrt.org/toh/hwdata/avm/avm_fritz_box_4040 Affected versions: All I have tested, that is: 18.06.1 and the snapshot available today.

I haven’t seen any disturbing firewall rules and it still doesn’t work after flushing iptables completely.

Steps to reproduce:

- flash OpenWrt 18.06.1 to FRITZ!Box 4040
- change WAN ifname to eth1.7
- connect WAN port to laptop or monitoring device with Wireshark or similar
- send something via eth1.7, e.g. ping, but dhcp or pppd are sending stuff anyway

What happens:

Monitoring device does not see pings, dhcp, pppoe or other packets that go through eth1.7. It received when sending via eth1 directly (untagged). When sniffing via tcpdump on the router, it looks like the packets are send, but they are actually not going over the wire.

What should happen:

VLAN tagged packets are send properly (so PPPoE discovery succeeds in the end).

It was advised to open this bug report in the following forum thread. There is also some more information including configuration dumps. https://forum.openwrt.org/t/vlan-configuration-for-telekom/21841

13.10.20181893Base systemBug ReportVery LowHighRouting/NAT Offloading now working with VoIP/IPTV VLANsTrunkUnconfirmed Task Description

I’m using the latest build OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.284.42397-55ebe88)

With ZBT-WG3526 (16M), MediaTek MT7621 ver:1 eco:3.

I’ve VLANs for VoIP and IPTV.

If I enable Routing/NAT Offloading (tried both options (software and hardware), it looks that this feature doesn’t allows the VoIP and IPTV traffic to work as it was doing previously.+

I know this is experimental and may be still needs some more testing, etc., but I just wanted to let the developers know about this issue, in case, they haven’t realized it.

29.10.20181917Base systemBug ReportVery LowHighMT7621 hw offloading crashingTrunkUnconfirmed Task Description

I’m using the latest build OpenWrt 18.06.1 r7258-5eb055306f / LuCI openwrt-18.06 branch (git-18.284.42397-55ebe88)

With ZBT-WG3526 (16M), MediaTek MT7621 ver:1 eco:3.

Using HW offloading makes systems unstable after less than 24 hours.

I’ve tested it during several days. Now using SW offloading seems to be working ok.

I’ve posted traces here:

https://forum.openwrt.org/t/mt7621-offloading-reboots/24043

01.11.20181922Base systemBug ReportVery LowHighBuilding on mac os 10.13.6 fails due to perl issues wit...TrunkUnconfirmed Task Description

Attempting to build latest OpenWrt firmware for NETGEAR R7800 (arm-openwrt-linux-musl) fails with Perl errors about dynamic module loading:

/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/hostpkg/usr/bin/perl5.28.0 files/perlconfig.pl -Dowrt:target_cc='arm-openwrt-linux-muslgnueabi-gcc' -Dowrt:gccversion="7.3.0" -Dowrt:target_cross='arm-openwrt-linux-muslgnueabi-' -Dowrt:cflags='-O2 -pipe -mcpu=cortex-a9 -mfpu=vfp3 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -I/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/include -I/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/include -I/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/include -I/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/include/fortify -I/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/include' -Dowrt:ldflags='-L/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/usr/lib -L/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/lib -L/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/usr/lib -L/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-7.3.0_musl_eabi/lib -znow -zrelro' -Dowrt:libc="musl" -Dowrt:ipv6=undef -Dowrt:threads=no -Dowrt:staging_dir='/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi' -Dowrt:host_perl_prefix='/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/hostpkg/usr' files/version.config files/base.config files/arm.config files/architecture.config files/signal.config files/threads.config files/libc.config files/misc.config > /Volumes/OpenWrt/NETGEAR_R7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/perl-5.28.0/config.sh
Can't load module List::Util, dynamic loading not available in this perl.
  (You may need to build a new perl executable which either supports
  dynamic loading or has the List::Util module statically linked into it.)
 at files/perlconfig.pl line 229.
Compilation failed in require at files/perlconfig.pl line 229.
BEGIN failed--compilation aborted at files/perlconfig.pl line 229.
make[3]: *** [/Volumes/OpenWrt/NETGEAR_R7800/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/perl/perl-5.28.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 255
make[3]: Leaving directory `/Volumes/OpenWrt/NETGEAR_R7800/feeds/packages/lang/perl'
time: package/feeds/packages/perl/compile#0.25#0.13#0.66
make[2]: *** [package/feeds/packages/perl/compile] Error 2
make[2]: Leaving directory `/Volumes/OpenWrt/NETGEAR_R7800'
make[1]: *** [/Volumes/OpenWrt/NETGEAR_R7800/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory `/Volumes/OpenWrt/NETGEAR_R7800'
make: *** [world] Error 2
15.11.20181953Base systemBug ReportVery LowHighAsus RT N56U 5GHz radio doesn't work if 2.4GHz radio is...TrunkUnconfirmed Task Description

Version: 18.06.1
Asus RT N56U

When the 2.4GHz radio is enabled, the 5GHz radio does not function when both are set to US country code.

Steps to reproduce:
Set up radio 1 and radio 2 with US country codes.
Reboot.
Only the 2.4GHz radio will work.
If you disable the 2.4GHz and reboot, the 5GHz will work.

Any additional info you thinks is important:
Tried all workarounds listed.
More information about a bug in the original firmware fixed in Padavan’s firmware related to the 5GHz radio can be found here:
https://dev.archive.openwrt.org/ticket/17659.html#comment:23

Workaround:
Set the 2.4GHz radio country code to World (00) and reboot. Leave the 5GHz on US. Now both radios work.

24.12.20182024Base systemBug ReportVery LowHighsysupgrade silently does nothing in case of active swap...TrunkUnconfirmed Task Description

Trying sysupgrade on my ZBT WE1026, with SD-Card installed, and swap file active on it, silently does not succeed.

However, as I am using ‘sysupgrade -v -n -f /tmp/some_pars.tar.gz /tmp/fw.bin’ the files from some_pars.tar.gz are applied to unmodified system, resulting in inconsistencies.

Doing swapoff before
sysupgrade fixed my problem.

sysupgrade should at least issue an error message, when it does not succeed.
As I suspect, that unsuccessful umount of my block device with swap-file open is the culprit.


15.01.20192059Base systemBug ReportVery LowHighuclient-fetch not working at all on http (not https) co...TrunkUnconfirmed Task Description

I just tried today’s trunk snapshot on my Turris Omnia; everything’s working fine apart from uclient-fetch. I noticed the failure because the ddns updater stopped working. If I install wget, everything works, since wget replaces uclient-fetch. Sample output follows.

Bad:

root@heimdall:/tmp# uclient-fetch http://perdu.com/ Downloading ‘http://perdu.com/’ Failed to establish connection
root@heimdall:/tmp#

Good:

root@heimdall:/tmp# wget http://perdu.com/ –2019-01-15 14:31:09– http://perdu.com/ Resolving perdu.com... 208.97.177.124
Connecting to perdu.com|208.97.177.124|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 204 [text/html]
Saving to: ‘index.html’

index.html 100%[==================================================================================================================================================================>] 204 --.-KB/s in 0s 2019-01-15 14:31:10 (16.4 MB/s) - 'index.html' saved [204/204] root@heimdall:/tmp# Image builder command line: make image PROFILE=turris-omnia PACKAGES="-kmod-ath9k -dnsmasq -odhcpd -odhcpd-ipv6only -odhcp6c -ppp -ppp-mod-pppoe ddns-scripts dnsmasq-full ethtool haveged htop ipset kmod-ipt-raw kmod-ipt-raw6 kmod-nf-nathelper-extra kmod-wireguard nano sqm-scripts tcpdump tor wget wireguard-tools zram-swap"

23.02.20192141Base systemBug ReportVery LowHighOn router Linksys EA6350v3, Luci shows missing port on ...TrunkUnconfirmed Task Description

Hi!

I am using OpenWRT development from Feb21 on my Linksys EA6350v3 router. So far, everything works fine, however I am trying to setup the WAN port with a VLAN, but if I access: Luci → Network → Switch it only displays the CPU port and the 4 LAN ports, the WAN port is not displayed, but if I access the router via SSH, then the port is there on swconfig:

root@wl:~# swconfig dev switch0 show
Global attributes:

enable_vlan: 1
enable_mirror_rx: 0
enable_mirror_tx: 0
mirror_monitor_port: 0
mirror_source_port: 0
linkdown: ???

Port 0:

mib: Port 0 MIB counters

RxBroad : 722
RxPause : 0
RxMulti : 2898
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 34565
Rx128Byte : 717134
Rx256Byte : 12692
Rx512Byte : 7510
Rx1024Byte : 7809
Rx1518Byte : 141976
RxMaxByte : 193165
RxTooLong : 0
RxGoodByte : 573563874
RxBadByte : 0
RxOverFlow : 0
Filtered : 4
TxBroad : 3813
TxPause : 0
TxMulti : 73600
TxUnderRun : 0
Tx64Byte : 62619
Tx128Byte : 115302
Tx256Byte : 15655
Tx512Byte : 41091
Tx1024Byte : 34454
Tx1518Byte : 2869708
TxMaxByte : 0
TxOverSize : 0
TxByte : 4378564661
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 

Port 1:

mib: Port 1 MIB counters

RxBroad : 10
RxPause : 0
RxMulti : 126
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 40
Rx128Byte : 534
Rx256Byte : 313
Rx512Byte : 38
Rx1024Byte : 18
Rx1518Byte : 15
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 141761
RxBadByte : 0
RxOverFlow : 0
Filtered : 13
TxBroad : 180
TxPause : 0
TxMulti : 367
TxUnderRun : 0
Tx64Byte : 335
Tx128Byte : 362
Tx256Byte : 279
Tx512Byte : 216
Tx1024Byte : 29
Tx1518Byte : 52
TxMaxByte : 0
TxOverSize : 0
TxByte : 274900
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:1 link:down

Port 2:

mib: Port 2 MIB counters

RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 4419
TxPause : 0
TxMulti : 76469
TxUnderRun : 0
Tx64Byte : 46240
Tx128Byte : 1084
Tx256Byte : 2641
Tx512Byte : 28047
Tx1024Byte : 2915
Tx1518Byte : 1
TxMaxByte : 0
TxOverSize : 0
TxByte : 18438433
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:2 link:up speed:100baseT full-duplex txflow rxflow auto

Port 3:

mib: Port 3 MIB counters

RxBroad : 0
RxPause : 0
RxMulti : 0
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 0
Rx128Byte : 0
Rx256Byte : 0
Rx512Byte : 0
Rx1024Byte : 0
Rx1518Byte : 0
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 0
RxBadByte : 0
RxOverFlow : 0
Filtered : 0
TxBroad : 4419
TxPause : 0
TxMulti : 76469
TxUnderRun : 0
Tx64Byte : 46240
Tx128Byte : 1084
Tx256Byte : 2641
Tx512Byte : 28047
Tx1024Byte : 2915
Tx1518Byte : 1
TxMaxByte : 0
TxOverSize : 0
TxByte : 18438433
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:3 link:up speed:1000baseT full-duplex auto

Port 4:

mib: Port 4 MIB counters

RxBroad : 3765
RxPause : 0
RxMulti : 73151
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 62113
Rx128Byte : 115122
Rx256Byte : 15386
Rx512Byte : 40931
Rx1024Byte : 34440
Rx1518Byte : 2869706
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 4378395323
RxBadByte : 0
RxOverFlow : 0
Filtered : 11
TxBroad : 379
TxPause : 0
TxMulti : 2755
TxUnderRun : 0
Tx64Byte : 34306
Tx128Byte : 717333
Tx256Byte : 12274
Tx512Byte : 7258
Tx1024Byte : 7735
Tx1518Byte : 335099
TxMaxByte : 0
TxOverSize : 0
TxByte : 569081244
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:4 link:up speed:1000baseT full-duplex txflow rxflow auto

Port 5:

mib: Port 5 MIB counters

RxBroad : 38
RxPause : 0
RxMulti : 323
RxFcsErr : 0
RxAlignErr : 0
RxRunt : 0
RxFragment : 0
Rx64Byte : 526
Rx128Byte : 312
Rx256Byte : 54
Rx512Byte : 205
Rx1024Byte : 23
Rx1518Byte : 30
RxMaxByte : 0
RxTooLong : 0
RxGoodByte : 217499
RxBadByte : 0
RxOverFlow : 0
Filtered : 9
TxBroad : 348
TxPause : 0
TxMulti : 259
TxUnderRun : 0
Tx64Byte : 344
Tx128Byte : 406
Tx256Byte : 200
Tx512Byte : 199
Tx1024Byte : 20
Tx1518Byte : 13
TxMaxByte : 0
TxOverSize : 0
TxByte : 194389
TxCollision : 0
TxAbortCol : 0
TxMultiCol : 0
TxSingleCol : 0
TxExcDefer : 0
TxDefer : 0
TxLateCol : 0

pvid: 1
link: port:5 link:down

VLAN 1:

vid: 1
ports: 0 1 2 3 4 5 

VLAN 2:

vid: 2
ports: 0t 5t 

root@wl:~#

So the firmware knows there is an additional port in the switch, it’s just Luci that does not display it.

For extra info, here’s the OpenWRT version I am running:

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

_______                     ________        __

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

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

—————————————————– OpenWrt SNAPSHOT, r9414-2d13945


Thanks in advance for your help with this, very appreciated.


29.03.20192209Base systemBug ReportVery LowHighInconsistent behaviour of HOST_CONFIGURE_CMD vs CONFIGU...TrunkUnconfirmed Task Description

Target checks via:

if [ -x $(CONFIGURE_CMD) ]; then

yet host does:

if [ -x configure ]; then

So trying to use this, will fail for the target, but not for the host.

CONFIGURE_CMD = ./buildtools/bin/waf configure
HOST_CONFIGURE_CMD = ./buildtools/bin/waf configure

This results in

./buildtools/bin/waf: binary operator expected

for the target.

The check is flawed in both cases, the host does not check for the custom configure command and the target is doing a file check only, so you have to ensure the actual “configure” argument is first in the CONFIGURE_ARGS.

CONFIGURE_ARGS:=configure $(CONFIGURE_ARGS)

This is confusing and both cases should work similar and check for CONFIGURE_CMD and maybe we should add a CONFIGURE_CMD_ARGS variable, that can hold custom arguments.

03.04.20192220Base systemBug ReportVery LowHighath10k NEW kernel thread crash in CT htt firmware - ath...TrunkUnconfirmed Task Description

OpenWrt SNAPSHOT, r9754-fbe2e7d15e
Trunk Pulled April 1st.
Archer C7v2

Unclear how to reproduce, just happens.

Supplying init logs and kernel trace logs:

[ 31.099086] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[ 31.108127] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 31.116173] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 31.389333] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:00:00.0.txt failed with error -2
[ 31.400044] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.491602] firmware ath10k!fwcfg-pci-0000:00:00.0.txt: firmware_loading_store: map pages failed
[ 31.500774] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 31.511656] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.687486] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 31.696848] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/cal-pci-0000:00:00.0.bin failed with error -2
[ 31.707378] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 31.949406] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[ 31.960559] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.095183] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[ 32.104800] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[ 32.115944] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.291783] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[ 32.301402] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 32.312279] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.487841] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 32.497209] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[ 32.508092] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.684408] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[ 32.693770] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[ 32.704646] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 32.879819] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[ 32.889172] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[ 32.900050] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.076143] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[ 33.089091] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 33.098473] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[ 33.110860] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-fW-022-883e26a8 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 crc32 7a67ce60
[ 33.219987] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 33.230599] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 33.382851] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 33.392104] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 34.332647] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[ 34.350100] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [ 34.356422] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [ 34.364543] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [ 34.432688] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 34.445504] ath10k_pci 0000:00:00.0: NOTE: Firmware DBGLOG output disabled in debug_mask: 0×10000000 [ 34.579131] ath: EEPROM regdomain: 0×0 [ 34.579137] ath: EEPROM indicates default country code should be used
[ 34.579140] ath: doing EEPROM country→regdmn map search
[ 34.579152] ath: country maps to regdmn code: 0x3a
[ 34.579158] ath: Country alpha2 being used: US
[ 34.579161] ath: Regpair used: 0x3a
[ 34.652355] ath: EEPROM regdomain: 0×0 [ 34.652362] ath: EEPROM indicates default country code should be used
[ 34.652365] ath: doing EEPROM country→regdmn map search
[ 34.652378] ath: country maps to regdmn code: 0x3a
[ 34.652383] ath: Country alpha2 being used: US
[ 34.652386] ath: Regpair used: 0x3a
[ 34.669837] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 34.671315] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12 50893 seconds later: [50893.910674] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50893.961879] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.015322] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.064267] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.115474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.166670] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.217864] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.269072] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.320275] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.371474] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.422686] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.473885] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.525096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.576362] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.627495] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.678696] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.732123] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.781096] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.834596] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.883493] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[50894.934705] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50894.985904] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50896.978515] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[50896.986336] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50897.033922] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...repeats...
[50900.018475] ath10k_pci 0000:00:00.0: wmi command 40859 timeout, restarting hardware
[50900.026455] ath10k_pci 0000:00:00.0: failed to send wmi nop: -11
[50900.032989] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[50900.048476] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 87385a00 vdev: 0 addr: 50:f5:da:36:35:2c
[50900.059639] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85914a00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[50900.070766] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86c43400 vdev: 1 addr: 32:b5:c2:96:62:fd
[50900.081883] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 86e1f000 vdev: 0 addr: 30:b5:c2:96:62:fd
[50900.093145] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[50900.355684] ieee80211 phy0: Hardware restart was requested
[50900.361749] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -143
[50900.369442] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[50901.941908] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[50901.959432] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [50901.965928] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [50901.974101] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [50902.043511] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[50902.058893] ath10k_pci 0000:00:00.0: set-coverage-class, phyclk: 88 value: 0
[50902.079716] ath10k_pci 0000:00:00.0: device successfully recovered
[50902.086147] ath10k_pci 0000:00:00.0: Invalid state: 3 in ath10k_htt_tx_32, warning will not be repeated.
[50902.086152] ————[ cut here ]———— [50902.086232] WARNING: CPU: 0 PID: 4533 at /home/vagrant/openwrt/build_dir/target-mips_24kc_musl/linux-ath79_generic/ath10k-ct-2019-03-25-2e917efb/ath10k-4.19/htt_tx.c:1253 ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086235] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TRACE 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_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[50902.086394] 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 nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[50902.086515] CPU: 0 PID: 4533 Comm: kworker/0:1 Not tainted 4.14.109 #0
[50902.086640] Workqueue: events_freezable ieee80211_alloc_hw_nm [mac80211]
[50902.086644] Stack : 00000009 000004e5 87d58468 800b2878 804aeb00 87c07cb4 85da4ddc 80501947
[50902.086665] 804aac3c 87c07c8c 80500000 800b36d4 87d58468 00000000 87c07c68 dabdb416
[50902.086684] 00000000 00000000 00000000 00000000 00000004 8040f32c 00000001 68775f6e
[50902.086702] 735f6672 80500000 000001be 65657a61 00000000 00000000 87154274 87124968
[50902.086721] 00000009 000004e5 87d58468 8723cbf0 00000000 00000000 00000000 80650000
[50902.086739] ...
[50902.086745] Call Trace:
[50902.086767] [<8006a90c>] show_stack+0×58/0×100 [50902.086791] [<80084fa0>]
warn+0xe4/0×118 [50902.086802] [<80085064>] warn_slowpath_null+0x1c/0×28 [50902.086866] [<87124968>] ath10k_convert_hw_rate_to_rate_info+0×190/0xae4 [ath10k_core]
[50902.086896] [<87103d04>] 0x87103d04
[50902.086913] —[ end trace db720eb818c982c2 ]— [50902.086925] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086938] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086945] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.086967] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[50902.086977] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[50902.086984] ath10k_pci 0000:00:00.0: failed to push frame: -19
[50902.097084] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
...repeats...
[55789.947757] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55789.998968] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
55792.860153] ath10k_pci 0000:00:00.0: wmi command 36893 timeout, restarting hardware
[55792.867970] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55792.875741] ath10k_pci 0000:00:00.0: failed to delete peer b0:19:c6:64:f9:69 for vdev 0: -11
[55792.884453] ath10k_pci 0000:00:00.0: found sta peer b0:19:c6:64:f9:69 (ptr 86e1f600 id 33) entry on vdev 0 after it was supposedly removed
[55792.897563] ————[ cut here ]———— [55792.902662] WARNING: CPU: 0 PID: 2420 at backports-4.19.23-1/net/mac80211/sta_info.c:1004 sta_set_sinfo+0xbac/0xc58 [mac80211]
[55792.914415] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TRACE 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_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink iptable_raw iptable_mangle iptable_filter ipt_ECN ip6table_raw ip_tables crc_ccitt compat sch_cake nf_conntrack
[55792.986359] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55792.986485] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.003634] 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 nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb tun ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[55793.062374] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.070938] CPU: 0 PID: 2420 Comm: hostapd Tainted: G W 4.14.109 #0
[55793.078506] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.086883] Stack : 80520000 804d84a4 00000000 00000000 804aeb00 85da1b04 87dd02dc 80501947
[55793.095767] 804aacd0 00000974 80653670 000003ec 85da1cb4 00000001 85da1ab8 b78f71e9
[55793.104653] 00000000 00000000 80650000 00012a38 00000000 00000000 00000008 00000000
[55793.114085] 000002ce 861a1102 000002cc 00000000 80000000 00000000 87064a04 87007c2c
[55793.123006] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.131158] 00000009 000003ec 85da1cb4 87ff8800 00000002 802697c4 00000000 80650000
[55793.139658] ...
[55793.142953] Call Trace:
[55793.145468] [<8006a90c>] show_stack+0×58/0×100 [55793.149997] [<80084fa0>] warn+0xe4/0×118 [55793.154512] [<80085064>] warn_slowpath_null+0x1c/0×28 [55793.160292] [<87007c2c>] sta_set_sinfo+0xbac/0xc58 [mac80211]
[55793.166181] [<87007db8>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[55793.173452] [<8778f17c>] cfg80211_check_station_change+0x1be0/0x2c54 [cfg80211]
[55793.180959] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55793.188700] —[ end trace db720eb818c982c3 ]— [55793.224635] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55793.275831] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
...
[55796.220118] ath10k_pci 0000:00:00.0: wmi command 36954 timeout, restarting hardware
[55796.245481] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55796.296663] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55796.317807] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 8561b600 vdev: 0 addr: 50:f5:da:36:35:2c
[55796.328987] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 85322c00 vdev: 0 addr: ac:bc:32:b4:c4:d7
[55796.340121] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb200 vdev: 1 addr: 32:b5:c2:96:62:fd
[55796.351253] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 834fb000 vdev: 0 addr: 30:b5:c2:96:62:fd
[55796.860635] irq 15: nobody cared (try booting with the “irqpoll” option)
[55796.867447] CPU: 0 PID: 15620 Comm: kworker/u2:0 Tainted: G W 4.14.109 #0
[55796.875540] Workqueue: ath10k_wq ath10k_core_create [ath10k_core]
[55796.881718] Stack : ffffffff 00000003 80653ae0 800b2878 804aeb00 87c07cc4 86e123dc 80501947
[55796.890201] 804aac3c 87c07c9c 80500000 800b36d4 80653ae0 00000000 87c07c78 86c8eb6e
[55796.898683] 00000000 00000000 00000000 000151c0 00000000 00000000 00000008 00000000
[55796.907167] 00000323 80500000 00000322 00000000 00000000 8050b6a4 0000000f 00011000
[55796.915650] ffffffff 00000003 80653ae0 80506ae8 00000000 802697c4 00000000 80650000
[55796.924134] ...
[55796.926615] Call Trace:
[55796.929112] [<8006a90c>] show_stack+0×58/0×100 [55796.933620] [<800b6f6c>]
report_bad_irq.isra.0+0×54/0xf0
[55796.939179] [<800b72f4>] note_interrupt+0×284/0×330 [55796.944142] [<800b488c>] handle_irq_event_percpu+0x4c/0×64 [55796.949706] [<800b48e0>] handle_irq_event+0x3c/0x6c
[55796.954650] [<800b7ca4>] handle_level_irq+0×110/0×154 [55796.959772] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.964903] [<802d4750>] ar724x_pci_irq_handler+0xa4/0xdc
[55796.970376] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.975502] [<80219354>] ath79_intc_irq_handler+0×94/0xec
[55796.980981] [<800b3d90>] generic_handle_irq+0×38/0×50 [55796.986117] [<804144d4>] do_IRQ+0x1c/0x2c
[55796.990185] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55796.995306] [<800658d8>] handle_int+0×138/0×144 [55796.999900] [<80219260>] plat_irq_dispatch+0xc0/0×120 [55797.005018] handlers:
[55797.007333] [<877134a0>] ath10k_pci_irq_msi_fw_mask [ath10k_pci]
[55797.013420] Disabling IRQ #15
[55797.285000] ieee80211 phy0: Hardware restart was requested
[55800.300248] ath10k_pci 0000:00:00.0: bss channel survey timed out
[55801.740207] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16 peers: 127 tid: 256
[55801.850097] ath10k_pci 0000:00:00.0: wmi print ‘P 128 V 8 T 410’ [55801.856213] ath10k_pci 0000:00:00.0: wmi print ‘msdu-desc: 1424 sw-crypt: 0 ct-sta: 0’ [55801.864353] ath10k_pci 0000:00:00.0: wmi print ‘alloc rem: 24680 iram: 26872’ [55802.950176] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[55808.120391] ath10k_pci 0000:00:00.0: device successfully recovered
[55808.126726] net_ratelimit: 79 callbacks suppressed
[55808.126736] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126748] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126756] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.126771] ath10k_pci 0000:00:00.0: failed to transmit packet, dropping: -19
[55808.126780] ath10k_pci 0000:00:00.0: failed to submit frame: -19
[55808.126787] ath10k_pci 0000:00:00.0: failed to push frame: -19
[55808.560031] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.567607] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.575152] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.670084] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.677616] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.790161] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.797700] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55808.890070] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55808.897614] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.000079] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.007588] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.110035] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.117559] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.125363] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.220094] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.227789] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.330097] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.337638] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.440112] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.447645] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.550389] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[55809.557931] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[55809.660388] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon


04.07.20192355KernelBug ReportVery LowHighlow ipsec throughput on ipq40xx platformTrunkUnconfirmed Task Description

The problem has been confirmed on gl-inet b1300 and Asus AC58u, latest snapshot and 18.06.2.

very low ipsec throughput under normal strongswan road-warrior configuration, but performance become reasonable after installing strongswan-mod-kernel-libipsec, it means bypass kernel’s ipsec stack.

more information can be found on discussion topic thread.

https://forum.openwrt.org/t/ipsec-performance-issue/39690/2

16.07.20192390Base systemBug ReportVery LowHighIssues with PowerLAN devicesTrunkUnconfirmed Task Description

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

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

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

 


16.07.20192391KernelBug ReportVery LowHighmac80211: ath9k AP fails to honour client's power save ...TrunkUnconfirmed Task Description

Context:

I am using one device in AP mode, the other in client mode.
The client uses wpa_supplicant to do background scan to other channels that the data channel.
I am running iperf (UDP) from the AP to the client.

My device is home-made, Cavium development board-based, equipped with Compex WLE350NX.
It works correctly with kernel 3.18 and the 2015 wireless backport.
I updated to kernel 4.9 and the wireless backport 4.19.32-1, the last one from the trunk. (previously I used backport-2017-11-01 with the same result).

I am running wireshark with Airpcap to spy the wireless link.

Problem:

* When the client scans offchannel, it correctly sends nullfunc frames around the offchannel period, with the PM bit set then unset.

* However, during this time, the AP continues to send data to the client.

 

* This results in a lot of lost frames, though I set the powersave buffers to high values on the AP side.

After some research I saw that the same kind of problem was fixed several times(*), but since there where so many changes in the queue management, I cannot really compare his work and the current state of the driver.

Any idea / patch / research directions ?

(*) https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5519541d5a5f19893546883547e2f0f2e5934df7

16.08.20192445KernelBug ReportVery LowHighOmega2 reboot hangTrunkUnconfirmed Task Description

- Omega2
- OpenWRT 19.07 branch (and master earlier this year)
- Try rebooting, results in hang.

Old issue, which seems to still persist. See:
http://community.onion.io/topic/1254/omega2-reboot/3 https://patchwork.ozlabs.org/patch/713750/ https://github.com/lede-project/source/pull/620

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

Device: Netgear EX2700

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

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

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

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


05.11.20192578KernelBug ReportVery LowHighrb532 via-rhine kernel crash when compiled with CONFIG_...TrunkUnconfirmed Task Description

- Device problem occurs on

rb532A, with two miniPCI Oxford Semiconductor Ltd OX16PCI954 modules installed

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

kernel 4.4.197

- Steps to reproduce

Software Configuration
- kernel compiled with CONFIG_VIA_RHINE_MMIO set to “Y”

Hardware Configuration
- two MiniPCI OX16PCI954 Quad UART installed
- one module installed on the router’s miniPCI slot
- one module installed on the daughter board’s miniPCI slot
- /dev/ttyS5 continuously bombarded by messages over the serial
- Eth0, Eth1, Eth1 are bridged
- Eth1 (via-rhine) is continuously bombarded by TFTP requests
- Eth0 executes minicom monitoring /dev/ttyS5

Tasks
minicom
in.tftpd

The machine looks working properly in the window time of some hours, but within 48 hours some weird things happened, and it crashed due to what seems memory corruption in kernel space.

Workaround

— .config 2019-10-28 20:02:02.000000000 +0100
+++ .config 2019-03-22 10:08:26.000000000 +0100
@@ -1105,7 +1105,7 @@
# CONFIG_NET_VENDOR_TOSHIBA is not set
CONFIG_NET_VENDOR_VIA=y
CONFIG_VIA_RHINE=y
-CONFIG_VIA_RHINE_MMIO=y
+# CONFIG_VIA_RHINE_MMIO is not set

Unsetting CONFIG_VIA_RHINE_MMIO solves the problem

more details here [1]

[1] http://www.downthebunker.com/reloaded/space/viewtopic.php?f=79&p=2842

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

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

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

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

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

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

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

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..
28.12.20192707KernelBug ReportVery LowHighmt7621/ath9k: unreliable AP with hardware encryptionTrunkUnconfirmed Task Description

Board: MikroTik Routerboard RBM33G (ramips/mt7621)
Interface: MikroTik R11e-2HPnD (ath9k/ar9582)
Tested versions: 18.06.5, snapshot

Some background: I’ve been using RB433AH & UBNT XR2 (ath5k) as home AP for many years. It was extremely reliable with OpenWRT, LEDE and OpenWRT once again. However, the 802.11g is not sufficient nowadays, so I decided to upgrade. I’ve acquired a RBM33G board and R11e-2HPnD module, but this setup is very unreliable for me.

The bug: At some point, the AP cannot receive (decrypt?) packets from a station, but the connection is still established.

Details:

  • It can happen on any active station connected to AP, but only one stalls at a given time (not all of them).
  • AP actually receives data from STA, as the RX byte counter increases, but the RX packet count is typically stuck at the same value. For example, several subsequent calls to `iw wlan0 station dump` show: rx bytes: 12121338 / 12127266 / 12141740, rx packets: 1282 / 1282 / 1282.
  • Driver discards the packets, as the replay counter greatly increases when this bug occurs. (e.g. /sys/kernel/debug/ieee80211/phy0/keys/3/replays: 484947)
  • There is nothing relevant in `dmesg` or `logread`.

Reproducibility:

  • It happens after several hours of a typical traffic.
  • I can trigger it manually much faster by passing high data throughput between clients (e.g. using iperf).

Configuration:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'NOHT'
        option txpower '16'
        option disabled '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid '<SSID>'
        option encryption 'psk2+ccmp'
        option key '<KEY>'

Stations tested:

  • Dell Latitude E7440 with Intel Wireless 7260 (iwlwifi), running linux 5.4.6
  • Dell Latitude E7270 with Intel Wireless 8260 (iwlwifi), running linux 4.19.91
  • RB411U with DBII F20-PRO (ath5k, AR5414), running LEDE 17.01.4 (in WDS link)


What does NOT help:

  • Changing the basic configuration (SSID, key).
  • Disabling 802.11n.
  • Disabling WDS (both AP & STA).
  • Disabling SMP (nosmp kernel cmdline option).
  • Using another version of hostapd, i.e. wpad-mesh.
  • Changing miniPCIe slot on the RBM33G board.
  • Disabling CPU powersave in MikroTik bootloader.

Workarounds:

  • Disable the encryption at all, but that’s obviously not an option.
  • Disable hardware encryption with ath9k’s nohwcrypt=1 parameter.

This bug does not occur with software encryption, at least in 802.11g mode. In 802.11n mode, the throughput is limited to a little over 30 Mbps and there are frequent disconnects. Apparently, the CPU is not the limiting factor, as `top` reports usage of approximately 10%.

Unfortunately, this bug renders the AP unusable for me, because I need the best reliability.

I also tested this setup with different board and (so far) I cannot reproduce this bug on RW2458N (ar71xx) & R11e-2HPnD with OpenWRT 18.06.5.

09.01.20202720PackagesBuild FailureVery LowHighlibcap compile failure at tests stepTrunkUnconfirmed Task Description

libcap build is failing since the update to 2.30

+ The toolchain options used are:
  - binutils 2.31.1
  - gcc 8.x
  - glibc

For reproducing one just need to run the folling

 $make package/feeds/packages/libcap/compile V=s

The flow breaks at tests stage:

make -C tests all
make[4]: Entering directory ‘/data/workspace/hbk/Perception/Embedded/OpenWrt/build_dir/target-i386_pentium4_glibc/libcap-2.30/tests’ i486-openwrt-linux-gnu-gcc -Os -pipe -march=pentium4 -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/data/workspace/hbk/Perception/Embedded/OpenWrt/build_dir/target-i386_pentium4_glibc/libcap-2.30=libcap-2.30 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fPIC -I/data/workspace/hbk/Perception/Embedded/OpenWrt/build_dir/target-i386_pentium4_glibc/libcap-2.30/tests/../libcap/include/uapi -I/data/workspace/hbk/Perception/Embedded/OpenWrt/build_dir/target-i386_pentium4_glibc/libcap-2.30/tests/../libcap/include libcap_psx_test.c -o libcap_psx_test -L/data/workspace/hbk/Perception/Embedded/OpenWrt/build_dir/target-i386_pentium4_glibc/libcap-2.30/tests/../libcap -lcap -L/data/workspace/hbk/Perception/Embedded/OpenWrt/build_dir/target-i386_pentium4_glibc/libcap-2.30/tests/../libcap -lpsx -lpthread -Wl,-wrap,pthread_create –static
/data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofclose.o): in function `_IO_new_fclose.cold.0’:
iofclose.c:(.text.unlikely+0×34): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofclose.o):(.eh_frame+0×13): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofclose.o):(.eh_frame+0x6f): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofflush.o): in function `_IO_fflush.cold.0’:
iofflush.c:(.text.unlikely+0×34): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofflush.o):(.eh_frame+0×13): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofflush.o):(.eh_frame+0×73): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(ioputs.o): in function `_IO_puts.cold.0’:
ioputs.c:(.text.unlikely+0×34): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(ioputs.o):(.eh_frame+0×13): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(ioputs.o):(.eh_frame+0×77): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(wfileops.o): in function `_IO_wfile_underflow.cold.2’:
wfileops.c:(.text.unlikely+0×34): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(wfileops.o):(.eh_frame+0x6b): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(wfileops.o):(.eh_frame+0x12b): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(fileops.o): in function `_IO_new_file_underflow.cold.6’:
fileops.c:(.text.unlikely+0×38): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(fileops.o):(.eh_frame+0×103): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(fileops.o):(.eh_frame+0x17f): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofputs.o): in function `_IO_fputs.cold.0’:
iofputs.c:(.text.unlikely+0×34): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofputs.o):(.eh_frame+0×13): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofputs.o):(.eh_frame+0x8f): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofwrite.o): in function `_IO_fwrite.cold.0’:
iofwrite.c:(.text.unlikely+0×34): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofwrite.o):(.eh_frame+0×13): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iofwrite.o):(.eh_frame+0x7f): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iogetdelim.o): in function `_IO_getdelim.cold.0’:
iogetdelim.c:(.text.unlikely+0×35): undefined reference to `_Unwind_Resume’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iogetdelim.o):(.eh_frame+0×13): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libc.a(iogetdelim.o):(.eh_frame+0x8f): undefined reference to `gcc_personality_v0’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libpthread.a(unwind.o): in function `unwind_stop’:
unwind.c:(.text+0×47): undefined reference to `_Unwind_GetCFA’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: unwind.c:(.text+0×88): undefined reference to `_Unwind_GetCFA’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: unwind.c:(.text+0xed): undefined reference to `_Unwind_GetCFA’ /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/bin/ld: /data/workspace/hbk/Perception/Embedded/OpenWrt/staging_dir/toolchain-i386_pentium4_gcc-8.3.0_glibc/lib/gcc/i486-openwrt-linux-gnu/8.3.0/../../../../i486-openwrt-linux-gnu/lib/libpthread.a(unwind.o): in function `__pthread_unwind’:
unwind.c:(.text+0×156): undefined reference to `_Unwind_ForcedUnwind’ collect2: error: ld returned 1 exit status

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

ucert -A generates something that ucert cannot read back.

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

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

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

This is related to  FS#2762  and FS#2763

24.01.20202768ToolchainBug ReportVery LowHighmake_ext4fs: Name-Based UUID leads to collisionTrunkUnconfirmed Task Description

make_ext4fs uses name-based uuid generation (see https://tools.ietf.org/html/rfc4122#section-4.3).

Therefore, as the uuid generation does only depend on the Filesystem Label and an hardcoded namespace, the UUID is exactly identical for multiple different filesystems with the same label (see https://git.openwrt.org/?p=project/make_ext4fs.git;a=blob;f=ext4_utils.c;h=1a886d7e86262d35e30d894f821ca91d32384e96;hb=HEAD#l224).

This can lead to problems like the inability to mount an filesystem by UUID.
In my constellation, I have an MMC Storage and an external SD-Card, both flashed with filesystems generated by make_ext4fs. They both have the same UUID, therefore it’s impossible to distinguish/mount them by UUID.

My suggestion would be to replace “info.label” as parameter for “generate_uuid” trough another, better suited value, e.g. an hash of the make_ext4fs directory content. Maybe it should be considered to switch to an Random Number-based UUID (https://tools.ietf.org/html/rfc4122#section-4.4)?

Affected Devices/Targets: All toolchains that use make_ext4fs
Revision: make-ext4fs-2020-01-05-5c201be7

05.02.20202814KernelBug ReportVery LowHighnetns cleanup_net race conditionTrunkUnconfirmed Task Description

I’m seeing this issue on master built for x86-64, it’s been happening since I started using this x86-64 machine around December.

[   73.300163] =============================================================================                                                                                                                                                                                   
[   73.309803] BUG kmalloc-32 (Not tainted): Object already free                                                                                                                                                                                                               
[   73.316694] -----------------------------------------------------------------------------                                                                                                                                                                                   
                                                                                                                                                                                                                                                                               
[   73.328675] Disabling lock debugging due to kernel taint                                                                                                                                                                                                                    
[   73.335167] INFO: Allocated in ops_init+0x6d/0x100 age=147 cpu=0 pid=11053                                                                                                                                                                                                  
[   73.343242] INFO: Freed in 0xffffffffa09c94ca age=36 cpu=2 pid=50                                                                                                                                                                                                           
[   73.350557] INFO: Slab 0x00000000ed33138b objects=36 used=11 fp=0x0000000017541cc8 flags=0xf700000000101                                                                                                                                                                    
[   73.361281] INFO: Object 0x0000000041bc5c4c @offset=1576 fp=0x000000007d23c440                                                                                                                                                                                              
                                                                                                                                                                                                                                                                               
[   73.372490] Redzone 000000008c59cd8b: bb bb bb bb bb bb bb bb                          ........                                                                                                                                                                             
[   73.382449] Object 0000000041bc5c4c: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk                                                                                                                                                                      
[   73.393029] Object 0000000073cabfc7: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5  kkkkkkkkkkkkkkk.                                                                                                                                                                      
[   73.403599] Redzone 000000009196639c: bb bb bb bb bb bb bb bb                          ........                                                                                                                                                                             
[   73.413574] Padding 000000009337e5e1: 5a 5a 5a 5a 5a 5a 5a 5a                          ZZZZZZZZ                                                                                                                                                                             
[   73.423549] CPU: 2 PID: 50 Comm: kworker/u16:1 Tainted: G    B             4.19.101 #0                                                                                                                                                                                      
[   73.432698] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z77 Pro4-M, BIOS P2.10 03/13/2018                                                                                                                                                                  
[   73.443617] Workqueue: netns cleanup_net                                                                                                                                                                                                                                    
[   73.448798] Call Trace:                                                                                                                                                                                                                                                     
[   73.452495]  dump_stack+0x57/0x7a                                                                                                                                                                                                                                           
[   73.457083]  print_trailer+0x203/0x210                                                                                                                                                                                                                                      
[   73.462068]  object_err+0x2f/0x36                                                                                                                                                                                                                                           
[   73.466613]  free_debug_processing.cold.107+0x2c/0x11f                                                                                                                                                                                                                      
[   73.472985]  ? ops_free_list.part.14+0x4d/0x60                                                                                                                                                                                                                              
[   73.478663]  __slab_free+0x1bd/0x330                                                                                                                                                                                                                                        
[   73.483482]  ? kmem_cache_free+0x1b5/0x1e0                                                                                                                                                                                                                                  
[   73.488778]  kfree+0x11c/0x140                                                                                                                                                                                                                                              
[   73.493009]  ops_free_list.part.14+0x4d/0x60                                                                                                                                                                                                                                
[   73.498460]  cleanup_net+0x1c4/0x280                                                                                                                                                                                                                                        
[   73.503215]  process_one_work+0x1a8/0x340                                                                                                                                                                                                                                   
[   73.508384]  worker_thread+0x2f/0x3a0                                                                                                                                                                                                                                       
[   73.513215]  kthread+0x10b/0x130                                                                                                                                                                                                                                            
[   73.517619]  ? process_one_work+0x340/0x340                                                                                                                                                                                                                                 
[   73.522967]  ? kthread_create_worker_on_cpu+0x60/0x60                                                                                                                                                                                                                       
[   73.529193]  ret_from_fork+0x35/0x40                                                                                                                                                                                                                                        
[   73.534067] FIX kmalloc-32: Object at 0x0000000041bc5c4c not freed                                                                                                                                                                                                          

There are old closed reports about it 2353 2354

I have tried with kernel 4.14 and with kernel 4.19 from the 19 branch and also removing the nf_conntrack_rtcache module, but the result is the same.

There are times that I see no BUG at all, others where I see it appear between 1 and several times. I use several docker containers and depending on the races, sometimes everything launches well and afterwards (if I don’t play with new docker instances) it is 100% stable whereas other times I have to reboot up to 3 or even 5 times for everything to work reliably.

dmesg with some race but working stable

partial dmesg which ends crashing, captured from another machine

21.02.20202847Base systemBug ReportVery LowHighbetween ath79-master-r12157-a1cfe0dcbb and ath79-master...TrunkUnconfirmed Task Description

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

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

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

- Steps to reproduce

 


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

_______                     ________        __

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

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

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


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

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

_______                     ________        __

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

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

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


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

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

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

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

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

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

07.03.20202888KernelBug ReportVery LowHighkomd-ipsec4 missing files in latest snapshotTrunkUnconfirmed Task Description

xfrm4_mode_tunnel ,xfrm4_mode_transport and xfrm4_mode_beet are missing in package kmod-ipsec4, it results strongswan failed to add SAD entry, and return netlink error.
It seems that it’s because of https://github.com/openwrt/openwrt/commit/1556ed155a9aff8636733d27076107b3354c4c3e

10.03.20202893Base systemBug ReportVery LowHighEthernet port not receiving data on Ubiquiti LiteAP ac ...TrunkUnconfirmed Task Description

Hi,

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

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

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

It works correctly with latest stable, 19.07.2.

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

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

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

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

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

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

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

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

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


27.03.20202936DocumentationBug ReportVery LowHighDocumentation for Pogoplug results in brickTrunkUnconfirmed Task Description

[1] assumes that u-boot image is smaller than 512 KB, but this is no longer the case. Followed the instructions without a second thought and bricked my device. It could have used ${filesize} like the sections below it, or simply use 640 KiB instead of 512 KiB. (The 660 KiB in the section might be a typo, it is not multiple of 128 KiB)

Besides, links in [2] are mostly broken and outdated. In addition, for V4 A3 devices, there are no test pads for JTAG.

[1] https://openwrt.org/toh/cloudengines/pogoplug#single-stage_bootloader [2] https://openwrt.org/toh/cloudengines/pogo-v4

08.04.20202978KernelBug ReportVery LowHighmt7621 snapshot downloads lack of .ko file in kernel mo...TrunkUnconfirmed Task Description

There is no .ko file in kernel module package, such as
kmod-crypto-acompress_5.4.28-1_mipsel_24kc.ipk
kmod-crypto-aead_5.4.28-1_mipsel_24kc.ipk
kmod-crypto-deflate_5.4.28-1_mipsel_24kc.ipk
Previous downloads in late 2019 and current mt7620 downloads do include .ko file.

08.04.20202980Base systemBug ReportVery LowHighNo connection to Ethernet portTrunkUnconfirmed Task Description

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

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


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

Available keyboard shortcuts

Tasklist

Task Details

Task Editing