OpenWrt/LEDE Project

Welcome to the OpenWrt Project bug reporting and issue tracking system

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

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

Opened  descIDCategoryTask TypePrioritySeveritySummaryReported InStatus
11.04.20181483Base systemBug ReportVery LowLowFirewall - firewall rules with time+date don't seem to ...TrunkUnconfirmed Task Description

I am running openwrt_cc, and having trouble with time+date based firewall rules. Time based rules (without date) work fine, but as soon as I add the date, the time no longer works. I expect such rules to take effect at the specified times within the specified dates. The resulting iptables do not look right. See below.

PKG_NAME:=firewall
PKG_VERSION:=2015-07-27
PKG_SOURCE_URL:=git://nbd.name/firewall3.git
PKG_SOURCE_VERSION:=980b7859bbd1db1e5e46422fccccbce38f9809ab

firewall uci:

config rule

      option name 'lan-00:16:3e:d2:96:cf'
      option src 'lan'
      option dest 'wan'
      option proto 'any'
      option target 'REJECT'
      option src_mac '00:16:3e:d2:96:cf'
      option start_date '2018-04-10'
      option stop_date '2018-04-11'
      option start_time '20:30:00'
      option stop_time '20:40:00'

iptables entry:

  0     0 zone_wan_dest_REJECT  all  --  any    any     anywhere             anywhere             MAC 00:16:3E:D2:96:CF TIME from 20:30:00 to 20:40:00 starting from 2018-04-10 01:00:00 until date 2018-04-11 01:00:00 UTC /* lan-00:16:3e:d2:96:cf */

Notice the date values are followed by “01:00:00” which doesn’t seem right. I can’t seem to control these values in any way from the uci.

11.04.20181482Base systemBug ReportVery LowLowIPQ40XX (ac58U) can't work in 5g clinet modeTrunkUnconfirmed Task Description

My wireless config file is:
config wifi-device ‘radio0’

option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'platform/soc/a000000.wifi'
option htmode 'HT20'
option disabled '1'

config wifi-iface ‘default_radio0’

option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'

config wifi-device ‘radio1’

option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'platform/soc/a800000.wifi'
option htmode 'VHT80'
option country 'US'
option legacy_rates '1'

config wifi-iface ‘default_radio1’

option device 'radio1'
option network 'wan2'
option mode 'sta'
option ssid '@mwan@'
option encryption 'psk-mixed'
option key '1234567890'

kernel log see file log.txt

10.04.20181480Base systemBug ReportVery LowLowInterface names starting with a number causes things to...TrunkUnconfirmed Task Description

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

 

I’ve noticed this across several devices: WRT1900ACv2, TP-Link WDR-3600 and RT-N13U so far. After creating a switch VLAN and assigning it an interface, DHCP stops working if interface name does not start with an alpha character. Naming an interface with the VLAN number (or any number causes this breakage). Only way to to recover is to manually assign an IP address in subnet and rename the interface to something like LAN[VLAN_ID].

Once this is done, all functions as it should.

08.04.20181478Base systemBug ReportVery LowMediumopenvpn: comp_lzo option is ignoredTrunkUnconfirmed Task Description

Model Xiaomi Mi Router 3G
Firmware Version OpenWrt SNAPSHOT r6640-c0742307a1 / LuCI Master (git-18.096.77918-83a59dc)
Kernel Version 4.14.32

“comp_lzo” option in /etc/openvpn/config is ignored - it missing in openvpn conf file

Having following config entry:

config openvpn 'myvpn_tap'
        option float '1'
        option client '1'
        option dev 'tap'
        option reneg_sec '0'
        option verb '3'
        option persist_key '1'
        option nobind '1'
        option remote_cert_tls 'server'
        list remote 'myserver'
        option port '1195'
        option proto 'udp'
        option pkcs12 '/etc/luci-uploads/cbid.openvpn.myvpn_tap.pkcs12'
        option log_append '/var/log/openvpn_myvpn_tap.log'
        option enabled '1'
        option comp_lzo 'yes'

but “comp_lzo” option is not saved into /var/etc/openvpn_myvpn_tap.conf which turns tunnel non-working in case option enabled on the server side


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

When I use external toolchain build openwrt

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

I get build error(external_toolchain.txt log)

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

07.04.20181473OtherBug ReportVery LowLowUSB connects then disconnects later in bootTrunkWaiting on reporter Task Description

The Device that this problem occurs on is Netgear WNDR3700v3. I’m using 17.01.04 release of openwrt.
Long story made short, the issue is that USB connects, then later in startup of the router it disconnects and when fully booted it can’t be seen using ‘fdisk -l’ nor can it be mounted (/dev/sda1)...

Installed packages are the ones included in the build + usb-core and its dependencies.

To reproduce this issue:

1.Do standard setup the router ( setup wan, setup lan, switch wifi on).
2.Install packages required for usb functionality.
3.Insert usb and reboot.

You will see during boot that usb light flashes few times and then after boot stops flashing/working. That can be confirmed by dmesg.

[    0.000000] Linux version 4.4.92 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3104-41de9a2) ) #0 Tue Oct 17 17:46:20 2017
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] bcma: bus0: Found chip with id 0x4716, rev 0x01 and package 0x0A
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8034e4c0, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 32kB, 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: 16256
[    0.000000] Kernel command line:  noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    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: 60940K/65536K available (2979K kernel code, 134K rwdata, 368K rodata, 156K init, 294K bss, 4596K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] bcma: bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0) 
[    0.000000] bcma: bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] bcma: bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] bcma: bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] bcma: bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] bcma: bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] bcma: bus0: Found serial flash
[    0.000000] bcma: bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] bcma: bus0: Early bus registered
[    0.000000] MIPS: machine is Unknown Board
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7963585194 ns
[    0.000015] sched_clock: 32 bits at 240MHz, resolution 4ns, wraps every 8947848189ns
[    0.000083] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.070033] pid_max: default: 32768 minimum: 301
[    0.070283] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070311] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.074095] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.074144] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.075341] NET: Registered protocol family 16
[    0.076346] Can't analyze schedule() prologue at 800077c8
[    0.095859] clocksource: Switched to clocksource MIPS
[    0.097957] NET: Registered protocol family 2
[    0.099548] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099608] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.099647] TCP: Hash tables configured (established 1024 bind 1024)
[    0.099818] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.099865] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.100398] NET: Registered protocol family 1
[    0.100494] PCI: CLS 0 bytes, default 32
[    0.515000] bcma: bus0: Using SPROM revision 8 provided by platform.
[    0.515042] bcma: bus0: PMU resource config unknown or not needed for device 0x4716
[    0.517109] bcma: bus0: Workarounds unknown or not needed for device 0x4716
[    0.517134] bcma: bus0: Initializing MIPS core...
[    0.517163] bcma: bus0: set_irq: core 0x0812, irq 3 => 3
[    0.517186] bcma: bus0: set_irq: core 0x082d, irq 4 => 4
[    0.517207] bcma: bus0: set_irq: core 0x0819, irq 5 => 5
[    0.517229] bcma: bus0: set_irq: core 0x0820, irq 6 => 6
[    0.517249] bcma: bus0: set_irq: core 0x0800, irq 2 => 2
[    0.517269] bcma: bus0: set_irq: core 0x0834, irq 2 => 2
[    0.517284] bcma: bus0: IRQ reconfiguration done
[    0.517300] bcma: core 0x0800, irq : 2(S)* 3  4  5  6  D  I
[    0.517350] bcma: core 0x0812, irq : 2(S)  3* 4  5  6  D  I
[    0.517392] bcma: core 0x082d, irq : 2(S)  3  4* 5  6  D  I
[    0.517433] bcma: core 0x082c, irq : 2(S)  3  4  5  6  D  I*
[    0.517475] bcma: core 0x0819, irq : 2(S)  3  4  5* 6  D  I
[    0.517517] bcma: core 0x0820, irq : 2(S)  3  4  5  6* D  I
[    0.517558] bcma: core 0x082e, irq : 2(S)  3  4  5  6  D* I
[    0.517599] bcma: core 0x080e, irq : 2(S)  3  4  5  6  D  I*
[    0.517639] bcma: core 0x0834, irq : 2(S)* 3  4  5  6  D  I
[    0.517683] bcma: bus0: PCIEcore in host mode found
[    0.701176] PCI host bridge to bus 0000:00
[    0.701231] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0bffffff]
[    0.701260] pci_bus 0000:00: root bus resource [io  0x0100-0x07ff]
[    0.701289] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.701318] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.701400] pci 0000:00:00.0: [14e4:4716] type 00 class 0x060000
[    0.701443] bcma: PCI: Fixing up bridge 0000:00:00.0
[    0.701464] bcma: PCI: Fixing up device 0000:00:00.0
[    0.701528] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.701568] pci 0000:00:00.0: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.701674] pci 0000:00:00.0: supports D1 D2
[    0.702056] pci 0000:00:00.1: [14e4:0000] type 00 class 0x060000
[    0.702103] bcma: PCI: Fixing up bridge 0000:00:00.1
[    0.702124] bcma: PCI: Fixing up device 0000:00:00.1
[    0.702187] pci 0000:00:00.1: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702227] pci 0000:00:00.1: reg 0x18: [mem 0x00000000-0x07ffffff 64bit]
[    0.702325] pci 0000:00:00.1: supports D1 D2
[    0.702763] pci 0000:00:01.0: [14e4:4331] type 00 class 0x028000
[    0.702894] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00003fff 64bit]
[    0.702991] bcma: PCI: Fixing up addresses 0000:00:01.0
[    0.703037] pci 0000:00:01.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[    0.703200] pci 0000:00:01.0: supports D1 D2
[    0.703605] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.705142] bcma: bus0: Bus registered
[    0.706323] Crashlog allocated RAM at address 0x3f00000
[    0.737420] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.737451] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.742243] io scheduler noop registered
[    0.742278] io scheduler deadline registered (default)
[    0.742710] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.747752] console [ttyS0] disabled
[    0.767993] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.271345] console [ttyS0] enabled
[    1.383454] 7 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.390163] Creating 7 MTD partitions on "bcm47xxsflash":
[    1.395669] 0x000000000000-0x000000040000 : "boot"
[    1.404675] 0x000000040000-0x0000007e0000 : "firmware"
[    1.412942] 0x0000007e0000-0x0000007f0000 : "board_data"
[    1.421384] 0x0000007f0000-0x000000800000 : "nvram"
[    1.429424] 0x00000004001c-0x00000004091c : "loader"
[    1.437592] 0x00000004091c-0x000000166000 : "linux"
[    1.445531] 0x000000166000-0x0000007e0000 : "rootfs"
[    1.453634] mtd: device 6 (rootfs) set to be root filesystem
[    1.459556] 1 squashfs-split partitions found on MTD device rootfs
[    1.465900] 0x0000003a0000-0x0000007e0000 : "rootfs_data"
[    1.477763] libphy: Fixed MDIO Bus: probed
[    1.482172] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.491131] libphy: bcma_mdio mii bus: probed
[    1.495592] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.656300] b53_common: found switch: BCM53115, rev 8
[    1.662752] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.669147] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.677188] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[    1.682952] bcma: PCI: Fixing up device 0000:00:01.0
[    1.688087] bcma: change PCIe max read request size from 512 to 128
[    1.694521] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[    1.701786] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[    1.710541] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[    1.719387] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[    1.727658] bcma: bus1: Found rev 10 PMU (capabilities 0x108C260A)
[    1.727690] bcma: bus1: SPROM offset 0x800
[    1.851848] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[    2.046785] bcma: bus1: Using SPROM revision 9 provided by platform.
[    2.046829] bcma: bus1: PMU resource config unknown or not needed for device 0x4331
[    2.057502] bcma: bus1: Bus registered
[    2.063308] NET: Registered protocol family 10
[    2.072711] NET: Registered protocol family 17
[    2.077480] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.090356] 8021q: 802.1Q VLAN Support v1.8
[    2.104187] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[    2.112500] Freeing unused kernel memory: 156K
[    3.754063] init: Console is alive
[    3.758057] init: - watchdog -
[    4.878998] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.017988] usbcore: registered new interface driver usbfs
[    5.023754] usbcore: registered new interface driver hub
[    5.029472] usbcore: registered new device driver usb
[    5.042546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.051645] ehci-platform: EHCI generic platform driver
[    5.057233] ehci-platform ehci-platform.0: EHCI Host Controller
[    5.063363] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    5.071819] ehci-platform ehci-platform.0: irq 5, io mem 0x18004000
[    5.095922] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    5.104198] hub 1-0:1.0: USB hub found
[    5.108771] hub 1-0:1.0: 2 ports detected
[    5.117596] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.126043] ohci-platform: OHCI generic platform driver
[    5.131512] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    5.138753] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    5.147160] ohci-platform ohci-platform.0: irq 5, io mem 0x18009000
[    5.211640] hub 2-0:1.0: USB hub found
[    5.216336] hub 2-0:1.0: 2 ports detected
[    5.224214] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.242340] init: - preinit -
[    5.608070] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.864264] random: procd: uninitialized urandom read (4 bytes read, 10 bits of entropy available)
[    5.889247] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.865937] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[    7.873468] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.273926] jffs2: notice: (342) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   10.303649] mount_root: loading kmods from internal overlay
[   10.724352] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.373272] SCSI subsystem initialized
[   11.419230] uhci_hcd: USB Universal Host Controller Interface driver
[   11.454632] usb-storage 1-1:1.0: USB Mass Storage device detected
[   11.462745] scsi host0: usb-storage 1-1:1.0
[   11.468012] usbcore: registered new interface driver usb-storage
[   11.475786] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   11.882238] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   11.892225] block: extroot: not configured
[   11.897883] mount_root: switching to jffs2 overlay
[   11.912369] urandom-seed: Seeding with /etc/urandom.seed
[   12.092045] procd: - early -
[   12.095211] procd: - watchdog -
[   12.831439] scsi 0:0:0:0: Direct-Access     FLASH    Drive SM_USB20   3000 PQ: 0 ANSI: 0 CCS
[   12.845660] sd 0:0:0:0: [sda] 3932160 512-byte logical blocks: (2.01 GB/1.88 GiB)
[   12.866047] sd 0:0:0:0: [sda] Write Protect is off
[   12.871009] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[   12.872568] sd 0:0:0:0: [sda] No Caching mode page found
[   12.878114] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   12.900092]  sda: sda1 sda2
[   12.912389] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   13.408590] procd: - watchdog -
[   13.413238] procd: - ubus -
[   13.575271] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.589064] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.599754] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.609582] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.621827] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.631285] random: ubusd: uninitialized urandom read (4 bytes read, 49 bits of entropy available)
[   13.641747] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.652513] random: ubusd: uninitialized urandom read (4 bytes read, 51 bits of entropy available)
[   13.664938] procd: - init -
[   14.978977] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.994949] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.021509] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   15.029742] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   15.042765] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.063214] nf_conntrack version 0.5.0 (954 buckets, 3816 max)
[   15.125836] xt_time: kernel timezone is -0000
[   15.219516] PPP generic driver version 2.4.2
[   15.229060] NET: Registered protocol family 24
[   15.251342] b43-phy0: Broadcom 4716 WLAN found (core revision 17)
[   15.258525] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 5
[   15.264740] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 7, Version 0
[   15.273031] b43-phy1: Broadcom 4331 WLAN found (core revision 29)
[   15.279362] bcma: bus1: Switched to core: 0x812
[   15.286208] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.306006] b43-phy1: Found PHY: Analog 9, Type 7 (HT), Revision 1
[   15.312319] b43-phy1: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[   15.319890] b43-phy1 warning: 5 GHz band is unsupported on this PHY
[   15.340847] Broadcom 43xx driver loaded [ Features: NL ]
[   15.350173] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   15.476055] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.239669] random: jshn: uninitialized urandom read (4 bytes read, 81 bits of entropy available)
[   27.045316] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   27.094907] device eth0.1 entered promiscuous mode
[   27.099903] device eth0 entered promiscuous mode
[   27.140638] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   27.388545] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   28.346008] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[   28.353541] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.530202] br-lan: port 1(eth0.1) entered forwarding state
[   28.536077] br-lan: port 1(eth0.1) entered forwarding state
[   28.541946] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   28.616063] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   30.535925] br-lan: port 1(eth0.1) entered forwarding state
[   32.126060] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[   32.134511] usb 1-1: USB disconnect, device number 2
[   32.437880] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   32.478559] device wlan0 entered promiscuous mode
[   32.546447] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   32.553223] br-lan: port 2(wlan0) entered forwarding state
[   32.559023] br-lan: port 2(wlan0) entered forwarding state
[   34.555927] br-lan: port 2(wlan0) entered forwarding state
[   37.215918] random: nonblocking pool is initialized
02.04.20181467KernelBug ReportVery LowCriticalieee80211_tx_status: headroom too smallTrunkUnconfirmed Task Description

Latest LEDE on Gateworks Newport GW6300 (octeontx) with Compex WLE900VX ath10k radio. Using 4.14.13 mainline OpenWrt kernel

The syslog is getting spammed with “headroom too small” errors when a monitor wireless interface exists and a station gets connected:

Thu Jan  1 00:52:00 1970 kern.err kernel: [  157.740108] ieee80211_tx_status: headroom too small
Thu Jan  1 00:52:01 1970 kern.err kernel: [  158.764099] ieee80211_tx_status: headroom too small
Thu Jan  1 00:52:02 1970 kern.err kernel: [  159.788129] ieee80211_tx_status: headroom too small

These errors are shown using ath10k and ath10k-ct driver versions (currently using ath10k-ct)

Steps to reproduce:

  1. Create a new monitor wireless interface
    iw phy phy0 interface add mon0 type monitor
    ip l set dev mon0 up
  2. Connect a client to the access point configured radio

Full logread info attached separately

30.03.20181463PackagesBug ReportVery LowMediumnetifd disagrees with static route documentationTrunkUnconfirmed Task Description

https://openwrt.org/docs/guide-user/network/routes_configuration says, of the static route “gateway” configuration variable, “If omitted, the gateway from the parent interface is taken; if set to 0.0.0.0 no gateway will be specified for the route”. However, netifd HEAD does not distinguish all zeros from unset. In particular, https://git.openwrt.org/?p=project/netifd.git;a=blob;f=interface-ip.c;h=1c84d4f8afed8bbe8af9fcc868fb1472b048019d;hb=HEAD#l343 is the only place where ROUTE_GATEWAY is decoded from a blob message and will leave route→nexthop all zeros if none is provided:

 343         if ((cur = tb[ROUTE_GATEWAY]) != NULL) {
 344                 if (!inet_pton(af, blobmsg_data(cur), &route->nexthop)) {
 345                         DPRINTF("Failed to parse route gateway: %s\n", (char *) blobmsg_data(cur));
 346                         goto error;
 347                 }
 348         }

When it comes time to actually use the resulting route→nexthop value, https://git.openwrt.org/?p=project/netifd.git;a=blob;f=system-linux.c;h=0ca525602d9ea63ac5b845b2be9c6c7bdec7c26c;hb=HEAD#l1851 just checks for all-zeros and, if so, declares it to be a link-local route:

1851         if (alen == 4)
1852                 have_gw = !!route->nexthop.in.s_addr;
1853         else
1854                 have_gw = route->nexthop.in6.s6_addr32[0] ||
1855                         route->nexthop.in6.s6_addr32[1] ||
1856                         route->nexthop.in6.s6_addr32[2] ||
1857                         route->nexthop.in6.s6_addr32[3];
...
1882                         rtm.rtm_scope = (have_gw) ? RT_SCOPE_UNIVERSE : RT_SCOPE_LINK;
...
1925         if (have_gw)
1926                 nla_put(msg, RTA_GATEWAY, alen, &route->nexthop);

