Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvebu: add linux 6.1 testing kernel #12938

Closed
wants to merge 4 commits into from
Closed

Conversation

stklcode
Copy link
Contributor

@stklcode stklcode commented Jun 18, 2023

Introduce initial 6.1 testing kernel support for the mvebu target.

Removed 7 upstreamed patches and rebased the others.

Build and run-tested on a Linksys WRT1900ACS (this specific device requires some additional fixes to compile the "mwlwifi" drivers, see #12940)

dmesg output
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.34 (stefan@ws1.intra.404-net.de) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.3.0 r23398-c4be106f4d) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sun Jun 18 15:06:57 2023
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Linksys WRT1900ACS
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[    0.000000] percpu: Embedded 11 pages/cpu s14804 r8192 d22060 u45056
[    0.000000] pcpu-alloc: s14804 r8192 d22060 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    0.000000] Bootloader command line (ignored): console=ttyS0,115200 root=/dev/mtdblock5 ro rootdelay=1 rootfstype=jffs2 earlyprintk mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    0.000000] Unknown kernel command line parameters "earlyprintk mangled_fs=jffs2 mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 505900K/524288K available (8192K kernel code, 638K rwdata, 1968K rodata, 1024K init, 236K bss, 18388K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000001] sched_clock: 64 bits at 800MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000012] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0xb881274fa3, max_idle_ns: 440795210636 ns
[    0.000025] Switching to timer-based delay loop, resolution 1ns
[    0.000146] Ignoring duplicate/late registration of read_current_timer delay
[    0.000150] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000285] Calibrating delay loop (skipped), value calculated using timer frequency.. 1600.00 BogoMIPS (lpj=8000000)
[    0.000292] pid_max: default: 32768 minimum: 301
[    0.000630] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000636] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001176] CPU: Testing write buffer coherency: ok
[    0.001194] CPU0: Spectre v2: using BPIALL workaround
[    0.001317] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001576] cblist_init_generic: Setting adjustable number of callback queues.
[    0.001580] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.001621] Setting up static identity map for 0x100000 - 0x100060
[    0.001692] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.001765] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001821] rcu: Hierarchical SRCU implementation.
[    0.001823] rcu: 	Max phase no-delay instances is 1000.
[    0.001979] smp: Bringing up secondary CPUs ...
[    0.002149] Booting CPU 1
[    0.002269] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002276] CPU1: Spectre v2: using BPIALL workaround
[    0.002323] smp: Brought up 1 node, 2 CPUs
[    0.002327] SMP: Total of 2 processors activated (3200.00 BogoMIPS).
[    0.002331] CPU: All CPU(s) started in SVC mode.
[    0.004489] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.004546] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004554] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.004655] pinctrl core: initialized pinctrl subsystem
[    0.005197] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.005726] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.006156] thermal_sys: Registered thermal governor 'step_wise'
[    0.006239] cpuidle: using governor ladder
[    0.006406] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.006411] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.013039] cryptd: max_cpu_qlen set to 1000
[    0.013675] SCSI subsystem initialized
[    0.013746] libata version 3.00 loaded.
[    0.013832] usbcore: registered new interface driver usbfs
[    0.013850] usbcore: registered new interface driver hub
[    0.013866] usbcore: registered new device driver usb
[    0.014513] clocksource: Switched to clocksource arm_global_timer
[    0.015103] NET: Registered PF_INET protocol family
[    0.015195] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.015689] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.015701] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.015708] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.015729] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear)
[    0.015792] TCP: Hash tables configured (established 4096 bind 4096)
[    0.015836] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.015852] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.015959] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.015977] PCI: CLS 0 bytes, default 64
[    0.016396] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.018979] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.018984] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.020402] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.020921] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    0.021241] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    0.021501] mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
[    0.021522] mvebu-pcie soc:pcie:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000
[    0.021536] mvebu-pcie soc:pcie:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    0.021547] mvebu-pcie soc:pcie:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000
[    0.021558] mvebu-pcie soc:pcie:      MEM 0x00f1048000..0x00f1049fff -> 0x0000048000
[    0.021568] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.021579] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.021589] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.021599] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.021609] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    0.021619] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    0.021628] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[    0.021636] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0400000000
[    0.021824] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    0.021829] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.021837] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x00081fff])
[    0.021843] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    0.021848] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x00045fff])
[    0.021853] pci_bus 0000:00: root bus resource [mem 0xf1048000-0xf1049fff] (bus address [0x00048000-0x00049fff])
[    0.021858] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.021862] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.021935] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    0.022048] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    0.022867] PCI: bus0: Fast back to back transfers disabled
[    0.022872] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.022879] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.022940] pci 0000:01:00.0: [11ab:2a55] type 00 class 0x020000
[    0.022958] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x400fffff 64bit pref]
[    0.022971] pci 0000:01:00.0: reg 0x18: [mem 0x40100000-0x401fffff 64bit pref]
[    0.023035] pci 0000:01:00.0: supports D1 D2
[    0.023039] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.023153] PCI: bus1: Fast back to back transfers disabled
[    0.023158] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.023224] pci 0000:02:00.0: [11ab:2a55] type 00 class 0x020000
[    0.023244] pci 0000:02:00.0: reg 0x10: [mem 0x42000000-0x420fffff 64bit pref]
[    0.023258] pci 0000:02:00.0: reg 0x18: [mem 0x42100000-0x421fffff 64bit pref]
[    0.023344] pci 0000:02:00.0: supports D1 D2
[    0.023347] pci 0000:02:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.023371] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:02.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.023480] PCI: bus2: Fast back to back transfers disabled
[    0.023484] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.023502] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe01fffff]
[    0.023509] pci 0000:00:02.0: BAR 8: assigned [mem 0xe0200000-0xe03fffff]
[    0.023516] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit pref]
[    0.023526] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0100000-0xe01fffff 64bit pref]
[    0.023536] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.023541] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe01fffff]
[    0.023552] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe02fffff 64bit pref]
[    0.023563] pci 0000:02:00.0: BAR 2: assigned [mem 0xe0300000-0xe03fffff 64bit pref]
[    0.023573] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.023577] pci 0000:00:02.0:   bridge window [mem 0xe0200000-0xe03fffff]
[    0.023830] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.094929] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.095076] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.154923] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.155103] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.155451] printk: console [ttyS0] disabled
[    0.175537] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 40, base_baud = 12500000) is a 16550A
[    1.273930] printk: console [ttyS0] enabled
[    1.280339] loop: module loaded
[    1.284160] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    1.291847] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    1.299393] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    1.307282] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.316379] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.325697] scsi host0: ahci-mvebu
[    1.329395] scsi host1: ahci-mvebu
[    1.332902] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    1.340875] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    1.349379] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    1.355775] nand: AMD/Spansion S34ML01G2
[    1.359714] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.367523] Bad block table found at page 65472, version 0x01
[    1.373624] Bad block table found at page 65408, version 0x01
[    1.379713] 10 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    1.386807] Creating 10 MTD partitions on "pxa3xx_nand-0":
[    1.392315] 0x000000000000-0x000000200000 : "u-boot"
[    1.397536] 0x000000200000-0x000000240000 : "u_env"
[    1.402609] 0x000000240000-0x000000280000 : "s_env"
[    1.407682] 0x000000900000-0x000000a00000 : "devinfo"
[    1.412949] 0x000000a00000-0x000003200000 : "kernel1"
[    1.418263] 0x000001000000-0x000003200000 : "ubi"
[    1.423199] 0x000003200000-0x000005a00000 : "kernel2"
[    1.428516] 0x000003800000-0x000005a00000 : "rootfs2"
[    1.433801] 0x000005a00000-0x000008000000 : "syscfg"
[    1.439039] 0x000000280000-0x000000900000 : "unused_area"
[    1.447203] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
[    1.465176] hwmon hwmon0: temp1_input not attached to any thermal zone
[    1.479555] hwmon hwmon1: temp1_input not attached to any thermal zone
[    1.493932] hwmon hwmon2: temp1_input not attached to any thermal zone
[    1.507260] hwmon hwmon3: temp1_input not attached to any thermal zone
[    1.519422] hwmon hwmon4: temp1_input not attached to any thermal zone
[    1.638471] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.647493] mvneta f1070000.ethernet eth0: Using hardware mac address 14:91:82:bb:aa:f4
[    1.655818] orion-ehci f1058000.usb: EHCI Host Controller
[    1.661251] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.668907] orion-ehci f1058000.usb: irq 44, io mem 0xf1058000
[    1.675754] ata2: SATA link down (SStatus 0 SControl 300)
[    1.681203] ata1: SATA link down (SStatus 0 SControl 300)
[    1.704517] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.710679] hub 1-0:1.0: USB hub found
[    1.714458] hub 1-0:1.0: 1 port detected
[    1.718924] usbcore: registered new interface driver usb-storage
[    1.725080] i2c_dev: i2c /dev entries driver
[    1.732625] orion_wdt: Initial timeout 171 sec
[    1.737335] sdhci: Secure Digital Host Controller Interface driver
[    1.743544] sdhci: Copyright(c) Pierre Ossman
[    1.748018] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.757233] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.764906] NET: Registered PF_INET6 protocol family
[    1.770486] Segment Routing with IPv6
[    1.774184] In-situ OAM (IOAM) with IPv6
[    1.778186] NET: Registered PF_PACKET protocol family
[    1.783351] 8021q: 802.1Q VLAN Support v1.8
[    1.787649] Registering SWP/SWPB emulation handler
[    1.797129] usb_phy_generic usb3_1-phy: dummy supplies not allowed for exclusive requests
[    1.805559] mv88e6085 f1072004.mdio-mii:00: switch 0x1760 detected: Marvell 88E6176, revision 1
[    1.824976] hwmon hwmon2: temp1_input not attached to any thermal zone
[    1.837264] hwmon hwmon3: temp1_input not attached to any thermal zone
[    1.849462] hwmon hwmon4: temp1_input not attached to any thermal zone
[    1.861645] hwmon hwmon5: temp1_input not attached to any thermal zone
[    1.873855] hwmon hwmon6: temp1_input not attached to any thermal zone
[    2.213334] mv88e6085 f1072004.mdio-mii:00: OF node /soc/internal-regs/mdio@72004/switch@0/ports/port@6 of CPU port 6 lacks the required "phy-mode" property
[    2.227789] mv88e6085 f1072004.mdio-mii:00: configuring for fixed/ link mode
[    2.238083] mv88e6085 f1072004.mdio-mii:00: Link is Up - 1Gbps/Full - flow control off
[    2.329817] mv88e6085 f1072004.mdio-mii:00 lan4 (uninitialized): PHY [mv88e6xxx-1:00] driver [Marvell 88E1540] (irq=60)
[    2.431755] mv88e6085 f1072004.mdio-mii:00 lan3 (uninitialized): PHY [mv88e6xxx-1:01] driver [Marvell 88E1540] (irq=61)
[    2.539573] mv88e6085 f1072004.mdio-mii:00 lan2 (uninitialized): PHY [mv88e6xxx-1:02] driver [Marvell 88E1540] (irq=62)
[    2.639575] mv88e6085 f1072004.mdio-mii:00 lan1 (uninitialized): PHY [mv88e6xxx-1:03] driver [Marvell 88E1540] (irq=63)
[    2.739572] mv88e6085 f1072004.mdio-mii:00 wan (uninitialized): PHY [mv88e6xxx-1:04] driver [Marvell 88E1540] (irq=64)
[    2.767290] device eth0 entered promiscuous mode
[    2.771947] DSA: tree 0 setup
[    2.775102] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.780447] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 2
[    2.788021] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.797312] xhci-hcd f10f8000.usb3: irq 45, io mem 0xf10f8000
[    2.803173] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.808520] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    2.816046] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    2.822665] hub 2-0:1.0: USB hub found
[    2.826456] hub 2-0:1.0: 1 port detected
[    2.830538] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.838852] hub 3-0:1.0: USB hub found
[    2.842629] hub 3-0:1.0: 1 port detected
[    2.846947] UBI: auto-attach mtd5
[    2.850279] ubi0: attaching mtd5
[    2.945517] ubi0: scanning is finished
[    2.953535] ubi0: attached mtd5 (name "ubi", size 34 MiB)
[    2.958975] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.965885] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.972702] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.979697] ubi0: good PEBs: 272, bad PEBs: 0, corrupted PEBs: 0
[    2.985733] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.992985] ubi0: max/mean erase counter: 22/16, WL threshold: 4096, image sequence number: 1519902474
[    3.002335] ubi0: available PEBs: 0, total reserved PEBs: 272, PEBs reserved for bad PEB handling: 20
[    3.011853] ubi0: background thread "ubi_bgt0d" started, PID 498
[    3.014796] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.023399] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.030764] Waiting 1 sec before mounting root device...
[    4.096745] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    4.104539] Freeing unused kernel image (initmem) memory: 1024K
[    4.134681] Run /sbin/init as init process
[    4.138795]   with arguments:
[    4.138797]     /sbin/init
[    4.138799]     earlyprintk
[    4.138802]   with environment:
[    4.138803]     HOME=/
[    4.138805]     TERM=linux
[    4.138807]     mangled_fs=jffs2
[    4.138809]     mtdparts=armada-nand:2048K(uboot)ro,256K(u_env),256K(s_env),1m@9m(devinfo),40m@10m(kernel),34m@16m(rootfs),40m@50m(alt_kernel),34m@56m(alt_rootfs),80m@10m(ubifs),-@90m(syscfg)
[    4.282809] init: Console is alive
[    4.286359] init: - watchdog -
[    4.535825] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.549776] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.561325] init: - preinit -
[    7.594515] random: crng init done
[    7.658643] mtdblock: MTD device 'devinfo' is NAND, please consider using UBI block devices instead.
[    7.997314] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
[    8.005402] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    8.013288] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[    8.021596] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.158900] mount_root: loading kmods from internal overlay
[   10.169448] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   10.176672] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   10.201676] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   10.207446] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 624
[   10.261210] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   10.269088] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.279052] UBIFS (ubi0:1): FS size: 23744512 bytes (22 MiB, 187 LEBs), max 197 LEBs, journal size 1142784 bytes (1 MiB, 9 LEBs)
[   10.290675] UBIFS (ubi0:1): reserved for root: 1121511 bytes (1095 KiB)
[   10.297321] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 1CB6BA00-53A3-4057-BDEC-5765DD56B82E, small LPT model
[   10.309129] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   10.316207] block: unable to load configuration (fstab: Entry not found)
[   10.322977] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   10.329502] block: unable to load configuration (fstab: Entry not found)
[   10.336273] block: attempting to load /etc/config/fstab
[   10.343923] block: unable to load configuration (fstab: Entry not found)
[   10.350714] block: no usable configuration
[   10.356661] UBIFS (ubi0:1): un-mount UBI device 0
[   10.361396] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" stops
[   10.369533] UBIFS (ubi0:1): Mounting in unauthenticated mode
[   10.384524] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 627
[   10.428908] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   10.436779] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.446740] UBIFS (ubi0:1): FS size: 23744512 bytes (22 MiB, 187 LEBs), max 197 LEBs, journal size 1142784 bytes (1 MiB, 9 LEBs)
[   10.458359] UBIFS (ubi0:1): reserved for root: 1121511 bytes (1095 KiB)
[   10.465006] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID 1CB6BA00-53A3-4057-BDEC-5765DD56B82E, small LPT model
[   10.487335] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   10.494387] block: unable to load configuration (fstab: Entry not found)
[   10.501173] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[   10.507720] block: unable to load configuration (fstab: Entry not found)
[   10.514487] block: attempting to load /etc/config/fstab
[   10.519833] block: unable to load configuration (fstab: Entry not found)
[   10.526612] block: no usable configuration
[   10.531221] mount_root: overlay filesystem has not been fully initialized yet
[   10.538757] mount_root: switching to ubifs overlay
[   10.797620] ubi1: attaching mtd8
[   10.901318] ubi1: scanning is finished
[   10.909503] ubi1: attached mtd8 (name "syscfg", size 38 MiB)
[   10.915205] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   10.922110] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[   10.928936] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[   10.935932] ubi1: good PEBs: 296, bad PEBs: 8, corrupted PEBs: 0
[   10.941963] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[   10.949218] ubi1: max/mean erase counter: 7/4, WL threshold: 4096, image sequence number: 1435367384
[   10.958392] ubi1: available PEBs: 0, total reserved PEBs: 296, PEBs reserved for bad PEB handling: 12
[   10.967657] ubi1: background thread "ubi_bgt1d" started, PID 677
[   10.979195] UBIFS (ubi1:0): Mounting in unauthenticated mode
[   10.985030] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 681
[   11.027454] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "syscfg"
[   11.034894] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   11.044856] UBIFS (ubi1:0): FS size: 34283520 bytes (32 MiB, 270 LEBs), max 280 LEBs, journal size 1777664 bytes (1 MiB, 14 LEBs)
[   11.056561] UBIFS (ubi1:0): reserved for root: 1619295 bytes (1581 KiB)
[   11.063203] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID 820F532D-55AD-4CED-A29B-27C8798B4C12, small LPT model
[   11.075569] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.123473] procd: - early -
[   11.126462] procd: - watchdog -
[   11.647913] procd: - watchdog -
[   11.651189] procd: - ubus -
[   11.722577] procd: - init -
[   11.950235] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.003650] urngd: v1.0.2 started.
[   12.020527] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   12.028084] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   12.096093] <<Marvell Mac80211 Wireless PCIE Network Driver version 10.3.9.1>>
[   12.103360] pci 0000:00:01.0: enabling device (0140 -> 0142)
[   12.109138] ieee80211 phy0: priv->pcmd_buf = 81634047  priv->pphys_cmd_buf = ad6f46cb
[   12.118057] ieee80211 phy0: fw download start
[   12.237487] ieee80211 phy0: FwSize = 118776 downloaded Size = 118776 curr_iteration 65496
[   13.110517] ieee80211 phy0: fw download complete
[   13.110533] ieee80211 phy0: device node: pcie@1,0
[   13.115814] ieee80211 phy0: pcmd = 81634047
[   13.133543] ieee80211 phy0: firmware version: 0x702091a
[   13.156823] ieee80211 phy0: firmware region code: 0
[   13.193969] ieee80211 phy0: regdomain: FCC
[   13.193977] ieee80211 phy0: Channel: 36: 0x0 0x0 0xf
[   13.193987] ieee80211 phy0: 12 12 12 12 12 12 12 12 10 10 10 10 f f f f 
[   13.193990] ieee80211 phy0: Channel: 40: 0x0 0x0 0xf
[   13.193997] ieee80211 phy0: 16 16 16 16 16 16 16 16 16 16 16 16 f f f f 
[   13.194001] ieee80211 phy0: Channel: 44: 0x0 0x0 0xf
[   13.194008] ieee80211 phy0: 16 16 16 16 16 16 16 16 16 16 16 16 f f f f 
[   13.194011] ieee80211 phy0: Channel: 48: 0x0 0x0 0xf
[   13.194018] ieee80211 phy0: 16 16 16 16 16 16 16 16 16 16 16 16 f f f f 
[   13.194022] ieee80211 phy0: Channel: 52: 0x0 0x0 0xf
[   13.194028] ieee80211 phy0: 11 11 11 11 10 10 10 10 12 12 12 12 10 10 10 10 
[   13.194032] ieee80211 phy0: Channel: 56: 0x0 0x0 0xf
[   13.194039] ieee80211 phy0: 11 11 11 11 10 10 10 10 12 12 12 12 10 10 10 10 
[   13.194042] ieee80211 phy0: Channel: 60: 0x0 0x0 0xf
[   13.194049] ieee80211 phy0: 11 11 11 11 10 10 10 10 12 12 12 12 10 10 10 10 
[   13.194053] ieee80211 phy0: Channel: 64: 0x0 0x0 0xf
[   13.194059] ieee80211 phy0: 11 11 11 11 10 10 10 10 12 12 12 12 10 10 10 10 
[   13.194063] ieee80211 phy0: Channel: 100: 0x0 0x0 0xf
[   13.194070] ieee80211 phy0: 10 10 10 10 11 11 11 11 12 12 12 12 10 10 10 10 
[   13.194073] ieee80211 phy0: Channel: 104: 0x0 0x0 0xf
[   13.194080] ieee80211 phy0: 11 11 11 11 10 10 10 10 12 12 12 12 10 10 10 10 
[   13.194083] ieee80211 phy0: Channel: 108: 0x0 0x0 0xf
[   13.194090] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194093] ieee80211 phy0: Channel: 112: 0x0 0x0 0xf
[   13.194100] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194104] ieee80211 phy0: Channel: 116: 0x0 0x0 0xf
[   13.194110] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194114] ieee80211 phy0: Channel: 120: 0x0 0x0 0xf
[   13.194120] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194124] ieee80211 phy0: Channel: 124: 0x0 0x0 0xf
[   13.194131] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194134] ieee80211 phy0: Channel: 128: 0x0 0x0 0xf
[   13.194141] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194145] ieee80211 phy0: Channel: 132: 0x0 0x0 0xf
[   13.194152] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194155] ieee80211 phy0: Channel: 136: 0x0 0x0 0xf
[   13.194162] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194166] ieee80211 phy0: Channel: 140: 0x0 0x0 0xf
[   13.194172] ieee80211 phy0: 11 11 11 11 10 10 10 10 11 11 11 11 10 10 10 10 
[   13.194176] ieee80211 phy0: Channel: 149: 0x0 0x0 0xf
[   13.194183] ieee80211 phy0: 16 16 16 16 16 16 16 16 15 15 15 15 15 15 15 15 
[   13.194186] ieee80211 phy0: Channel: 153: 0x0 0x0 0xf
[   13.194193] ieee80211 phy0: 16 16 16 16 15 15 15 15 15 15 15 15 15 15 15 15 
[   13.194197] ieee80211 phy0: Channel: 157: 0x0 0x0 0xf
[   13.194203] ieee80211 phy0: 16 16 16 16 15 15 15 15 15 15 15 15 15 15 15 15 
[   13.194207] ieee80211 phy0: Channel: 161: 0x0 0x0 0xf
[   13.194214] ieee80211 phy0: 16 16 16 16 15 15 15 15 15 15 15 15 15 15 15 15 
[   13.194217] ieee80211 phy0: Channel: 165: 0x0 0x0 0xf
[   13.194224] ieee80211 phy0: 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 15 
[   13.194943] ieee80211 phy0: 2G disabled, 5G enabled
[   13.199867] ieee80211 phy0: 4 TX antennas, 4 RX antennas
[   13.205424] pci 0000:00:02.0: enabling device (0140 -> 0142)
[   13.211197] ieee80211 phy1: priv->pcmd_buf = a16db269  priv->pphys_cmd_buf = c32ab0c2
[   13.217528] ieee80211 phy1: fw download start
[   13.335273] ieee80211 phy1: FwSize = 118776 downloaded Size = 118776 curr_iteration 65510
[   14.200525] ieee80211 phy1: fw download complete
[   14.200553] ieee80211 phy1: device node: pcie@2,0
[   14.205787] ieee80211 phy1: pcmd = a16db269
[   14.223541] ieee80211 phy1: firmware version: 0x702091a
[   14.246823] ieee80211 phy1: firmware region code: 0
[   14.282990] ieee80211 phy1: regdomain: FCC
[   14.283000] ieee80211 phy1: Channel: 1: 0x0 0x0 0xf
[   14.283008] ieee80211 phy1: 17 10 10 10 f f f f e e e e 0 0 0 0 
[   14.283012] ieee80211 phy1: Channel: 2: 0x0 0x0 0xf
[   14.283019] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283023] ieee80211 phy1: Channel: 3: 0x0 0x0 0xf
[   14.283030] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283033] ieee80211 phy1: Channel: 4: 0x0 0x0 0xf
[   14.283040] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283043] ieee80211 phy1: Channel: 5: 0x0 0x0 0xf
[   14.283050] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283054] ieee80211 phy1: Channel: 6: 0x0 0x0 0xf
[   14.283060] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283064] ieee80211 phy1: Channel: 7: 0x0 0x0 0xf
[   14.283071] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283074] ieee80211 phy1: Channel: 8: 0x0 0x0 0xf
[   14.283081] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283085] ieee80211 phy1: Channel: 9: 0x0 0x0 0xf
[   14.283092] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283095] ieee80211 phy1: Channel: 10: 0x0 0x0 0xf
[   14.283102] ieee80211 phy1: 18 16 16 16 16 16 16 14 11 11 11 11 0 0 0 0 
[   14.283106] ieee80211 phy1: Channel: 11: 0x0 0x0 0xf
[   14.283112] ieee80211 phy1: 17 12 12 12 13 13 13 13 f f f f 0 0 0 0 
[   14.283765] ieee80211 phy1: 2G enabled, 5G disabled
[   14.288711] ieee80211 phy1: 4 TX antennas, 4 RX antennas
[   14.328945] PPP generic driver version 2.4.2
[   14.333888] NET: Registered PF_PPPOX protocol family
[   14.340936] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   14.348863] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   14.363485] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.491247] mtdblock: MTD device 'devinfo' is NAND, please consider using UBI block devices instead.
[   14.823543] mtdblock: MTD device 'devinfo' is NAND, please consider using UBI block devices instead.
[   17.759987] mvneta f1070000.ethernet eth0: Link is Down
[   17.767568] mvneta f1070000.ethernet eth0: configuring for fixed/rgmii-id link mode
[   17.767865] mvneta f1070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   17.767885] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   17.769206] mv88e6085 f1072004.mdio-mii:00 lan2: configuring for phy/gmii link mode
[   17.800618] br-guest: port 1(lan2) entered blocking state
[   17.800632] br-guest: port 1(lan2) entered disabled state
[   17.897520] device lan2 entered promiscuous mode
[   17.980934] mv88e6085 f1072004.mdio-mii:00 lan3: configuring for phy/gmii link mode
[   18.029316] br-iot: port 1(lan3) entered blocking state
[   18.029329] br-iot: port 1(lan3) entered disabled state
[   18.107936] device lan3 entered promiscuous mode
[   18.194727] mv88e6085 f1072004.mdio-mii:00 lan1: configuring for phy/gmii link mode
[   18.200307] br-lan: port 1(lan1) entered blocking state
[   18.200318] br-lan: port 1(lan1) entered disabled state
[   18.288353] device lan1 entered promiscuous mode
[   18.310464] mv88e6085 f1072004.mdio-mii:00 lan4: configuring for phy/gmii link mode
[   18.321275] br-lan: port 2(lan4) entered blocking state
[   18.321285] br-lan: port 2(lan4) entered disabled state
[   18.364876] device lan4 entered promiscuous mode
[   18.374038] mv88e6085 f1072004.mdio-mii:00 wan: configuring for phy/gmii link mode
[   21.314878] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   21.314905] br-lan: port 1(lan1) entered blocking state
[   21.314912] br-lan: port 1(lan1) entered forwarding state
[   21.315420] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   62.134670] br-lan: port 1(lan1) entered disabled state
[   62.135057] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Down
[   64.887283] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   64.887302] br-lan: port 1(lan1) entered blocking state
[   64.887309] br-lan: port 1(lan1) entered forwarding state
[   78.194671] br-lan: port 1(lan1) entered disabled state
[   78.195073] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Down
[   80.503117] mv88e6085 f1072004.mdio-mii:00 wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   80.503138] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[  123.770769] mv88e6085 f1072004.mdio-mii:00 wan: Link is Down
[  126.414873] mv88e6085 f1072004.mdio-mii:00 lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[  126.414894] br-guest: port 1(lan2) entered blocking state
[  126.414900] br-guest: port 1(lan2) entered forwarding state
[  126.415290] IPv6: ADDRCONF(NETDEV_CHANGE): br-guest: link becomes ready
[  176.010555] br-guest: port 1(lan2) entered disabled state
[  176.010809] mv88e6085 f1072004.mdio-mii:00 lan2: Link is Down
[  178.549461] mv88e6085 f1072004.mdio-mii:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[  178.549480] br-lan: port 1(lan1) entered blocking state
[  178.549486] br-lan: port 1(lan1) entered forwarding state

