Dawn: a decentralized wireless controller

Hi, I've a strange problem with DAWN. kernel kills dawn process for invalid read access from an address.

Kernel log
[    0.000000] Linux version 5.15.137 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23630-842932a63d) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Nov 14 13:38:11 2023
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is D-Link DIR-2640 A1
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 11 pages/cpu s14736 r8192 d22128 u45056
[    0.000000] pcpu-alloc: s14736 r8192 d22128 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=0002bbc0
[    0.000000] Readback ErrCtl register=0002bbc0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 249120K/262144K available (7300K kernel code, 624K rwdata, 880K rodata, 1232K init, 226K bss, 13024K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.016025] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.088331] pid_max: default: 32768 minimum: 301
[    0.098289] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.112707] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.131956] rcu: Hierarchical SRCU implementation.
[    0.142181] smp: Bringing up secondary CPUs ...
[    0.151974] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.152000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.152014] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.152059] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.211720] Synchronize counters for CPU 1: done.
[    0.274024] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.274046] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.274057] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.274086] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.332962] Synchronize counters for CPU 2: done.
[    0.393358] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.393381] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.393392] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.393424] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.452541] Synchronize counters for CPU 3: done.
[    0.512138] smp: Brought up 1 node, 4 CPUs
[    0.525600] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.545098] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.559004] pinctrl core: initialized pinctrl subsystem
[    0.570920] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.583394] thermal_sys: Registered thermal governor 'step_wise'
[    0.589467] FPU Affinity set after 11720 emulations
[    0.614122] clocksource: Switched to clocksource GIC
[    0.625481] NET: Registered PF_INET protocol family
[    0.635279] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.650647] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.667209] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.682565] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.697775] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.711963] TCP: Hash tables configured (established 2048 bind 2048)
[    0.724718] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.737639] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.751821] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.763059] PCI: CLS 0 bytes, default 32
[    0.773535] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.791692] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.803273] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.824201] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.842689] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.854299] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.865686] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.877234] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.890516] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.907983] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.924224] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.294129] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.307910] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.317554] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.327250] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.341382] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.353914] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.364804] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.378438] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.390760] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.402654] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.415098] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    1.427591] pci 0000:00:00.0: supports D1
[    1.435466] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.447750] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.459680] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.472064] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    1.484582] pci 0000:00:01.0: supports D1
[    1.492417] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.506246] pci 0000:01:00.0: [14c3:7615] type 00 class 0x000280
[    1.518182] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.531768] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.562755] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.573078] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.585146] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.598627] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.612968] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.626371] pci 0000:02:00.0: [14c3:7615] type 00 class 0x000280
[    1.638280] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.651849] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.682840] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.693173] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.705230] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    1.718712] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    1.733053] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.746248] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.759318] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.773141] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.786270] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.800111] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.813588] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.827920] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    1.841403] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x603fffff pref]
[    1.855748] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    1.869237] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    1.882698] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.894793] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.906901] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.921422] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.931266] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.943348] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.956826] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.971188] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit]
[    1.985706] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.995536] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    2.007628] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    2.021111] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff pref]
[    2.037984] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    2.055490] printk: console [ttyS0] disabled
[    2.063968] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    2.081934] printk: console [ttyS0] enabled
[    2.098441] printk: bootconsole [early0] disabled
[    2.120867] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
[    2.133594] nand: Winbond W29N01HV
[    2.140370] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.155457] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    2.168572] 9 fixed-partitions partitions found on MTD device mt7621-nand
[    2.183392] Creating 9 MTD partitions on "mt7621-nand":
[    2.193878] 0x000000000000-0x000000080000 : "Bootloader"
[    2.208268] 0x000000080000-0x000000100000 : "config"
[    2.221869] 0x000000100000-0x000000140000 : "factory"
[    2.234374] 0x000000140000-0x000000180000 : "config2"
[    2.246888] 0x000000180000-0x000002980000 : "firmware"
[    2.467932] 2 uimage-fw partitions found on MTD device firmware
[    2.479834] Creating 2 MTD partitions on "firmware":
[    2.489813] 0x000000000000-0x000000400000 : "kernel"
[    2.521029] 0x000000400000-0x000002800000 : "ubi"
[    2.712701] 0x000002980000-0x000004980000 : "private"
[    2.885109] 0x000004980000-0x000007180000 : "firmware2"
[    3.098386] 0x000007180000-0x000007780000 : "mydlink"
[    3.140020] 0x000007780000-0x000008000000 : "reserved"
[    3.337700] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.358047] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    3.378090] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 21
[    3.396820] i2c_dev: i2c /dev entries driver
[    3.408587] NET: Registered PF_INET6 protocol family
[    3.421381] Segment Routing with IPv6
[    3.428805] In-situ OAM (IOAM) with IPv6
[    3.436776] NET: Registered PF_PACKET protocol family
[    3.446970] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.473351] 8021q: 802.1Q VLAN Support v1.8
[    3.487902] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    3.520340] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    3.534976] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.544913] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[    3.573189] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[    3.596297] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=25)
[    3.619307] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=26)
[    3.642171] DSA: tree 0 setup
[    3.650652] UBI: auto-attach mtd6
[    3.657397] ubi0: attaching mtd6
[    4.208342] ubi0: scanning is finished
[    4.232278] ubi0: attached mtd6 (name "ubi", size 36 MiB)
[    4.243130] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.256841] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.270367] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.284237] ubi0: good PEBs: 288, bad PEBs: 0, corrupted PEBs: 0
[    4.296212] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.310603] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1682627295
[    4.328796] ubi0: available PEBs: 0, total reserved PEBs: 288, PEBs reserved for bad PEB handling: 20
[    4.347193] ubi0: background thread "ubi_bgt0d" started, PID 340
[    4.349829] block ubiblock0_0: created from ubi0:0(rootfs)
[    4.370192] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    4.392970] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.411457] Freeing unused kernel image (initmem) memory: 1232K
[    4.423346] This architecture does not have kernel memory protection.
[    4.436194] Run /sbin/init as init process
[    4.444375]   with arguments:
[    4.444384]     /sbin/init
[    4.444390]   with environment:
[    4.444395]     HOME=/
[    4.444400]     TERM=linux
[    4.892520] init: Console is alive
[    4.899901] init: - watchdog -
[    5.706752] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.773552] usbcore: registered new interface driver usbfs
[    5.784729] usbcore: registered new interface driver hub
[    5.795507] usbcore: registered new device driver usb
[    5.816787] xhci-mtk 1e1c0000.xhci: supply vbus not found, using dummy regulator
[    5.831805] xhci-mtk 1e1c0000.xhci: supply vusb33 not found, using dummy regulator
[    5.847192] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.857837] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    5.877832] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    5.896131] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000
[    5.907865] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    5.918474] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    5.933393] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    5.947117] hub 1-0:1.0: USB hub found
[    5.954867] hub 1-0:1.0: 2 ports detected
[    5.963770] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.980966] hub 2-0:1.0: USB hub found
[    5.988694] hub 2-0:1.0: 1 port detected
[    6.004737] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.029623] init: - preinit -
[    6.863309] random: jshn: uninitialized urandom read (4 bytes read)
[    6.989915] random: jshn: uninitialized urandom read (4 bytes read)
[    7.040938] random: jshn: uninitialized urandom read (4 bytes read)
[    7.366719] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    7.387219] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.394610] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    7.418562] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.603237] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    9.614883] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 488
[    9.695439] UBIFS (ubi0:1): recovery needed
[    9.891563] UBIFS (ubi0:1): recovery completed
[    9.900708] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    9.916334] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    9.936092] UBIFS (ubi0:1): FS size: 27299840 bytes (26 MiB, 215 LEBs), max 225 LEBs, journal size 1396736 bytes (1 MiB, 11 LEBs)
[    9.959303] UBIFS (ubi0:1): reserved for root: 1289438 bytes (1259 KiB)
[    9.972480] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 9060038D-DBF2-4B76-AAA4-D86B0B1BDE61, small LPT model
[   10.001806] mount_root: switching to ubifs overlay
[   10.032536] urandom-seed: Seeding with /etc/urandom.seed
[   10.148316] procd: - early -
[   10.154432] procd: - watchdog -
[   10.782239] procd: - watchdog -
[   10.791226] procd: - ubus -
[   10.875128] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.890288] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.903621] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.920107] procd: - init -
[   11.650076] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.854515] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   11.869495] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   12.127562] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   12.138912] mt7615e 0000:01:00.0: enabling device (0000 -> 0002)
[   12.165531] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.171370] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   12.182755] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   12.195675] mt7615e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   12.195675] 
[   12.221698] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   12.221755] ieee80211 phy1: copying sband (band 1) due to VHT EXT NSS BW flag
[   12.245168] mt7615e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20180518100604a
[   12.245168] 
[   12.290486] PPP generic driver version 2.4.2
[   12.303355] NET: Registered PF_PPPOX protocol family
[   12.326323] kmodloader: done loading kernel modules from /etc/modules.d/*
[   12.510474] mt7615e 0000:01:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   12.527701] mt7615e 0000:02:00.0: N9 Firmware Version: _reserved_, Build Time: 20200814163649
[   12.662903] mt7615e 0000:01:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   12.662897] mt7615e 0000:02:00.0: CR4 Firmware Version: _reserved_, Build Time: 20190415154149
[   12.828462] random: jshn: uninitialized urandom read (4 bytes read)
[   13.208287] random: jshn: uninitialized urandom read (4 bytes read)
[   13.227587] urngd: v1.0.2 started.
[   13.239715] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.944833] random: jshn: uninitialized urandom read (4 bytes read)
[   14.464420] random: crng init done
[   14.471240] random: 49 urandom warning(s) missed due to ratelimiting
[   21.022872] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   21.061363] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   21.077491] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   21.086427] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   21.110293] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.124398] br-lan: port 1(lan1) entered blocking state
[   21.134921] br-lan: port 1(lan1) entered disabled state
[   21.148245] device lan1 entered promiscuous mode
[   21.157563] device eth0 entered promiscuous mode
[   21.206695] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   21.222996] br-lan: port 2(lan2) entered blocking state
[   21.233563] br-lan: port 2(lan2) entered disabled state
[   21.247662] device lan2 entered promiscuous mode
[   21.273618] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   21.290413] br-lan: port 3(lan3) entered blocking state
[   21.300949] br-lan: port 3(lan3) entered disabled state
[   21.315095] device lan3 entered promiscuous mode
[   21.337273] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   21.353270] br-lan: port 4(lan4) entered blocking state
[   21.363861] br-lan: port 4(lan4) entered disabled state
[   21.376831] device lan4 entered promiscuous mode
[   23.841402] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   23.865323] br-lan: port 1(lan1) entered blocking state
[   23.875824] br-lan: port 1(lan1) entered forwarding state
[   23.892355] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   26.237692] br-lan: port 5(phy0-ap0) entered blocking state
[   26.248896] br-lan: port 5(phy0-ap0) entered disabled state
[   26.260748] device phy0-ap0 entered promiscuous mode
[   26.271174] br-lan: port 5(phy0-ap0) entered blocking state
[   26.282447] br-lan: port 5(phy0-ap0) entered forwarding state
[   26.311666] br-lan: port 5(phy0-ap0) entered disabled state
[   26.331760] device phy0-ap0 left promiscuous mode
[   26.341720] br-lan: port 5(phy0-ap0) entered disabled state
[   26.399491] br-lan: port 5(phy0-ap0) entered blocking state
[   26.410752] br-lan: port 5(phy0-ap0) entered disabled state
[   26.422701] device phy0-ap0 entered promiscuous mode
[   26.781756] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap0: link becomes ready
[   26.795458] br-lan: port 5(phy0-ap0) entered blocking state
[   26.806710] br-lan: port 5(phy0-ap0) entered forwarding state
[   26.981973] do_page_fault(): sending SIGSEGV to umdns for invalid write access to 00000004
[   26.998634] epc = 77d0d62b in libubox.so.20230523[77d0b000+1f000]
[   27.010962] ra  = 77d10a0f in libubox.so.20230523[77d0b000+1f000]
[   27.040250] br-lan: port 6(phy0-ap1) entered blocking state
[   27.051531] br-lan: port 6(phy0-ap1) entered disabled state
[   27.063747] device phy0-ap1 entered promiscuous mode
[   27.091725] br-lan: port 6(phy0-ap1) entered blocking state
[   27.103053] br-lan: port 6(phy0-ap1) entered forwarding state
[   27.124909] device phy0-ap1 left promiscuous mode
[   27.134663] br-lan: port 6(phy0-ap1) entered disabled state
[   27.208020] br-lan: port 6(phy0-ap1) entered blocking state
[   27.219331] br-lan: port 6(phy0-ap1) entered disabled state
[   27.231348] device phy0-ap1 entered promiscuous mode
[   27.241848] br-lan: port 6(phy0-ap1) entered blocking state
[   27.253078] br-lan: port 6(phy0-ap1) entered forwarding state
[   27.304397] br-lan: port 6(phy0-ap1) entered disabled state
[   27.436274] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap1: link becomes ready
[   27.449842] br-lan: port 6(phy0-ap1) entered blocking state
[   27.461022] br-lan: port 6(phy0-ap1) entered forwarding state
[   27.529176] br-lan: port 7(phy0-ap2) entered blocking state
[   27.540437] br-lan: port 7(phy0-ap2) entered disabled state
[   27.553262] device phy0-ap2 entered promiscuous mode
[   27.567891] br-lan: port 7(phy0-ap2) entered blocking state
[   27.579115] br-lan: port 7(phy0-ap2) entered forwarding state
[   27.598359] device phy0-ap2 left promiscuous mode
[   27.608104] br-lan: port 7(phy0-ap2) entered disabled state
[   27.648486] br-lan: port 7(phy0-ap2) entered blocking state
[   27.659726] br-lan: port 7(phy0-ap2) entered disabled state
[   27.671689] device phy0-ap2 entered promiscuous mode
[   27.682205] br-lan: port 7(phy0-ap2) entered blocking state
[   27.693457] br-lan: port 7(phy0-ap2) entered forwarding state
[   27.986661] IPv6: ADDRCONF(NETDEV_CHANGE): phy0-ap2: link becomes ready
[   29.459584] br-lan: port 8(phy1-ap0) entered blocking state
[   29.470801] br-lan: port 8(phy1-ap0) entered disabled state
[   29.482573] device phy1-ap0 entered promiscuous mode
[   29.499939] device phy1-ap0 left promiscuous mode
[   29.509566] br-lan: port 8(phy1-ap0) entered disabled state
[   29.567509] br-lan: port 8(phy1-ap0) entered blocking state
[   29.578843] br-lan: port 8(phy1-ap0) entered disabled state
[   29.590735] device phy1-ap0 entered promiscuous mode
[   43.148869] do_page_fault(): sending SIGSEGV to dawn for invalid read access from 00000068
[   43.165432] epc = 0040c11b in dawn[400000+13000]
[   43.174724] ra  = 0040c11b in dawn[400000+13000]
[   58.284323] do_page_fault(): sending SIGSEGV to dawn for invalid read access from 00000068
[   58.300910] epc = 0040c11b in dawn[400000+13000]
[   58.310208] ra  = 0040c11b in dawn[400000+13000]
[   73.420210] do_page_fault(): sending SIGSEGV to dawn for invalid read access from 00000068
[   73.436814] epc = 0040c11b in dawn[400000+13000]
[   73.446102] ra  = 0040c11b in dawn[400000+13000]
[   88.556723] do_page_fault(): sending SIGSEGV to dawn for invalid read access from 00000068
[   88.573244] epc = 0040c11b in dawn[400000+13000]
[   88.582496] ra  = 0040c11b in dawn[400000+13000]
[   96.808727] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap0: link becomes ready
[   96.822263] br-lan: port 8(phy1-ap0) entered blocking state
[   96.833441] br-lan: port 8(phy1-ap0) entered forwarding state
[   96.899503] br-lan: port 9(phy1-ap1) entered blocking state
[   96.910814] br-lan: port 9(phy1-ap1) entered disabled state
[   96.922720] device phy1-ap1 entered promiscuous mode
[   96.935423] br-lan: port 9(phy1-ap1) entered blocking state
[   96.946671] br-lan: port 9(phy1-ap1) entered forwarding state
[   96.966379] device phy1-ap1 left promiscuous mode
[   96.976153] br-lan: port 9(phy1-ap1) entered disabled state
[   97.028264] br-lan: port 9(phy1-ap1) entered blocking state
[   97.039517] br-lan: port 9(phy1-ap1) entered disabled state
[   97.051310] device phy1-ap1 entered promiscuous mode
[   97.061591] br-lan: port 9(phy1-ap1) entered blocking state
[   97.072766] br-lan: port 9(phy1-ap1) entered forwarding state
[   97.089308] IPv6: ADDRCONF(NETDEV_CHANGE): phy1-ap1: link becomes ready

This is using dawn 2022-07-24-9e8060ea-3 used on OpenWrt 23.05.2 r23630-842932a63d on DIR-2640 A1 device.

I'm unable to reason out why dawn needs to read from such low memory address.

As an aside, umdns is not able to discover any devices unless I restart the service, and therefore DAWN is not able to steer the devices to neighbouring APs. There were similar reports on the forum in past. I wonder if it's related to the kernel killing the umdns process. Is there a suggested workaround as DAWN is recommended to be used with umdns discovery for neighbouring APs? I'm considering restarting the umdns unit a few seconds after boot up.

Edit: Found the a bug report for the umdns issue at https://github.com/openwrt/openwrt/issues/14120

1 Like