I believe that struct device_route needs a flag to indicate whether the incoming blobmsg had a ROUTE_GATEWAY or not, and that system_rt should use the device’s configured default gateway if not. There is, at present, no workaround except to hard-code the next hop in the configuration, which is gross.

29.03.20181461Base systemBug ReportVery LowMedium[hostapd] wpa_supplicant and mesh fail to connect after...TrunkUnconfirmed Task Description

Even after changing /etc/config/wireless to use option sae_password, mesh node fails to connect with other nodes with builds on or after the indicated commit.

This may be an upstream issue, even though hostap/wpa_supplicant/wpa_supplicant.conf does call out sae_password

Reverting to the older version of /lib/netifd/hostapd.sh allows the mesh to properly connect. (The config file contains both key and sae_password entries.) Commenting out the option key line in the config file for the failing build does not change the behavior.

Reverting /lib/netifd/hostapd.sh is a work-around at this time.

Interface is up as per both iw dev and ip link

/var/run/wpa_supplicant-mesh0.conf has been confirmed to pick up sae_password in the impacted builds and be otherwise “the same” as functioning builds.

network={
	
	ssid="<mesh ID>"
	key_mgmt=SAE
	mode=5
	fixed_freq=1
	frequency=5745
	ht40=1
	vht=1
	max_oper_chwidth=1
	sae_password="<same for both>"
	beacon_int=100
}

The command line executing wpa_supplicant on the interface is the same in both cases
/usr/sbin/wpa_supplicant -B -b br-mesh -P /var/run/wpa_supplicant-mesh0.pid -D nl80211 -i mesh0 -c /var/run/wpa_supplicant-mesh0.conf -C/var/run/wpa_supplicant

config wifi-device 'radio5'
	option type 'mac80211'
	option channel '149'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option htmode 'VHT80'
	option require_mode 'ac'

config wifi-iface 'mesh0'
	option device 'radio5'
	option ifname 'mesh0'
	option mode 'mesh'
	option mesh_id '<mesh ID>'
	option mesh_fwding '1'
	option encryption 'psk2+ccmp'
	option key '<same for both>'
	option sae_password '<same for both>'
	option network 'mesh'

Four Archer C7 v2 units
5 GHz radio for all on the mesh; other units running older builds with identical config for 5 GHz radio, other than the addition of option sae_password

Clean builds for the DUT with identical .config for both builds.

OpenWRT tree:

Good: 9b92afa3aa3bf19986983f4dceb54b4952d4b970 uci: update to latest git
Fails: eba3b028e46dbfe54f1208e9edf47bb0c6f73ac8 hostapd: update to git snapshot of 2018-03-26

Makefile changes around hostap:

-PKG_SOURCE_DATE:=2018-03-26
-PKG_SOURCE_VERSION:=64624f31cf81dc6164462fa153ee7a5909e21183

+PKG_SOURCE_DATE:=2017-08-24
+PKG_SOURCE_VERSION:=c2d4f2eb5dba0b5c5a8c5805823084da958a9b52


26.03.20181458Base systemBug ReportVery LowLowbrcmfmac: Missing stats - Bitrate, Signal / Noise for w...TrunkUnconfirmed Task Description

Device: EA9500
Openwrt: trunk as of 26-Mar-2018
brcmfmac firmware ver: May 1 2017 12:43:53 version 10.10.122.301 (r658909) FWID 01-1ebebd8a

I don’t notice any performance drop or connectivity issues.
Just that I can’t seem to gauge what speeds are being used etc.

root@OpenWrt:~# iwinfo wlan0 assoclist
00:FC:8B:98:XX:XX  unknown / unknown (SNR 0)  7000 ms ago
        RX: unknown                                        0 Pkts.
        TX: unknown                                        0 Pkts.
        expected throughput: unknown

4C:66:41:AD:XX:XX  unknown / unknown (SNR 0)  2000 ms ago
        RX: unknown                                        0 Pkts.
        TX: unknown                                        0 Pkts.
        expected throughput: unknown

root@OpenWrt:~# iwinfo wlan1 assoclist
34:6F:92:05:XX:XX  unknown / unknown (SNR 0)  7000 ms ago
        RX: unknown                                        0 Pkts.
        TX: unknown                                        0 Pkts.
        expected throughput: unknown

FC:C2:DE:76:XX:XX  unknown / unknown (SNR 0)  26000 ms ago
        RX: unknown                                        0 Pkts.
        TX: unknown                                        0 Pkts.
        expected throughput: unknown

root@OpenWrt:~# iwinfo wlan2 assoclist
30:07:4D:74:XX:XX  unknown / unknown (SNR 0)  9000 ms ago
        RX: unknown                                        0 Pkts.
        TX: unknown                                        0 Pkts.
        expected throughput: unknown
root@OpenWrt:~# iw phy phy0 info
Wiphy phy0
        max # scan SSIDs: 10
        max scan IEs length: 2048 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports roaming.
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 2:
                Capabilities: 0x1062
                        HT20/HT40
                        Static SM Power Save
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 16 usec (0x07)
                HT TX/RX MCS rate indexes supported: 0-31
                VHT Capabilities (0x0c1b4064):
                        Max MPDU length: 3895
                        Supported Channel Width: 160 MHz
                        short GI (80 MHz)
                        short GI (160/80+80 MHz)
                        MU Beamformer
                        MU Beamformee
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: MCS 0-9
                        4 streams: MCS 0-9
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                Frequencies:
                        * 5170 MHz [34] (disabled)
                        * 5180 MHz [36] (20.0 dBm)
                        * 5190 MHz [38] (20.0 dBm)
                        * 5200 MHz [40] (20.0 dBm)
                        * 5210 MHz [42] (20.0 dBm)
                        * 5220 MHz [44] (20.0 dBm)
                        * 5230 MHz [46] (20.0 dBm)
                        * 5240 MHz [48] (20.0 dBm)
                        * 5260 MHz [52] (20.0 dBm) (radar detection)
                        * 5280 MHz [56] (20.0 dBm) (radar detection)
                        * 5300 MHz [60] (20.0 dBm) (radar detection)
                        * 5320 MHz [64] (20.0 dBm) (radar detection)
                        * 5500 MHz [100] (20.0 dBm) (radar detection)
                        * 5520 MHz [104] (20.0 dBm) (radar detection)
                        * 5540 MHz [108] (20.0 dBm) (radar detection)
                        * 5560 MHz [112] (20.0 dBm) (radar detection)
                        * 5580 MHz [116] (20.0 dBm) (radar detection)
                        * 5600 MHz [120] (20.0 dBm) (radar detection)
                        * 5620 MHz [124] (20.0 dBm) (radar detection)
                        * 5640 MHz [128] (20.0 dBm) (radar detection)
                        * 5660 MHz [132] (20.0 dBm) (radar detection)
                        * 5680 MHz [136] (20.0 dBm) (radar detection)
                        * 5700 MHz [140] (20.0 dBm) (radar detection)
                        * 5720 MHz [144] (20.0 dBm) (radar detection)
                        * 5745 MHz [149] (20.0 dBm)
                        * 5765 MHz [153] (20.0 dBm)
                        * 5785 MHz [157] (20.0 dBm)
                        * 5805 MHz [161] (20.0 dBm)
                        * 5825 MHz [165] (20.0 dBm)
        valid interface combinations:
                 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
                   total <= 3, #channels <= 1
                 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
                   total <= 4, #channels <= 1
                 * #{ AP } <= 4,
                   total <= 4, #channels <= 1, STA/AP BI must match
 


24.03.20181454PackagesBug ReportVery LowLowargp-standalone: option ARGP_NO_ERRS is not honouredTrunkUnconfirmed Task Description

Symptom: error message is written for invalid option even with ARGP_NO_ERRS set in function argp_parse

 

Verified on ar71xx / mips_24kc / wndr3700 and mpc85xx / powerpc_8540 / tl-wdr4900
OpenWrt / LEDE trunk OpenWrt SNAPSHOT, r6548-8e1065d681

Found a problem when working with a software project where the LEDE / OpenWrt binary issues an error message for an invalid option when starting the binary while the debian / ubuntu linux version does not. I tracked it down to the fact that it must be a bug in the argp-standalone library of OpenWrt / LEDE where the option ARGP_NO_ERRS in function argp_parse is not honoured.

To reproduce I wrote a little demo program which works fine on debian and ubuntu but shows the invalid behaviour on OpenWrt / LEDE.

The demo program is hosted on https://github.com/tru7/argp-demo where I have also provided a feed named Makefile.lede to build the package on OpenWrt / LEDE.

I have no skills in coding and absolutely no skills in debugging, so this is about all I can do about this.

21.03.20181453Base systemBug ReportVery LowLow[mac80211] kernel errors load or lock system with mesh+...TrunkUnconfirmed Task Description

Overview

On an Archer C7, configuring an mesh point and an AP on the same radio cause a flood of errors to the log.

The load on the system can become so severe as to lock the user out of the system and pings to be several seconds (yes, not a typo) late
(seen on several builds, my notes identify v17.01.4-219-g796bc21 and v17.01.4-301-g60f8d38 as two of them)

Behavior identified as beginning with git commit 0f17504

Steps To Replicate

  • Build an Archer C7 image off the lede-17.01 branch on or after 0f17504
  • Install the following as /etc/config/wireless
config wifi-device 'radio24'
	option type 'mac80211'
	option channel '6'
	option hwmode '11g'
	option path 'platform/qca955x_wmac'
	option htmode 'HT20'
	option require_mode 'g'

config wifi-device 'radio5'
	option type 'mac80211'
	option channel '149'
	option hwmode '11a'
	option path 'pci0000:01/0000:01:00.0'
	option htmode 'VHT80'
	option require_mode 'ac'

config wifi-iface 'mesh0'
	option device 'radio5'
	option ifname 'mesh0'
	option mode 'mesh'
	option mesh_id '<mesh0_id>'
	option mesh_fwding '1'
	option encryption 'psk2+ccmp'
	option key '<mesh0_secret>'
	option network 'LAN'

config wifi-iface '5Gap'
	option device 'radio5'
	option mode 'ap'
	option ssid '<5Gap_ssid>'
	option encryption 'psk2+ccmp'
	option key '<5Gap_secret>'
	option network 'LAN'
  • reboot
  • Note the log messages that begin, then repeat continuously
[   70.392580] random: nonblocking pool is initialized
[   70.447666] br-vlan100: topology change detected, sending tcn bpdu
[   70.453988] br-vlan100: port 5(wlan1-1) entered forwarding state
[   70.507659] br-vlan100: topology change detected, sending tcn bpdu
[   70.513951] br-vlan100: port 7(wlan1-2) entered forwarding state
[   70.727668] br-vlan100: topology change detected, sending tcn bpdu
[   70.733956] br-vlan100: port 8(wlan1-3) entered forwarding state
[   71.097691] br-vlan100: topology change detected, sending tcn bpdu
[   71.103997] br-vlan100: port 6(wlan0-1) entered forwarding state
[   71.437684] br-vlan100: topology change detected, sending tcn bpdu
[   71.443978] br-vlan100: port 9(wlan1-4) entered forwarding state
[   71.517659] br-vlan100: topology change detected, sending tcn bpdu
[   71.523944] br-vlan100: port 10(wlan1-5) entered forwarding state
[   71.726243] ------------[ cut here ]------------
[   71.731103] WARNING: CPU: 0 PID: 6 at compat-wireless-2017-01-31/net/mac80211/ieee80211_i.h:1011 ieee80211_debugfs_key_sta_del+0xd4/0x6d8 [mac80211]()
[   71.744801] Modules linked in: iptable_nat ath9k nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_common xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables ath9k_hw ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip6_gre ip_gre gre ip6_tunnel tunnel6 ip_tunnel ehci_platform ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
[   71.815278] CPU: 0 PID: 6 Comm: kworker/u2:0 Not tainted 4.4.103 #0
[   71.821720] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[   71.827387] Stack : 87c4fd14 00000088 80410000 800a78a4 87c2dbac 80410d63 803a9a68 00000006
	  803d40c0 87c4fb44 80410000 800a5820 80410000 800a78a4 803af174 80410000
	  00000003 87c4fb44 80410000 80095804 80410000 87c4fb7c 00000000 801f8654
	  00000001 801f8600 87693adc 87ffc400 87ffc300 70687930 00000000 00000000
	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	  ...
[   71.863749] Call Trace:
[   71.866240] [<80071e7c>] show_stack+0x54/0x88
[   71.870677] [<80081c7c>] warn_slowpath_common+0xa0/0xd0
[   71.875979] [<80081d34>] warn_slowpath_null+0x18/0x24
[   71.881177] [<876c8654>] ieee80211_debugfs_key_sta_del+0xd4/0x6d8 [mac80211]
[   71.888390] [<800d7ef4>] get_page_from_freelist+0x33c/0x810
[   71.894039] 
[   71.895554] ---[ end trace d737184f1359b1c0 ]---
[   72.565911] ------------[ cut here ]------------
[   72.570821] WARNING: CPU: 0 PID: 6 at compat-wireless-2017-01-31/net/mac80211/ieee80211_i.h:1011 ieee80211_debugfs_key_sta_del+0xd4/0x6d8 [mac80211]()
[   72.584526] Modules linked in: iptable_nat ath9k nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ath9k_common xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables ath9k_hw ath10k_pci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ip6_gre ip_gre gre ip6_tunnel tunnel6 ip_tunnel ehci_platform ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache usbcore nls_base usb_common crc16 crc32c_generic crypto_hash
[   72.655001] CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W       4.4.103 #0
[   72.662676] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[   72.668341] Stack : 87c4fd14 00000088 80410000 800a78a4 87c2dbac 80410d63 803a9a68 00000006
	  803d40c0 87c4fb44 80410000 800a5820 80410000 800a78a4 803af174 80410000
	  00000003 87c4fb44 80410000 80095804 80410000 87c4fb7c 00000000 801f8654
	  8040fe70 801f8600 87693adc 87ffc400 87ffc300 70687930 00000000 00000000
	  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
	  ...
[   72.704694] Call Trace:
[   72.707186] [<80071e7c>] show_stack+0x54/0x88
[   72.711622] [<80081c7c>] warn_slowpath_common+0xa0/0xd0
[   72.716925] [<80081d34>] warn_slowpath_null+0x18/0x24
[   72.722124] [<876c8654>] ieee80211_debugfs_key_sta_del+0xd4/0x6d8 [mac80211]
[   72.729338] 
[   72.730850] ---[ end trace d737184f1359b1c1 ]---
[   72.750381] ------------[ cut here ]------------

Expected Behavior

Mesh and AP would come up without notable errors or load.

Potential Cause

commit 0f175041ad03d381a575e2c2b1a1c9ca76fe0e99
Author: Antonio Quartulli <ordex@autistici.org>
Date:   Fri Nov 9 15:23:34 2012 +0100

    mac80211: don't pass the hostapd ctrl iface in adhoc
    
    Passing the ctrl iface to wpa_supplicant will automatically cause wpa_supplicant
    to send "STOP_AP" messages to the hostapd. This breaks the AP interfaces.
    
    Signed-off-by: Antonio Quartulli <ordex@autistici.org>
    (cherry picked from commit 0da54fa6428ea98d31b49f5d9a4a272214f5d188)

Other Notes

Additionally reported by @cititechs
https://forum.lede-project.org/t/802-11s-configuration-references-tp-link-archer-c7/4876/12?u=jeff

 

Exmaple ping log over a wired connection; unable to establish connection to examine logs

Request timeout for icmp_seq 57
64 bytes from <redacted>: icmp_seq=58 ttl=64 time=1.147 ms
64 bytes from <redacted>: icmp_seq=59 ttl=64 time=0.610 ms
64 bytes from <redacted>: icmp_seq=60 ttl=64 time=0.645 ms
64 bytes from <redacted>: icmp_seq=61 ttl=64 time=309.930 ms
Request timeout for icmp_seq 62
64 bytes from <redacted>: icmp_seq=62 ttl=64 time=1624.116 ms
64 bytes from <redacted>: icmp_seq=63 ttl=64 time=620.756 ms
64 bytes from <redacted>: icmp_seq=64 ttl=64 time=1721.540 ms
64 bytes from <redacted>: icmp_seq=65 ttl=64 time=719.600 ms
Request timeout for icmp_seq 67
Request timeout for icmp_seq 68
64 bytes from <redacted>: icmp_seq=66 ttl=64 time=3025.040 ms
64 bytes from <redacted>: icmp_seq=67 ttl=64 time=2020.629 ms
64 bytes from <redacted>: icmp_seq=68 ttl=64 time=1019.058 ms
64 bytes from <redacted>: icmp_seq=69 ttl=64 time=14.092 ms
Request timeout for icmp_seq 73
64 bytes from <redacted>: icmp_seq=70 ttl=64 time=4391.453 ms
64 bytes from <redacted>: icmp_seq=71 ttl=64 time=3388.555 ms
64 bytes from <redacted>: icmp_seq=72 ttl=64 time=2384.972 ms
64 bytes from <redacted>: icmp_seq=73 ttl=64 time=1384.871 ms
64 bytes from <redacted>: icmp_seq=74 ttl=64 time=384.382 ms
Request timeout for icmp_seq 79
Request timeout for icmp_seq 80
Request timeout for icmp_seq 81
64 bytes from <redacted>: icmp_seq=75 ttl=64 time=7244.993 ms
64 bytes from <redacted>: icmp_seq=76 ttl=64 time=6240.756 ms
64 bytes from <redacted>: icmp_seq=77 ttl=64 time=5240.605 ms
64 bytes from <redacted>: icmp_seq=78 ttl=64 time=4240.268 ms
64 bytes from <redacted>: icmp_seq=79 ttl=64 time=3235.217 ms
64 bytes from <redacted>: icmp_seq=80 ttl=64 time=2231.510 ms
64 bytes from <redacted>: icmp_seq=81 ttl=64 time=1393.878 ms
64 bytes from <redacted>: icmp_seq=82 ttl=64 time=388.886 ms
Request timeout for icmp_seq 90
Request timeout for icmp_seq 91
Request timeout for icmp_seq 92
Request timeout for icmp_seq 93
Request timeout for icmp_seq 94
64 bytes from <redacted>: icmp_seq=83 ttl=64 time=12157.520 ms
64 bytes from <redacted>: icmp_seq=84 ttl=64 time=11154.284 ms
64 bytes from <redacted>: icmp_seq=85 ttl=64 time=10154.189 ms
64 bytes from <redacted>: icmp_seq=86 ttl=64 time=9149.660 ms
64 bytes from <redacted>: icmp_seq=87 ttl=64 time=8146.267 ms
64 bytes from <redacted>: icmp_seq=88 ttl=64 time=7146.146 ms
64 bytes from <redacted>: icmp_seq=89 ttl=64 time=6145.438 ms
64 bytes from <redacted>: icmp_seq=90 ttl=64 time=5140.706 ms
64 bytes from <redacted>: icmp_seq=91 ttl=64 time=4137.406 ms
64 bytes from <redacted>: icmp_seq=92 ttl=64 time=3137.265 ms
64 bytes from <redacted>: icmp_seq=93 ttl=64 time=2137.250 ms
64 bytes from <redacted>: icmp_seq=94 ttl=64 time=1134.170 ms
64 bytes from <redacted>: icmp_seq=95 ttl=64 time=136.361 ms
Request timeout for icmp_seq 108
Request timeout for icmp_seq 109
Request timeout for icmp_seq 110
Request timeout for icmp_seq 111
64 bytes from <redacted>: icmp_seq=96 ttl=64 time=16613.049 ms
64 bytes from <redacted>: icmp_seq=97 ttl=64 time=15611.720 ms
64 bytes from <redacted>: icmp_seq=98 ttl=64 time=14607.843 ms
64 bytes from <redacted>: icmp_seq=99 ttl=64 time=13603.671 ms
64 bytes from <redacted>: icmp_seq=100 ttl=64 time=12599.121 ms
64 bytes from <redacted>: icmp_seq=101 ttl=64 time=11594.289 ms
64 bytes from <redacted>: icmp_seq=102 ttl=64 time=10589.932 ms
64 bytes from <redacted>: icmp_seq=103 ttl=64 time=9585.828 ms
64 bytes from <redacted>: icmp_seq=104 ttl=64 time=8582.492 ms
64 bytes from <redacted>: icmp_seq=105 ttl=64 time=7580.545 ms
64 bytes from <redacted>: icmp_seq=106 ttl=64 time=6577.218 ms
64 bytes from <redacted>: icmp_seq=107 ttl=64 time=5573.081 ms
64 bytes from <redacted>: icmp_seq=108 ttl=64 time=4569.669 ms
64 bytes from <redacted>: icmp_seq=109 ttl=64 time=3564.700 ms
64 bytes from <redacted>: icmp_seq=110 ttl=64 time=2564.257 ms
64 bytes from <redacted>: icmp_seq=111 ttl=64 time=1563.785 ms
64 bytes from <redacted>: icmp_seq=112 ttl=64 time=558.610 ms