(some old test config with 3 VLANs, 2x3 WiFi networks, Wireguard and some other stuff)

wrt1900acs-6 1

To start migration to Kernel 6.1 we copy all existing patches from 5.15.

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Remove the following patches:
100-ARM-dts-turris-omnia-configure-LED-0-pin-function-to [1]
101-ARM-dts-turris-omnia-enable-LED-controller-node [2]
702-net-next-ethernet-marvell-mvnetaMQPrioOffload [3]
703-net-next-ethernet-marvell-mvnetaMQPrioFlag [4]
704-net-next-ethernet-marvell-mvnetaMQPrioQueue [5]
705-net-next-ethernet-marvell-mvnetaMQPrioTCOffload [6]
710-v6.2-phy-marvell-phy-mvebu-a3700-comphy-Reset-COMPHY-regi [7]

Manually rebased:
902-drivers-mfd-Add-a-driver-for-IEI-WT61P803-PUZZLE-MCU

All other patches automatically rebased

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=94a29bffdd59498382131fd428fed221f5c96def
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=40624346b7ae0c2b1209fc9993ea30699e512c50
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=75fa71e3acadbb4ab5eda18505277eb9a1f69b23
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e7ca75fe6662f78bfeb0112671c812e4c7b8e214
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e9f7099d0730341b24c057acbf545dd019581db6
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=2551dc9e398c37a15e52122d385c29a8b06be45f
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cd1e1735aeab49abc679218a79ee764c0d394880

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
Start 6.1 migration with a full copy of the current stable config.

Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
With an initial set of patches and configs in place let's start testing
with kernel 6.1.

