OpenWrt 21.02.0 third release candidate

Already the cases in precedent releases !
Never find why but logs time looks to be UTC for most, and some are correctly GMT.

1 Like

Yes, but in openwr it mess cron schedule.
And everytime, must do cron restart, if change sheduled tasks times.

I hope some fixing this, like sheduled tasks save button restart cron automically. System time show correct system time. Then this works much easier.

May I have to open an issue on this ?

root@ultra:~# fw_printenv 
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200
root@ultra:~# cat /proc/mtd 
dev:    size   erasesize  name
mtd0: 003e0000 00010000 "firmware"
mtd1: 00010000 00010000 "hw-info"
mtd2: 00010000 00010000 "u-boot-env"
root@ultra:~# cat /etc/fw_env.config 
/dev/mtd2 0x0 0x10000 0x10000 1
root@ultra:~# cat /etc/board.json 
{
	"model": {
		"id": "globalscale,espressobin-ultra",
		"name": "Globalscale Marvell ESPRESSOBin Ultra Board"
	},
	"network": {
		"lan": {
			"ports": [
				"lan0",
				"lan1",
				"lan2",
				"lan3"
			],
			"protocol": "static"
		},
		"wan": {
			"device": "wan",
			"protocol": "dhcp"
		}
	}
}

That does not necessarily need to be a "real" failure. It can also mean that the U-Boot environment simply has never been written before and therefore it will just rely on the compiled-in default.

Thanks, but not the case here...

I just reboot to u-boot and save env... boot again in OpenWrt 21.02-RC3 and still get the same CRC checksum error message on fw_printenv !
The problem in that case is that fw_saveenv will broke the u-boot env...

while it's possible... this is usually the case when a user has performed some non typical actions...

suggest you create a new thread detailing exactly ALL the steps that were undertaken prior to the env being written to defaults...