20.03.20181451Base systemBug ReportVery LowMediumAccess points should not run a DHCP server after instal...TrunkUnconfirmed Task Description

Take an [UniFi AP](https://openwrt.org/toh/ubiquiti/unifi) or [UniFi AC AP](https://openwrt.org/toh/ubiquiti/unifiac) and deploy OpenWRT to it. It’ll come up as an authoritative DHCP server, which is (a) completely unexpected, as no reasonable network will have authoritative DHCP servers running on access points, and (b) disruptive.

I think that default configuration for access points should be any of, in the order decreasing preference:

  • DHCP client with fallback to static configuration
  • Just DHCP client
  • Static configuration
20.03.20181450Base systemBug ReportVery LowLowath9k Wifi hangup on Channel 11 at low loadTrunkUnconfirmed Task Description

Bug:
Router TP Link n600 wdr3600 connected clients 2 TP Link 841 with relayd stop working, no ping, route, dns.. after 3-12hours

Area:
No other wifi senders at my range! cause small village!

Settings:
WPA2-CCMP
HT40/HT20

Release:
DISTRIB_RELEASE=’SNAPSHOT’ DISTRIB_REVISION=’r6503-5faa955’ DISTRIB_TARGET=’ar71xx/generic’ DISTRIB_ARCH=’mips_24kc’ DISTRIB_DESCRIPTION=’OpenWrt SNAPSHOT r6503-5faa955’

staion-dump:
inactive time: 0 ms

      rx bytes:       1268361819
      rx packets:     857809
      tx bytes:       41626891
      tx packets:     442685
      tx retries:     138880
      tx failed:      0
      rx drop misc:   6659
      signal:         -56 [-58, -61] dBm
      signal avg:     -54 [-57, -58] dBm
      tx bitrate:     130.0 MBit/s MCS 15
      rx bitrate:     144.4 MBit/s MCS 15 short GI
      expected throughput:    44.677Mbps
      authorized:     yes
      authenticated:  yes
      associated:     yes
      preamble:       short
      WMM/WME:        yes
      MFP:            no
      TDLS peer:      no
      DTIM period:    2
      beacon interval:100
      short preamble: yes
      short slot time:yes
      connected time: 1393 seconds

Tested with and without ani (AirTimeFairness) no results!

Solution: Switch to Channel 6 now stable 2 days!

Tested:
-Routers at range 1 Meter same problems!
-With and without ani (AirTimeFairness) no results!
-Disabled IPV6 no help (cause some posts reports problems with ipv6)

Remark: No big bug messages on dmesg and logread.

333896}

dmesg;
[ 45.667980] br-lan: port 2(wlan0) entered blocking state
[ 45.673381] br-lan: port 2(wlan0) entered disabled state
[ 45.679216] device wlan0 entered promiscuous mode
[ 45.769097] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 45.830992] br-lan: port 3(wlan1) entered blocking state
[ 45.836394] br-lan: port 3(wlan1) entered disabled state
[ 45.842256] device wlan1 entered promiscuous mode
[ 45.847281] br-lan: port 3(wlan1) entered blocking state
[ 45.852683] br-lan: port 3(wlan1) entered forwarding state
[ 46.587328] br-lan: port 3(wlan1) entered disabled state
[ 47.788177] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 47.794798] br-lan: port 2(wlan0) entered blocking state
[ 47.800245] br-lan: port 2(wlan0) entered forwarding state
[ 48.471159] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 48.477841] br-lan: port 3(wlan1) entered blocking state
[ 48.483239] br-lan: port 3(wlan1) entered forwarding state

20.03.20181449Base systemBug ReportVery LowLowmt7621 - zbt3526 - mtk_soc_eth -> port 3 link up & down...TrunkUnconfirmed Task Description

current runknothing installed only use newest trunk from 20.3.2018

Tue Mar 20 03:10:54 2018 kern.info kernel: [ 1503.788203] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:10:56 2018 kern.info kernel: [ 1506.347573] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:11:04 2018 kern.info kernel: [ 1513.895790] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:11:08 2018 kern.info kernel: [ 1517.832424] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:11:13 2018 kern.info kernel: [ 1522.910834] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:11:15 2018 kern.info kernel: [ 1525.401597] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:11:21 2018 kern.info kernel: [ 1530.798474] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:11:23 2018 kern.info kernel: [ 1533.389966] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:12:53 2018 kern.info kernel: [ 1623.131837] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:12:57 2018 kern.info kernel: [ 1626.897454] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:13:20 2018 kern.info kernel: [ 1650.086813] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:13:22 2018 kern.info kernel: [ 1652.596397] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:14:10 2018 kern.info kernel: [ 1699.974606] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:14:12 2018 kern.info kernel: [ 1702.533339] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:14:24 2018 kern.info kernel: [ 1714.114599] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:14:28 2018 kern.info kernel: [ 1717.966606] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:14:34 2018 kern.info kernel: [ 1724.591850] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:14:37 2018 kern.info kernel: [ 1727.206909] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:15:10 2018 kern.info kernel: [ 1759.837908] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:15:12 2018 kern.info kernel: [ 1762.372712] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:15:37 2018 kern.info kernel: [ 1787.098031] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:15:41 2018 kern.info kernel: [ 1790.955159] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:15:43 2018 kern.info kernel: [ 1792.826106] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:15:45 2018 kern.info kernel: [ 1795.329556] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
Tue Mar 20 03:16:25 2018 kern.info kernel: [ 1835.067930] mtk_soc_eth 1e100000.ethernet eth0: port 3 link down
Tue Mar 20 03:16:28 2018 kern.info kernel: [ 1837.877538] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up

that is new .. not sure, but i guess, that was not existing on images from february ..

20.03.20181448Base systemBug ReportVery LowLowHost file from removed dnsmasq section remains in effec...TrunkUnconfirmed Task Description

Using OpenWrt trunk, if a dnsmasq section is removed from the dhcp uci file, its host file will remain in /tmp/hosts/

To replicate:

Set the content of /etc/config/dhcp to:

config dnsmasq 'foo'

config dnsmasq 'bar'

config 'domain'
	option instance 'bar'
	option name 'baz'
	option ip '127.1.1.1'

Run:
/etc/init.d/dnsmasq reload

Set the content of /etc/config/dhcp to:

config dnsmasq 'foo'

Run:
/etc/init.d/dnsmasq reload

The file /tmp/hosts/dhcp.bar still exists, and its content will remain in effect for connected clients.

19.03.20181445Base systemBug ReportVery LowLowUnable to compile : "Cannot find appropriate hash comma...TrunkUnconfirmed Task Description

- Device problem occurs on

TP-LINK Archer v2

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

Trunk compiled under Ubuntu 18.04

- Steps to reproduce

Trying to compile the latest trunk version of openwrt and I get the following error:

make[3]: Entering directory ‘/mnt/home/openwrt/trunk/toolchain/binutils’ mkdir -p /mnt/home/openwrt/trunk/dl
SHELL= flock /mnt/home/openwrt/trunk/tmp/.binutils-.tar.bz2.flock -c ' /mnt/home/openwrt/trunk/scripts/download.pl “/mnt/home/openwrt/trunk/dl” “binutils-.tar.bz2” “none” “” “@GNU/binutils/” '
Cannot find appropriate hash command, ensure the provided hash is either a MD5 or SHA256 checksum.
Makefile:118: recipe for target ‘/mnt/home/openwrt/trunk/dl/binutils-.tar.bz2’ failed

Seems like “none” value should be “skip” instead. How do I fix that?


19.03.20181444KernelFeature RequestVery LowLowActivate CONFIG_ATH9K_HWRNG in Kernel 4.9TrunkUnconfirmed Task Description

Since Linux 4.5, ath9k can be used as a random number generator using ADC register as a source of entropy. It is well-known that insufficient entropy is often a problem on routers and weakens security, using ath9k as a random number generator can greatly boost the available entropy on the routers without the need of additional measures such as haveged.

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"
13.03.20181429KernelBug ReportVery LowMediumOpenWrt kernel is missing support for hardware rtc devi...TrunkUnconfirmed Task Description

It seams that sometime in the past support for hardware rtc devices was removed from kernel:
https://patches.linaro.org/patch/1235/

But this is quite important feature to a lot of people who are building iot devices or just want their routers to have correct time even when they are offline and some time without power.

Manually enabling rtc support and using rtc device like sparkfun ds1307 hardware clock works as expected.

Here are steps I used to get rtc support enabled in latest OpenWrt git code:
http://kernelreloaded.com/adding-rtc-to-openwrt-devices-part-2/

Please consider enabling rtc support again kernel and make rtc kernel modules available as packages.

09.03.20181424Base systemBug ReportVery LowLowusbmode sits in loop after installTrunkUnconfirmed Task Description

- Name the tree/revision/version

OpenWrt Snapshot r6397-7cc9914

- Name the affected device

Huawei ME909s-120 LTE Card (12d1:15c1) on a PC Engines APU2 (amd64) in MBIM Mode.

- What does it do that it should not do / what does it not do that it should do

usbmode sits in a loop right after installation, doesn’t switch the Modem in MBMI mode and thus no /dev/cdc-wdm0 device is created and prints constantly:

[ 59.838090] usb 1-1.3: usbfs: process 6946 (usbmode) did not claim interface 1 before use
[ 60.048534] usb 1-1.3: usbfs: interface 1 claimed by usbfs while ‘usbmode’ sets config #0
[ 60.131996] usb 1-1.3: usbfs: process 7032 (usbmode) did not claim interface 1 before use
[ 60.342459] usb 1-1.3: usbfs: interface 1 claimed by usbfs while ‘usbmode’ sets config #0

- Steps to reproduce

Install usb-modeswitch on OpenWrt Snapshot r6397-7cc9914

- What you have already done to workaround/fix the problem

Tried LEDE 17.01.4 r3560-79f57e422d without success, but messages are only printed once after “usbmode -s” is called, also there isn’t a cdc-wdm0 device created.

- Any additional info you thinks is important

This HW config is working fine with cdc_mbim on Debian with a 4.9 Kernel and their usb-modeswitch implementation.

09.03.20181418Base systemBug ReportVery LowCriticalDHCP not discovering certain devices on radio1 (2.4ghz ...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on

  Linksys 3200ACM

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

   OpenWrt SNAPSHOT r6365-45fdb12 / LuCI Master (git-18.061.42275-852ec6e)
   Additional Packages:
   openssh-sftp-server    7.6p1-1
   nginx                  1.12.2-1

- Steps to reproduce

   Embedded platform such ESP8266, Wireless Cameras are unable to connect 
   to 2.4Ghz radio1 on 3200ACM with WPA2-CCMP.
   DHCP does not seem to discover these devices although radio1 (mwlwifi) successfully
   authenticates the devices.
  Clients: 4 x ESP8266 (SonOff Switches, FluxLED, etc.), Unbranded Wireless Camera
  1. DHCP Configuration
    config dnsmasq
        option domainneeded '1'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'

    config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        list dhcp_option '6,8.8.8.8,8.8.4.4'

    config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

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

    config host
        option name 'VelopNode1'
        option dns '1'
        option mac '58:ef:xx:xx:xx:xx'
        option ip '192.168.1.151'
        option leasetime 'infinite'

    config host
        option name 'Hikam-0505'
        option dns '1'
        option mac '88:83:5d:xx:xx:xx'
        option ip '192.168.1.200'
        option leasetime 'infinite'

    config host
        option name 'ESP_C0F513'
        option dns '1'
        option mac 'dc:4f:22:xx:xx:xx'
        option ip '192.168.1.235'
        option leasetime 'infinite'
  1. 2.4Ghz radio1 configuration:
    wireless.radio1=wifi-device
    wireless.radio1.type='mac80211'
    wireless.radio1.hwmode='11g'
    wireless.radio1.path='soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
    wireless.radio1.country='US'
    wireless.radio1.channel='11'
    wireless.radio1.htmode='HT20'
    wireless.radio1.legacy_rates='1'
    wireless.radio1.txpower='30'
    root@openwrt:~# uci show wireless.default_radio1
    wireless.default_radio1=wifi-iface
    wireless.default_radio1.device='radio1'
    wireless.default_radio1.network='lan'
    wireless.default_radio1.ssid='SSID'
    wireless.default_radio1.key='PASSWORD'
    wireless.default_radio1.mode='ap'
    wireless.default_radio1.encryption='psk2'

- Logs:

    Sun Mar  4 04:07:41 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:07:41 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:07:50 2018 authpriv.info dropbear[3371]: Child connection from 192.168.1.151:57119
    Sun Mar  4 04:08:07 2018 daemon.notice hostapd: wlan1: AP-STA-DISCONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:07 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: disassociated
    Sun Mar  4 04:08:07 2018 kern.debug kernel: [  105.684705] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:08:08 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
    Sun Mar  4 04:08:10 2018 kern.debug kernel: [  107.923936] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:08:10 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:08:10 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:10 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:08:13 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:08:13 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:13 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:08:44 2018 kern.debug kernel: [  141.932637] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:08:44 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:08:44 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:44 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:08:44 2018 kern.debug kernel: [  142.629431] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:08:48 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:08:48 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:08:48 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:09:22 2018 kern.debug kernel: [  180.723186] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:09:22 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:09:23 2018 kern.debug kernel: [  181.044324] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:09:23 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:09:23 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:09:23 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:09:26 2018 kern.debug kernel: [  184.838938] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:09:26 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:09:28 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:09:28 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:09:34 2018 kern.debug kernel: [  191.989466] ieee80211 phy1: staid 3 deleted
    Sun Mar  4 04:09:34 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: authenticated
    Sun Mar  4 04:10:06 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 3)
    Sun Mar  4 04:10:06 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:10:06 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)
    Sun Mar  4 04:10:07 2018 kern.debug kernel: [  225.251038] ieee80211 phy1: staid 2 deleted
    Sun Mar  4 04:10:07 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx IEEE 802.11: associated (aid 2)
    Sun Mar  4 04:10:07 2018 daemon.notice hostapd: wlan1: AP-STA-CONNECTED dc:4f:22:xx:xx:xx
    Sun Mar  4 04:10:07 2018 daemon.info hostapd: wlan1: STA dc:4f:22:xx:xx:xx WPA: pairwise key handshake completed (RSN)

Note: These clients are able to join my alternative access point (Velop Nodes) on same frequency and encryption. They are also

  able to join on factory image(FW_WRT3200ACM_1.0.6.186168_prod) radio1 access point and as well as radio2 in openwrt stipulated build.

More info: https://github.com/kaloz/mwlwifi/issues/278