Run-tested on the cortexa9 subtarget (WRT1900ACS, Turris Omnia)

Tested-by: Etienne Champetier <champetier.etienne@gmail.com>
Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
@github-actions github-actions bot added kernel pull request/issue with Linux kernel related changes target/mvebu pull request/issue for mvebu target labels Jun 18, 2023
@Ansuel
Copy link
Member

Ansuel commented Jun 18, 2023

missing kconfig.

@stklcode
Copy link
Contributor Author

Oops 🙈

Copy link
Member

@champtar champtar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here what I did a week ago, which is pretty close to what you did (modulo the commit description): https://github.com/champtar/openwrt/tree/mvebu-6.1

I also needed CONFIG_UNUSED_BOARD_FILES=n when building Turris Omnia.
Turris Omnia works fine (vlan_filtering=1 finally fixed, wifi 2.4 & 5) except leds are not working (maybe we need new versions of patch 100 & 101)

target/linux/mvebu/config-6.1 Outdated Show resolved Hide resolved
@stklcode
Copy link
Contributor Author

I also needed CONFIG_UNUSED_BOARD_FILES=n when building Turris Omnia.

Interesting. I also ran a build for the Omnia (but as I don’t have a spare device on hand for testing, did not flash it yet) without this.

@stklcode
Copy link
Contributor Author