(you've included about 10% of the picture so far)

Is this a known issue with this device and the latest builds (daily and / 21.02 rc3) that wifi 2.4 ghz doesn't show up, after rebooting the device multiple times it comes back


I think it happen first time.
I think you can try pull it up with Putty
/sbin/wifi up; wifi
or with separate commands
uci set wireless.radio0.disabled=0; uci commit wireless; wifi reload

Please check you not have any scheduled tasks and be sure it with refreshing /etc/init.d/cron restart
I was many problems couple messages up, because schedule was running uncontrolled time and state.
Added issues

With luci-proto-wireguard installed, I don't see Wireguard listed as a protocol in the drop down menu for protocol in the luci network interface setup menu on my ER-X. Perhaps luci-proto-wireguard doesn't work with the luci changes for DSA yet?

EDIT: Solved below - I just needed to reboot the router. Apologies for the noise.

I think luci-proto-wireguard not development much anymore.

OPENWRT 21.02 come WITH kernel 5.4 and wireguard come migrate in kernel 5.10.
What is support state in kernel 5.4
"Linux 5.4, build WireGuard from backports."
Maybe need install something like
opkg update
opkg install wireguard

I have installed wireguard-tools, kmod-wireguard, luci-app-wireguard and luci-proto-wireguard. Wireguard is not listed as a protocol in the drop down menu for protocol in the luci network interface setup menu on my ER-X.

With current snapshot on my EA8500 (also on kernel 5.4), the drop down for the Wireguard protocol exists in the interface menu, so it looks like it is still supported. Just not on the ER-X, which has been migrated to DSA.

EDIT: Solved below. I just needed to reboot the router. Sorry for the noise.

Have you reset the Luci interface ?

I have it on MVEBU 21.02-RC3...

Not sure what is meant by reset the interface, but it's not an option for me even when I create a new interface. I can't grab a screen capture with the pull down menu showing (the pull down menu disappears when I click on the screen capture app), but it's definitely not an option for me when I make a new interface.

I clicked the "Reset" button on the bottom of the Network>Interfaces menu in Luci. Other then a brief screen flicker in the window, it did not appear to do anything.

No, I do not mean the Network interface, but the Luci WEBUI !
Remove cache...
Or logout and login again...
Or reboot...

Gotcha. The Wireguard packages were installed immediately following flashing of the router. I just haven't gotten to trying to set it up since. I'm nearly certain the ER-X has been rebooted a few times since Wireguard package installation. It's been up for 4 days.

I just logged in and logged out of Luci I also closed my browser (firefox in manjaro linux OS), and logged in fresh again to the Luci interface. Still no change in what has been shown - Wireguard is not a protocol option. I'll reboot the ER-X one more time for good measure and report back by editing this post in a a few minutes.

Edit: Rebooting the router did it. Huh. So much for nearly certain. Thank you for your help.

Sorry for the delay in my answer, but this did not work unfortunately
I've added boot.txt here

[    0.000000] Linux version 5.4.128 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r17086-3c3a96df3f)) #0 SMP Fri Jul 2 19:50:12 2021
[    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 Zbtlink ZBT-WE1326
[    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]   HighMem  [mem 0x0000000010000000-0x0000000023ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001bffffff]
[    0.000000]   node   0: [mem 0x0000000020000000-0x0000000023ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000023ffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 576 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 14 pages/cpu s26512 r8192 d22640 u57344
[    0.000000] pcpu-alloc: s26512 r8192 d22640 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130496
[    0.000000] Kernel command line: console=ttyS0,115200 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=00050210
[    0.000000] Readback ErrCtl register=00050210
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 509288K/524288K available (6299K kernel code, 206K rwdata, 1320K rodata, 1248K init, 238K bss, 15000K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x36c/0x584 with crng_init=0
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007838] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073992] pid_max: default: 32768 minimum: 301
[    0.078811] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.086012] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.096861] rcu: Hierarchical SRCU implementation.
[    0.102270] smp: Bringing up secondary CPUs ...
[    4.029126] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.029137] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.029151] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.029263] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.167104] Synchronize counters for CPU 1: done.
[    4.128935] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.128944] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.128952] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.129016] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.257937] Synchronize counters for CPU 2: done.
[    4.209875] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    4.209884] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    4.209893] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    4.209958] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.343125] Synchronize counters for CPU 3: done.
[    0.372995] smp: Brought up 1 node, 4 CPUs
[    0.381460] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.391228] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.398323] pinctrl core: initialized pinctrl subsystem
[    0.405404] NET: Registered protocol family 16
[    0.423051] FPU Affinity set after 11720 emulations
[    0.441945] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.453799] clocksource: Switched to clocksource GIC
[    0.460466] thermal_sys: Registered thermal governor 'step_wise'
[    0.461019] NET: Registered protocol family 2
[    0.471538] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.479780] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.488153] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.495852] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.502917] TCP: Hash tables configured (established 2048 bind 2048)
[    0.509388] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.515881] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.523078] NET: Registered protocol family 1
[    0.527404] PCI: CLS 0 bytes, default 32
[    0.763562] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.769897] random: fast init done
[    0.770396] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.792708] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.798516] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.810158] bounce: pool size: 64 pages
[    0.814066] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.823699] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.829486] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.835379] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.841791] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.851989] printk: console [ttyS0] disabled
[    0.856311] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.865303] printk: console [ttyS0] enabled
[    0.873537] printk: bootconsole [early0] disabled
[    0.886195] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    0.901733] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.906619] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.912942] Creating 4 MTD partitions on "spi0.0":
[    0.917743] 0x000000000000-0x000000030000 : "u-boot"
[    0.924304] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.930896] 0x000000040000-0x000000050000 : "factory"
[    0.937504] 0x000000050000-0x000001000000 : "firmware"
[    0.944329] 2 uimage-fw partitions found on MTD device firmware
[    0.950237] Creating 2 MTD partitions on "firmware":
[    0.955222] 0x000000000000-0x00000027aa68 : "kernel"
[    0.961604] 0x00000027aa68-0x000000fb0000 : "rootfs"
[    0.967944] mtd: device 5 (rootfs) set to be root filesystem
[    0.973797] 1 squashfs-split partitions found on MTD device rootfs
[    0.979959] 0x000000570000-0x000000fb0000 : "rootfs_data"
[    0.988041] libphy: Fixed MDIO Bus: probed
[    1.034119] libphy: mdio: probed
[    1.037603] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.047858] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 22
[    1.058566] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.066555] NET: Registered protocol family 10
[    1.072558] Segment Routing with IPv6
[    1.076386] NET: Registered protocol family 17
[    1.080891] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.094110] 8021q: 802.1Q VLAN Support v1.8
[    1.102114] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.121587] libphy: dsa slave smi: probed
[    1.126110] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    1.135973] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    1.145840] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    1.155710] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    1.165692] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    1.175503] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.186782] DSA: tree 0 setup
[    1.190151] rt2880-pinmux pinctrl: pcie is already enabled
[    1.195809] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.203375] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.310812] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.316393] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.421902] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    1.428850] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.435805] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.440665] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.450136] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.456509] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.463353] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.470217] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.475747] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.481762] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.488024] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    1.494359] pci 0000:00:00.0: supports D1
[    1.498352] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.505728] pci 0000:01:00.0: [14c3:7662] type 00 class 0x028000
[    1.511770] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
[    1.518614] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    1.525406] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    1.532822] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.538070] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.544158] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.550916] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.558134] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.564781] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.571364] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.578321] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.585101] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    1.592291] pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
[    1.599079] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.605867] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    1.613154] pci 0000:01:00.0: BAR 6: assigned [mem 0x60100000-0x6010ffff pref]
[    1.620366] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.625330] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.632088] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.638868] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    1.646685] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    1.654092] hctosys: unable to open rtc device (rtc0)
[    1.667199] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.679079] Freeing unused kernel memory: 1248K
[    1.683700] This architecture does not have kernel memory protection.
[    1.690117] Run /sbin/init as init process
[    2.474290] init: Console is alive
[    2.477939] init: - watchdog -
[    3.874402] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.031041] usbcore: registered new interface driver usbfs
[    4.036688] usbcore: registered new interface driver hub
[    4.042086] usbcore: registered new device driver usb
[    4.058511] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    4.067279] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    4.076266] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.081587] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.103824] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010
[    4.113004] xhci-mtk 1e1c0000.xhci: irq 21, io mem 0x1e1c0000
[    4.120167] hub 1-0:1.0: USB hub found
[    4.124149] hub 1-0:1.0: 2 ports detected
[    4.128897] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.134308] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.141776] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed
[    4.148328] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.157414] hub 2-0:1.0: USB hub found
[    4.161248] hub 2-0:1.0: 1 port detected
[    4.216961] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.234115] init: - preinit -
[    5.322021] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.330461] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.338927] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.502723] random: jshn: uninitialized urandom read (4 bytes read)
[    5.617180] random: jshn: uninitialized urandom read (4 bytes read)
[    5.693185] random: jshn: uninitialized urandom read (4 bytes read)
[    5.921892] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    5.929036] 8021q: adding VLAN 0 to HW filter on device lan1
[    8.034192] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
[    8.041703] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   10.319100] jffs2: notice: (628) jffs2_build_xattr_subsystem: complete building xattr subsystem, 26 of xdatum (24 unchecked, 1 orphan) and 40 of xref (1 dead, 0 orphan) found.
[   10.340452] mount_root: switching to jffs2 overlay
[   10.354944] overlayfs: upper fs does not support tmpfile.
[   10.370266] urandom-seed: Seeding with /etc/urandom.seed
[   10.509163] mt7530 mdio-bus:1f lan1: Link is Down
[   10.532376] procd: - early -
[   10.535426] procd: - watchdog -
[   11.143855] procd: - watchdog -
[   11.148824] procd: - ubus -
[   11.252666] urandom_read: 6 callbacks suppressed
[   11.252679] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.307421] procd: - init -
[   11.792967] random: crng init done
[   11.917210] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.009759] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[   12.017411] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[   12.027410] urngd: v1.0.2 started.
[   12.043085] xt_time: kernel timezone is -0000
[   12.125916] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=25
[   12.131347] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   12.137037] mt76x2e 0000:01:00.0: enabling device (0000 -> 0002)
[   12.143354] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   12.804365] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   12.815737] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   12.821217] mt76x2e 0000:01:00.0: Build: 1
[   12.825353] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   12.853639] mt76x2e 0000:01:00.0: Firmware running!
[   12.860668] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.886823] PPP generic driver version 2.4.2
[   12.893104] NET: Registered protocol family 24
[   12.913125] kmodloader: done loading kernel modules from /etc/modules.d/*
[   19.263335] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   19.278411] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   19.286766] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.290612] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   19.303056] 8021q: adding VLAN 0 to HW filter on device lan1
[   19.311698] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.319108] br-lan: port 1(lan1) entered blocking state
[   19.324488] br-lan: port 1(lan1) entered disabled state
[   19.331352] device lan1 entered promiscuous mode
[   19.336109] device eth0 entered promiscuous mode
[   19.368112] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   19.375793] 8021q: adding VLAN 0 to HW filter on device lan2
[   19.385660] br-lan: port 2(lan2) entered blocking state
[   19.390968] br-lan: port 2(lan2) entered disabled state
[   19.398225] device lan2 entered promiscuous mode
[   19.415822] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   19.423128] 8021q: adding VLAN 0 to HW filter on device lan3
[   19.432698] br-lan: port 3(lan3) entered blocking state
[   19.438091] br-lan: port 3(lan3) entered disabled state
[   19.450579] device lan3 entered promiscuous mode
[   19.466685] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   19.474142] 8021q: adding VLAN 0 to HW filter on device lan4
[   19.482891] br-lan: port 4(lan4) entered blocking state
[   19.488298] br-lan: port 4(lan4) entered disabled state
[   19.496209] device lan4 entered promiscuous mode
[   19.524099] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   19.531565] 8021q: adding VLAN 0 to HW filter on device wan
[   21.202055] br-lan: port 5(wlan0) entered blocking state
[   21.207419] br-lan: port 5(wlan0) entered disabled state
[   21.213537] device wlan0 entered promiscuous mode
[   21.394211] mt7530 mdio-bus:1f lan1: Link is Up - 100Mbps/Full - flow control off
[   21.401736] br-lan: port 1(lan1) entered blocking state
[   21.406978] br-lan: port 1(lan1) entered forwarding state
[   21.413452] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   21.474235] mt7530 mdio-bus:1f lan2: Link is Up - 100Mbps/Full - flow control off
[   21.481760] br-lan: port 2(lan2) entered blocking state
[   21.487034] br-lan: port 2(lan2) entered forwarding state
[   21.554163] mt7530 mdio-bus:1f lan4: Link is Up - 100Mbps/Full - flow control rx/tx
[   21.856645] br-lan: port 4(lan4) entered blocking state
[   21.861863] br-lan: port 4(lan4) entered forwarding state
[   22.570137] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   22.577091] br-lan: port 5(wlan0) entered blocking state
[   22.582409] br-lan: port 5(wlan0) entered forwarding state
[   22.674173] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.681593] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready

Upgrading 21.02 Kernel ?

https://lwn.net/Articles/862877/
"All users of the 5.4 kernel series must upgrade."

That sentence is part of every -stable kernel update mail verbatim, of which there are around two per week. It doesn't imply that this update would be more important than any other before, it's part of the boilerplate announcement mail - and for good reasons, every -stable update fixes issues (and the -stable release team doesn't want to be on the line to evaluate severities, there's an update, use it).

Depending on the remaining time to 21.02.0, it is likely that the kernel will be bumped to the latest 5.4.x version beforehard, but that's independent of the referenced announcement mail.

2 Likes

There has been an update to the Marvell PCI driver. Fixing a bug that has existed since 2017. Both the latest 5.4 and 5.10 have the patch.

commit d3a7e5384b3aab23329bbeca349ffcfaa8fa8a70
Author: Arnd Bergmann arnd@arndb.de
Date: Sat May 8 00:07:55 2021 +0200

mwifiex: re-fix for unaligned accesses

[ Upstream commit 8f4e3d48bb50765ab27ae5bebed2595b20de80a1 ]

A patch from 2017 changed some accesses to DMA memory to use
get_unaligned_le32() and similar interfaces, to avoid problems
with doing unaligned accesson uncached memory.

However, the change in the mwifiex_pcie_alloc_sleep_cookie_buf()
function ended up changing the size of the access instead,
as it operates on a pointer to u8.

Change this function back to actually access the entire 32 bits.
Note that the pointer is aligned by definition because it came
from dma_alloc_coherent().

Fixes: 92c70a958b0b ("mwifiex: fix for unaligned reads")
Acked-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
--- ./linux-5.10.46/drivers/net/wireless/marvell/mwifiex/pcie.c 2021-06-23 07:42:55.000000000 -0500
+++ ./linux-5.10.50/drivers/net/wireless/marvell/mwifiex/pcie.c 2021-07-14 09:56:55.000000000 -0500
@@ -1232,7 +1232,7 @@
 static int mwifiex_pcie_alloc_sleep_cookie_buf(struct mwifiex_adapter *adapter)
 {
        struct pcie_service_card *card = adapter->card;
-       u32 tmp;
+       u32 *cookie;
 
        card->sleep_cookie_vbase = dma_alloc_coherent(&card->dev->dev,
                                                      sizeof(u32),
@@ -1243,13 +1243,11 @@
                            "dma_alloc_coherent failed!\n");
                return -ENOMEM;
        }
+       cookie = (u32 *)card->sleep_cookie_vbase;
        /* Init val of Sleep Cookie */
-       tmp = FW_AWAKE_COOKIE;
-       put_unaligned(tmp, card->sleep_cookie_vbase);
+       *cookie = FW_AWAKE_COOKIE;
 
-       mwifiex_dbg(adapter, INFO,
-                   "alloc_scook: sleep cookie=0x%x\n",
-                   get_unaligned(card->sleep_cookie_vbase));
+       mwifiex_dbg(adapter, INFO, "alloc_scook: sleep cookie=0x%x\n", *cookie);
 
        return 0;
 }
3 Likes

I have a very strong background in web development. I could contribute with nice to have features to the most predominant web interface (luci?)

I think of sort-able tables for example. One missing feature that has been bugging me for a long time, and does only need an addition to the html/js aspect of it all.

If appreciated, where do I continue to learn more on how to contribute?

1 Like