07.03.20181417Base systemBug ReportVery LowMediumLinksys WRT 3200ACM Note for DFS of WRT3200ACM (88W8964...AllUnconfirmed Task Description

Supply the following if possible:

* Device problem occurs on

  • Linksys WRT 3200ACM

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

  • All releases (trunk, stable)

* Steps to reproduce

  • The firmware is included the following packages by default:
    • kmod-mwifiex-sdio
    • mwifiex-sdio-firmware
    • radio2 and default_radio2 in /etc/config/wireless - which is the radar for Linksys WRT 3200ACM

Based on the discussions with @yuhhaurlin from Github based on and the European but US version as well:
https://github.com/kaloz/mwlwifi/blob/master/README.md - Note for DFS of WRT3200ACM (88W8964)
https://github.com/kaloz/mwlwifi/issues/280 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-370997269 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-371061171 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-371063231 https://github.com/kaloz/mwlwifi/issues/280#issuecomment-371070315

As @yuhhaurlin described mwlwifi takes care of everything of this router, but the defaults for the configs includes the:
* kmod-mwifiex-sdio
* mwifiex-sdio-firmware
* radio2 and default_radio2 in /etc/config/wireless - which is the radar for Linksys WRT 3200ACM

But it just giving problems and to make to work you need to exclude these.

My request is to remove it in the .config defaults and the image-builder as well so the router is working (will) perfectly with 160Mhz, DTS, DFS radar and MU-MIMO.

They could be installed as a module, but as @yuhhaurlin in GitHub describes mwlwifi is not required totally.

Besides kmod-mwifiex-sdio and mwifiex-sdio-firmware might only work with US, but then again mwlwifi takes care everything.

 


07.03.20181415Base systemFeature RequestVery LowVery Low[Enhancement] Consider shorter interface-name prefixesTrunkUnconfirmed Task Description

Given that `IFNAMSIZ` is typically 16, there are 15 characters available for an interface name.

OpenWRT prepends a prefix that can be at least 6 characters `gre4t-` as an example.

If one then creates pseudo/virtual-interfaces using VLAN notation, there are only 4 characters available for configuration

`gre4t-ABCD.1234`

As long as this limitation is known, there is no loss of functionality, only utility in the naming. I would have ideally been able to name my tunnels with a more readable indication of where the other endpoint was, for example `portal1` rather than `gt99`.

At some time in the future, shortening these generated prefixes would be welcome. I acknowledge that this likely impacts only a small fraction of advanced users and a change may impact scripts that rely on the generated name.

 


06.03.20181414ToolchainBuild FailureVery LowVery Lowmbedtls: building with ccache: /staging_dir/host/bin/cc...TrunkUnconfirmed Task Description

I am currently trying to compile OpenWRT for

CONFIG_TARGET_LANTIQ=Y
CONFIG_TARGET_LANTIQ_XWAY=Y
CONFIG_TARGET_lantiq_xway_DEVICE_arcadyan_arv752dpw22=y

I am using

CONFIG_DEVEL=y
CONFIG_CCACHE=y

I am building in the following way:

The build was carried out on a git clone git://github.com/openwrt/openwrt.git, later brought up to date with a git pull, with latest commit from 2018-03-05T10:44:20+01:00, commit hash 5cbd22bb0f.

Into this git clone a previously generated .config seed, made previously by make menuconfig and ./scripts/diffconfig.sh, was copied over to ./.config.

From there on, the following commands were issued:

./scripts/feeds update -a
./scripts/feeds install -a
make -j1 V=s defconfig
make -j1 V=s download
make -j1 V=s IGNORE_ERRORS=m | tee make.log

When it comed to building mbedtls, there are the following lines of output which indicate something is wrong:

[...]
make[3]: [Makefile:75: /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-02-26_12-04-45_-_custom-wo-pie_feeds-rooter-custom/build_dir/target-mips_24kc_musl/mbedtls-2.7.0/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 123 (ignored)
[...]
/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/2018-02-26_12-04-45_-_custom-wo-pie_feeds-rooter-custom/staging_dir/host/bin/ccache: invalid option -- 'd'
Usage:
    ccache [options]
[...]

Build continues, (seemingliy) successfully: Indicated by the further output of make, and issuing later a make -j1 V=s (i.e. without IGNORE_ERRORS=m), does not bring this up again.

The toolchain (./staging_dir/toolchain-*) is mips_24kc_gcc-5.5.0_musl.

Build is carried out on an x86_64 Arch Linux machine.

Attached are the following files:

  • .config-diffconfig-seed: The .config-seed used for make defconfig,
  • .config: The .config created by the make defconfig and used for the build,
  • mbedtls.log: The pa[.config-diffconfig-seed.txt](https://github.com/openwrt/packages/files/1782373/default.config-diffconfig-rt of the output of make -j1 V=s IGNORE_ERRORS=m regarding building mbedtls,
  • make.log.stdout.xz: For your interest, the full output of make -j1 V=s IGNORE_ERRORS=m (.xz compressed; decompresses to about 29 MB) (Note that at the end another build error occurs, which seems not to be related to embedtls),
  • feeds.conf: The feeds.conf used.

(Note that I just forgot to capture stderr too, but the error messages seem to be present in stdout. Since a full rebuild takes a day on my machine, I won’t do that if not necessary.)

05.03.20181412Base systemBuild FailureVery LowLowLINK busybox_unstripped fails: cc1: note: someone does ...TrunkUnconfirmed Task Description

I am currently trying to compile OpenWRT for

CONFIG_TARGET_lantiq=y
CONFIG_TARGET_lantiq_xway=y
CONFIG_TARGET_lantiq_xway_DEVICE_arcadyan_arv752dpw22=y

While the default configuration (i.e. just setting this three options, then running make defconfig, then compiling) compiles fine, the compilation of my custom configuration aborts with an error when trying to link busybox and it is not really clear for me what the origin of the error is.

The, I think, important bits of the output of make are:

  LINK    busybox_unstripped
Trying libraries: crypt m rpc
 Library crypt is not needed, excluding it
 Library m is not needed, excluding it
 Library rpc is needed, can't exclude it (yet)
Final link with: rpc
cc1: note: someone does not honour COPTS correctly, passed 0 times
make[4]: *** [Makefile:717: busybox_unstripped] Error 1

I am building in the following way:

The build was carried out on a git clone, later brought up to date with a git pull, with latest commit from 2018-03-05T10:44:20+01:00, commit hash 5cbd22bb0f.

Into this git clone a previously generated .config seed, made previously by make menuconfig and ./scripts/diffconfig.sh, was copied over to ./.config.

From there on, the following commands were issued:

./scripts/feeds update -a
./scripts/feeds install -a
make -j1 V=s defconfig
make -j1 V=s download
make -j1 V=s IGNORE_ERRORS=m 2>%1 | tee make.log

(Note: Those commands were already issued earlier, then the build error occured, and for preparing this report I updated to the newest state with git pull and issued the commands again. It made (re)compile faster due to ccache and due to already compiled files present, but might affect the output of make. Just to note if things might be suspicious. The actual error messages just before the build aborts did stay the same.)

The last lines of the make output are:

[...]
  CC      util-linux/volume_id/util.o
  CC      util-linux/volume_id/volume_id.o
  AR      util-linux/volume_id/lib.a
  LINK    busybox_unstripped
Trying libraries: crypt m rpc
 Library crypt is not needed, excluding it
 Library m is not needed, excluding it
 Library rpc is needed, can't exclude it (yet)
Final link with: rpc
cc1: note: someone does not honour COPTS correctly, passed 0 times
make[4]: *** [Makefile:717: busybox_unstripped] Error 1
make[4]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45/build_dir/target-mips_24kc_musl/busybox-1.27.2'
make[3]: *** [Makefile:121: /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45/build_dir/target-mips_24kc_musl/busybox-1.27.2/.built] Error 2
make[3]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45/package/utils/busybox'
make[2]: *** [package/Makefile:108: package/utils/busybox/compile] Error 2
make[2]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45'
make[1]: *** [package/Makefile:102: /home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45/staging_dir/target-mips_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45'
make: *** [/home/felics/download/router/OS/OpenWRT/source_build/source/batch_builds/custom-wo-pie_feeds-rooter-custom.2018-02-26_12-04-45/include/toplevel.mk:218: world] Error 2

The toolchain (./staging_dir/toolchain-*) is mips_24kc_gcc-5.5.0_musl.

Build is carried out on an x86_64 Arch Linux machine.

Attached are the following files:

  • .config-diffconfig-seed: The .config-seed used for make defconfig,
  • .config: The .config created by the make defconfig and used for the build,
  • make.log.tail: The last part of the output of make -j1 V=s IGNORE_ERRORS=m 2>%1,
  • make.log.xz: The full output of make -j1 V=s IGNORE_ERRORS=m 2>%1 (.xz compressed; decompresses to about 29 MB)
  • feeds.conf: The feeds.conf used.

What am I doing wrong/ what is going wrong? I am not sure at all if this is indeed a bug in the build system, or something I am doing wrong. (Note: I am not familiar with linker at all.)

(Also note, that there are also previously 47 messages

cc1: note: someone does not honour COPTS correctly, passed 2 times

(see the full make log).)

05.03.20181408Base systemFeature RequestVery LowMediumSeparate device-specific config files in base files & r...AllUnconfirmed Task Description

The redundant config files for other targets in the same arch (e.g. in /etc/diag.sh, /lib/preinit/, /etc/board.d) can take quite a bit of space (a few of kB after sfs, especially for popular archs like ar71xx). Separating config files into board-specific base-files.ipk packages can be very useful for devices with limited flash space.

Also, it will be much helpful to include an option/script in the image builder for auto-removing comments and white-space in all bash and lua files since this will also be much useful for devices with 4MB flash.

03.03.20181406Base systemBug ReportVery LowLowASUS RT-N15U TTL STAYS ON TTL=100 AFTER FLAHSING THE LE...TrunkUnconfirmed Task Description

DEVICE: ASUS RT-N15U

FIRMWARE FLASHED: BOTH LEDE17014 AND LEDE TRUNK LATESTS

BUG REPORT: AFTER BURNING THE FIRMWARE UNDER CFE, THE FIRST REBOOT IS OKEY, BUT WHEN AFTER FINALISING THE CONFIGURATION FOR THE LEDE AND DURING THE SECOND REBOOT, THE SYSTEM STAYS ON TTL=100, THAT MEANS, IT AUTOMATICALLY GOES INTO THE CFE INTERFACE.

03.03.20181405Base systemBug ReportVery LowLowBrcm47xx Board Detection NOT WORKING FOR ASUS RT-N15UTrunkUnconfirmed Task Description

DEVICE: ASUS RT-N15U
*
CPU1: Broadcom BCM47186B0 (500 MHz)
FLA1: 8 MiB (Macronix MX25L6405EMI-12G)
RAM1: 64 MiB (Micron MT47H32M16HR-3:F × 1)
WI1 chip1: Broadcom BCM47186B0
WI1 802dot11 protocols: bgn
WI1 MIMO config: 2×2:2
WI1 antenna connector: none
ETH chip1: Broadcom BCM47186B0
Switch: Broadcom BCM53125S
LAN speed: 10/100/1000
LAN ports: 4
WAN speed: 10/100/1000
WAN ports: 1 FIRMWARE FLASHED
LEDE TRUNK, THE LATEST VERSION

BUGS REPORT:
*
It seems after flashing the lede firmware, the brcm47xx board detection not working for this unit.

Under luci first “status” page, the “model” of the wireless router shows “unknown board” instead of the correct model number. For example, ASUS RT-N15U

When i flash back to cc15.05.1 or bb14.07, the luci will show the correct model no. of the router.

There are so many models of the brcm47xx series and several of them can not be displayed and recognized.

02.03.20181404PackagesFeature RequestVery LowLowRFE : in package "gpsd" init / config : a way to bring ...TrunkUnconfirmed Task Description

FYI, I fixed a build bug in gpsd that allows using gpsd with CANbus / NMEA 2000 : FS#783

Now, it would nice to have a way to initialize the CANbus.

For example, the “8 devices USB2CAN” adapter ( https://www.8devices.com/products/usb2can ) needs :

ip link set can0 type can bitrate 250000

... and the CANable adapter ( http://canable.io/ ) needs :

slcan_attach -w -o -c -s5 /dev/ttyACM0 &

ip link set up slcan0

... after that gpsd can be configured with

gpsd.device=”nmea2000://slcan0”

... and it should work

02.03.20181403Base systemBug ReportVery LowLowlatest mediatek-patches for second gmac not fully worki...TrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on bananapi-r2

https://github.com/openwrt/openwrt/tree/master/target/linux/mediatek/patches-4.14

Some of these patches are creating the second gmac (ethernet-lane between soc and switch).

- Steps to reproduce

i have applied all Patches to a native 4.14(.11/20)-Kernel-Source.
It compiles fine, looks good (ip a in system), but i get no response to icmp,
outgoing seems to work, but ip-header gets damaged (tcpdump on remote host reports “truncated-ip - 6 bytes missing!”). Maybe because of that that my remote-host sends no icmp echo reply...

See http://forum.banana-pi.org/t/adding-second-gmac-to-4-14/4709/17 for detailed test

Can you confirm that and/or place this to the author of the patches?

27.02.20181394Base systemFeature RequestVery LowLowAdd support for OWE encryptionTrunkUnconfirmed Task Description

The WPA3 standard requires opportunistic wireless encryption (OWE) support (with optional OWE transition) for “open” APs. This is supported by hostapd trunk after enabling CONFIG_OWE and then setting OWE instead of WPA-PSK.

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

Hi everyone

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

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

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

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

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

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

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

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

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

Boot log information

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

Thanks

23.02.20181385Base systemBug ReportVery LowMediumUnable to set up repeater on DFS-channelTrunkUnconfirmed Task Description

I have a TP-Link RE450 v1 wireless repeater running OpenWrt SNAPSHOT r6257-94a3af88f3 that I want to set up to extend a network running on a DFS-channel. I am able to connect to the main network in client mode - it is hosted on a NETGEAR R7800 running OpenWrt SNAPSHOT r6150-dc7a1e8555 (hnyman’s latest build). However, the repeating network refuses to start up. This is the guide I followed to set up the relayd-based relay (Luci GUI method): https://openwrt.org/docs/user-guide/wifi/relay_configuration

When following the same method to set up a non-DFS channel everything works as it should.

Here is the system log:

Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6038-13e8d54) ) #0 Sun Feb 18 08:21:12 2018
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] MyLoader: sysp=212b15a7, boardp=2d6f6985, parts=6de765b6
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] bootconsole [early0] enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Determined physical RAM map:
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] memory: 08000000 @ 00000000 (usable)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Initrd not found or empty - disabling initrd
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Zone ranges:
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Movable zone start for each node
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Early memory node ranges
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] On node 0 totalpages: 32768
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] free_area_init_node: node 0, pgdat 804ab9e4, node_mem_map 81000020
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 256 pages used for memmap
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 0 pages reserved
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] Normal zone: 32768 pages, LIFO batch:7
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.000000] pcpu-alloc: [0] 0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.000000] Kernel command line: board=RE450 mtdparts=spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Writing ErrCtl register=00000000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Readback ErrCtl register=00000000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Memory: 124612K/131072K available (3394K kernel code, 174K rwdata, 836K rodata, 260K init, 219K bss, 6460K reserved, 0K cma-reserved)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] NR_IRQS:51
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.071187] pid_max: default: 32768 minimum: 301
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.076184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.092660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.103156] futex hash table entries: 256 (order: -1, 3072 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.110567] NET: Registered protocol family 16
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.116508] MIPS: machine is TP-LINK RE450
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.122731] registering PCI controller with io_map_base unset
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.128976] ar724x-pci ar724x-pci.1: PCIe link is down
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.134441] registering PCI controller with io_map_base unset
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.391525] PCI host bridge to bus 0000:00
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.395892] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.403234] pci_bus 0000:00: root bus resource [io 0×0000]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.409157] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.416382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424828] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424865] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424915] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.424980] pci 0000:00:00.0: supports D1 D2
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.425150] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.425171] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.432989] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.440777] PCI host bridge to bus 0000:01
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.445157] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.452466] pci_bus 0000:01: root bus resource [io 0×0001]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.458398] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.465613] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.474055] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.474068] pci 0000:00:00.0: using irq 40 for pin 1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.481748] clocksource: Switched to clocksource MIPS
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.487998] NET: Registered protocol family 2
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.493366] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.500789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.507593] TCP: Hash tables configured (established 1024 bind 1024)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.514433] UDP hash table entries: 256 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.520649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.527538] NET: Registered protocol family 1
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 0.532235] PCI: CLS 0 bytes, default 32
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.534326] Crashlog allocated RAM at address 0x3f00000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.540612] workingset: timestamp_bits=30 max_order=15 bucket_order=0
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.553247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.559445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.576804] io scheduler noop registered
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.580974] io scheduler deadline registered (default)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.586810] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.595712] console [ttyS0] disabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.619586] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.628770] console [ttyS0] enabled
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.636186] bootconsole [early0] disabled
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 0.648931] m25p80 spi0.0: found s25fl064k, expected m25p80
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.667134] m25p80 spi0.0: s25fl064k (8192 Kbytes)
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.672033] 6 cmdlinepart partitions found on MTD device spi0.0
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.678029] Creating 6 MTD partitions on “spi0.0”:
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.682906] 0×000000000000-0×000000020000 : “u-boot” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.689064] 0×000000020000-0×000000600000 : “firmware” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.707081] 2 tplink-fw partitions found on MTD device firmware
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.713127] 0×000000020000-0x000000185ceb : “kernel” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.719204] 0x0000001a0000-0×000000600000 : “rootfs” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.725496] mtd: device 3 (rootfs) set to be root filesystem
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.731263] 1 squashfs-split partitions found on MTD device rootfs
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.737575] 0×000000440000-0×000000600000 : “rootfs_data” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.744349] 0×000000600000-0×000000610000 : “partition-table” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.751431] 0×000000610000-0×000000620000 : “product-info” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.758325] 0×000000620000-0x0000007f0000 : “config” Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 0.764662] 0x0000007f0000-0×000000800000 : “art” Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.773062] libphy: GPIO Bitbanged MDIO: probed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 0.778061] libphy: Fixed MDIO Bus: probed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.512179] ag71xx ag71xx.0: connected to PHY at gpio-0:04 [uid=004dd072, driver=Atheros 8035 ethernet]
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.522288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.530065] NET: Registered protocol family 10
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.537560] NET: Registered protocol family 17
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.542160] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.555384] 8021q: 802.1Q VLAN Support v1.8
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.561016] hctosys: unable to open rtc device (rtc0)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.571029] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 1.579154] Freeing unused kernel memory: 260K
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 1.583687] This architecture does not have kernel memory protection.
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.132376] init: Console is alive
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.135998] init: - watchdog -
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 2.494811] random: fast init done
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.924159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.965714] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Fri Feb 23 18:36:12 2018 user.info kernel: [ 2.974640] init: - preinit -
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 4.004457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.093477] eth0: link up (1000Mbps/Full duplex)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.098187] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Fri Feb 23 18:36:12 2018 kern.notice kernel: [ 7.293806] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.311068] mount_root: switching to jffs2 overlay
Fri Feb 23 18:36:12 2018 user.warn kernel: [ 7.337522] urandom-seed: Seeding with /etc/urandom.seed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 7.435532] eth0: link down
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.447458] procd: - early -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 7.450449] procd: - watchdog -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.057837] procd: - watchdog -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.061236] procd: - ubus -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.168116] procd: - init -
Fri Feb 23 18:36:12 2018 user.info kernel: [ 8.539737] kmodloader: loading kernel modules from /etc/modules.d/*
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.571268] ip6_tables: (C) 2000-2006 Netfilter Core Team
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.585643] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.593800] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.602959] ip_tables: (C) 2000-2006 Netfilter Core Team
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.614861] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.662930] xt_time: kernel timezone is -0000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.831336] PPP generic driver version 2.4.2
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.837672] NET: Registered protocol family 24
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 8.861154] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 8.867107] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.145193] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.156072] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.344946] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.355293] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.366187] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.494658] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.508099] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.517496] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.530543] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.624942] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
Fri Feb 23 18:36:12 2018 kern.warn kernel: [ 9.635573] ath10k_pci 0000:00:00.0: Falling back to user helper
Fri Feb 23 18:36:12 2018 kern.err kernel: [ 9.705908] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 9.735953] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Fri Feb 23 18:36:12 2018 kern.info kernel: [ 10.826902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963073] ath: EEPROM regdomain: 0×0 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963080] ath: EEPROM indicates default country code should be used
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963083] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963093] ath: country maps to regdmn code: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963098] ath: Country alpha2 being used: US
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 10.963101] ath: Regpair used: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080469] ath: EEPROM regdomain: 0×0 Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080476] ath: EEPROM indicates default country code should be used
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080478] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080490] ath: country maps to regdmn code: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080495] ath: Country alpha2 being used: US
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.080497] ath: Regpair used: 0x3a
Fri Feb 23 18:36:12 2018 kern.debug kernel: [ 11.096449] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ Fri Feb 23 18:36:12 2018 kern.info kernel: [ 11.099579] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
Fri Feb 23 18:36:12 2018 user.info kernel: [ 11.109568] kmodloader: done loading kernel modules from /etc/modules.d/*
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: tunnel
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: Network device
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: bridge
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: veth
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: macvlan
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: 8021ad
Fri Feb 23 18:36:14 2018 user.notice : Added device handler type: 8021q
Fri Feb 23 18:36:14 2018 daemon.notice procd: /etc/init.d/network: ‘radio1’ is disabled
Fri Feb 23 18:36:14 2018 daemon.notice procd: /etc/init.d/network: ‘radio1’ is disabled
Fri Feb 23 18:36:15 2018 authpriv.info dropbear[953]: Not backgrounding
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Data
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led LAN Link
Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN 2.4 GHz Fri Feb 23 18:36:17 2018 daemon.notice procd: /etc/rc.d/S96led: setting up led WLAN 5 GHz Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.492806] br-lan: port 1(eth0) entered blocking state
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.498113] br-lan: port 1(eth0) entered disabled state
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.503728] device eth0 entered promiscuous mode
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is enabled
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is setting up now
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘lan’ is now up
Fri Feb 23 18:36:18 2018 kern.info kernel: [ 18.522482] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is enabled
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is setting up now
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ is now up
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Network device ‘lo’ link is up
Fri Feb 23 18:36:18 2018 daemon.notice netifd: Interface ‘loopback’ has link connectivity
Fri Feb 23 18:36:18 2018 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Fri Feb 23 18:36:19 2018 daemon.info procd: - init complete -
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776056] ath: EEPROM regdomain: 0×8242 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776063] ath: EEPROM indicates we should expect a country code
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776069] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776075] ath: country maps to regdmn code: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776079] ath: Country alpha2 being used: NO
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776082] ath: Regpair used: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776087] ath: regdomain 0×8242 dynamically updated by user
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776168] ath: EEPROM regdomain: 0×8242 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776171] ath: EEPROM indicates we should expect a country code
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776176] ath: doing EEPROM country→regdmn map search
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776181] ath: country maps to regdmn code: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776184] ath: Country alpha2 being used: NO
Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776186] ath: Regpair used: 0×37 Fri Feb 23 18:36:19 2018 kern.debug kernel: [ 19.776190] ath: regdomain 0×8242 dynamically updated by user
Fri Feb 23 18:36:21 2018 daemon.err hostapd: Configuration file: /var/run/hostapd-phy0.conf
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: started, version 2.79rc1 cachesize 150
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: DNS service limited to local subnets
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain test
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain onion
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain localhost
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.441522] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain local
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain invalid
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.net
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.org
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.com
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: using 3 more local addresses
Fri Feb 23 18:36:23 2018 daemon.warn dnsmasq[1349]: no servers found in /tmp/resolv.conf.auto, will retry
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:36:23 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.460824] br-lan: port 2(wlan0-1) entered blocking state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.466441] br-lan: port 2(wlan0-1) entered disabled state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.472324] device wlan0-1 entered promiscuous mode
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state UNINITIALIZED→COUNTRY_UPDATE
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state COUNTRY_UPDATE→HT_SCAN
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: interface state HT_SCAN→DFS
Fri Feb 23 18:36:23 2018 daemon.notice hostapd: wlan0-1: DFS-CAC-START freq=5560 chan=112 sec_chan=-1, width=1, seg0=106, seg1=0, cac_time=60s
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.813439] eth0: link up (1000Mbps/Full duplex)
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.818173] br-lan: port 1(eth0) entered blocking state
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.823505] br-lan: port 1(eth0) entered forwarding state
Fri Feb 23 18:36:23 2018 daemon.notice netifd: Network device ‘eth0’ link is up
Fri Feb 23 18:36:23 2018 kern.info kernel: [ 23.830482] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Fri Feb 23 18:36:23 2018 daemon.notice netifd: bridge ‘br-lan’ link is up
Fri Feb 23 18:36:23 2018 daemon.notice netifd: Interface ‘lan’ has link connectivity
Fri Feb 23 18:36:25 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:36:25 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:36:33 2018 daemon.err uhttpd[984]: luci: accepted login on /admin for root from 192.168.5.10
Fri Feb 23 18:37:24 2018 daemon.notice hostapd: wlan0-1: DFS-CAC-COMPLETED success=1 freq=5560 ht_enabled=0 chan_offset=0 chan_width=3 cf1=5530 cf2=0
Fri Feb 23 18:37:24 2018 daemon.err hostapd: Using interface wlan0-1 with hwaddr 86:16:f9:d6:21:3a and ssid “Test” Fri Feb 23 18:37:25 2018 daemon.notice hostapd: wlan0-1: interface state DFS→ENABLED
Fri Feb 23 18:37:25 2018 daemon.notice hostapd: wlan0-1: AP-ENABLED
Fri Feb 23 18:37:25 2018 kern.info kernel: [ 85.892280] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Fri Feb 23 18:37:25 2018 daemon.notice netifd: radio0 (1079): Successfully initialized wpa_supplicant
Fri Feb 23 18:37:26 2018 daemon.notice netifd: Interface ‘wwan’ is enabled
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5500 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5500 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5520 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5520 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5540 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5540 cf2=0
Fri Feb 23 18:37:26 2018 daemon.notice hostapd: wlan0-1: DFS-PRE-CAC-EXPIRED freq=5560 ht_enabled=0 chan_offset=0 chan_width=0 cf1=5560 cf2=0
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.008800] wlan0: authenticate with a0:40:a0:7c:cb:b9
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.018939] wlan0: send auth to a0:40:a0:7c:cb:b9 (try 1/3)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.026654] wlan0: authenticated
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.031919] wlan0: associate with a0:40:a0:7c:cb:b9 (try 1/3)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.039518] wlan0: RX AssocResp from a0:40:a0:7c:cb:b9 (capab=0×111 status=0 aid=5)
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.048975] wlan0: associated
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Network device ‘wlan0’ link is up
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Interface ‘wwan’ has link connectivity
Fri Feb 23 18:37:27 2018 daemon.notice netifd: Interface ‘wwan’ is setting up now
Fri Feb 23 18:37:27 2018 kern.info kernel: [ 88.058784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Fri Feb 23 18:37:27 2018 kern.debug kernel: [ 88.071867] wlan0: Limiting TX power to 23 (26 - 3) dBm as advertised by a0:40:a0:7c:cb:b9
Fri Feb 23 18:37:27 2018 daemon.notice netifd: wwan (1595): udhcpc: started, v1.27.2
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: sending discover
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: sending select for 192.168.1.144
Fri Feb 23 18:37:28 2018 daemon.notice netifd: wwan (1595): udhcpc: lease of 192.168.1.144 obtained, lease time 43200
Fri Feb 23 18:37:28 2018 daemon.err hostapd: Failed to set beacon parameters
Fri Feb 23 18:37:28 2018 daemon.notice netifd: Interface ‘wwan’ is now up
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: reading /tmp/resolv.conf.auto
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain test
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain onion
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain localhost
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain local
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain invalid
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.net
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.org
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using local addresses only for domain example.com
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using nameserver 192.168.1.1#53
Fri Feb 23 18:37:28 2018 daemon.info dnsmasq[1349]: using 3 more local addresses
Fri Feb 23 18:37:28 2018 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Fri Feb 23 18:39:43 2018 daemon.warn odhcpd[888]: DHCPV6 CONFIRM IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: not on-link
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/odhcpd - 0 addresses
Fri Feb 23 18:39:44 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:39:44 2018 daemon.warn odhcpd[888]: DHCPV6 SOLICIT IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: ok fd6a:5bd0:8330::35e/128
Fri Feb 23 18:39:45 2018 daemon.warn odhcpd[888]: DHCPV6 REQUEST IA_NA from 000466ecdf7df77d2477547e0529ea254566 on br-lan: ok fd6a:5bd0:8330::35e/128
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /etc/hosts - 4 addresses
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/odhcpd - 0 addresses
Fri Feb 23 18:39:45 2018 daemon.info dnsmasq[1349]: read /tmp/hosts/dhcp.cfg01411c - 0 addresses
Fri Feb 23 18:40:06 2018 kern.notice kernel: [ 113.239791] random: crng init done

And here is the kernel log:

[ 0.000000] Linux version 4.9.82 (buildbot@builds) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r6038-13e8d54) ) #0 Sun Feb 18 08:21:12 2018
[ 0.000000] MyLoader: sysp=212b15a7, boardp=2d6f6985, parts=6de765b6
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0×0000000000000000-0x0000000007ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 804ab9e4, node_mem_map 81000020
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] 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: 32512
[ 0.000000] Kernel command line: board=RE450 mtdparts=spi0.0:128k(u-boot)ro,6016k(firmware),64k(partition-table)ro,64k(product-info)ro,1856k(config)ro,64k(art)ro console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 124612K/131072K available (3394K kernel code, 174K rwdata, 836K rodata, 260K init, 219K bss, 6460K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[ 0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[ 0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.071187] pid_max: default: 32768 minimum: 301
[ 0.076184] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083229] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.092660] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.103156] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.110567] NET: Registered protocol family 16
[ 0.116508] MIPS: machine is TP-LINK RE450
[ 0.122731] registering PCI controller with io_map_base unset
[ 0.128976] ar724x-pci ar724x-pci.1: PCIe link is down
[ 0.134441] registering PCI controller with io_map_base unset
[ 0.391525] PCI host bridge to bus 0000:00
[ 0.395892] pci_bus 0000:00: root bus resource [mem 0×10000000-0x11ffffff]
[ 0.403234] pci_bus 0000:00: root bus resource [io 0×0000]
[ 0.409157] pci_bus 0000:00: root bus resource [??? 0×00000000 flags 0×0]
[ 0.416382] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.424828] pci 0000:00:00.0: [168c:003c] type 00 class 0×028000 [ 0.424865] pci 0000:00:00.0: reg 0×10: [mem 0×00000000-0x001fffff 64bit]
[ 0.424915] pci 0000:00:00.0: reg 0×30: [mem 0×00000000-0x0000ffff pref]
[ 0.424980] pci 0000:00:00.0: supports D1 D2
[ 0.425150] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.425171] pci 0000:00:00.0: BAR 0: assigned [mem 0×10000000-0x101fffff 64bit]
[ 0.432989] pci 0000:00:00.0: BAR 6: assigned [mem 0×10200000-0x1020ffff pref]
[ 0.440777] PCI host bridge to bus 0000:01
[ 0.445157] pci_bus 0000:01: root bus resource [mem 0×12000000-0x13ffffff]
[ 0.452466] pci_bus 0000:01: root bus resource [io 0×0001]
[ 0.458398] pci_bus 0000:01: root bus resource [??? 0×00000000 flags 0×0]
[ 0.465613] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.474055] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[ 0.474068] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.481748] clocksource: Switched to clocksource MIPS
[ 0.487998] NET: Registered protocol family 2
[ 0.493366] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.500789] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.507593] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.514433] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.520649] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.527538] NET: Registered protocol family 1
[ 0.532235] PCI: CLS 0 bytes, default 32
[ 0.534326] Crashlog allocated RAM at address 0x3f00000
[ 0.540612] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.553247] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.559445] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.
[ 0.576804] io scheduler noop registered
[ 0.580974] io scheduler deadline registered (default)
[ 0.586810] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.595712] console [ttyS0] disabled
[ 0.619586] serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.628770] console [ttyS0] enabled
[ 0.636186] bootconsole [early0] disabled
[ 0.648931] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.667134] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.672033] 6 cmdlinepart partitions found on MTD device spi0.0
[ 0.678029] Creating 6 MTD partitions on “spi0.0”:
[ 0.682906] 0×000000000000-0×000000020000 : “u-boot” [ 0.689064] 0×000000020000-0×000000600000 : “firmware” [ 0.707081] 2 tplink-fw partitions found on MTD device firmware
[ 0.713127] 0×000000020000-0x000000185ceb : “kernel” [ 0.719204] 0x0000001a0000-0×000000600000 : “rootfs” [ 0.725496] mtd: device 3 (rootfs) set to be root filesystem
[ 0.731263] 1 squashfs-split partitions found on MTD device rootfs
[ 0.737575] 0×000000440000-0×000000600000 : “rootfs_data” [ 0.744349] 0×000000600000-0×000000610000 : “partition-table” [ 0.751431] 0×000000610000-0×000000620000 : “product-info” [ 0.758325] 0×000000620000-0x0000007f0000 : “config” [ 0.764662] 0x0000007f0000-0×000000800000 : “art” [ 0.773062] libphy: GPIO Bitbanged MDIO: probed
[ 0.778061] libphy: Fixed MDIO Bus: probed
[ 1.512179] ag71xx ag71xx.0: connected to PHY at gpio-0:04 [uid=004dd072, driver=Atheros 8035 ethernet]
[ 1.522288] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 1.530065] NET: Registered protocol family 10
[ 1.537560] NET: Registered protocol family 17
[ 1.542160] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.555384] 8021q: 802.1Q VLAN Support v1.8
[ 1.561016] hctosys: unable to open rtc device (rtc0)
[ 1.571029] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 1.579154] Freeing unused kernel memory: 260K
[ 1.583687] This architecture does not have kernel memory protection.
[ 2.132376] init: Console is alive
[ 2.135998] init: - watchdog -
[ 2.494811] random: fast init done
[ 2.924159] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 2.965714] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 2.974640] init: - preinit -
[ 4.004457] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.093477] eth0: link up (1000Mbps/Full duplex)
[ 7.098187] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.293806] jffs2: notice: (403) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 7.311068] mount_root: switching to jffs2 overlay
[ 7.337522] urandom-seed: Seeding with /etc/urandom.seed
[ 7.435532] eth0: link down
[ 7.447458] procd: - early -
[ 7.450449] procd: - watchdog -
[ 8.057837] procd: - watchdog -
[ 8.061236] procd: - ubus -
[ 8.168116] procd: - init -
[ 8.539737] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.571268] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.585643] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[ 8.593800] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[ 8.602959] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.614861] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[ 8.662930] xt_time: kernel timezone is -0000
[ 8.831336] PPP generic driver version 2.4.2
[ 8.837672] NET: Registered protocol family 24
[ 8.861154] PCI: Enabling device 0000:00:00.0 (0000 → 0002)
[ 8.867107] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[ 9.145193] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:00:00.0.bin failed with error -2
[ 9.156072] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.344946] firmware ath10k!pre-cal-pci-0000:00:00.0.bin: firmware_loading_store: map pages failed
[ 9.355293] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[ 9.366187] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.494658] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[ 9.508099] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 9.517496] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 9.530543] ath10k_pci 0000:00:00.0: firmware ver 10.2.4-1.0-00033 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 c41417d0
[ 9.624942] ath10k_pci 0000:00:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[ 9.635573] ath10k_pci 0000:00:00.0: Falling back to user helper
[ 9.705908] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[ 9.735953] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 10.826902] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[ 10.963073] ath: EEPROM regdomain: 0×0 [ 10.963080] ath: EEPROM indicates default country code should be used
[ 10.963083] ath: doing EEPROM country→regdmn map search
[ 10.963093] ath: country maps to regdmn code: 0x3a
[ 10.963098] ath: Country alpha2 being used: US
[ 10.963101] ath: Regpair used: 0x3a
[ 11.080469] ath: EEPROM regdomain: 0×0 [ 11.080476] ath: EEPROM indicates default country code should be used
[ 11.080478] ath: doing EEPROM country→regdmn map search
[ 11.080490] ath: country maps to regdmn code: 0x3a
[ 11.080495] ath: Country alpha2 being used: US
[ 11.080497] ath: Regpair used: 0x3a
[ 11.096449] ieee80211 phy1: Selected rate control algorithm ‘minstrel_ht’ [ 11.099579] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[ 11.109568] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 18.492806] br-lan: port 1(eth0) entered blocking state
[ 18.498113] br-lan: port 1(eth0) entered disabled state
[ 18.503728] device eth0 entered promiscuous mode
[ 18.522482] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.776056] ath: EEPROM regdomain: 0×8242 [ 19.776063] ath: EEPROM indicates we should expect a country code
[ 19.776069] ath: doing EEPROM country→regdmn map search
[ 19.776075] ath: country maps to regdmn code: 0×37 [ 19.776079] ath: Country alpha2 being used: NO
[ 19.776082] ath: Regpair used: 0×37 [ 19.776087] ath: regdomain 0×8242 dynamically updated by user
[ 19.776168] ath: EEPROM regdomain: 0×8242 [ 19.776171] ath: EEPROM indicates we should expect a country code
[ 19.776176] ath: doing EEPROM country→regdmn map search
[ 19.776181] ath: country maps to regdmn code: 0×37 [ 19.776184] ath: Country alpha2 being used: NO
[ 19.776186] ath: Regpair used: 0×37 [ 19.776190] ath: regdomain 0×8242 dynamically updated by user
[ 23.441522] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[ 23.460824] br-lan: port 2(wlan0-1) entered blocking state
[ 23.466441] br-lan: port 2(wlan0-1) entered disabled state
[ 23.472324] device wlan0-1 entered promiscuous mode
[ 23.813439] eth0: link up (1000Mbps/Full duplex)
[ 23.818173] br-lan: port 1(eth0) entered blocking state
[ 23.823505] br-lan: port 1(eth0) entered forwarding state
[ 23.830482] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 85.892280] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 88.008800] wlan0: authenticate with a0:40:a0:7c:cb:b9
[ 88.018939] wlan0: send auth to a0:40:a0:7c:cb:b9 (try 1/3)
[ 88.026654] wlan0: authenticated
[ 88.031919] wlan0: associate with a0:40:a0:7c:cb:b9 (try 1/3)
[ 88.039518] wlan0: RX AssocResp from a0:40:a0:7c:cb:b9 (capab=0×111 status=0 aid=5)
[ 88.048975] wlan0: associated
[ 88.058784] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 88.071867] wlan0: Limiting TX power to 23 (26 - 3) dBm as advertised by a0:40:a0:7c:cb:b9
[ 113.239791] random: crng init done


21.02.20181382Base systemBug ReportVery LowLowcrash in __slab_free.isra from kfreeTrunkUnconfirmed Task Description

Supply the following if possible:

- Device problem occurs on

BT homehub 5a

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

SNAPSHOT, r6182

kernel - 4.9.82-1-b3856355ef32057f204aaf8b7ab28ff3
kmod-usb-net-cdc-ncm - 4.9.82-1
kmod-usb-net-huawei-cdc-ncm - 4.9.82-1
kmod-usb-serial - 4.9.82-1
kmod-usb-serial-wwan - 4.9.82-1
usb-modeswitch - 2017-12-19-f40f84c2-1

- Steps to reproduce

Trying to get Huawei E3372 4G dongle running in NCM mode
after usbmodes runs, the /etc/ncm-wdm0 is created, but does not communicate with modem on dongle

I have to run
echo “12d1 1506 ff” > /sys/bus/usb-serial/drivers/generic/new_id

which gives

[ 1003.351417] usbserial_generic 1-1:1.0: The “generic” usb-serial driver is only for testing and one-off prototypes.
[ 1003.360515] usbserial_generic 1-1:1.0: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 1003.370345] usbserial_generic 1-1:1.0: generic converter detected
[ 1003.377122] usb 1-1: generic converter now attached to ttyUSB0
[ 1003.382521] usbserial_generic 1-1:1.1: The “generic” usb-serial driver is only for testing and one-off prototypes.
[ 1003.392654] usbserial_generic 1-1:1.1: Tell linux-usb@vger.kernel.org to add your device to a proper driver.
[ 1003.402464] usbserial_generic 1-1:1.1: generic converter detected
[ 1003.409607] usb 1-1: generic converter now attached to ttyUSB1

I realize that forcing the generic usb serial in this way is not “proper” but it seems necessary for the moment to get any communication with the modem

this does create /dev/ttyUSB0 and ttyUSB1 devices,

startimg the 4G interface with

ifup LTE

will then communicate with the modem, the chat script gets responses to the AT commands

unfortunately as soon as
I run

ifdown LTE

I get a repeatable crash

root@hh5a:/# ifdown LTE
root@hh5a:/#
root@hh5a:/# [256467.571884] CPU 1 Unable to handle kernel paging request at virtual address 67901b30, epc == 800f33f8, ra == 800f3b94
[256467.581230] Oops[#1]:
[256467.583518] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.9.82 #0
[256467.589782] task: 87c3d080 task.stack: 87c7a000
[256467.594379] $ 0 : 00000000 806f0004 67901b30 00000001
[256467.599688] $ 4 : 87c02b00 810fb560 67901a00 67901a00
[256467.605003] $ 8 : 805993f8 04efd20a d208b27a 0000008c
[256467.610310] $12 : 52016177 ffffffff 00000000 1a0004e4
[256467.615619] $16 : 810fb560 850d8008 000d001a 00000000
[256467.620930] $20 : 805990a0 00000000 87c02b00 00000000
[256467.626238] $24 : 00000000 875e36f8
[256467.631549] $28 : 87c7a000 87c7bcd8 00000018 800f3b94
[256467.636856] Hi : 00000000
[256467.639814] Lo : 0000c400
[256467.642811] epc : 800f33f8 slab_free.isra.13+0×64/0×334 [256467.648453] ra : 800f3b94 kfree+0×194/0x1a4
[256467.652963] Status: 1100c303 KERNEL EXL IE [256467.657223] Cause : 0080000c (ExcCode 03)
[256467.661312] BadVA : 67901b30
[256467.664274] PrId : 00019556 (MIPS 34Kc)
[256467.668270] Modules linked in: ltq_ptm_vr9 ath9k ath9k_common ath9k_hw ath10k_pci ath10k_core ath usb_wwan pppoe nf_nat_pptp nf_conntrack_pptp nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm 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 usbserial usbnet ts_fsm ts_bm pppox ppp_async owl_loader nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_redirect nf_nat_proto_gre nf_nat_masquerade_ipv4 nf_nat_irc nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtcache nf_conntrack_proto_gre nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda ltq_deu_vr9 iptable_mangle iptable_filter ipt_ECN ip_tables crc_ccitt compat cdc_wdm sch_cake nf_conntrack act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress drv_dsl_cpe_api drv_mei_cpe ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables pppoatm ppp_generic slhc ifb br2684 atm mii drv_ifxos dwc2 gpio_button_hotplug
Process ksoftirqd/1 (pid: 14, threadinfo=87c7a000, task=87c3d080, tls=00000000)
[256467.798220] Stack : 00000000 00000001 00000000 00000000 67901a00 67901a00 00000001 805a0000
[256467.806661] 04f6d940 850d8008 00003fe0 00000002 67901a00 04efd20a d208b27a d20f920a
[256467.815103] 52016177 ffffffff 00000000 1a0004e4 876a8d00 850d8008 87d7b800 00000000
[256467.823546] 876a8d00 850d8008 87d7b800 00000000 805990a0 00010000 00000002 00000000
[256467.831989] 00000018 800f3b94 00000018 875e36bc 1100c303 00000000 00000001 04f6d940
[256467.840432] ...
[256467.842959] Call Trace:
[256467.845511] [<800f33f8>]
slab_free.isra.13+0×64/0×334 [256467.850826] [<800f3b94>] kfree+0×194/0x1a4
[256467.854986] Code: 8e12000c 00621021 8fa30018 <ac550000> 00121402 00431023 3042ffff afb2002c 32570001
[256467.864804]
[256467.866497] —[ end trace e77f91eef6b40e80 ]—

root@h[256467.872551] Kernel panic - not syncing: Fatal exception in interrupt
[256467.878975] Rebooting in 3 seconds..


19.02.20181374PackagesBug ReportVery LowHighubox: logd memory leak AllUnconfirmed Task Description

I checked the use of memory with `top` command and saw that the logd was consuming memory disproportionately (around 60MB).

```
PID PPID USER STAT VSZ VSZ %CPU COMMAND
971 1 root S 59768 48% 0% /sbin/logd -S 64
```

- There was no remote log configured.
- I was using logread -f for a long time.
- When doing an /etc/init.d/log restart the consumed memory returned to normality.
- ubox version:

```
PKG_SOURCE_DATE:=2017-09-01
PKG_SOURCE_VERSION:=b1bc8d5fb874cdd22701a08d0fb0de4330f86814
PKG_MIRROR_HASH:=b07e750d941d691e2745aa3a058e504966b15d1db5636162dc686bad275eb296
```


14.02.20181364Base systemBug ReportVery LowMediumQMI NAT reflection does not work properlyTrunkUnconfirmed Task Description

I recently switched from using NCM to QMI. The NAT reflection stopped working. Also in LuCI the IP address does not appear (see: https://bugs.lede-project.org/index.php?do=details&task_id=1304 ). Perhaps these are related problems?

I am not exactly sure what information you need? I am using latest trunk. Please let me know what debugging information I should extract, and how. I will get all the necessary information on request.

14.02.20181363Base systemBug ReportVery LowMediumQMI does not use correct APNTrunkUnconfirmed Task Description

I get 4G service from a provider which provide public IP if APN of “opengate” is used. I found out that qmi.sh does not set the card correctly. The `–autoconnect` setting seems to be the cause. (Also maybe related: https://forum.openwrt.org/viewtopic.php?pid=372211 )

I replaced in my qmi.sh “–autoconnect” with “–set-autoconnect enabled” in lines where “–start-network” is used.

Seems to do the trick. However “–stop-network” requires “–autoconnect” to be present or I get errors.

See:

root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --autoconnect
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"100.69.24.116","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"100.69.24.117","subnet":"255.255.255.248"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"46.132.191.50","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"46.132.191.49","subnet":"255.255.255.252"},"ipv6":{},"domain-names":{}}
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19  --stop-network 0xffffffff --autoconnect
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
"Out of call"
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --set-client-id wds,19 --start-network --apn opengate --set-autoconnect enabled
-2020095904
root@OpenWrt:/# uqmi -s -d /dev/cdc-wdm0 --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"194.251.18.231","dns1":"192.89.123.230","dns2":"192.89.123.231","gateway":"194.251.18.232","subnet":"255.255.255.240"},"ipv6":{},"domain-names":{}}
14.02.20181362KernelBug ReportVery LowLowkernel hangs unexpectedly on mt7621TrunkUnconfirmed Task Description

Usually system just hangs with no messages in the log. I’ve tried to enable log writing to external USB flash, but the log just stops in the time when the issue occurs.
I have no idea how to reproduce it. It could happen 3-5 times a day, but sometimes systems works for a week with no issues.

I’ve tried a lot of snapshot builds since 20180111, but the issue still exists.

The current version installed:
Snapshot 20180212
Hardware: Xiaomi Router 3G
ramips-mt7621

opkg list:
base-files - 184-r6069-a464fba
busybox - 1.27.2-3
dnsmasq - 2.78-10
dropbear - 2017.75-5
firewall - 2017-11-07-c4309372-2
fstools - 2018-02-11-3d239815-1
fwtool - 1
hostapd-common - 2017-08-24-c2d4f2eb-6
ip6tables - 1.6.1-2
iptables - 1.6.1-2
iw - 4.9-1
jshn - 2018-02-08-bb0c830b-1
jsonfilter - 2016-07-02-dea067ad-1
kernel - 4.9.77-1-2b01b81f4010dbad63c4aa03d212c19b
kmod-cfg80211 - 4.9.77+2017-11-01-3
kmod-gpio-button-hotplug - 4.9.77-2
kmod-ip6tables - 4.9.77-1
kmod-ipt-conntrack - 4.9.77-1
kmod-ipt-core - 4.9.77-1
kmod-ipt-nat - 4.9.77-1
kmod-leds-gpio - 4.9.77-1
kmod-lib-crc-ccitt - 4.9.77-1
kmod-mac80211 - 4.9.77+2017-11-01-3
kmod-mt76-core - 4.9.77+2018-02-09-246d548b-1
kmod-mt7603 - 4.9.77+2018-02-09-246d548b-1
kmod-mt76x2 - 4.9.77+2018-02-09-246d548b-1
kmod-nf-conntrack - 4.9.77-1
kmod-nf-conntrack6 - 4.9.77-1
kmod-nf-ipt - 4.9.77-1
kmod-nf-ipt6 - 4.9.77-1
kmod-nf-nat - 4.9.77-1
kmod-nf-reject - 4.9.77-1
kmod-nf-reject6 - 4.9.77-1
kmod-nls-base - 4.9.77-1
kmod-ppp - 4.9.77-1
kmod-pppoe - 4.9.77-1
kmod-pppox - 4.9.77-1
kmod-slhc - 4.9.77-1
kmod-tun - 4.9.77-1
kmod-usb-core - 4.9.77-1
kmod-usb-ledtrig-usbport - 4.9.77-1
kmod-usb3 - 4.9.77-1
lede-keyring - 2017-01-20-a50b7529-1
libblobmsg-json - 2018-02-08-bb0c830b-1
libc - 1.1.18-1
libgcc - 5.5.0-1
libip4tc - 1.6.1-2
libip6tc - 1.6.1-2
libiwinfo - 2018-01-16-5a5e21b1-1
libiwinfo-lua - 2018-01-16-5a5e21b1-1
libjson-c - 0.12.1-1
libjson-script - 2018-02-08-bb0c830b-1
liblua - 5.1.5-1
liblzo - 2.10-1
libmbedtls - 2.6.0-1
libnl-tiny - 0.1-5
libopenssl - 1.0.2n-1
libpthread - 1.1.18-1
libubox - 2018-02-08-bb0c830b-1
libubus - 2018-01-16-5bae22eb-1
libubus-lua - 2018-01-16-5bae22eb-1
libuci - 2018-01-01-5beb95da-1
libuci-lua - 2018-01-01-5beb95da-1
libuclient - 2017-11-02-4b87d831-1
libustream-mbedtls - 2016-07-02-ec80adaa-2
libxtables - 1.6.1-2
logd - 2017-11-13-e7a63fba-1
lua - 5.1.5-1
luci - git-18.039.58622-76f9f5e-1
luci-app-firewall - git-18.039.58622-76f9f5e-1
luci-app-openvpn - git-18.039.58622-76f9f5e-1
luci-base - git-18.039.58622-76f9f5e-1
luci-lib-ip - git-18.039.58622-76f9f5e-1
luci-lib-jsonc - git-18.039.58622-76f9f5e-1
luci-lib-nixio - git-18.039.58622-76f9f5e-1
luci-mod-admin-full - git-18.039.58622-76f9f5e-1
luci-proto-ipv6 - git-18.039.58622-76f9f5e-1
luci-proto-ppp - git-18.039.58622-76f9f5e-1
luci-ssl - git-18.039.58622-76f9f5e-1
luci-theme-bootstrap - git-18.039.58622-76f9f5e-1
luci-theme-material - git-18.039.58622-76f9f5e-1
mtd - 21
netifd - 2018-02-05-1be329c6-3
odhcp6c - 2017-09-05-1f93bd4c-8
odhcpd-ipv6only - 1.3-1
openssl-util - 1.0.2n-1
openvpn-easy-rsa - 3.0.1-1
openvpn-openssl - 2.4.4-2
opkg - 2017-12-07-3b417b9f-2
ppp - 2.4.7-12
ppp-mod-pppoe - 2.4.7-12
procd - 2018-01-23-653629f1-2
px5g-mbedtls - 4
rpcd - 2017-12-07-cfe1e75c-1
rpcd-mod-rrdns - 20170710
swconfig - 11
ubi-utils - 1.5.2-1
uboot-envtools - 2015.10-1
ubox - 2017-11-13-e7a63fba-1
ubus - 2018-01-16-5bae22eb-1
ubusd - 2018-01-16-5bae22eb-1
uci - 2018-01-01-5beb95da-1
uclient-fetch - 2017-11-02-4b87d831-1
uhttpd - 2017-11-04-a235636a-1
uhttpd-mod-ubus - 2017-11-04-a235636a-1
usign - 2015-07-04-ef641914-1
wireless-regdb - 2017-10-20-4343d359
wpad-mini - 2017-08-24-c2d4f2eb-6
zlib - 1.2.11-2

The only strange think I found - some amount of dropped packets on ethernet interface connected to local network.

I think it’s related to local network traffic somehow. I put the anoter router in this network and both of the routers hang the same time once.
The second router was Netgear wnr1000v2 based on ar71xx.

I’ve also tried to change the Xiaomi router with different one but same model. Nothing changed.

Twice I found the following kernel warnin in the log:

Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.948299] ————[ cut here ]———— Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.953073] WARNING: CPU: 0 PID: 0 at backports-2017-11-01/net/mac80211/rx.c:4316 ieee80211_rx_napi+0x1a4/0×964 [mac80211]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.964092] Rate marked as a VHT rate but data is invalid: MCS: 126, NSS: 0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 416.971084] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_ipv6 mt76x2e mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables tun leds_gpio xhci_mtk xhci_plat_hcd xhci_pci xhci_hcd gpio_button_hotplug usbcore nls_base usb_common
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.036194] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.77 #0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.042086] Stack : 00000000 00000000 80557b4a 00000033 8040fc04 00000000 00000000 80550000
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.050434] 804f62bc 804f5ea7 8048cd04 00000000 00000000 80553824 00000004 0000099e
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.058779] 00000000 8006ab98 00000001 80550000 804fc004 804fc008 80491910 8fc0dc7c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.067122] 00000003 800a7a50 00000004 0000099e 00000000 00000000 00000002 00c0dc7c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.075465] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.083808] ...
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.086244] Call Trace:
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.088706] [<8000f714>] show_stack+0×54/0×88 Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.093048] [<801e5d9c>] dump_stack+0x8c/0xd0
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.097384] [<8002adc4>] __warn+0xe4/0×118 Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.101462] [<8002ae28>] warn_slowpath_fmt+0×30/0x3c
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.106535] [<8ec25c7c>] ieee80211_rx_napi+0x1a4/0×964 [mac80211]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.112640] [<8f2d9b78>] mt76_rx_complete+0x18c/0×278 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.118278] [<8f2d9e24>] mt76_rx_poll_complete+0x1c0/0×260 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.124346] [<8f2d8e64>] mt76_dma_attach+0xb94/0xcc0 [mt76]
Wed Feb 14 15:36:51 2018 kern.warn kernel: [ 417.130010] —[ end trace 2c3430e855d3296c ]—

Is there any possibility to find out what happens with the kernel. The sysctl properties set to reboot it in 3 seconds on panic, but it’s not rebooting, just staying in this state.

Thanks for advance for any helpful tips.

14.02.20181359Base systemBug ReportVery LowLowboost falis to compile with glibc 2.26 TrunkUnconfirmed Task Description

Environment: x86_64, OpenWRT/LEDE trunk
Description: Compilation failed with target-x86_64_glibc

# Target System                                              --> x86
# Subtarget                                                     --> x86_64
# Target Profile                                               --> Generic


# Advanced configuration options (for developers)     [*]   Toolchain Options  ---> C Library implementation (Use glibc)  

if I select only --> <*> boost -- it compiled with no issues.

But if I try to include the following Boost library, then failed to compile.
--> <*> boost.................................. Boost C++ source library packages
                       --> Select Boost libraries
                                            --> -*- Boost atomic library   
                                            --> -*- Boost chrono library
                                            --> -*- Boost system library
                                            --> -*- Boost thread libray


according to this https://github.com/openwrt/packages/issues/5573, glibc 2.26 has introduced a regression and needs to be patched.
do you have any idea how to solve the issue?
Thank you !

13.02.20181356Base systemBug ReportVery LowLowWiFi Monitor interface is created on wrong channelTrunkUnconfirmed Task Description

- Device problem occurs on: PC-Engines APU3
- Software versions of OpenWrt/LEDE release: LEDE 17.01.4

Just created a monitor interface with an WLE200NX:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '5'
        option hwmode '11g'
        option path 'pci0000:00/0000:00:02.5/0000:04:00.0'
        option htmode 'HT40'
        option disabled '0'

config wifi-iface
        option mode 'monitor'
        option device 'radio0'
        option ifname 'mon0'

And restarted the device. It was expected that the monitor interface is now in HT40 mode (able to receive on HT40) and on channel 5. But in reality, the device was now on channel 1 and used a 20MHz (non-HT) channel setting:

root@LEDE:/# iw dev
phy#0
        Interface mon0
                ifindex 7
                wdev 0x2
                addr 00:11:22:33:44:55
                type monitor
                channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
                txpower 20.00 dBm
12.02.20181352KernelBug ReportVery LowLowar71xx/mikrotik: Link change detection on switch ports ...TrunkUnconfirmed Task Description

Link change detection on switch ports no longer working for some MikroTik devices, such as:
- RB493G (AR8316 switch)
- RB951G-2HnD (AR8327 switch)

Can’t tell if this is specific to MikroTik devices or if it also affects other AR8xxx switch based ones.
This was working in the past (old OpenWrt r46741), but I can’t tell when or how long it stopped working.

[  157.486354] Atheros AR8216/AR8236/AR8316 gpio:00: Port 4 is down
[  161.505826] Atheros AR8216/AR8236/AR8316 gpio:00: Port 4 is up
[  240.890350] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
[  242.900237] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up

Initial commit for link change detection support:
https://github.com/openwrt/openwrt/commit/a1fba9dfbe628b171ac789510aca233178fe7d85

11.02.20181348Base systemBug ReportVery LowMediumdnsmasq config script doesn't handle vendorclass specif...TrunkUnconfirmed Task Description

This happens as of LEDE 17.01.4, and is a result of how /etc/init.d/dnsmasq script rebuilds the temp dnsmasq config file from the /etc/config/dhcp file.

dnsmasq supports the following construct:

dhcp-vendorclass=set:ubiquity,ubnt
dhcp-option=tag:ubiquity,1,192.168.1.10

The meaning of which would be that if a vendor string that matches ‘ubnt’ is seen, then the class ‘ubiquity’ is set against the device, any dhcp-options tagged with that class would be sent to devices so tagged.

The dhcp config files supports constructs like this:

config vendorclass ‘ubiquity’

  option vendorclass 'ubnt'
  option networkid 'vendor:ubnt'
  list dhcp_option '1,192.168.1.10'

but in this case the value of networkid is pre-pended in each case to the dhcp_option string, like so:

dhcp-vendorclass=vendor:ubnt,ubnt
dhcp-option=vendor:ubnt,1,192.168.1.10

Which works as config - but only because the vendorclass specification is not at work at all - essentially all the matching is occurring within the dhcp-option (it wouldn’t be possible to specify multiple values to be matched in the vendorclass specifier for instance).


11.02.20181347Base systemBug ReportVery LowHighAsus WL500GP V2 reboots when you`re trying to send fileAllUnconfirmed Task Description

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

 

I`m using Asus WL500GP V2 with Huawei E3372s with HiLink fw (I tested stick fw too). I`ve tried all LEDE versions. You can reproduce easily, just try to attach file to letter, or send file to cloud. 99% that router will reboot.

10.02.20181345Base systemBug ReportVery LowLowFailed to build u-boot/atmelimage.o in Alpine LinuxTrunkUnconfirmed Task Description

Failed to build u-boot/atmelimage.o in Alpine Linux

tools/mkimage.h: In function 'map_to_sysmem':                                                                                                           
tools/mkimage.h:40:10: error: 'ulong' undeclared (first use in this function)                                                                           
  return (ulong)(uintptr_t)ptr;                                                                                                                         
          ^~~~~                                                                                                                                         
tools/mkimage.h:40:10: note: each undeclared identifier is reported only once for each function it appears in                                           
tools/mkimage.h:40:17: error: expected expression before 'uintptr_t'                                                                                    
  return (ulong)(uintptr_t)ptr;                                                                                                                         
                 ^~~~~~~~~                                                                                                                              
tools/mkimage.h:40:27: error: expected ';' before 'ptr'                                                                                                 
  return (ulong)(uintptr_t)ptr;                                                                                                                         
                           ^~~                                                                                                                          
make[5]: *** [scripts/Makefile.host:134: tools/atmelimage.o] Error 1                                                                                    
make[4]: *** [Makefile:1195: tools-only] Error 2
09.02.20181338Base systemBug ReportVery LowLowcron silently fails to startTrunkUnconfirmed Task Description

I’m running HEAD (9a08c10 BUILD_ID=”r5968+31-bcd17ce”) on an x86_64. I’ve enabled:

CONFIG_BUSYBOX_CONFIG_CROND=y
CONFIG_BUSYBOX_CONFIG_CRONTAB=y

and I’ve validated that

/etc/init.d/cron enable

and then tried to run it:

root@OpenWrt3:~# /etc/init.d/cron enable
root@OpenWrt3:~# /etc/init.d/cron start
root@OpenWrt3:~# echo $?
0
root@OpenWrt3:~# ps -w | grep cron
14918 root      3088 S    grep cron
root@OpenWrt3:~# grep cron /var/log/messages
root@OpenWrt3:~# 
05.02.20181328Base systemBug ReportVery LowLowVGV7510KW22 / o2 Box 6431: Spurious reboots and etherne...TrunkUnconfirmed Task Description

Device:
VGV7510KW22 / o2 Box 6431

Software version:
OpenWrt SNAPSHOT r5944-ad4232e
Linux version 4.9.77 (buildbot@slashdirt-03) (gcc version 5.5.0 (OpenWrt GCC 5.5.0 r5944-ad4232e) ) #0 SMP Thu Jan 25 10:00:48 2018

Environment:
Additional packages: asterisk13-chan-lantiq, strongswan

Steps to reproduce:
From time to time, the box will reboot spuriously. Uptimes vary, between 12 hours and 2 weeks. After such a reboot, some of the ethernet ports do not detect a link anymore. Unplugging and replugging the ethernet cable into the same port does not help, and the kernel will only notice a link if I plug the ethernet cable into another port.
Sometimes, the ethernet port loses link even without a reboot.
Syslog is logged to an external server via UDP and does not show any error message prior to the spurious reboot.

Workaround:
Performing a manual reboot after the spurious reboot fixes the ethernet link loss.

Possibly relevant difference between dmesg on a spurious and normal reboot:

--- dmesg-normal-reboot.txt.notimestamps        2018-02-05 11:42:10.656203272 +0100
+++ dmesg-spurious-reboot.txt.notimestamps      2018-02-05 11:40:47.264201277 +0100
@@ -30,8 +30,8 @@
 PID hash table entries: 256 (order: -2, 1024 bytes)
 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
-Writing ErrCtl register=00014098
-Readback ErrCtl register=00014098
+Writing ErrCtl register=00014090
+Readback ErrCtl register=00014090
 Memory: 55392K/63488K available (4334K kernel code, 178K rwdata, 1324K rodata, 1252K init, 244K bss, 8096K reserved, 0K cma-reserved)
 SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
 Hierarchical RCU implementation.
@@ -123,12 +123,14 @@
 libphy: Fixed MDIO Bus: probed
 libphy: lantiq,xrx200-mdio: probed
 ICPlus IP101A/G 0:01: attached PHY driver [ICPlus IP101A/G] (mii_bus:phy_addr=0:01, irq=-1)
-Intel XWAY PHY22F (xRX integrated) 0:11: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:11, irq=-1)
-Intel XWAY PHY22F (xRX integrated) 0:12: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:12, irq=-1)
-random: fast init done
+lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): no PHY found
+xrx200-mdio: probing phy of port 2 failed
+lantiq,xrx200-net 1e108000.eth eth0 (uninitialized): no PHY found
+xrx200-mdio: probing phy of port 3 failed
 Intel XWAY PHY22F (xRX integrated) 0:13: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:13, irq=-1)
+random: fast init done
 Intel XWAY PHY22F (xRX integrated) 0:14: attached PHY driver [Intel XWAY PHY22F (xRX integrated)] (mii_bus:phy_addr=0:14, irq=-1)
-ltq-cputemp cputemp@0: Current CPU die temperature: 54.0 °C
+ltq-cputemp cputemp@0: Current CPU die temperature: 52.5 °C
 wdt 1f8803f0.watchdog: Init done
 NET: Registered protocol family 10
 NET: Registered protocol family 17
@@ -139,7 +141,6 @@
 This architecture does not have kernel memory protection.
 init: Console is alive
 init: - watchdog -
-lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
 kmodloader: loading kernel modules from /etc/modules-boot.d/*
 dwc2 1e101000.ifxhcd: requested GPIO 509
 dwc2 1e101000.ifxhcd: DWC OTG Controller
@@ -151,12 +152,12 @@
 hub 1-0:1.0: 1 port detected
 kmodloader: done loading kernel modules from /etc/modules-boot.d/*
 init: - preinit -
-jffs2: notice: (440) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
+IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
+jffs2: notice: (436) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 mount_root: switching to jffs2 overlay
 urandom-seed: Seeding with /etc/urandom.seed
 procd: - early -
 procd: - watchdog -
-lantiq,xrx200-net 1e108000.eth eth0: port 2 lost link
 procd: - watchdog -
 procd: - ubus -
 procd: - init -
@@ -207,19 +208,19 @@
 device eth0 entered promiscuous mode
 IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
 IPv6: ADDRCONF(NETDEV_UP): eth0.13: link is not ready
-lantiq,xrx200-net 1e108000.eth eth0: port 2 got link
-IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
-br-lan: port 1(eth0.1) entered blocking state
-br-lan: port 1(eth0.1) entered forwarding state
-IPv6: ADDRCONF(NETDEV_CHANGE): eth0.13: link becomes ready
-IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
+random: crng init done
 PTM 1.0.27    PTM (E1) firmware version 0.30
 ifxmips_ptm: PTM init succeed
 IPv6: ADDRCONF(NETDEV_UP): dsl0: link is not ready
 IPv6: ADDRCONF(NETDEV_UP): dsl0.7: link is not ready
-random: crng init done
 enter showtime
 IPv6: ADDRCONF(NETDEV_CHANGE): dsl0: link becomes ready
 IPv6: ADDRCONF(NETDEV_CHANGE): dsl0.7: link becomes ready
 enter showtime
 pppoe-wan: renamed from ppp0
04.02.20181326KernelBug ReportVery LowMediumKernel crashTrunkUnconfirmed Task Description

Supply the following if possible:
- Device problem occurs on
Archer C7 v2

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

OpenWrt SNAPSHOT r5994-fd30187c87 / LuCI Master (git-18.031.70145-518ac52)

Feb 3rd 2018 snapshot.

- Steps to reproduce

 

install snapshot, let it run, normal usage, connect disconnect etc.

info from kernel log:

[14458.634926] ath10k_pci 0000:01:00.0: failed to delete peer c4:b3:01:8f:ef:62 for vdev 0: -145
[14458.643587] ath10k_pci 0000:01:00.0: found sta peer c4:b3:01:8f:ef:62 (ptr 86958c00 id 27) entry on vdev 0 after it was supposedly removed
[14458.656870] ————[ cut here ]———— [14458.661686] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:1001 sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.673453] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink 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
[14458.745995] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14458.775167] CPU: 0 PID: 13630 Comm: hostapd Not tainted 4.9.77 #0
[14458.781337] Stack : 804f765a 00000035 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14458.789882] 804f37a0 000003e9 00000000 00000000 00000000 800a9934 8043f378 80480000
[14458.798426] 00000003 000003e9 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000074
[14458.806971] 00000000 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14458.815516] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14458.824051] ...
[14458.826552] Call Trace:
[14458.829043] [<8006b2c8>] show_stack+0×54/0×88 [14458.833482] [<8007ff40>] warn+0xe4/0×118 [14458.837657] [<80080008>] warn_slowpath_null+0x1c/0×34 [14458.842880] [<87706fd8>] sta_set_sinfo+0×930/0x9d8 [mac80211]
[14458.848830] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14458.854870] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14458.861694] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14458.869154] —[ end trace e47c69f6c533b83e ]— [14461.914797] ath10k_pci 0000:01:00.0: failed to wait for created wmi peer c4:b3:01:8f:ef:62 on vdev 0: -145
[14461.924661] ath10k_pci 0000:01:00.0: failed to add peer c4:b3:01:8f:ef:62 for vdev 0 when adding a new sta: -145
[14746.711911] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer 2c:0e:3d:12:09:95: -11
[14746.720962] wlan0: failed to remove key (0, 2c:0e:3d:12:09:95) from hardware (-11)
[14746.753467] ath10k_pci 0000:01:00.0: cipher 0 is not supported
[14746.759445] ath10k_pci 0000:01:00.0: failed to remove peer wep key 0: -122
[14746.766463] ath10k_pci 0000:01:00.0: failed to clear all peer wep keys for vdev 0: -122
[14746.774607] ath10k_pci 0000:01:00.0: failed to disassociate station: 2c:0e:3d:12:09:95 vdev 0: -122
[14746.783787] ————[ cut here ]———— [14746.788602] WARNING: CPU: 0 PID: 13630 at backports-2017-11-01/net/mac80211/sta_info.c:993 sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.800249] Modules linked in: xt_tcpmss xt_statistic xt_recent xt_length xt_hl xt_helper xt_ecn xt_dscp xt_connmark xt_connlimit xt_connbytes xt_HL xt_DSCP xt_CLASSIFY ipt_ECN sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ifb ath9k ath9k_common pppoe ppp_async ath9k_hw ath10k_pci ath10k_core ath pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nfnetlink 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
[14746.872787] iptable_filter ip_tables crc_ccitt compat ledtrig_usbport ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables sit tunnel4 ip_tunnel nls_utf8 nls_iso8859_1 nls_cp437 vfat fat usb_storage sd_mod scsi_mod ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[14746.901958] CPU: 0 PID: 13630 Comm: hostapd Tainted: G W 4.9.77 #0
[14746.909370] Stack : 804f765a 00000043 00000000 00000001 87c2f614 80489347 80439b58 0000353e
[14746.917913] 804f37a0 000003e1 00000000 00000000 00000000 800a9934 8043f378 80480000
[14746.926458] 00000003 000003e1 8043d53c 86b5fb0c 00000000 800d847c 804f765a 00000073
[14746.935002] 8049ae60 8022ef00 00000000 00000000 00000000 00000000 00000000 00000000
[14746.943547] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[14746.952092] ...
[14746.954583] Call Trace:
[14746.957064] [<8006b2c8>] show_stack+0×54/0×88 [14746.961495] [<8007ff40>]
warn+0xe4/0×118 [14746.965666] [<80080008>] warn_slowpath_null+0x1c/0×34 [14746.970889] [<87706f88>] sta_set_sinfo+0x8e0/0x9d8 [mac80211]
[14746.976845] [<87704940>] sta_info_get_bss+0×18/0×68 [mac80211]
[14746.982873] [<87707160>] sta_info_destroy_addr_bss+0×38/0×60 [mac80211]
[14746.989699] [<8764e3d0>] cfg80211_check_station_change+0x21cc/0×3848 [cfg80211]
[14746.997160] —[ end trace e47c69f6c533b83f ]— [14750.071885] ath10k_pci 0000:01:00.0: failed to delete peer 2c:0e:3d:12:09:95 for vdev 0: -11
[14750.080493] ath10k_pci 0000:01:00.0: found sta peer 2c:0e:3d:12:09:95 (ptr 86115e00 id 57) entry on vdev 0 after it was supposedly removed
[14753.111859] ath10k_pci 0000:01:00.0: failed to set beacon mode for vdev 0: -11
[14756.151812] ath10k_pci 0000:01:00.0: failed to set dtim period for vdev 0: -11
[14759.191795] ath10k_pci 0000:01:00.0: failed to recalculate rts/cts prot for vdev 0: -11
[14762.231753] ath10k_pci 0000:01:00.0: failed to set cts protection for vdev 0: -11
[14765.271707] ath10k_pci 0000:01:00.0: failed to set preamble for vdev 0: -11
[88965.620794] ath10k_pci 0000:01:00.0: failed to install key for vdev 0 peer a4:2b:b0:df:39:70: -11
[88965.630032] wlan0: failed to set key (2, ff:ff:ff:ff:ff:ff) to hardware (-11)
[111930.445474] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111933.485423] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111937.165444] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111940.205359] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111947.165313] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111950.205384] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111957.165174] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111960.205293] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111964.685124] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111967.725111] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111974.525032] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111977.565030] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111984.524945] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111987.564913] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111994.524853] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[111997.564835] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112004.524759] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
[112007.564726] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

02.02.20181321PackagesBug ReportVery LowLowUCI potential invalid memory access when updating exist...TrunkUnconfirmed Task Description

- Software versions

UCI 2018-01-01

- Device problem occurs on

There is a potential memory leak when updating existing section in list.c:709

Return pointer from realloc may not be the same as ptr→s. Due to realloc mechanism, pointers value from ptr→s→options are copied to the ptr→last. However, those pointers (ptr→last→s→options) are pointing back to the ptr→s which has been freed.

Below are steps to reproduce.

- Steps to reproduce

 

Given a config file like that

cat /etc/config/network
config interface wan

Given test codes like that

#include <uci.h>

int main(int argc, const char *argv[])
{
    struct uci_context *uci_ctx = uci_alloc_context();
    struct uci_ptr ptr          = {0};
    ptr.package                 = "network";
    ptr.section                 = "wan";
    ptr.value                   = "interface";
    uci_lookup_ptr(uci_ctx, &ptr, NULL, false);
    uci_set(uci_ctx, &ptr);
    uci_save(uci_ctx, ptr.p);
    uci_commit(uci_ctx, &ptr.p, false);
    uci_free_context(uci_ctx);

    return 0;
}

Runs like that

cd UCI_PROJECT_ROOT
mkdir build
cmake ..
make
valgrind ./test/test_mem_leak_section
.... CTRL-C after a while ....

Here is the output of valgrind before the hotfix below

==1567== Memcheck, a memory error detector
==1567== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1567== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1567== Command: ./test/test_mem_leak_section
==1567== 
==1567== Invalid write of size 8
==1567==    at 0x4E3946B: uci_list_del (uci_internal.h:116)
==1567==    by 0x4E3946B: uci_free_element (list.c:71)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid write of size 8
==1567==    at 0x4E3946E: uci_list_del (uci_internal.h:117)
==1567==    by 0x4E3946E: uci_free_element (list.c:71)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a858 is 40 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E394F8: uci_free_section (list.c:210)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 4
==1567==    at 0x4E39486: uci_free_option (list.c:97)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a878 is 72 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E39456: uci_free_element (list.c:69)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a868 is 56 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid read of size 8
==1567==    at 0x4E3945F: uci_free_element (list.c:70)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
==1567== Invalid free() / delete / delete[] / realloc()
==1567==    at 0x4C2BDEC: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E394F4: uci_free_section (list.c:211)
==1567==    by 0x4E39590: uci_free_package (list.c:243)
==1567==    by 0x4E39C97: uci_free_context (libuci.c:84)
==1567==    by 0x400719: main (test_mem_leak_section.c:12)
==1567==  Address 0x561a850 is 32 bytes inside a block of size 82 free'd
==1567==    at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1567==    by 0x4E3C4FE: uci_realloc (util.c:49)
==1567==    by 0x4E3AC77: uci_set (list.c:709)
==1567==    by 0x400711: main (test_mem_leak_section.c:11)
==1567== 
^C
==1567== 
==1567== HEAP SUMMARY:
==1567==     in use at exit: 973 bytes in 17 blocks
==1567==   total heap usage: 189 allocs, 408,927 frees, 8,483 bytes allocated
==1567== 
==1567== LEAK SUMMARY:
==1567==    definitely lost: 0 bytes in 0 blocks
==1567==    indirectly lost: 0 bytes in 0 blocks
==1567==      possibly lost: 0 bytes in 0 blocks
==1567==    still reachable: 973 bytes in 17 blocks
==1567==         suppressed: 0 bytes in 0 blocks
==1567== Rerun with --leak-check=full to see details of leaked memory
==1567== 
==1567== For counts of detected and suppressed errors, rerun with: -v
==1567== ERROR SUMMARY: 2043783 errors from 7 contexts (suppressed: 0 from 0)

- Hot fix

-			ptr->last = NULL;
-			ptr->last = uci_realloc(ctx, ptr->s, sizeof(struct uci_section));
-			ptr->s = uci_to_section(ptr->last);
-			uci_list_fixup(&ptr->s->e.list);
+			ptr->last = (struct uci_element *) ptr->s;

Please take a look the attachment. It includes my hot fix for this issue and corresponding demo codes as illustrated above.

I am not sure how to “update” the “uci_options” associated to the “uci_section”. So, I simply omit and replace the realloc part.

Tested by valgrind again

valgrind ./test/test_mem_leak_section 
==1749== Memcheck, a memory error detector
==1749== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==1749== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==1749== Command: ./test/test_mem_leak_section
==1749== 
==1749== 
==1749== HEAP SUMMARY:
==1749==     in use at exit: 0 bytes in 0 blocks
==1749==   total heap usage: 392 allocs, 392 frees, 23,574 bytes allocated
==1749== 
==1749== All heap blocks were freed -- no leaks are possible
==1749== 
==1749== For counts of detected and suppressed errors, rerun with: -v
==1749== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)


01.02.20181320KernelBug ReportVery LowCriticalcritical crash and restartTrunkUnconfirmed Task Description

There is a random crash all network stop and the router restart .

I’m using last dev build .

Linksys WRT1900ACS

OpenWrt SNAPSHOT r5985-33e8f7e / LuCI Master (git-18.030.59690-47d1eaa)

Kernel 4.9.77

root@OpenWrt:~# cat /sys/kernel/debug/crashlog
Time: 1517518692.641321
Modules:        pppoe@bf1a6000+1e77     ppp_async@bf1a1000+1911 pppox@bf19d000+567      ppp_generic@bf193000+5218       iptable_nat@bf18a000+451        ipt_REJECT@bf186000+3ea ipt_MASQUERADE@bf182000+332     xt_time@bf17e000+6a6    xt_tcpudp@bf17a000+758       xt_state@bf176000+349   xt_nat@bf172000+59d     xt_multiport@bf16e000+554       xt_mark@bf16a000+320    xt_mac@bf166000+2c7     xt_limit@bf162000+48d   xt_conntrack@bf15e000+958       xt_comment@bf15a000+24b xt_TCPMSS@bf156000+a68       xt_REDIRECT@bf152000+375        xt_LOG@bf14e000+3c3     xt_CT@bf14a000+b55      slhc@bf146000+fd2       nf_reject_ipv4@bf142000+803     nf_nat_redirect@bf13e000+3db    nf_nat_masquerade_ipv4@bf13a000+60d     nf_conntrack_ipv4@bf135000+17e5      nf_nat_ipv4@bf131000+f1e        nf_nat@bf12b000+24c0    nf_log_ipv4@bf127000+c36        nf_defrag_ipv4@bf123000+3bc     nf_conntrack_rtcache@bf11f000+a92       nf_conntrack@bf10b000+e773      iptable_mangle@bf107000+3fc  iptable_filter@bf103000+37c     ip_tables@bf0fd000+2817 crc_ccitt@bf0f9000+42b  mwlwifi@bf0d6000+1b6d5  mac80211@bf068000+5f891 cfg80211@bf02e000+311b5 compat@bf029000+12f5    ip6t_REJECT@bf025000+3ec        nf_reject_ipv6@bf021000+908  nf_log_ipv6@bf01d000+cf7        nf_log_common@bf019000+98f      ip6table_mangle@bf015000+4be    ip6table_filter@bf011000+33e    ip6_tables@bf00b000+2715        x_tables@bf005000+2aac  gpio_button_hotplug@bf000000+1784
<7>[   17.893444] ieee80211 phy0: change: 0x40
<7>[   17.911298] ieee80211 phy1: change: 0x40
<7>[   18.111289] ieee80211 phy0: change: 0x40
<7>[   18.121292] ieee80211 phy1: change: 0x40
<7>[   18.321297] ieee80211 phy1: change: 0x40
<7>[   18.331297] ieee80211 phy0: change: 0x40
<7>[   18.521292] ieee80211 phy1: change: 0x40
<7>[   18.551290] ieee80211 phy0: change: 0x40
<7>[   18.721288] ieee80211 phy1: change: 0x40
<7>[   18.771289] ieee80211 phy0: change: 0x40
<7>[   18.931296] ieee80211 phy1: change: 0x40
<7>[   18.991298] ieee80211 phy0: change: 0x40
<7>[   19.020305] ieee80211 phy1: change: 0x100
<7>[   19.029330] ieee80211 phy1: change: 0x100
<7>[   19.038371] ieee80211 phy1: change: 0x40
<7>[   19.211298] ieee80211 phy0: change: 0x40
<7>[   19.241292] ieee80211 phy1: change: 0x40
<7>[   19.431290] ieee80211 phy0: change: 0x40
<7>[   19.441292] ieee80211 phy1: change: 0x40
<7>[   19.641290] ieee80211 phy1: change: 0x40
<7>[   19.651294] ieee80211 phy0: change: 0x60
<7>[   19.851295] ieee80211 phy1: change: 0x40
<7>[   19.871292] ieee80211 phy0: change: 0x40
<7>[   20.051291] ieee80211 phy1: change: 0x40
<7>[   20.091295] ieee80211 phy0: change: 0x40
<7>[   20.271295] ieee80211 phy1: change: 0x40
<7>[   20.311290] ieee80211 phy0: change: 0x40
<7>[   20.471289] ieee80211 phy1: change: 0x40
<7>[   20.531292] ieee80211 phy0: change: 0x40
<7>[   20.681288] ieee80211 phy1: change: 0x40
<7>[   20.751289] ieee80211 phy0: change: 0x40
<7>[   20.881292] ieee80211 phy1: change: 0x40
<7>[   20.971288] ieee80211 phy0: change: 0x40
<7>[   21.081288] ieee80211 phy1: change: 0x40
<7>[   21.191289] ieee80211 phy0: change: 0x40
<7>[   21.291292] ieee80211 phy1: change: 0x40
<7>[   21.411291] ieee80211 phy0: change: 0x40
<7>[   21.491290] ieee80211 phy1: change: 0x40
<7>[   21.631288] ieee80211 phy0: change: 0x40
<7>[   21.691293] ieee80211 phy1: change: 0x40
<7>[   21.780306] ieee80211 phy1: change: 0x100
<7>[   21.789330] ieee80211 phy1: change: 0x100
<7>[   21.798374] ieee80211 phy1: change: 0x40
<7>[   21.851290] ieee80211 phy0: change: 0x40
<7>[   22.001288] ieee80211 phy1: change: 0x40
<7>[   22.071295] ieee80211 phy0: change: 0x60
<7>[   22.175310] ieee80211 phy0: change: 0x100
<7>[   22.184332] ieee80211 phy0: change: 0x100
<7>[   22.193444] ieee80211 phy0: change: 0x40
<7>[   22.201309] ieee80211 phy1: change: 0x40
<7>[   22.411296] ieee80211 phy1: change: 0x40
<7>[   22.411298] ieee80211 phy0: change: 0x40
<7>[   22.611290] ieee80211 phy1: change: 0x40
<7>[   22.631293] ieee80211 phy0: change: 0x40
<7>[   22.811293] ieee80211 phy1: change: 0x40
<7>[   22.851290] ieee80211 phy0: change: 0x40
<7>[   23.011290] ieee80211 phy1: change: 0x40
<7>[   23.081291] ieee80211 phy0: change: 0x40
<7>[   23.221291] ieee80211 phy1: change: 0x40
<7>[   23.301289] ieee80211 phy0: change: 0x40
<7>[   23.421287] ieee80211 phy1: change: 0x40
<7>[   23.531289] ieee80211 phy0: change: 0x40
<7>[   23.621289] ieee80211 phy1: change: 0x40
<7>[   23.751294] ieee80211 phy0: change: 0x40
<7>[   23.821289] ieee80211 phy1: change: 0x40
<7>[   23.971291] ieee80211 phy0: change: 0x60
<7>[   24.031292] ieee80211 phy1: change: 0x40
<7>[   24.201295] ieee80211 phy0: change: 0x40
<7>[   24.231289] ieee80211 phy1: change: 0x40
<7>[   24.421288] ieee80211 phy0: change: 0x40
<7>[   24.431294] ieee80211 phy1: change: 0x40
<7>[   24.520307] ieee80211 phy1: change: 0x100
<7>[   24.529329] ieee80211 phy1: change: 0x100
<7>[   24.538373] ieee80211 phy1: change: 0x40
<7>[   24.641294] ieee80211 phy0: change: 0x40
<7>[   24.741289] ieee80211 phy1: change: 0x40
<7>[   24.861288] ieee80211 phy0: change: 0x40
<7>[   24.951295] ieee80211 phy1: change: 0x40
<7>[   25.091294] ieee80211 phy0: change: 0x40
<7>[   25.151291] ieee80211 phy1: change: 0x40
<7>[   25.311289] ieee80211 phy0: change: 0x40
<7>[   25.351293] ieee80211 phy1: change: 0x40
<7>[   25.541292] ieee80211 phy0: change: 0x40
<7>[   25.551310] ieee80211 phy1: change: 0x40
<7>[   25.751295] ieee80211 phy1: change: 0x40
<7>[   25.761310] ieee80211 phy0: change: 0x40
<7>[   25.951289] ieee80211 phy1: change: 0x40
<7>[   25.991289] ieee80211 phy0: change: 0x40
<7>[   26.151288] ieee80211 phy1: change: 0x40
<7>[   26.211288] ieee80211 phy0: change: 0x40
<7>[   26.351289] ieee80211 phy1: change: 0x40
<7>[   26.431321] ieee80211 phy0: change: 0x60
<7>[   26.537389] ieee80211 phy0: change: 0x100
<7>[   26.546386] ieee80211 phy0: change: 0x100
<7>[   26.555537] ieee80211 phy0: change: 0x40
<7>[   26.561381] ieee80211 phy1: change: 0x40
<7>[   26.791303] ieee80211 phy1: change: 0x40
<7>[   26.801338] ieee80211 phy0: change: 0x40
<7>[   26.991293] ieee80211 phy1: change: 0x40
<7>[   27.021299] ieee80211 phy0: change: 0x40
<7>[   27.191295] ieee80211 phy1: change: 0x40
<7>[   27.241292] ieee80211 phy0: change: 0x40
<7>[   27.279318] ieee80211 phy1: change: 0x100
<7>[   27.288340] ieee80211 phy1: change: 0x100
<7>[   27.297430] ieee80211 phy1: change: 0x40
<7>[   27.461292] ieee80211 phy0: change: 0x40
<7>[   27.501295] ieee80211 phy1: change: 0x40
<7>[   27.681296] ieee80211 phy0: change: 0x40
<7>[   27.701297] ieee80211 phy1: change: 0x40
<7>[   27.891302] ieee80211 phy0: change: 0x40
<7>[   27.911294] ieee80211 phy1: change: 0x40
<7>[   28.101301] ieee80211 phy0: change: 0x40
<7>[   28.111316] ieee80211 phy1: change: 0x40
<7>[   28.311293] ieee80211 phy1: change: 0x40
<7>[   28.331291] ieee80211 phy0: change: 0x60
<7>[   28.511289] ieee80211 phy1: change: 0x40
<7>[   28.551289] ieee80211 phy0: change: 0x40
<7>[   28.721289] ieee80211 phy1: change: 0x40
<7>[   28.771298] ieee80211 phy0: change: 0x40
<7>[   28.921289] ieee80211 phy1: change: 0x40
<7>[   29.001293] ieee80211 phy0: change: 0x40
<7>[   29.131293] ieee80211 phy1: change: 0x40
<7>[   29.231288] ieee80211 phy0: change: 0x40
<7>[   29.331289] ieee80211 phy1: change: 0x40
<7>[   29.451296] ieee80211 phy0: change: 0x40
<7>[   29.531293] ieee80211 phy1: change: 0x40
<7>[   29.671292] ieee80211 phy0: change: 0x40
<7>[   29.731297] ieee80211 phy1: change: 0x40
<7>[   29.901288] ieee80211 phy0: change: 0x40
<7>[   29.931292] ieee80211 phy1: change: 0x40
<7>[   30.019319] ieee80211 phy1: change: 0x100
<7>[   30.082758] ieee80211 phy1: change: 0x100
<7>[   30.091295] ieee80211 phy1: change: 0x42
<7>[   30.121296] ieee80211 phy0: change: 0x40
<6>[   30.244344] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
<6>[   30.250795] br-lan: port 2(wlan1) entered blocking state
<6>[   30.256146] br-lan: port 2(wlan1) entered forwarding state
<7>[   30.341319] ieee80211 phy0: change: 0x40
<7>[   30.561298] ieee80211 phy0: change: 0x40
<7>[   30.781295] ieee80211 phy0: change: 0x60
<7>[   30.885313] ieee80211 phy0: change: 0x100
<7>[   30.894341] ieee80211 phy0: change: 0x100
<7>[   30.903413] ieee80211 phy0: change: 0x40
<7>[   31.121301] ieee80211 phy0: change: 0x40
<7>[   31.341291] ieee80211 phy0: change: 0x40
<7>[   31.561292] ieee80211 phy0: change: 0x40
<7>[   31.781291] ieee80211 phy0: change: 0x40
<7>[   32.001301] ieee80211 phy0: change: 0x40
<7>[   32.221294] ieee80211 phy0: change: 0x40
<7>[   32.441293] ieee80211 phy0: change: 0x40
<7>[   32.661293] ieee80211 phy0: change: 0x60
<7>[   32.881294] ieee80211 phy0: change: 0x40
<7>[   33.101293] ieee80211 phy0: change: 0x40
<7>[   33.321293] ieee80211 phy0: change: 0x40
<7>[   33.541293] ieee80211 phy0: change: 0x40
<7>[   33.761291] ieee80211 phy0: change: 0x40
<7>[   33.981291] ieee80211 phy0: change: 0x40
<7>[   34.201291] ieee80211 phy0: change: 0x40
<7>[   34.421291] ieee80211 phy0: change: 0x40
<7>[   34.641291] ieee80211 phy0: change: 0x40
<7>[   34.861291] ieee80211 phy0: change: 0x40
<7>[   35.081295] ieee80211 phy0: change: 0x60
<7>[   35.185310] ieee80211 phy0: change: 0x100
<7>[   35.194337] ieee80211 phy0: change: 0x100
<7>[   35.203457] ieee80211 phy0: change: 0x40
<7>[   35.421292] ieee80211 phy0: change: 0x40
<7>[   35.641295] ieee80211 phy0: change: 0x40
<7>[   35.745318] ieee80211 phy0: change: 0x100
<7>[   35.809156] ieee80211 phy0: change: 0x100
<7>[   35.818178] ieee80211 phy0: change: 0x42
<6>[   35.990319] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
<6>[   35.996762] br-lan: port 3(wlan0) entered blocking state
<6>[   36.002103] br-lan: port 3(wlan0) entered forwarding state
<6>[  121.174510] xt_conntrack: cannot load conntrack support for proto=10
<6>[  149.624016] xt_conntrack: cannot load conntrack support for proto=10
<6>[  317.781883] xt_conntrack: cannot load conntrack support for proto=10
<1>[70442.763618] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
<1>[70442.771761] pgd = ddddc000
<1>[70442.774477] [0000000c] *pgd=1d23d831, *pte=00000000, *ppte=00000000
<0>[70442.780811] Internal error: Oops: 17 [#1] SMP ARM
<4>[70442.785532] Modules linked in: pppoe ppp_async pppox ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt mwlwifi mac80211 cfg80211 compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug
<4>[70442.838560] CPU: 1 PID: 1711 Comm: hostapd Not tainted 4.9.77 #0
<4>[70442.844589] Hardware name: Marvell Armada 380/385 (Device Tree)
<4>[70442.850532] task: dec6d300 task.stack: ddd78000
<4>[70442.855092] PC is at mwl_fwcmd_destroy_ba+0x98/0xf4 [mwlwifi]
<4>[70442.860867] LR is at mwl_fwcmd_destroy_ba+0x34/0xf4 [mwlwifi]
<4>[70442.866637] pc : [<bf0dc844>]    lr : [<bf0dc7e0>]    psr: 80000013
<4>[70442.866637] sp : ddd79c80  ip : 00000000  fp : 00000000
<4>[70442.878161] r10: ddde3620  r9 : de38cac0  r8 : de38cac0
<4>[70442.883406] r7 : ddde1620  r6 : ddde2924  r5 : 00000000  r4 : ddd8c000
<4>[70442.889959] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : 00000000
<4>[70442.896513] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
<4>[70442.903677] Control: 10c5387d  Table: 1dddc04a  DAC: 00000051
<0>[70442.909445] Process hostapd (pid: 1711, stack limit = 0xddd78210)
<0>[70442.915562] Stack: (0xddd79c80 to 0xddd7a000)
<0>[70442.919937] 9c80: 00000001 ddde1620 dd3c55d8 ddde45e0 ddde0be0 bf0dcbac dd3c55d8 ddde1620
<0>[70442.928150] 9ca0: ddde0be0 df6fbce0 de3d0300 de7d4800 00000014 bf0d7c68 dd3c5000 00000002
<0>[70442.936362] 9cc0: 00000001 dd14f414 de3d0300 de7d4800 00000014 bf06aca4 ddde0be0 df6fb4c0
<0>[70442.944574] 9ce0: dd3c5000 bf06d2e4 00000002 00000002 dd3c5000 ddde0be0 df6fb4c0 bf06e278
<0>[70442.952786] 9d00: dd3c5000 00000000 00000000 dd3c5000 dd14f420 bf06e3c4 df6fb4c0 00000454
<0>[70442.960999] 9d20: dd14f420 bf06e43c ddde0000 df6fb000 ddd79d68 bf03add8 dd14f420 0002000c
<0>[70442.969210] 9d40: ddd79d68 de3d0300 df57a000 bf0296e8 00000000 df57a1fc df57a000 c03d4560
<0>[70442.977423] 9d60: bf05653a 1f5b5000 5a7275f6 00000601 dd14f400 dd14f410 dde5ed80 de7d4800
<0>[70442.985635] 9d80: ddde0000 df6fb000 dd14f400 de3d0300 c03d42d8 ddc99c00 ddd79dcc 00000000
<0>[70442.993847] 9da0: 00000008 c03d38fc c0656b08 de3d0300 de3d0300 c03d42c4 df4ba400 00000028
<0>[70443.002059] 9dc0: de3d0300 c03d3300 ddc99c00 7fffffff 00000000 de3d0300 00000000 ddd79f68
<0>[70443.010270] 9de0: 00000028 ddc99c00 00000000 c03d376c 00000000 c0227e2c 00000028 df7dad00
<0>[70443.018482] 9e00: 00000000 000006af 00000000 00000000 00000001 ddd79f68 00000000 ddd79e8c
<0>[70443.026694] 9e20: df16a000 00000000 c0630fc8 00000000 00000000 c038e534 ddd79f68 c038eac4
<0>[70443.034906] 9e40: 00000000 00000000 00000000 009a0010 00000028 be8f2c1c 00000000 ddd79eb4
<0>[70443.043118] 9e60: df16a000 c038ecbc ddbd30c0 00000000 be8f2c74 009b4030 00004000 00000000
<0>[70443.051330] 9e80: ffffffff ffffffff 00000051 c0654d80 ddd79ecc 00000051 00008933 00000000
<0>[70443.059541] 9ea0: 00000000 be8f2cac 00000020 00000010 00000000 00000000 00000000 00000000
<0>[70443.067753] 9ec0: ffffffff 0000007f 00000000 6e616c77 dd636c80 60000013 df401080 dd636a00
<0>[70443.075965] 9ee0: 00000000 dd636a00 df22d0a0 c00f379c df22d10c 00000007 00000000 00000000
<0>[70443.084177] 9f00: dec6d300 c005af44 ddd79f08 ddd79f08 df401180 df22d080 df178000 00000000
<0>[70443.092390] 9f20: df401580 df178000 df178000 0004094d df22d0a0 df16a000 be8f2c90 00000000
<0>[70443.100601] 9f40: 00000128 c000ef04 ddd78000 00000000 b6f44740 c038f864 00000000 00000000
<0>[70443.108813] 9f60: 00000000 fffffff7 ddd79eac 0000000c 00000001 00000000 00000000 ddd79e54
<0>[70443.117025] 9f80: 00000000 00000006 00000000 00000000 00000000 00000000 00000000 00000000
<0>[70443.125236] 9fa0: b6fbe110 c000ed40 00000000 00000000 00000005 be8f2c90 00000000 00000000
<0>[70443.133449] 9fc0: 00000000 00000000 b6fbe110 00000128 b6f44ef0 00000000 000252b4 b6f44740
<0>[70443.141661] 9fe0: be8f2c38 be8f2c24 b6f95204 b6f946d0 60000010 00000005 ffffffff ffffffff
<4>[70443.149890] [<bf0dc844>] (mwl_fwcmd_destroy_ba [mwlwifi]) from [<bf0dcbac>] (mwl_fwcmd_del_sta_streams+0x98/0x330 [mwlwifi])
<4>[70443.161164] [<bf0dcbac>] (mwl_fwcmd_del_sta_streams [mwlwifi]) from [<bf0d7c68>] (mwl_mac80211_sta_remove+0x38/0x1ec [mwlwifi])
<4>[70443.172740] [<bf0d7c68>] (mwl_mac80211_sta_remove [mwlwifi]) from [<bf06aca4>] (drv_sta_state+0x16c/0x184 [mac80211])
<4>[70443.183433] [<bf06aca4>] (drv_sta_state [mac80211]) from [<bf06d2e4>] (sta_info_move_state+0xbc/0x1d0 [mac80211])
<4>[70443.193775] [<bf06d2e4>] (sta_info_move_state [mac80211]) from [<bf06e278>] (sta_set_sinfo+0x954/0xa80 [mac80211])
<4>[70443.204204] [<bf06e278>] (sta_set_sinfo [mac80211]) from [<bf06e3c4>] (__sta_info_destroy+0x20/0x28 [mac80211])
<4>[70443.214372] [<bf06e3c4>] (__sta_info_destroy [mac80211]) from [<bf06e43c>] (sta_info_destroy_addr_bss+0x2c/0x44 [mac80211])
<4>[70443.225588] [<bf06e43c>] (sta_info_destroy_addr_bss [mac80211]) from [<bf03add8>] (nl80211_del_station+0xe8/0xf0 [cfg80211])
<4>[70443.236868] [<bf03add8>] (nl80211_del_station [cfg80211]) from [<bf0296e8>] (extack_doit+0x2c/0x70 [compat])
<4>[70443.246741] [<bf0296e8>] (extack_doit [compat]) from [<c03d4560>] (genl_rcv_msg+0x288/0x310)
<4>[70443.255216] [<c03d4560>] (genl_rcv_msg) from [<c03d38fc>] (netlink_rcv_skb+0x58/0xb4)
<4>[70443.263080] [<c03d38fc>] (netlink_rcv_skb) from [<c03d42c4>] (genl_rcv+0x20/0x34)
<4>[70443.270593] [<c03d42c4>] (genl_rcv) from [<c03d3300>] (netlink_unicast+0x138/0x1fc)
<4>[70443.278283] [<c03d3300>] (netlink_unicast) from [<c03d376c>] (netlink_sendmsg+0x2f0/0x310)
<4>[70443.286586] [<c03d376c>] (netlink_sendmsg) from [<c038e534>] (sock_sendmsg+0x14/0x24)
<4>[70443.294451] [<c038e534>] (sock_sendmsg) from [<c038eac4>] (___sys_sendmsg+0x184/0x228)
<4>[70443.302403] [<c038eac4>] (___sys_sendmsg) from [<c038f864>] (__sys_sendmsg+0x40/0x64)
<4>[70443.310271] [<c038f864>] (__sys_sendmsg) from [<c000ed40>] (ret_fast_syscall+0x0/0x48)
<0>[70443.318223] Code: e5840010 e5d81004 e5c41014 e598c000 (e59c300c)
<4>[70443.324372] ---[ end trace bf36642614617548 ]---
Showing tasks 1201 - 1250 of 1430 Page 25 of 29<<First - 23 - 24 - 25 - 26 - 27 - Last >>

Available keyboard shortcuts

Tasklist

Task Details

Task Editing