except leds are not working (maybe we need new versions of patch 100 & 101)

I did not remove patches 103 and 104 which initialize the multi-color LEDs. Seems you removed them as upstreamed 🤔

@champtar
Copy link
Member

except leds are not working (maybe we need new versions of patch 100 & 101)

I did not remove patches 103 and 104 which initialize the multi-color LEDs. Seems you removed them as upstreamed 🤔

Nice, i think I just went too fast and deleted all of them as a group without checking
Can't run test this week but that should fix it :)

@champtar
Copy link
Member

I also needed CONFIG_UNUSED_BOARD_FILES=n when building Turris Omnia.

Interesting. I also ran a build for the Omnia (but as I don’t have a spare device on hand for testing, did not flash it yet) without this.

I'll try to redo a clean build to see if it still pop-up for me

@anomeome
Copy link
Contributor

Built all the wrtpac targets, tested on:

mamba bootlog

Anyone know if the 700-mvneta-tx-queue-workaround.patch is still required?

@stklcode
Copy link
Contributor Author

stklcode commented Jun 19, 2023

Thanks for testing.

The patch was introduced in 2e1f6f1 (Kernel 4.4)
And limited to 32bit SoCs in cbdd2b6 (for 5.4 and 5.10)

Related to an upstream fix for the Armada 3700 platform (since 5.12)
torvalds/linux@cf9bf87

If I get it right, the patch should still affect the cortexa9 subtarget. But I am unsure, if this is still an issue to be patched... This exact patch did not make it upstream, so I kept it for 6.1 as well.
ping @nbd168 and @tmn505 as author/editor of patch 700

@anomeome
Copy link
Contributor

IIRC, dtaht reported issue and ndb resolved. Tried to find the old issue but meta data seems to have gone walkabout.

I do not use the patch in my personal build and have noticed no issue, but I use MQPrio so unsure as to the default fq_codel.

@tmn505
Copy link
Contributor

tmn505 commented Jun 20, 2023

IIRC, dtaht reported issue and ndb resolved. Tried to find the old issue but meta data seems to have gone walkabout.

That should be in Your e-mail box, unless You got rid of it. It's this issue: #5411.
The patch is here because You or anyone else with affected hardware, didn't bother to test if it's still needed. The workaround was introduced when kernel 4.4 was default, when mvneta saw a lot of changes on each kernel version major bump. After 4.4 version, mvneta got a lot of rework around scheduling which wasn't backported to 4.4, so very likely those changes affect the bug. The test scenario is in mentioned issue, so get Your hands dirty and do some benchmarking to finally solve this riddle (a riddle which pops-up on every major mvebu kernel bump).

@stklcode
Copy link
Contributor Author

stklcode commented Jun 20, 2023

Thanks for the reference. It's the first time I stumble upon that topic, bus as I have a test device wired up, I just built 2 versions with and without the patch and ran the benchmarks:

Test device:
Linksys WRT1900ACS (mvebu/cortexa9)
OpenWrt SNAPSHOT, r23406+1-8881f80ae3
Kernel 6.1.34
netperf 2.7.0-3

Test client:
x86_64 Fedora 38 workstation
intel I219-V GBit Ethernet directly connected
netperf 2.7.0-5

Test commands

netperf -H 172.16.101.1 -l 60 -t TCP_MAERTS &
netperf -H 172.16.101.1 -l 60 -t TCP_MAERTS &
netperf -H 172.16.101.1 -l 60 -t TCP_MAERTS &
netperf -H 172.16.101.1 -l 60 -t TCP_MAERTS &

Results with patch 700

Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  
131072  16384  16384    60.00     234.15
131072  16384  16384    60.00     234.15   
131072  16384  16384    60.00     234.09   
131072  16384  16384    60.00     234.10   
                                  936,49   (total)

Results without patch 700

Recv   Send    Send                          
Socket Socket  Message  Elapsed              
Size   Size    Size     Time     Throughput  
bytes  bytes   bytes    secs.    10^6bits/sec  
131072  16384  16384    60.01      15.89   
131072  16384  16384    60.02       0.03   
131072  16384  16384    60.02       0.00   
131072  16384  16384    60.00     920.67   
                                  936,59   (total)

(both results repeatable with minor deviations)

Conclusion

Yep, we definitely still have a minor fairness problem on cortexa9 without the patch. So I'd say, it is still relevant.

@tmn505
Copy link
Contributor

tmn505 commented Jun 20, 2023

Thanks for clearing this. If someone want's to pursue this issue on netdev mailing list (don't know if it was ever brought up there) please add @rmk92 (Russell King) to recipients, as he's most active contributor to that driver.

@stklcode stklcode force-pushed the mvebu-61 branch 2 times, most recently from 36fa148 to 74ca188 Compare June 25, 2023 09:31
@champtar
Copy link
Member

Tested-By: Etienne Champetier <champetier.etienne@gmail.com>
Running 74ca18856f120f6092db4b62cf7aa2852c2954f2 on my Turris Omnia, leds are ok (my version with broken leds was running previously for 2 weeks)
LGTM

@borkra
Copy link
Contributor

borkra commented Jul 2, 2023

Works good on Cobra

@zcracker
Copy link

zcracker commented Jul 5, 2023

