Device wlan0 left promiscuous mode. Normal?

Hello,

I'm using a TL-WR1043ND v3 with OpenWrt. I've had a lot of issues with the connection slowly deteriorating over the course of 20-72 hours until it became completely unusable and I had to restart the router. This issue has been documented many times (https://bugzilla.kernel.org/show_bug.cgi?id=42877), and I was eventually able to find what seems to be a long term solution by both disabling the hardware ACK and the adaptive noise immunity. A seemingly unrelated issue is that the switch LAN-LAN speed seems to be crippled as measured by iperf between router and a client (seems like the same issue: https://bugs.openwrt.org/index.php?do=details&task_id=891). This is still unresolved.

I'm wondering if more knowledgeable people could tell me if this "device wlan0 left promiscuous mode"
and the following "disabled" and "blocked" states happening after 36 days of uptime could somehow be related to the issues mentioned above, or if they could be the symptoms of another problem.

Thanks a lot!

[    0.000000] Linux version 4.9.120 (buildbot@builds-03.infra.lede-project.org) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7102-3f3a2c9) ) #0 Thu Aug 16 07:51:15 2018
[    0.000000] MyLoader: sysp=8004cf4f, boardp=6400bfef, parts=9810f5ff
[    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: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 80442044, node_mem_map 81000020
[    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] 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:  board=TL-WR1043ND-v2  console=ttyS0,115200 rootfstype=squashfs noinitrd
[    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: 60020K/65536K available (3363K kernel code, 172K rwdata, 444K rodata, 300K init, 219K bss, 5516K 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.000008] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008307] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.071194] pid_max: default: 32768 minimum: 301
[    0.076204] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083248] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.093124] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103625] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.111211] NET: Registered protocol family 16
[    0.117301] MIPS: machine is TP-LINK TL-WR1043ND v2
[    0.596543] Can't analyze schedule() prologue at 803a5594
[    0.613804] clocksource: Switched to clocksource MIPS
[    0.620166] NET: Registered protocol family 2
[    0.625636] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.633058] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.639867] TCP: Hash tables configured (established 1024 bind 1024)
[    0.646725] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.652954] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.659882] NET: Registered protocol family 1
[    0.664584] PCI: CLS 0 bytes, default 32
[    0.667750] Crashlog allocated RAM at address 0x3f00000
[    0.674311] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.687401] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.693601] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.712455] io scheduler noop registered
[    0.716667] io scheduler deadline registered (default)
[    0.722487] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.731564] console [ttyS0] disabled
[    0.755455] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.764640] console [ttyS0] enabled
[    0.772046] bootconsole [early0] disabled
[    0.785962] m25p80 spi0.0: found s25fl064k, expected m25p80
[    0.803270] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[    0.808620] 5 tp-link partitions found on MTD device spi0.0
[    0.814297] Creating 5 MTD partitions on "spi0.0":
[    0.819166] 0x000000000000-0x000000020000 : "u-boot"
[    0.825868] 0x000000020000-0x00000016df30 : "kernel"
[    0.832646] 0x00000016df30-0x0000007f0000 : "rootfs"
[    0.839100] mtd: device 2 (rootfs) set to be root filesystem
[    0.844935] 1 squashfs-split partitions found on MTD device rootfs
[    0.851210] 0x0000003b0000-0x0000007f0000 : "rootfs_data"
[    0.858572] 0x0000007f0000-0x000000800000 : "art"
[    0.865193] 0x000000020000-0x0000007f0000 : "firmware"
[    0.873064] libphy: Fixed MDIO Bus: probed
[    0.891157] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.583196] libphy: ag71xx_mdio: probed
[    2.215316] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.226712] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.583799] random: fast init done
[    2.855468] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.863217] NET: Registered protocol family 10
[    2.871250] NET: Registered protocol family 17
[    2.875866] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.889118] 8021q: 802.1Q VLAN Support v1.8
[    2.894979] hctosys: unable to open rtc device (rtc0)
[    2.906862] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    2.915672] Freeing unused kernel memory: 300K
[    2.920178] This architecture does not have kernel memory protection.
[    3.696913] init: Console is alive
[    3.700550] init: - watchdog -
[    4.681817] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.738380] usbcore: registered new interface driver usbfs
[    4.744076] usbcore: registered new interface driver hub
[    4.749547] usbcore: registered new device driver usb
[    4.759312] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.767355] ehci-platform: EHCI generic platform driver
[    4.772740] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.778819] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.789121] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.795245] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.823840] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.831129] hub 1-0:1.0: USB hub found
[    4.835311] hub 1-0:1.0: 1 port detected
[    4.839617] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.845695] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.856002] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.862108] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.893827] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.901145] hub 2-0:1.0: USB hub found
[    4.905285] hub 2-0:1.0: 1 port detected
[    4.909989] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.927734] init: - preinit -
[    5.753397] eth1: link up (1000Mbps/Full duplex)
[    5.776958] random: procd: uninitialized urandom read (4 bytes read)
[    9.017622] jffs2: notice: (437) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.036274] mount_root: switching to jffs2 overlay
[    9.067722] urandom-seed: Seeding with /etc/urandom.seed
[    9.238364] eth1: link down
[    9.253266] procd: - early -
[    9.256886] procd: - watchdog -
[    9.867152] procd: - watchdog -
[    9.870586] procd: - ubus -
[    9.998480] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.006750] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.013884] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.021276] procd: - init -
[   10.925907] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.945192] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.028117] u32 classifier
[   11.030866]     input device check on
[   11.034623]     Actions configured
[   11.057380] Mirror/redirect action on
[   11.073493] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   11.126021] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   11.134188] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   11.177038] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.292788] xt_time: kernel timezone is -0000
[   11.351456] PPP generic driver version 2.4.2
[   11.358142] NET: Registered protocol family 24
[   11.403928] ath: EEPROM regdomain: 0x0
[   11.403936] ath: EEPROM indicates default country code should be used
[   11.403939] ath: doing EEPROM country->regdmn map search
[   11.403952] ath: country maps to regdmn code: 0x3a
[   11.403956] ath: Country alpha2 being used: US
[   11.403959] ath: Regpair used: 0x3a
[   11.420651] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   11.424432] ieee80211 phy0: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   11.556523] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.508308] urandom_read: 5 callbacks suppressed
[   12.508314] random: jshn: uninitialized urandom read (4 bytes read)
[   22.436654] eth1: link up (1000Mbps/Full duplex)
[   22.441431] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   22.475695] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   22.495208] br-lan: port 1(eth1.1) entered blocking state
[   22.500694] br-lan: port 1(eth1.1) entered disabled state
[   22.506664] device eth1.1 entered promiscuous mode
[   22.511531] device eth1 entered promiscuous mode
[   22.593937] br-lan: port 1(eth1.1) entered blocking state
[   22.599422] br-lan: port 1(eth1.1) entered forwarding state
[   22.605256] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   22.675721] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   22.706605] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   23.544003] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   23.705302] eth0: link up (1000Mbps/Full duplex)
[   23.710129] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   23.757562] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   24.240783] ath: EEPROM regdomain: 0x807c
[   24.244901] ath: EEPROM indicates we should expect a country code
[   24.251079] ath: doing EEPROM country->regdmn map search
[   24.256480] ath: country maps to regdmn code: 0x3a
[   24.261332] ath: Country alpha2 being used: CA
[   24.265846] ath: Regpair used: 0x3a
[   24.269385] ath: regdomain 0x807c dynamically updated by user
[   27.202748] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   27.276826] br-lan: port 2(wlan0) entered blocking state
[   27.282385] br-lan: port 2(wlan0) entered disabled state
[   27.288271] device wlan0 entered promiscuous mode
[   28.795953] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   28.802567] br-lan: port 2(wlan0) entered blocking state
[   28.808024] br-lan: port 2(wlan0) entered forwarding state
[   40.993311] random: crng init done
[3121168.939093] device wlan0 left promiscuous mode
[3121168.943885] br-lan: port 2(wlan0) entered disabled state
[3121169.611369] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[3121169.675123] br-lan: port 2(wlan0) entered blocking state
[3121169.680753] br-lan: port 2(wlan0) entered disabled state
[3121169.686757] device wlan0 entered promiscuous mode
[3121169.691824] br-lan: port 2(wlan0) entered blocking state
[3121169.697442] br-lan: port 2(wlan0) entered forwarding state
[3121169.975183] br-lan: port 2(wlan0) entered disabled state
[3121170.077711] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[3121170.084500] br-lan: port 2(wlan0) entered blocking state
[3121170.090113] br-lan: port 2(wlan0) entered forwarding state
[3121206.080881] device wlan0 left promiscuous mode
[3121206.085808] br-lan: port 2(wlan0) entered disabled state
[3121206.758589] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[3121206.823756] br-lan: port 2(wlan0) entered blocking state
[3121206.829384] br-lan: port 2(wlan0) entered disabled state
[3121206.835308] device wlan0 entered promiscuous mode
[3121206.840421] br-lan: port 2(wlan0) entered blocking state
[3121206.846032] br-lan: port 2(wlan0) entered forwarding state
[3121207.114823] br-lan: port 2(wlan0) entered disabled state
[3121207.226188] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[3121207.233047] br-lan: port 2(wlan0) entered blocking state
[3121207.238670] br-lan: port 2(wlan0) entered forwarding state
[3121254.977397] device wlan0 left promiscuous mode
[3121254.982194] br-lan: port 2(wlan0) entered disabled state
[3121255.652374] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[3121255.720879] br-lan: port 2(wlan0) entered blocking state
[3121255.726501] br-lan: port 2(wlan0) entered disabled state
[3121255.732416] device wlan0 entered promiscuous mode
[3121255.737492] br-lan: port 2(wlan0) entered blocking state
[3121255.743058] br-lan: port 2(wlan0) entered forwarding state
[3121256.004325] br-lan: port 2(wlan0) entered disabled state
[3121256.139691] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[3121256.146524] br-lan: port 2(wlan0) entered blocking state
[3121256.152091] br-lan: port 2(wlan0) entered forwarding state

Are you running STP on the bridge interface?
Do you need it?

To the best of my knowledge, I am not.

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd26:0887:2f2f::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth1.1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'
        option peerdns '0'
        option dns '1.1.1.1'

config interface 'wan6'
        option ifname 'eth0.2'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '1 2 3 4 0t'