[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 6.1.35 (zvleaks@zvleaks) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23454-01885bc6a3) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Wed Jun 28 13:18:08 2023
[ 0.000000] Machine model: iEi Puzzle-M901
[ 0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '')
[ 0.000000] printk: bootconsole [uart8250] enabled
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] node 0: [mem 0x0000000004000000-0x00000000041fffff]
[ 0.000000] node 0: [mem 0x0000000004200000-0x00000000bfffffff]
[ 0.000000] node 0: [mem 0x0000000100000000-0x000000013fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000013fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS resident on physical CPU 0x0
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 16 pages/cpu s28328 r8192 d29016 u65536
[ 0.000000] pcpu-alloc: s28328 r8192 d29016 u65536 alloc=164096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1032192
[ 0.000000] Kernel command line: root=/dev/mmcblk0p3 rw rootwait mangled_fs=ext4 console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 cpuidle.off=1
[ 0.000000] Unknown kernel command line parameters "mangled_fs=ext4", will be passed to user space.
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000bc000000-0x00000000c0000000] (64MB)
[ 0.000000] Memory: 4040548K/4194304K available (8960K kernel code, 936K rwdata, 2348K rodata, 448K init, 301K bss, 153756K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=64, 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: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
[ 0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
[ 0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
[ 0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
[ 0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
[ 0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000000] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.008189] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.018705] pid_max: default: 32768 minimum: 301
[ 0.023502] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.031031] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.039602] cblist_init_generic: Setting adjustable number of callback queues.
[ 0.046932] cblist_init_generic: Setting shift to 2 and lim to 1.
[ 0.053238] rcu: Hierarchical SRCU implementation.
[ 0.058083] rcu: Max phase no-delay instances is 1000.
[ 0.063616] smp: Bringing up secondary CPUs ...
[ 0.068588] Detected PIPT I-cache on CPU1
[ 0.068642] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.069047] Detected PIPT I-cache on CPU2
[ 0.069101] CPU2: Booted secondary processor 0x0000000100 [0x410fd083]
[ 0.069497] Detected PIPT I-cache on CPU3
[ 0.069534] CPU3: Booted secondary processor 0x0000000101 [0x410fd083]
[ 0.069562] smp: Brought up 1 node, 4 CPUs
[ 0.105769] SMP: Total of 4 processors activated.
[ 0.110568] CPU features: detected: 32-bit EL0 Support
[ 0.115778] CPU features: detected: CRC32 instructions
[ 0.121011] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.129495] CPU: All CPU(s) started at EL2
[ 0.133639] alternatives: applying system-wide alternatives
[ 0.142015] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.152017] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.159017] pinctrl core: initialized pinctrl subsystem
[ 0.164624] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.170857] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.178091] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.186002] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.194142] thermal_sys: Registered thermal governor 'step_wise'
[ 0.194182] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.207231] ASID allocator initialised with 65536 entries
[ 0.218556] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.225469] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.231809] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.238691] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.245027] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.251909] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.258263] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.265153] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.271700] cryptd: max_cpu_qlen set to 1000
[ 0.276431] SCSI subsystem initialized
[ 0.280279] libata version 3.00 loaded.
[ 0.280332] usbcore: registered new interface driver usbfs
[ 0.285906] usbcore: registered new interface driver hub
[ 0.291314] usbcore: registered new device driver usb
[ 0.296864] clocksource: Switched to clocksource arch_sys_counter
[ 0.303369] NET: Registered PF_INET protocol family
[ 0.308425] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.317154] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.325806] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.333622] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.341736] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.349660] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.356282] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.363114] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.370439] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.376185] PCI: CLS 0 bytes, default 64
[ 0.381129] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 0.389392] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.395291] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.407726] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver
[ 0.416773] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver
[ 0.425771] armada-cp110-pinctrl f6440000.system-controller:pinctrl: registered pinctrl driver
[ 0.436825] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
[ 0.443134] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
[ 0.449411] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
[ 0.455681] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
[ 0.462010] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
[ 0.468366] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
[ 0.474701] mv_xor_v2 f66a0000.xor: Marvell Version 2 XOR driver
[ 0.481000] mv_xor_v2 f66c0000.xor: Marvell Version 2 XOR driver
[ 0.487180] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.493882] printk: console [ttyS0] disabled
[ 0.518328] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 40, base_baud = 12500000) is a 16550A
[ 0.527392] printk: console [ttyS0] enabled
[ 0.535821] printk: bootconsole [uart8250] disabled
[ 0.566030] f2702000.serial: ttyS1 at MMIO 0xf2702000 (irq = 41, base_baud = 15625000) is a 16550A
[ 0.575072] serial serial0: tty port ttyS1 registered
[ 0.580394] omap_rng f2760000.trng: Random Number Generator ver. 203b34c
[ 0.580714] random: crng init done
[ 0.587248] omap_rng f6760000.trng: Random Number Generator ver. 203b34c
[ 0.598510] loop: module loaded
[ 0.602084] ahci f6540000.sata: supply ahci not found, using dummy regulator
[ 0.609236] ahci f6540000.sata: supply phy not found, using dummy regulator
[ 0.616336] platform f6540000.sata:sata-port@0: supply target not found, using dummy regulator
[ 0.625103] platform f6540000.sata:sata-port@1: supply target not found, using dummy regulator
[ 0.634551] spi-nor spi2.0: mx25l3205d (4096 Kbytes)
[ 0.639661] 4 fixed-partitions partitions found on MTD device spi2.0
[ 0.646043] Creating 4 MTD partitions on "spi2.0":
[ 0.650859] 0x000000000000-0x0000001f0000 : "U-Boot"
[ 0.655990] 0x0000001f0000-0x000000200000 : "U-Boot ENV Factory"
[ 0.662133] 0x000000200000-0x0000003f0000 : "Reserved"
[ 0.667401] 0x0000003f0000-0x000000400000 : "U-Boot ENV"
[ 0.677443] hwmon hwmon0: temp1_input not attached to any thermal zone
[ 0.688108] hwmon hwmon1: temp1_input not attached to any thermal zone
[ 0.698754] hwmon hwmon2: temp1_input not attached to any thermal zone
[ 0.709642] hwmon hwmon3: temp1_input not attached to any thermal zone
[ 0.720289] hwmon hwmon4: temp1_input not attached to any thermal zone
[ 0.730931] hwmon hwmon5: temp1_input not attached to any thermal zone
[ 0.738513] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 0.749679] mvpp2 f6000000.ethernet: using 8 per-cpu buffers
[ 0.762090] usbcore: registered new interface driver usb-storage
[ 0.768141] i2c_dev: i2c /dev entries driver
[ 0.774102] rtc-ds1307 1-0032: 'wakeup-source' is set, request for an IRQ is disabled!
[ 0.786087] rtc rtc0: invalid alarm value: 2023-06-10T30:30:10
[ 0.792011] rtc-ds1307 1-0032: registered as rtc0
[ 0.798152] rtc-ds1307 1-0032: setting system clock to 2023-06-29T12:32:10 UTC (1688041930)
[ 0.820432] sdhci: Secure Digital Host Controller Interface driver
[ 0.826645] sdhci: Copyright(c) Pierre Ossman
[ 0.831083] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.837261] NET: Registered PF_INET6 protocol family
[ 0.842539] Segment Routing with IPv6
[ 0.846226] In-situ OAM (IOAM) with IPv6
[ 0.850195] NET: Registered PF_PACKET protocol family
[ 0.855278] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 0.862279] mmc0: SDHCI controller on f06e0000.mmc [f06e0000.mmc] using ADMA 64-bit
[ 0.868334] 8021q: 802.1Q VLAN Support v1.8
[ 0.882931] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.892723] armada8k-pcie f2600000.pcie: host bridge /cp0/pcie@f2600000 ranges:
[ 0.900085] armada8k-pcie f2600000.pcie: MEM 0x00c0000000..0x00dfefffff -> 0x00c0000000
[ 0.908592] armada8k-pcie f2600000.pcie: iATU unroll: disabled
[ 0.914447] armada8k-pcie f2600000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 4G
[ 0.922417] armada8k-pcie f2600000.pcie: PCIe Gen.3 x2 link up
[ 0.928307] armada8k-pcie f2600000.pcie: PCI host bridge to bus 0000:00
[ 0.934948] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.940460] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xdfefffff]
[ 0.947378] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
[ 0.953415] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 0.959742] pci 0000:00:00.0: supports D1 D2
[ 0.964029] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.970602] pci 0000:01:00.0: [15b7:5008] type 00 class 0x010802
[ 0.976739] pci 0000:01:00.0: reg 0x10: [mem 0xc0000000-0xc0003fff 64bit]
[ 0.983712] pci 0000:01:00.0: reg 0x20: [mem 0xc0004000-0xc00040ff 64bit]
[ 0.991096] pci 0000:01:00.0: 15.752 Gb/s available PCIe bandwidth, limited by 8.0 GT/s PCIe x2 link at 0000:00:00.0 (capable of 31.504 Gb/s with 8.0 GT/s PCIe x4 link)
[ 1.006474] pci 0000:00:00.0: BAR 0: assigned [mem 0xc0000000-0xc00fffff]
[ 1.013294] pci 0000:00:00.0: BAR 8: assigned [mem 0xc0100000-0xc01fffff]
[ 1.020114] pci 0000:01:00.0: BAR 0: assigned [mem 0xc0100000-0xc0103fff 64bit]
[ 1.027499] pci 0000:01:00.0: BAR 4: assigned [mem 0xc0104000-0xc01040ff 64bit]
[ 1.034881] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 1.040130] pci 0000:00:00.0: bridge window [mem 0xc0100000-0xc01fffff]
[ 1.047184] pcieport 0000:00:00.0: AER: enabled with IRQ 50
[ 1.052917] nvme nvme0: pci function 0000:01:00.0
[ 1.057823] ahci f6540000.sata: supply ahci not found, using dummy regulator
[ 1.064954] ahci f6540000.sata: supply phy not found, using dummy regulator
[ 1.065259] nvme nvme0: allocated 32 MiB host memory buffer.
[ 1.071994] platform f6540000.sata:sata-port@0: supply target not found, using dummy regulator
[ 1.080872] nvme nvme0: 4/0/0 default/read/poll queues
[ 1.086327] platform f6540000.sata:sata-port@1: supply target not found, using dummy regulator
[ 1.093774] nvme0n1: p1
[ 1.101253] ahci f6540000.sata: masking port_map 0x3 -> 0x3
[ 1.107164] mmc0: new HS400 MMC card at address 0001
[ 1.108267] ahci f6540000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[ 1.113454] mmcblk0: mmc0:0001 004GA0 3.69 GiB
[ 1.121779] ahci f6540000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[ 1.127829] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 1.134964] scsi host0: ahci
[ 1.141967] GPT:7372866 != 7733247
[ 1.145131] scsi host1: ahci
[ 1.148268] GPT:Alternate GPT header not at the end of the disk.
[ 1.148269] GPT:7372866 != 7733247
[ 1.151201] ata1: SATA max UDMA/133 mmio [mem 0xf6540000-0xf656ffff] port 0x100 irq 56
[ 1.157190] GPT: Use GNU Parted to correct GPT errors.
[ 1.157203] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 1.160603] ata2: SATA max UDMA/133 mmio [mem 0xf6540000-0xf656ffff] port 0x180 irq 56
[ 1.168876] mmcblk0boot0: mmc0:0001 004GA0 2.00 MiB
[ 1.174001] mvpp2 f2000000.ethernet: using 8 per-cpu buffers
[ 1.178053] mmcblk0boot1: mmc0:0001 004GA0 2.00 MiB
[ 1.196412] mvpp2 f2000000.ethernet eth0: Using firmware node mac address 24:5e:be:64:93:75
[ 1.196582] mmcblk0rpmb: mmc0:0001 004GA0 512 KiB, chardev (248:0)
[ 1.204138] mvpp2 f2000000.ethernet eth1: Using firmware node mac address 24:5e:be:64:93:76
[ 1.227163] mvpp2 f2000000.ethernet eth2: Using firmware node mac address 24:5e:be:64:93:77
[ 1.314292] mvpp2 f6000000.ethernet: using 8 per-cpu buffers
[ 1.333694] mvpp2 f6000000.ethernet eth3: Using firmware node mac address 24:5e:be:64:93:78
[ 1.344853] mvpp2 f6000000.ethernet eth4: Using firmware node mac address 24:5e:be:64:93:79
[ 1.355968] mvpp2 f6000000.ethernet eth5: Using firmware node mac address 24:5e:be:64:93:7a
[ 1.476573] mvpp2 f6000000.ethernet: Minimum of CM3 firmware 18.09 and chip revision B0 required for flow control
[ 1.498042] ata2: SATA link down (SStatus 0 SControl 300)
[ 1.503487] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.506147] xhci-hcd f6510000.usb: xHCI Host Controller
[ 1.514163] xhci-hcd f6510000.usb: new USB bus registered, assigned bus number 1
[ 1.521643] xhci-hcd f6510000.usb: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[ 1.530835] xhci-hcd f6510000.usb: irq 44, io mem 0xf6510000
[ 1.536572] xhci-hcd f6510000.usb: xHCI Host Controller
[ 1.541822] xhci-hcd f6510000.usb: new USB bus registered, assigned bus number 2
[ 1.549251] xhci-hcd f6510000.usb: Host supports USB 3.0 SuperSpeed
[ 1.555720] hub 1-0:1.0: USB hub found
[ 1.559499] hub 1-0:1.0: 1 port detected
[ 1.563524] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.571752] hub 2-0:1.0: USB hub found
[ 1.575525] hub 2-0:1.0: 1 port detected
[ 1.582714] EXT4-fs (mmcblk0p3): warning: mounting unchecked fs, running e2fsck is recommended
[ 1.592407] EXT4-fs (mmcblk0p3): mounted filesystem without journal. Quota mode: disabled.
[ 1.600727] VFS: Mounted root (ext4 filesystem) on device 179:3.
[ 1.606854] Freeing unused kernel memory: 448K
[ 1.686912] Run /sbin/init as init process
[ 1.691024] with arguments:
[ 1.691025] /sbin/init
[ 1.691027] with environment:
[ 1.691028] HOME=/
[ 1.691030] TERM=linux
[ 1.691031] mangled_fs=ext4
[ 1.707781] init: Console is alive
[ 1.798090] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 1.841462] Key type encrypted registered
[ 1.849219] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[ 1.859978] raid6: skipped pq benchmark and selected neonx8
[ 1.865579] raid6: using neon recovery algorithm
[ 1.870599] xor: measuring software checksum speed
[ 1.876333] 8regs : 10662 MB/sec
[ 1.881607] 32regs : 11438 MB/sec
[ 1.887197] arm64_neon : 8122 MB/sec
[ 1.891570] xor: using function: 32regs (11438 MB/sec)
[ 1.908099] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 1.919402] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 1.936814] init: - preinit -
[ 2.033492] mvpp2 f2000000.ethernet eth1: PHY [f212a600.mdio-mii:00] driver [Aquantia AQR112C] (irq=POLL)
[ 2.044438] mvpp2 f2000000.ethernet eth1: configuring for phy/2500base-x link mode
[ 4.190555] mount_root: loading kmods from internal overlay
[ 4.206184] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 4.213865] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 4.947571] block: attempting to load /etc/config/fstab
[ 4.953362] block: unable to load configuration (fstab: Entry not found)
[ 4.960178] block: no usable configuration
[ 4.994689] EXT4-fs (mmcblk0p7): recovery complete
[ 5.000139] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Quota mode: disabled.
[ 5.721581] block: attempting to load /etc/config/fstab
[ 5.726878] block: unable to load configuration (fstab: Entry not found)
[ 5.733633] block: no usable configuration
[ 5.738090] mount_root: switching to ext4 overlay
[ 5.744288] overlayfs: "xino" feature enabled using 32 upper inode bits.
[ 5.776298] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Quota mode: disabled.
[ 5.787446] EXT4-fs (mmcblk0p1): unmounting filesystem.
[ 5.794001] urandom-seed: Seeding with /etc/urandom.seed
[ 6.208549] mvpp2 f2000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 6.216517] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 6.284969] mvpp2 f2000000.ethernet eth1: Link is Down
[ 6.301275] procd: - early -
[ 6.818283] procd: - ubus -
[ 7.171455] procd: - init -
[ 7.328240] urngd: v1.0.2 started.
[ 8.528526] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.565544] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[ 8.571575] NET: Registered PF_KEY protocol family
[ 8.577082] Initializing XFRM netlink socket
[ 8.582447] tun: Universal TUN/TAP device driver, 1.6
[ 8.593582] ipip: IPv4 and MPLS over IPv4 tunneling driver
[ 8.604175] sctp: Hash tables configured (bind 256/256)
[ 8.610488] IPv4 over IPsec tunneling driver
[ 8.617309] gre: GRE over IPv4 demultiplexor driver
[ 8.622616] ip_gre: GRE over IPv4 tunneling driver
[ 8.628879] ip6_gre: GRE over IPv6 tunneling driver
[ 8.637790] ksmbd: The ksmbd server is experimental
[ 8.656139] GACT probability on
[ 8.659620] Mirror/redirect action on
[ 8.665222] u32 classifier
[ 8.667949] input device check on
[ 8.671623] Actions configured
[ 8.678438] fuse: init (API version 7.37)
[ 8.690002] Bridge firewalling registered
[ 8.727385] usbcore: registered new interface driver ums-alauda
[ 8.733592] usbcore: registered new interface driver ums-cypress
[ 8.739897] usbcore: registered new interface driver ums-datafab
[ 8.746175] usbcore: registered new interface driver ums-freecom
[ 8.752475] usbcore: registered new interface driver ums-isd200
[ 8.758685] usbcore: registered new interface driver ums-jumpshot
[ 8.765050] usbcore: registered new interface driver ums-karma
[ 8.771198] usbcore: registered new interface driver ums-sddr09
[ 8.777423] usbcore: registered new interface driver ums-sddr55
[ 8.783644] usbcore: registered new interface driver ums-usbat
[ 8.790334] usbcore: registered new interface driver usbserial_generic
[ 8.796909] usbserial: USB Serial support registered for generic
[ 8.803382] IPsec XFRM device driver
[ 8.817520] xt_time: kernel timezone is -0000
[ 8.824513] PPP generic driver version 2.4.2
[ 8.829295] NET: Registered PF_PPPOX protocol family
[ 8.835106] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[ 8.842976] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld Jason@zx2c4.com. All Rights Reserved.
[ 8.853675] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 10.638239] BTRFS: device fsid fd05369a-95c9-461e-a27d-2be571f5f4fa devid 1 transid 78 /dev/nvme0n1p1 scanned by block (1555)
[ 10.654780] BTRFS info (device nvme0n1p1): using crc32c (crc32c-generic) checksum algorithm
[ 10.663183] BTRFS info (device nvme0n1p1): using free space tree
[ 10.670751] BTRFS info (device nvme0n1p1): enabling ssd optimizations
[ 12.137743] mvpp2 f2000000.ethernet eth1: PHY [f212a600.mdio-mii:00] driver [Aquantia AQR112C] (irq=POLL)
[ 12.148531] mvpp2 f2000000.ethernet eth1: configuring for phy/2500base-x link mode
[ 12.179818] br-lan: port 1(eth1) entered blocking state
[ 12.185073] br-lan: port 1(eth1) entered disabled state
[ 12.190512] device eth1 entered promiscuous mode
[ 12.200577] mvpp2 f2000000.ethernet eth2: PHY [f212a600.mdio-mii:08] driver [Aquantia AQR112R] (irq=POLL)
[ 12.211366] mvpp2 f2000000.ethernet eth2: configuring for phy/2500base-x link mode
[ 12.242324] br-lan: port 2(eth2) entered blocking state
[ 12.247645] br-lan: port 2(eth2) entered disabled state
[ 12.253130] device eth2 entered promiscuous mode
[ 12.257855] br-lan: port 2(eth2) entered blocking state
[ 12.263105] br-lan: port 2(eth2) entered forwarding state
[ 12.268937] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 12.278514] mvpp2 f6000000.ethernet eth3: PHY [f612a600.mdio-mii:02] driver [Aquantia AQR112] (irq=POLL)
[ 12.289214] mvpp2 f6000000.ethernet eth3: configuring for phy/2500base-x link mode
[ 12.320392] br-lan: port 3(eth3) entered blocking state
[ 12.325651] br-lan: port 3(eth3) entered disabled state
[ 12.331130] device eth3 entered promiscuous mode
[ 12.335842] br-lan: port 3(eth3) entered blocking state
[ 12.341106] br-lan: port 3(eth3) entered forwarding state
[ 12.349556] mvpp2 f6000000.ethernet eth4: PHY [f612a600.mdio-mii:00] driver [Aquantia AQR112C] (irq=POLL)
[ 12.360352] mvpp2 f6000000.ethernet eth4: configuring for phy/2500base-x link mode
[ 12.392372] br-lan: port 4(eth4) entered blocking state
[ 12.397642] br-lan: port 4(eth4) entered disabled state
[ 12.403432] device eth4 entered promiscuous mode
[ 12.408173] br-lan: port 4(eth4) entered blocking state
[ 12.413422] br-lan: port 4(eth4) entered forwarding state
[ 12.421876] mvpp2 f6000000.ethernet eth5: PHY [f612a600.mdio-mii:08] driver [Aquantia AQR112R] (irq=POLL)
[ 12.432660] mvpp2 f6000000.ethernet eth5: configuring for phy/2500base-x link mode
[ 12.464100] br-lan: port 5(eth5) entered blocking state
[ 12.469363] br-lan: port 5(eth5) entered disabled state
[ 12.474907] device eth5 entered promiscuous mode
[ 12.479645] br-lan: port 5(eth5) entered blocking state
[ 12.484892] br-lan: port 5(eth5) entered forwarding state
[ 12.494226] mvpp2 f2000000.ethernet eth0: PHY [f212a600.mdio-mii:02] driver [Aquantia AQR112] (irq=POLL)
[ 12.504924] mvpp2 f2000000.ethernet eth0: configuring for phy/2500base-x link mode
[ 13.169787] br-lan: port 2(eth2) entered disabled state
[ 13.180706] br-lan: port 3(eth3) entered disabled state
[ 13.191727] br-lan: port 4(eth4) entered disabled state
[ 13.202682] br-lan: port 5(eth5) entered disabled state
[ 16.690469] mvpp2 f2000000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 16.698777] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.193248] ksmbd: The ksmbd server is experimental
[ 17.458610] mvpp2 f2000000.ethernet eth1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 17.466589] br-lan: port 1(eth1) entered blocking state
[ 17.471856] br-lan: port 1(eth1) entered forwarding state
[ 17.658705] mvpp2 f6000000.ethernet eth5: Link is Up - 1Gbps/Full - flow control rx/tx
[ 17.668354] br-lan: port 5(eth5) entered blocking state
[ 17.673622] br-lan: port 5(eth5) entered forwarding state
[ 18.859727] overlayfs: filesystem on '/opt/docker/check-overlayfs-support3912363760/upper' not supported as upperdir
[ 22.778645] mvpp2 f6000000.ethernet eth4: Link is Up - 1Gbps/Full - flow control rx/tx
[ 22.786799] br-lan: port 4(eth4) entered blocking state
[ 22.792064] br-lan: port 4(eth4) entered forwarding state
[ 27.791891] overlayfs: failed to retrieve lower fileattr (etc/resolv.conf, err=-6)
[ 373.179274] mvpp2 f6000000.ethernet eth3: Link is Up - 1Gbps/Full - flow control rx/tx
[ 373.187246] br-lan: port 3(eth3) entered blocking state
[ 373.192503] br-lan: port 3(eth3) entered forwarding state
[ 5444.001805] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[ 7732.643407] mvpp2 f6000000.ethernet eth3: bad rx status 1204851 (crc error), size=1485
[ 9373.950034] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[14624.203505] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[23983.901586] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[24073.430004] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[24583.661075] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[26743.939747] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[36821.358627] mvpp2 f2000000.ethernet eth0: bad rx status 12008518 (crc error), size=76
[37693.727169] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[41143.284780] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[41324.082534] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[44233.876397] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[44353.714901] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[45373.552179] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[50053.564124] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[61363.172685] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[64693.206277] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[69643.059368] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[70273.531118] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[79392.930967] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[86922.912048] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[93854.223222] mvpp2 f2000000.ethernet eth0: bad rx status 17008518 (crc error), size=92
[99792.351270] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[105402.768007] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[106782.909723] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[112903.143922] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[113503.136579] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[114492.574241] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[119352.355706] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[120192.255650] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[122352.871654] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[124572.289863] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[137231.957054] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[140982.631637] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[145842.012242] iei-wt61p803-puzzle serial0-0: Command reply receive timeout
[149051.891368] iei-wt61p803-puzzle serial0-0: Command reply receive timeout

@stklcode
Copy link
Contributor Author

stklcode commented Jul 7, 2023

Rebased onto current main branch with 6.1.37 6.1.38 update. All patches refreshed automatically.

@PedroM4
Copy link

PedroM4 commented Jul 8, 2023

how can I select the 6.1 kernel? I cloned this repo, enabled experimental features on make menuconfig but I cant find the use testing kernel version option.
I flashed the resulting image on my omnia but kernel is still 5.15.120.
Trying to figure out if the igmp bug ( mvebu or omnia related ) introduced with kernel 5.15.86 is solved on kernel 6.1.x

@PedroM4
Copy link

PedroM4 commented Jul 8, 2023

I was not pulling the correct branch.
Unfortunately kernel 6.1.38 does not solve the igmp issue introduced in 5.15.86.

@zcracker
Copy link

zcracker commented Jul 8, 2023

how can I select the 6.1 kernel? I cloned this repo, enabled experimental features on make menuconfig but I cant find the use testing kernel version option.

I flashed the resulting image on my omnia but kernel is still 5.15.120.

Trying to figure out if the igmp bug ( mvebu or omnia related ) introduced with kernel 5.15.86 is solved on kernel 6.1.x

modfiy makefile

KERNEL_PATCHVER:=5.15
KERNEL_TESTING_PATCHVER:=6.1

@damnms
Copy link

damnms commented Jul 29, 2023

if this could be rebased to master then i would test it for solidrun clearfog pro

@damnms
Copy link

damnms commented Jul 29, 2023

i changed target/linux/mvebu/Makefile to
KERNEL_PATCHVER:=5.15
KERNEL_TESTING_PATHVER:=6.1
do i have to do anything else? it downloaded only the 5.1 kernel (in dl/)

edit: dang... same error as pedrom, was on main :P

@damnms
Copy link

damnms commented Jul 29, 2023

i am unable to build:

CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_recv.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.o
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.c: In function 'rtw_mfree_stainfo':
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.c:210:24: warning: the comparison will always evaluate as 'true' for the address of 'lock' will never be NULL [-Waddress]
210 |         if(&psta->lock != NULL)
    |                        ^~
In file included from /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/include/drv_types.h:109,
               from /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sta_mgt.c:22:
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/include/sta_info.h:95:17: note: 'lock' declared here
 95 |         _lock   lock;
    |                 ^~~~
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_ap.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_xmit.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_p2p.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_tdls.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_br_ext.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_iol.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_sreset.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_btcoex.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_beamforming.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/rtw_odm.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/core/efuse/rtw_efuse.o
CC [M]  /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.o
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c: In function 'rtw_change_ifname':
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c:2212:28: error: passing argument 1 of '_rtw_memcpy' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
2212 |         _rtw_memcpy(pnetdev->dev_addr, padapter->eeprompriv.mac_addr, ETH_ALEN);
    |                     ~~~~~~~^~~~~~~~~~
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c:811:24: note: expected 'void *' but argument is of type 'const unsigned char *'
811 | void _rtw_memcpy(void* dst, const void* src, u32 sz)
    |                  ~~~~~~^~~
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c: In function 'rtw_random32':
/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.c:2339:16: error: implicit declaration of function 'prandom_u32'; did you mean 'prandom_u32_max'? [-Werror=implicit-function-declaration]
2339 |         return prandom_u32();
    |                ^~~~~~~~~~~
    |                prandom_u32_max
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:250: /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/os_dep/osdep_service.o] Error 1
make[4]: *** [Makefile:2012: /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596] Error 2
make[4]: Leaving directory '/home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/linux-6.1.41'
make[3]: *** [Makefile:58: /home/oli/openwrt61/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/linux-mvebu_cortexa9/rtl8812au-ct-2021-11-07-39df5596/.built] Error 2
make[3]: Leaving directory '/home/oli/openwrt61/openwrt/package/kernel/rtl8812au-ct'
time: package/kernel/rtl8812au-ct/compile#7.46#1.19#8.68
  ERROR: package/kernel/rtl8812au-ct failed to build.
make[2]: *** [package/Makefile:120: package/kernel/rtl8812au-ct/compile] Error 1
make[2]: Leaving directory '/home/oli/openwrt61/openwrt'
make[1]: *** [package/Makefile:114: /home/oli/openwrt61/openwrt/staging_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/oli/openwrt61/openwrt'
make: *** [/home/oli/openwrt61/openwrt/include/toplevel.mk:232: world] Fehler 2

@stklcode
Copy link
Contributor Author

stklcode commented Jul 29, 2023

Looks like the rtl8812 drivers fail to compile. At least that's not a default package for any mvebu device, so probably not the right place to discuss this issue.

That particular issue is already addressed in #12746
I'm not familiar with this (just found it via search and briefly skimmed the thread), maybe you're lucky and just need to cherry-pick that change, too.

@damnms
Copy link

damnms commented Jul 30, 2023

i have a clearfog solidrun where i can put in different m2 wifi cards or usb cards
maybe not a default package but imo if it fails because its a 6.x kernel, its an issue, because if 6.x is default for mvebu, my wifi will be gone ;)
i will have a look at your referenced PR, thanks

without that driver it works
LEDs are blinking as expected, all looks good, thanks!

Bildschirmfoto_2023-07-30_10-25-04

@stklcode
Copy link
Contributor Author

I understand the issue, I have MT76 Wi-Fi cards, an LTE modem and some other non-standard periphery as well that, but that does not make any of them an mvebu-specific issue. It’s an out-of-tree driver after all, so it can and should be fixed separately. For the Linksys WRT-series even the standard driver (mwlwifi) is not ready for 6.1 in the main tree.

6.1 migration has just begun, so you very likely will find quite a few drivers across the tree that need additional work. If you need one of them, you could patch the driver, test and provide feedback for already present patches or wait until maybe someone will fix it.

because if 6.x is default for mvebu

No, that’s not true. Even if this PR will get merged, default is still 5.15. We only introduce 6.1 as testing kernel.

@damnms
Copy link

damnms commented Jul 30, 2023

ah i see, i thought 6.x is going to be default soon for mvebu.
in that case, all good ;)

@stklcode stklcode force-pushed the mvebu-61 branch 2 times, most recently from f1198c1 to 74f9a2b Compare July 30, 2023 18:58
@olimpiumarius
Copy link

@anomeome please build another image with PPPoE

@lynxis
Copy link
Member

lynxis commented Aug 2, 2023

I've merged the PR.

@lynxis lynxis closed this Aug 2, 2023
@lynxis lynxis mentioned this pull request Aug 2, 2023
1 task
@lynxis
Copy link
Member

lynxis commented Aug 2, 2023

For further discussion please use #13213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:kernel:mvebu:all:testing kernel pull request/issue with Linux kernel related changes target/mvebu pull request/issue for mvebu target
Projects
None yet
Development

Successfully merging this pull request may close these issues.