NanoPi R5C | 1st Ethernet interface is randomly missing
Creating a bug report/issue
- [x] I have searched the existing open and closed issues
Required Information
-
DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=13 G_DIETPI_VERSION_RC=2 G_GITBRANCH='master' G_GITOWNER='MichaIng' G_LIVE_PATCH_STATUS[0]='not applicable' G_LIVE_PATCH_STATUS[1]='not applied' G_LIVE_PATCH_STATUS[2]='not applied' -
Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN -
bookworm
-
Kernel version |
uname -a -
6.12.25-current-rockchip64 #1 SMP PREEMPT Fri Apr 25 08:48:08 UTC 2025 aarch64 GNU/Linux -
SBC model |
echo $G_HW_MODEL_NAMEor (EG: RPi3) -
NanoPi R5S/R5C (aarch64)
-
Power supply used | (EG: 5V 1A RAVpower)
-
5V4A
-
SD card used | (EG: SanDisk ultra) emmc
Additional Information (if applicable)
- Software title | (EG: Nextcloud)
- Was the software title installed freshly or updated/migrated?
- Can this issue be replicated on a fresh installation of DietPi?
- Bug report ID |
echo $G_HW_UUID
Steps to reproduce
After the latest update after a reboot, my network port has switched form the LAN port to the WAN port. I am not sure if this happened because of the update or just a coincidence as I haven't rebooted this device for a while. However, I had my ethernet cable plugged into the LAN port and set to eth0 . After reboot, I had to switch the cable to the WAN port for it to get access to the network. The interesting part is that it's still eth0.
I do have a custom file for a static MAC address because these devices don't have an assigned MAC and it randomizes with every reboot. the MAC address didn't change although the cable is not plugged into the WAN port.
Seems that eth0 and eth1 were switched around and the WAN was assigned priority. (On a side note, I am not sure if in the past I had forced eth0 to be the LAN port)
How do I switch that back. I would like to continue to use the LAN port for my eth0.
Expected behaviour
LAN should maintain eth0
Actual behaviour
WAN port is taking over eth0
Extra details
:~# lspci
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
lshw -C network
*-network DISABLED
description: Wireless interface
product: RTL8822CE 802.11ac PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: wlan0
version: 00
serial: 48:8f:4c:d4:76:14
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw_8822ce driverversion=6.12.25-current-rockchip64 firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:88 ioport:1000(size=256) memory:f4200000-f420ffff
*-network
description: Ethernet interface
product: RTL8125 2.5GbE Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0002:01:00.0
logical name: eth0
version: 05
serial: 00:70:3d:f0:e4:0e
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.12.25-current-rockchip64 duplex=full firmware=rtl8125b-2_0.0.2 07/13/20 ip=192.168.0.133 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:79 ioport:200000(size=256) memory:f0200000-f020ffff memory:f0210000-f0213fff
echo /sys/class/net/*
/sys/class/net/eth0
/sys/class/net/lo
/sys/class/net/wlan0
Hmm, indeed LAN should be eth0 and WAN eth1. Let me see whether things changed on the R5S, as I do not own an R5C.
.... yeah, WAN and LAN2 ports swapped interfaces on R5S ... how annoying. This turns into an argument to switch to "predictable" network interface names. However, I do already have a code block to swap those names in /etc/network/interfaces* when migrating from vendor to mainline Linux, so for now we can do the same on DietPi update.
It is theoretically possible to swap the names of the interfaces via udev rules, but it is pretty annoying to do. Here is something we do on Orange Pi 5 Plus with vendor kernel, as interfaces are/were randomly applied, possible swapping each reboot:
SUBSYSTEM=="net", KERNEL=="eth0", KERNELS=="0004:41:00.0", RUN:="/bin/true"
SUBSYSTEM=="net", KERNEL=="eth1", KERNELS=="0003:31:00.0", NAME="to_eth0", RUN:="/bin/true"
SUBSYSTEM=="net", KERNEL=="to_eth0", RUN="/bin/ip l s dev eth0 name eth1", RUN+="/bin/ip l s dev to_eth0 name eth0", RUN+="/bin/udevadm trigger -c add /sys/class/net/eth0 /sys/class/net/eth1"
Some pretty conditional rotation, with intermediate interface names needing two stages, to assure interface names remain the same in the end, regardless in which order and which way round they are detected and assigned in the first place. I would certainly avoid such mess if things remain consistent across reboot, and just switch eth0 and eth1. I mean it is only two words.
Hmm, I need to check how to solve this best. Will take the kernel off the APT repository for those two SBCs for now.
Yeah the thing with the random MAC addresses is annoying. Usually this can be solved by assigning ethernet* aliases for the respective GMAC nodes, so U-Boot picks those up and assigns a static MAC based on hardware info. But the 2.5 Gbit ports are both assigned to the same GMAC node, having two sub nodes instead. On the R5S, compare the gmac0 symbols and the gmac1 ones:
/proc/device-tree/__symbols__/gmac0
/proc/device-tree/__symbols__/gmac0_clkinout
/proc/device-tree/__symbols__/gmac0_miim
/proc/device-tree/__symbols__/gmac0_mtl_rx_setup
/proc/device-tree/__symbols__/gmac0_mtl_tx_setup
/proc/device-tree/__symbols__/gmac0_rgmii_bus
/proc/device-tree/__symbols__/gmac0_rgmii_bus_level3
/proc/device-tree/__symbols__/gmac0_rgmii_clk
/proc/device-tree/__symbols__/gmac0_rgmii_clk_level2
/proc/device-tree/__symbols__/gmac0_rx_bus2
/proc/device-tree/__symbols__/gmac0_rx_er
/proc/device-tree/__symbols__/gmac0_stmmac_axi_setup
/proc/device-tree/__symbols__/gmac0_tx_bus2
/proc/device-tree/__symbols__/gmac0_tx_bus2_level3
/proc/device-tree/__symbols__/gmac1
/proc/device-tree/__symbols__/gmac1_mtl_rx_setup
/proc/device-tree/__symbols__/gmac1_mtl_tx_setup
/proc/device-tree/__symbols__/gmac1_stmmac_axi_setup
/proc/device-tree/__symbols__/gmac1m0_clkinout
/proc/device-tree/__symbols__/gmac1m0_miim
/proc/device-tree/__symbols__/gmac1m0_rgmii_bus
/proc/device-tree/__symbols__/gmac1m0_rgmii_bus_level3
/proc/device-tree/__symbols__/gmac1m0_rgmii_clk
/proc/device-tree/__symbols__/gmac1m0_rgmii_clk_level2
/proc/device-tree/__symbols__/gmac1m0_rx_bus2
/proc/device-tree/__symbols__/gmac1m0_rx_er
/proc/device-tree/__symbols__/gmac1m0_tx_bus2
/proc/device-tree/__symbols__/gmac1m0_tx_bus2_level3
/proc/device-tree/__symbols__/gmac1m1_clkinout
/proc/device-tree/__symbols__/gmac1m1_miim
/proc/device-tree/__symbols__/gmac1m1_rgmii_bus
/proc/device-tree/__symbols__/gmac1m1_rgmii_bus_level3
/proc/device-tree/__symbols__/gmac1m1_rgmii_clk
/proc/device-tree/__symbols__/gmac1m1_rgmii_clk_level2
/proc/device-tree/__symbols__/gmac1m1_rx_bus2
/proc/device-tree/__symbols__/gmac1m1_rx_er
/proc/device-tree/__symbols__/gmac1m1_tx_bus2
/proc/device-tree/__symbols__/gmac1m1_tx_bus2_level3
You see gmac0 (which is the 1 Gbps WAN port on the R5S) has RGMII related symbols etc all right at the gmac0 node, so the gmac0 symbol is assigned as ethernet0 alias, and U-Boot assigns a static IP to it.
The gmac1 node however is split into gmac1m0 and gmac1m1. But those two are not individual GMAC nodes that could be used as alias for U-Boot, but they share parts of the parent node. Not sure whether it is theoretically possible to link all sub nodes which belong to the same Ethernet port into one virtual parent node, and use that for the alias(es), but I guess it is not so easy, otherwise someone would have done it already, most likely.
How did I implement the workaround? did I miss the steps?
One more observation, I have a few systems running this. On some systems the update to 9.13.2 didn't change anything and both eth0 and eth1 are listed.
On the system that still eth0 connected to the LAN and eth1 is WAN, this is my ethernet devices
ls -al /sys/class/net/eth*
lrwxrwxrwx 1 root root 0 May 9 16:07 /sys/class/net/eth0 -> ../../devices/platform/3c0400000.pcie/pci0001:00/0001:00:00.0/0001:01:00.0/net/eth0
lrwxrwxrwx 1 root root 0 May 9 16:07 /sys/class/net/eth1 -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/eth1
and the lspci lists both interfaces:
lspci
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0001:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
On the system that where the eth0 has become the WAN, this is the ethernet device list:
ls -al /sys/class/net/eth*
lrwxrwxrwx 1 root root 0 May 27 14:10 /sys/class/net/eth0 -> ../../devices/platform/3c0800000.pcie/pci0002:00/0002:00:00.0/0002:01:00.0/net/eth0
lspci
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
so the second eth is not listed at all. Mind you before the update it was working so I can't blame it on bad hardware. Not sure if this has to do with it.
How did I implement the workaround? did I miss the steps?
You mean for the random MAC? Probably like this? https://github.com/MichaIng/DietPi/issues/6565#issuecomment-1694492893 We could actually do this automatically for the effected Ethernet adapters on these SBCs, just based on the MAC address they have on first boot session.
so the second eth is not listed at all.
True it was not present in your first outputs above either ๐ค. On my R5S, with the new kernel, all 3 adapters work, just with switched interface names. Can you show the kernel output from an affected device?
dmesg
How did I implement the workaround? did I miss the steps?
I meant if this was way to re-swap LAN and WAN. For the static mac i have a 10-staticmac in the /etc/network/interfaces.d/ directory that sets the MAC address
You mean for the random MAC? Probably like this? #6565 (comment) We could actually do this automatically for the effected Ethernet adapters on these SBCs, just based on the MAC address they have on first boot session.
so the second eth is not listed at all.
True it was not present in your first outputs above either ๐ค. On my R5S, with the new kernel, all 3 adapters work, just with switched interface names. Can you show the kernel output from an affected device?
It might be worth noting that I have two systems that are having these issues and both of them have an extra WiFi card installed into the PCIE slot. The systems with no issues have no WiFi cards. This might be worth spinning up more systems to test this.
dmesg (system has WiFi)
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 0.000000] Linux version 6.12.25-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Fri Apr 25 08:48:08 UTC 2025
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: FriendlyElec NanoPi R5C
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1ff763f80-0x1ff7666ff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000200000-0x00000000efffffff]
[ 0.000000] node 0: [mem 0x00000001f0000000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
[ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[ 0.000000] cma: Reserved 128 MiB at 0x00000000e3c00000 on node -1
[ 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: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 34 pages/cpu s99352 r8192 d31720 u139264
[ 0.000000] pcpu-alloc: s99352 r8192 d31720 u139264 alloc=34*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: root=UUID=ebd59027-0204-4357-8d68-38a506fe86a9 rootfstype=ext4 rootwait console=ttyS2,1500000 console=tty1 consoleblank=0 coherent_pool=2M usb-storage.quirks= net.ifnames=0
[ 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] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1048064
[ 0.000000] Policy zone: Normal
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000dfc00000-0x00000000e3c00000] (64MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 320 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: MBI range [296:319]
[ 0.000000] GICv3: Using MBI frame 0x00000000fd410000
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=1
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001368] Console: colour dummy device 80x25
[ 0.001389] printk: legacy console [tty1] enabled
[ 0.002347] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002395] pid_max: default: 32768 minimum: 301
[ 0.002531] LSM: initializing lsm=capability,yama,apparmor
[ 0.002648] Yama: becoming mindful.
[ 0.002995] AppArmor: AppArmor initialized
[ 0.003175] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003230] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.031699] rcu: Hierarchical SRCU implementation.
[ 0.031753] rcu: Max phase no-delay instances is 1000.
[ 0.032279] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.036731] EFI services will not be available.
[ 0.039782] smp: Bringing up secondary CPUs ...
[ 0.056211] Detected VIPT I-cache on CPU1
[ 0.056328] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[ 0.056393] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[ 0.068054] Detected VIPT I-cache on CPU2
[ 0.068154] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[ 0.068209] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[ 0.076368] Detected VIPT I-cache on CPU3
[ 0.076470] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
[ 0.076524] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[ 0.076721] smp: Brought up 1 node, 4 CPUs
[ 0.076871] SMP: Total of 4 processors activated.
[ 0.076890] CPU: All CPU(s) started at EL2
[ 0.076908] CPU features: detected: 32-bit EL0 Support
[ 0.076925] CPU features: detected: 32-bit EL1 Support
[ 0.076947] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.076974] CPU features: detected: Common not Private translations
[ 0.076995] CPU features: detected: CRC32 instructions
[ 0.077021] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.077041] CPU features: detected: LSE atomic instructions
[ 0.077060] CPU features: detected: Privileged Access Never
[ 0.077077] CPU features: detected: RAS Extension Support
[ 0.077100] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.077207] alternatives: applying system-wide alternatives
[ 0.082423] Memory: 3856812K/4192256K available (17088K kernel code, 2938K rwdata, 11560K rodata, 5312K init, 792K bss, 199976K reserved, 131072K cma-reserved)
[ 0.084403] devtmpfs: initialized
[ 0.107649] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.107747] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.112237] 23280 pages in range for non-PLT usage
[ 0.112267] 514800 pages in range for PLT usage
[ 0.112681] pinctrl core: initialized pinctrl subsystem
[ 0.113658] DMI not present or invalid.
[ 0.118647] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.120841] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.122150] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.123317] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.123479] audit: initializing netlink subsys (disabled)
[ 0.123943] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
[ 0.127628] thermal_sys: Registered thermal governor 'fair_share'
[ 0.127648] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.127680] thermal_sys: Registered thermal governor 'step_wise'
[ 0.127700] thermal_sys: Registered thermal governor 'user_space'
[ 0.127835] cpuidle: using governor menu
[ 0.128196] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.128447] ASID allocator initialised with 32768 entries
[ 0.128820] Serial: AMBA PL011 UART driver
[ 0.145148] /vop@fe040000: Fixed dependency cycle(s) with /hdmi@fe0a0000
[ 0.145310] /hdmi@fe0a0000: Fixed dependency cycle(s) with /vop@fe040000
[ 0.150831] /pcie@fe260000: Fixed dependency cycle(s) with /pcie@fe260000/legacy-interrupt-controller
[ 0.170996] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.171669] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000
[ 0.172191] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.172634] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000
[ 0.173070] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.173471] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000
[ 0.174036] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.174478] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000
[ 0.174905] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.175315] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000
[ 0.179341] /pcie@fe270000: Fixed dependency cycle(s) with /pcie@fe270000/legacy-interrupt-controller
[ 0.180321] /pcie@fe280000: Fixed dependency cycle(s) with /pcie@fe280000/legacy-interrupt-controller
[ 0.180901] /hdmi@fe0a0000: Fixed dependency cycle(s) with /hdmi-con
[ 0.181037] /hdmi-con: Fixed dependency cycle(s) with /hdmi@fe0a0000
[ 0.187605] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.187657] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.187683] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.187704] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.187727] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.187747] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.187768] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.187788] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.189998] cryptd: max_cpu_qlen set to 1000
[ 0.258715] raid6: neonx8 gen() 1402 MB/s
[ 0.326948] raid6: neonx4 gen() 1431 MB/s
[ 0.395180] raid6: neonx2 gen() 1318 MB/s
[ 0.463399] raid6: neonx1 gen() 1070 MB/s
[ 0.531636] raid6: int64x8 gen() 908 MB/s
[ 0.599845] raid6: int64x4 gen() 1048 MB/s
[ 0.668071] raid6: int64x2 gen() 937 MB/s
[ 0.736291] raid6: int64x1 gen() 683 MB/s
[ 0.736320] raid6: using algorithm neonx4 gen() 1431 MB/s
[ 0.804477] raid6: .... xor() 1102 MB/s, rmw enabled
[ 0.804505] raid6: using neon recovery algorithm
[ 0.806066] iommu: Default domain type: Translated
[ 0.806115] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.807136] SCSI subsystem initialized
[ 0.807509] libata version 3.00 loaded.
[ 0.807890] usbcore: registered new interface driver usbfs
[ 0.807964] usbcore: registered new interface driver hub
[ 0.808046] usbcore: registered new device driver usb
[ 0.808900] pps_core: LinuxPPS API ver. 1 registered
[ 0.808930] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.808975] PTP clock support registered
[ 0.809048] EDAC MC: Ver: 3.0.0
[ 0.809607] scmi_core: SCMI protocol bus registered
[ 0.811302] NetLabel: Initializing
[ 0.811333] NetLabel: domain hash size = 128
[ 0.811353] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.811471] NetLabel: unlabeled traffic allowed by default
[ 0.811761] vgaarb: loaded
[ 0.812470] clocksource: Switched to clocksource arch_sys_counter
[ 0.817625] VFS: Disk quotas dquot_6.6.0
[ 0.817727] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.818609] AppArmor: AppArmor Filesystem Enabled
[ 0.833893] NET: Registered PF_INET protocol family
[ 0.834321] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.909391] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.909671] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.909809] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.910424] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.911474] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.911763] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.911925] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.912305] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.912409] NET: Registered PF_XDP protocol family
[ 0.912528] PCI: CLS 0 bytes, default 64
[ 0.913021] Trying to unpack rootfs image as initramfs...
[ 0.919504] kvm [1]: nv: 554 coarse grained trap handlers
[ 0.920187] kvm [1]: IPA Size Limit: 40 bits
[ 0.920260] kvm [1]: GICv3: no GICV resource entry
[ 0.920285] kvm [1]: disabling GICv2 emulation
[ 0.920345] kvm [1]: GIC system register CPU interface enabled
[ 0.920408] kvm [1]: vgic interrupt IRQ9
[ 0.920558] kvm [1]: VHE mode initialized successfully
[ 0.931408] Initialise system trusted keyrings
[ 0.931542] Key type blacklist registered
[ 0.932029] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[ 0.932157] zbud: loaded
[ 0.933237] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.934284] fuse: init (API version 7.41)
[ 0.937528] integrity: Platform Keyring initialized
[ 1.010902] xor: measuring software checksum speed
[ 1.012969] 8regs : 1634 MB/sec
[ 1.015094] 32regs : 1576 MB/sec
[ 1.017093] arm64_neon : 1666 MB/sec
[ 1.017138] xor: using function: arm64_neon (1666 MB/sec)
[ 1.017175] Key type asymmetric registered
[ 1.017197] Asymmetric key parser 'x509' registered
[ 1.017427] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.017899] io scheduler mq-deadline registered
[ 1.017932] io scheduler kyber registered
[ 1.018026] io scheduler bfq registered
[ 1.974098] Freeing initrd memory: 14532K
[ 1.980709] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.983371] rockchip-dw-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges:
[ 1.983473] rockchip-dw-pcie 3c0000000.pcie: IO 0x00f4100000..0x00f41fffff -> 0x00f4100000
[ 1.983526] rockchip-dw-pcie 3c0000000.pcie: MEM 0x00f4200000..0x00f5ffffff -> 0x00f4200000
[ 1.983568] rockchip-dw-pcie 3c0000000.pcie: MEM 0x0300000000..0x033fffffff -> 0x0040000000
[ 1.983865] rockchip-dw-pcie 3c0000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 2.180526] rockchip-dw-pcie 3c0000000.pcie: PCIe Gen.1 x1 link up
[ 2.181223] rockchip-dw-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00
[ 2.181281] pci_bus 0000:00: root bus resource [bus 00-0f]
[ 2.181316] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xf4100000-0xf41fffff])
[ 2.181351] pci_bus 0000:00: root bus resource [mem 0xf4200000-0xf5ffffff]
[ 2.181381] pci_bus 0000:00: root bus resource [mem 0x300000000-0x33fffffff] (bus address [0x40000000-0x7fffffff])
[ 2.181461] pci 0000:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 2.181523] pci 0000:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 2.181553] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 2.181584] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 2.181611] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 2.181644] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 2.181753] pci 0000:00:00.0: supports D1 D2
[ 2.181779] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 2.191260] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 2.191471] pci 0000:01:00.0: [10ec:c822] type 00 class 0x028000 PCIe Endpoint
[ 2.191601] pci 0000:01:00.0: BAR 0 [io 0x1000-0x10ff]
[ 2.191737] pci 0000:01:00.0: BAR 2 [mem 0xf4200000-0xf420ffff 64bit]
[ 2.192389] pci 0000:01:00.0: supports D1 D2
[ 2.192415] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 2.200733] pci 0000:00:00.0: bridge window [mem 0xf4200000-0xf42fffff]: assigned
[ 2.200779] pci 0000:00:00.0: ROM [mem 0xf4300000-0xf430ffff pref]: assigned
[ 2.200812] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff]: assigned
[ 2.200848] pci 0000:01:00.0: BAR 2 [mem 0xf4200000-0xf420ffff 64bit]: assigned
[ 2.200937] pci 0000:01:00.0: BAR 0 [io 0x1000-0x10ff]: assigned
[ 2.200983] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 2.201011] pci 0000:00:00.0: bridge window [io 0x1000-0x1fff]
[ 2.201040] pci 0000:00:00.0: bridge window [mem 0xf4200000-0xf42fffff]
[ 2.201075] pci_bus 0000:00: resource 4 [io 0x0000-0xfffff]
[ 2.201100] pci_bus 0000:00: resource 5 [mem 0xf4200000-0xf5ffffff]
[ 2.201126] pci_bus 0000:00: resource 6 [mem 0x300000000-0x33fffffff]
[ 2.201152] pci_bus 0000:01: resource 0 [io 0x1000-0x1fff]
[ 2.201174] pci_bus 0000:01: resource 1 [mem 0xf4200000-0xf42fffff]
[ 2.203994] pcieport 0000:00:00.0: PME: Signaling with IRQ 22
[ 2.204684] pcieport 0000:00:00.0: AER: enabled with IRQ 22
[ 2.213405] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 2.213468] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[ 2.216805] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 2.216861] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[ 2.220222] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 2.226359] printk: legacy console [ttyS2] disabled
[ 2.226912] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 27, base_baud = 1500000) is a 16550A
[ 2.227232] printk: legacy console [ttyS2] enabled
[ 2.372995] Serial: AMBA driver
[ 2.386452] loop: module loaded
[ 2.388904] Key type psk registered
[ 2.395444] thunder_xcv, ver 1.0
[ 2.395819] thunder_bgx, ver 1.0
[ 2.396167] nicpf, ver 1.0
[ 2.400732] usbcore: registered new interface driver usb-storage
[ 2.403970] mousedev: PS/2 mouse device common for all mice
[ 2.405257] i2c_dev: i2c /dev entries driver
[ 2.419571] rtc-hym8563 5-0051: registered as rtc0
[ 2.421096] rtc-hym8563 5-0051: setting system clock to 2025-05-28T00:23:37 UTC (1748391817)
[ 2.429665] sdhci: Secure Digital Host Controller Interface driver
[ 2.430261] sdhci: Copyright(c) Pierre Ossman
[ 2.430705] Synopsys Designware Multimedia Card Interface Driver
[ 2.432319] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.435648] arm-scmi arm-scmi.1.auto: Using scmi_smc_transport
[ 2.436221] arm-scmi arm-scmi.1.auto: SCMI max-rx-timeout: 30ms
[ 2.437066] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[ 2.438252] arm-scmi arm-scmi.1.auto: SCMI Notifications - Core Enabled.
[ 2.438959] arm-scmi arm-scmi.1.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[ 2.442425] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 2.443499] hid: raw HID events driver (C) Jiri Kosina
[ 2.444120] usbcore: registered new interface driver usbhid
[ 2.444670] usbhid: USB HID core driver
[ 2.446908] rockchip-dfi fe230000.dfi: dfi initialized, dram type: 0x8, channels: 1
[ 2.451920] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available
[ 2.455581] NET: Registered PF_INET6 protocol family
[ 2.468812] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA
[ 2.518604] Segment Routing with IPv6
[ 2.519078] In-situ OAM (IOAM) with IPv6
[ 2.519667] NET: Registered PF_PACKET protocol family
[ 2.520184] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.521709] Key type dns_resolver registered
[ 2.535284] registered taskstats version 1
[ 2.536175] Loading compiled-in X.509 certificates
[ 2.555706] zswap: loaded using pool zstd/zbud
[ 2.556634] Demotion targets for Node 0: null
[ 2.557303] Key type .fscrypt registered
[ 2.557681] Key type fscrypt-provisioning registered
[ 2.561742] Btrfs loaded, zoned=yes, fsverity=yes
[ 2.562489] Key type encrypted registered
[ 2.562884] AppArmor: AppArmor sha256 policy hashing enabled
[ 2.581043] mmc1: new HS200 MMC card at address 0001
[ 2.586982] mmcblk1: mmc1:0001 A3A551 28.9 GiB
[ 2.592536] mmcblk1: p1
[ 2.593791] mmcblk1boot0: mmc1:0001 A3A551 4.00 MiB
[ 2.596889] mmcblk1boot1: mmc1:0001 A3A551 4.00 MiB
[ 2.599686] mmcblk1rpmb: mmc1:0001 A3A551 16.0 MiB, chardev (243:0)
[ 2.613233] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected!
[ 2.613403] ehci-platform fd800000.usb: EHCI Host Controller
[ 2.613432] ohci-platform fd840000.usb: Generic Platform OHCI controller
[ 2.613478] ohci-platform fd840000.usb: new USB bus registered, assigned bus number 1
[ 2.613678] ohci-platform fd840000.usb: irq 43, io mem 0xfd840000
[ 2.613977] ehci-platform fd880000.usb: EHCI Host Controller
[ 2.614020] ohci-platform fd8c0000.usb: Generic Platform OHCI controller
[ 2.614067] ohci-platform fd8c0000.usb: new USB bus registered, assigned bus number 2
[ 2.614218] ohci-platform fd8c0000.usb: irq 45, io mem 0xfd8c0000
[ 2.614448] ehci-platform fd800000.usb: new USB bus registered, assigned bus number 3
[ 2.615058] ehci-platform fd880000.usb: new USB bus registered, assigned bus number 4
[ 2.615906] ehci-platform fd800000.usb: irq 41, io mem 0xfd800000
[ 2.616509] ehci-platform fd880000.usb: irq 42, io mem 0xfd880000
[ 2.632506] ehci-platform fd800000.usb: USB 2.0 started, EHCI 1.00
[ 2.633443] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.634207] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.634867] usb usb3: Product: EHCI Host Controller
[ 2.635318] usb usb3: Manufacturer: Linux 6.12.25-current-rockchip64 ehci_hcd
[ 2.635965] usb usb3: SerialNumber: fd800000.usb
[ 2.637238] hub 3-0:1.0: USB hub found
[ 2.637653] hub 3-0:1.0: 1 port detected
[ 2.648501] ehci-platform fd880000.usb: USB 2.0 started, EHCI 1.00
[ 2.649421] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.650186] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.650847] usb usb4: Product: EHCI Host Controller
[ 2.651298] usb usb4: Manufacturer: Linux 6.12.25-current-rockchip64 ehci_hcd
[ 2.651946] usb usb4: SerialNumber: fd880000.usb
[ 2.653104] hub 4-0:1.0: USB hub found
[ 2.653529] hub 4-0:1.0: 1 port detected
[ 2.672831] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[ 2.673619] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.674281] usb usb2: Product: Generic Platform OHCI controller
[ 2.674823] usb usb2: Manufacturer: Linux 6.12.25-current-rockchip64 ohci_hcd
[ 2.675471] usb usb2: SerialNumber: fd8c0000.usb
[ 2.676743] hub 2-0:1.0: USB hub found
[ 2.677168] hub 2-0:1.0: 1 port detected
[ 2.678341] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[ 2.679109] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.679769] usb usb1: Product: Generic Platform OHCI controller
[ 2.680311] usb usb1: Manufacturer: Linux 6.12.25-current-rockchip64 ohci_hcd
[ 2.681144] usb usb1: SerialNumber: fd840000.usb
[ 2.682508] hub 1-0:1.0: USB hub found
[ 2.682616] vdda0v9_image: Bringing 600000uV into 950000-950000uV
[ 2.682922] hub 1-0:1.0: 1 port detected
[ 2.695783] vccio_acodec: Bringing 600000uV into 3300000-3300000uV
[ 2.715575] vcca1v8_image: Bringing 600000uV into 1800000-1800000uV
[ 2.728375] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode.
[ 2.729132] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller.
[ 2.729750] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a
[ 2.730336] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 71,32 bit host data width,256 deep fifo
[ 2.744157] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
[ 2.744783] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 5
[ 2.745030] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[ 2.745696] xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
[ 2.747227] xhci-hcd xhci-hcd.8.auto: irq 72, io mem 0xfcc00000
[ 2.747996] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
[ 2.748556] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 6
[ 2.749269] xhci-hcd xhci-hcd.8.auto: Host supports USB 3.0 SuperSpeed
[ 2.750184] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.750946] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.751607] usb usb5: Product: xHCI Host Controller
[ 2.752059] usb usb5: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 2.752751] usb usb5: SerialNumber: xhci-hcd.8.auto
[ 2.753977] hub 5-0:1.0: USB hub found
[ 2.754393] hub 5-0:1.0: 1 port detected
[ 2.755365] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.756329] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 2.757149] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.757818] usb usb6: Product: xHCI Host Controller
[ 2.758268] usb usb6: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 2.758915] usb usb6: SerialNumber: xhci-hcd.8.auto
[ 2.760095] hub 6-0:1.0: USB hub found
[ 2.760548] hub 6-0:1.0: 1 port detected
[ 2.765394] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[ 2.765950] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 7
[ 2.766833] xhci-hcd xhci-hcd.9.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
[ 2.767757] xhci-hcd xhci-hcd.9.auto: irq 73, io mem 0xfd000000
[ 2.768611] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[ 2.769141] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 8
[ 2.769849] xhci-hcd xhci-hcd.9.auto: Host supports USB 3.0 SuperSpeed
[ 2.770751] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 2.771514] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.772174] usb usb7: Product: xHCI Host Controller
[ 2.772673] usb usb7: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 2.773325] usb usb7: SerialNumber: xhci-hcd.9.auto
[ 2.774542] hub 7-0:1.0: USB hub found
[ 2.774956] hub 7-0:1.0: 1 port detected
[ 2.775967] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.777138] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 2.777901] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.778563] usb usb8: Product: xHCI Host Controller
[ 2.779012] usb usb8: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 2.779659] usb usb8: SerialNumber: xhci-hcd.9.auto
[ 2.780838] hub 8-0:1.0: USB hub found
[ 2.781253] hub 8-0:1.0: 1 port detected
[ 2.782898] WCN: marlin_init entry!
[ 2.784648] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 2.785856] of_cfs_init
[ 2.786138] of_cfs_init: OK
[ 2.887017] clk: Disabling unused clocks
[ 2.889309] PM: genpd: Disabling unused power domains
[ 2.893619] Freeing unused kernel memory: 5312K
[ 2.894303] Run /init as init process
[ 2.894651] with arguments:
[ 2.894662] /init
[ 2.894671] with environment:
[ 2.894681] HOME=/
[ 2.894689] TERM=linux
[ 3.193246] usb 1-1: new full-speed USB device number 2 using ohci-platform
[ 3.417663] usb 1-1: New USB device found, idVendor=0bda, idProduct=c822, bcdDevice= 0.00
[ 3.418447] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.419113] usb 1-1: Product: Bluetooth Radio
[ 3.419526] usb 1-1: Manufacturer: Realtek
[ 3.419913] usb 1-1: SerialNumber: 00e04c000001
[ 3.886952] rockchip-vop2 fe040000.vop: Adding to iommu group 0
[ 4.040923] rk808-rtc rk808-rtc.5.auto: registered as rtc1
[ 4.051501] rockchip-drm display-subsystem: bound fe040000.vop (ops vop2_component_ops [rockchipdrm])
[ 4.250446] phy phy-fe8c0000.phy.7: lane number 0, val 1
[ 4.250983] phy phy-fe8c0000.phy.7: lane number 1, val 2
[ 4.251475] phy phy-fe8c0000.phy.7: bifurcation enabled
[ 4.252161] rockchip-dw-pcie 3c0400000.pcie: host bridge /pcie@fe270000 ranges:
[ 4.253015] rockchip-dw-pcie 3c0400000.pcie: IO 0x00f2100000..0x00f21fffff -> 0x00f2100000
[ 4.253870] rockchip-dw-pcie 3c0400000.pcie: MEM 0x00f2200000..0x00f3ffffff -> 0x00f2200000
[ 4.254716] rockchip-dw-pcie 3c0400000.pcie: MEM 0x0340000000..0x037fffffff -> 0x0040000000
[ 4.257998] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[ 4.260130] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 4.261500] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[ 4.263199] rockchip-dw-pcie 3c0400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 4.263624] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0
[ 4.655575] Console: switching to colour frame buffer device 240x67
[ 4.823144] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 5.091750] EXT4-fs (mmcblk1p1): mounted filesystem ebd59027-0204-4357-8d68-38a506fe86a9 ro with ordered data mode. Quota mode: none.
[ 5.324544] rockchip-dw-pcie 3c0400000.pcie: Phy link never came up
[ 5.325816] rockchip-dw-pcie 3c0400000.pcie: PCI host bridge to bus 0001:00
[ 5.326884] pci_bus 0001:00: root bus resource [bus 00-0f]
[ 5.327705] pci_bus 0001:00: root bus resource [io 0x100000-0x1fffff] (bus address [0xf2100000-0xf21fffff])
[ 5.329398] pci_bus 0001:00: root bus resource [mem 0xf2200000-0xf3ffffff]
[ 5.330464] pci_bus 0001:00: root bus resource [mem 0x340000000-0x37fffffff] (bus address [0x40000000-0x7fffffff])
[ 5.332022] pci 0001:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 5.333191] pci 0001:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 5.334102] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.334867] pci 0001:00:00.0: bridge window [io 0x0000-0x0fff]
[ 5.335744] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 5.336778] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 5.338027] pci 0001:00:00.0: supports D1 D2
[ 5.338666] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 5.355664] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.358044] pci 0001:00:00.0: ROM [mem 0xf2200000-0xf220ffff pref]: assigned
[ 5.359143] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.359925] pci_bus 0001:00: resource 4 [io 0x100000-0x1fffff]
[ 5.360842] pci_bus 0001:00: resource 5 [mem 0xf2200000-0xf3ffffff]
[ 5.361805] pci_bus 0001:00: resource 6 [mem 0x340000000-0x37fffffff]
[ 5.365826] pcieport 0001:00:00.0: PME: Signaling with IRQ 77
[ 5.367267] pcieport 0001:00:00.0: AER: enabled with IRQ 77
[ 5.369651] rockchip-dw-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[ 5.370808] rockchip-dw-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000
[ 5.372086] rockchip-dw-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff -> 0x00f0200000
[ 5.373386] rockchip-dw-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff -> 0x0040000000
[ 5.381338] rockchip-dw-pcie 3c0800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 5.573643] systemd[1]: Inserted module 'autofs4'
[ 5.580580] rockchip-dw-pcie 3c0800000.pcie: PCIe Gen.2 x1 link up
[ 5.600255] rockchip-dw-pcie 3c0800000.pcie: PCI host bridge to bus 0002:00
[ 5.620024] pci_bus 0002:00: root bus resource [bus 00-0f]
[ 5.638526] pci_bus 0002:00: root bus resource [io 0x200000-0x2fffff] (bus address [0xf0100000-0xf01fffff])
[ 5.638688] systemd[1]: systemd 252.36-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 5.656619] pci_bus 0002:00: root bus resource [mem 0xf0200000-0xf1ffffff]
[ 5.695532] systemd[1]: Detected architecture arm64.
[ 5.715226] pci_bus 0002:00: root bus resource [mem 0x380000000-0x3bfffffff] (bus address [0x40000000-0x7fffffff])
[ 5.761025] pci 0002:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 5.782086] pci 0002:00:00.0: BAR 0 [mem 0x00000000-0x3fffffff]
[ 5.782116] pci 0002:00:00.0: BAR 1 [mem 0x00000000-0x3fffffff]
[ 5.782131] pci 0002:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 5.782143] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 5.862664] pci 0002:00:00.0: bridge window [io 0x0000-0x0fff]
[ 5.862687] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 5.862705] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 5.862802] pci 0002:00:00.0: supports D1 D2
[ 5.862812] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[ 5.872689] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.872844] pci 0002:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 5.872933] pci 0002:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 5.873031] pci 0002:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 5.873097] pci 0002:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 5.873664] pci 0002:01:00.0: supports D1 D2
[ 5.873674] pci 0002:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.880695] pci 0002:00:00.0: BAR 0 [mem 0x380000000-0x3bfffffff]: assigned
[ 5.880718] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: can't assign; no space
[ 5.880730] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: failed to assign
[ 5.880742] pci 0002:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]: assigned
[ 5.880754] pci 0002:00:00.0: ROM [mem 0xf0300000-0xf030ffff pref]: assigned
[ 5.880765] pci 0002:00:00.0: bridge window [io 0x200000-0x200fff]: assigned
[ 5.880781] pci 0002:01:00.0: BAR 2 [mem 0xf0200000-0xf020ffff 64bit]: assigned
[ 5.880838] pci 0002:01:00.0: BAR 4 [mem 0xf0210000-0xf0213fff 64bit]: assigned
[ 5.880892] pci 0002:01:00.0: BAR 0 [io 0x200000-0x2000ff]: assigned
[ 5.880916] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 5.880927] pci 0002:00:00.0: bridge window [io 0x200000-0x200fff]
[ 5.880939] pci 0002:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]
[ 5.880954] pci_bus 0002:00: Some PCI device resources are unassigned, try booting with pci=realloc
[ 5.880962] pci_bus 0002:00: resource 4 [io 0x200000-0x2fffff]
[ 5.880972] pci_bus 0002:00: resource 5 [mem 0xf0200000-0xf1ffffff]
[ 5.880982] pci_bus 0002:00: resource 6 [mem 0x380000000-0x3bfffffff]
[ 5.880991] pci_bus 0002:01: resource 0 [io 0x200000-0x200fff]
[ 5.881000] pci_bus 0002:01: resource 1 [mem 0xf0200000-0xf02fffff]
[ 5.883740] pcieport 0002:00:00.0: PME: Signaling with IRQ 79
[ 6.437029] pcieport 0002:00:00.0: AER: enabled with IRQ 79
[ 6.491453] systemd[1]: Hostname set to <MagicCubeAura>.
[ 6.709048] dw-apb-uart fe660000.serial: forbid DMA for kernel console
[ 7.206819] systemd[1]: Configuration file /etc/systemd/system/register-mesh.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 7.507343] systemd[1]: Queued start job for default target graphical.target.
[ 7.560074] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[ 7.599646] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[ 7.639420] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[ 7.679481] systemd[1]: Created slice user.slice - User and Session Slice.
[ 7.718091] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[ 7.758410] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[ 7.800326] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[ 7.842754] systemd[1]: Expecting device dev-ttyFIQ0.device - /dev/ttyFIQ0...
[ 7.884967] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2...
[ 7.926480] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[ 7.966153] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[ 8.006232] systemd[1]: Reached target paths.target - Path Units.
[ 8.045700] systemd[1]: Reached target slices.target - Slice Units.
[ 8.085962] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[ 8.189789] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[ 8.238276] systemd[1]: Listening on syslog.socket - Syslog Socket.
[ 8.282170] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[ 8.326663] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[ 8.377383] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[ 8.423477] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[ 8.470870] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[ 8.523716] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ 8.572305] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[ 8.649067] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[ 8.704972] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[ 8.797072] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[ 8.854810] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[ 8.906385] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[ 8.965392] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[ 9.028677] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[ 9.109651] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 9.174150] systemd[1]: Starting [email protected] - Load Kernel Module configfs...
[ 9.253491] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[ 9.285812] device-mapper: uevent: version 1.0.3
[ 9.286495] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
[ 9.389500] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[ 9.453548] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[ 9.537455] systemd[1]: Starting [email protected] - Load Kernel Module fuse...
[ 9.601618] systemd[1]: Starting [email protected] - Load Kernel Module loop...
[ 9.658781] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 9.729509] systemd[1]: Starting systemd-journald.service - Journal Service...
[ 9.800097] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[ 9.889714] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[ 9.953373] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ 9.992716] EXT4-fs (mmcblk1p1): re-mounted ebd59027-0204-4357-8d68-38a506fe86a9 r/w. Quota mode: none.
[ 10.053541] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[ 10.109650] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[ 10.165676] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[ 10.221929] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[ 10.278363] systemd[1]: Started systemd-journald.service - Journal Service.
[ 10.731265] Adding 2096844k swap on /var/swap. Priority:-2 extents:76 across:9875448k SS
[ 10.911155] systemd-journald[285]: Received client request to flush runtime journal.
[ 11.529326] loop0: detected capacity change from 0 to 188472
[ 11.575171] loop1: detected capacity change from 0 to 188904
[ 11.606609] loop2: detected capacity change from 0 to 121968
[ 11.655874] loop3: detected capacity change from 0 to 121960
[ 11.689666] loop4: detected capacity change from 0 to 140976
[ 11.740357] loop5: detected capacity change from 0 to 141032
[ 11.771427] loop6: detected capacity change from 0 to 125408
[ 11.802957] loop7: detected capacity change from 0 to 126592
[ 11.849548] loop8: detected capacity change from 0 to 283688
[ 11.881658] loop9: detected capacity change from 0 to 291656
[ 12.759065] audit: type=1400 audit(1748391827.832:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=345 comm="apparmor_parser"
[ 12.768290] audit: type=1400 audit(1748391827.840:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=346 comm="apparmor_parser"
[ 12.768424] audit: type=1400 audit(1748391827.840:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=346 comm="apparmor_parser"
[ 12.816005] audit: type=1400 audit(1748391827.888:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=347 comm="apparmor_parser"
[ 12.817036] audit: type=1400 audit(1748391827.888:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=347 comm="apparmor_parser"
[ 12.817096] audit: type=1400 audit(1748391827.888:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=347 comm="apparmor_parser"
[ 12.817126] audit: type=1400 audit(1748391827.888:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/{,usr/}sbin/dhclient" pid=347 comm="apparmor_parser"
[ 12.863472] audit: type=1400 audit(1748391827.936:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=365 comm="apparmor_parser"
[ 12.865125] audit: type=1400 audit(1748391827.936:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=365 comm="apparmor_parser"
[ 12.907549] audit: type=1400 audit(1748391827.980:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/aarch64-linux-gnu/lightdm/lightdm-guest-session" pid=344 comm="apparmor_parser"
[ 13.430785] RPC: Registered named UNIX socket transport module.
[ 13.430817] RPC: Registered udp transport module.
[ 13.430827] RPC: Registered tcp transport module.
[ 13.430834] RPC: Registered tcp-with-tls transport module.
[ 13.430842] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 13.755839] r8169 0002:01:00.0: enabling device (0000 -> 0003)
[ 13.790096] r8169 0002:01:00.0: can't read MAC address, setting random one
[ 13.866780] mc: Linux media interface: v0.10
[ 13.886823] r8169 0002:01:00.0 eth0: RTL8125B, 1a:a0:1c:72:b8:08, XID 641, IRQ 80
[ 13.886865] r8169 0002:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 14.018054] videodev: Linux video capture interface: v2.00
[ 14.156926] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.4.auto/input/input1
[ 14.230184] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 14.264170] rockchip_vdec2: module is from the staging directory, the quality is unknown, you have been warned.
[ 14.278005] rockchip-rga fdeb0000.rga: HW Version: 0x03.02
[ 14.281668] rockchip-rga fdeb0000.rga: Registered rockchip-rga as /dev/video0
[ 14.281697] hantro-vpu fdea0000.video-codec: Adding to iommu group 1
[ 14.283233] hantro-vpu fdea0000.video-codec: registered rockchip,rk3328-vpu-dec as /dev/video1
[ 14.283365] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 14.283936] Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 14.285864] panfrost fde60000.gpu: clock rate = 594000000
[ 14.285905] panfrost fde60000.gpu: bus_clock rate = 500000000
[ 14.294403] panfrost fde60000.gpu: mali-g52 id 0x7402 major 0x1 minor 0x0 status 0x0
[ 14.294429] panfrost fde60000.gpu: features: 00000000,00000cf7, issues: 00000000,00000400
[ 14.294437] panfrost fde60000.gpu: Features: L2:0x07110206 Shader:0x00000002 Tiler:0x00000209 Mem:0x1 MMU:0x00002823 AS:0xff JS:0x7
[ 14.294445] panfrost fde60000.gpu: shader_present=0x1 l2_present=0x1
[ 14.298795] hantro-vpu fdee0000.video-codec: Adding to iommu group 2
[ 14.317619] [drm] Initialized panfrost 1.2.0 for fde60000.gpu on minor 1
[ 14.328731] hantro-vpu fdee0000.video-codec: registered rockchip,rk3568-vepu-enc as /dev/video3
[ 14.332544] random: crng init done
[ 14.376421] Bluetooth: Core ver 2.22
[ 14.376641] NET: Registered PF_BLUETOOTH protocol family
[ 14.376653] Bluetooth: HCI device and connection manager initialized
[ 14.376684] Bluetooth: HCI socket layer initialized
[ 14.376693] Bluetooth: L2CAP socket layer initialized
[ 14.376716] Bluetooth: SCO socket layer initialized
[ 14.452651] rk2-crypto fe380000.crypto: will run requests pump with realtime priority
[ 14.452761] rk2-crypto fe380000.crypto: Registers crypto algos
[ 14.452770] rk2-crypto fe380000.crypto: Register ecb(aes) as ecb-aes-rk2
[ 14.452845] rk2-crypto fe380000.crypto: Register cbc(aes) as cbc-aes-rk2
[ 14.452866] rk2-crypto fe380000.crypto: Register xts(aes) as xts-aes-rk2
[ 14.452883] rk2-crypto fe380000.crypto: Register md5 as rk2-md5 3
[ 14.452899] rk2-crypto fe380000.crypto: Register sha1 as rk2-sha1 4
[ 14.452914] rk2-crypto fe380000.crypto: Register sha256 as rk2-sha256 5
[ 14.452952] rk2-crypto fe380000.crypto: Register sha384 as rk2-sha384 6
[ 14.452967] rk2-crypto fe380000.crypto: Register sha512 as rk2-sha512 7
[ 14.452981] rk2-crypto fe380000.crypto: Register sm3 as rk2-sm3 8
[ 14.518081] rtw_8822ce 0000:01:00.0: enabling device (0000 -> 0003)
[ 14.524135] rtw_8822ce 0000:01:00.0: Firmware version 9.9.15, H2C version 15
[ 14.524994] rtw_8822ce 0000:01:00.0: WOW Firmware version 9.9.4, H2C version 15
[ 14.609677] usbcore: registered new interface driver btusb
[ 14.617720] Bluetooth: hci0: RTL: examining hci_ver=0a hci_rev=000c lmp_ver=0a lmp_subver=8822
[ 14.619719] Bluetooth: hci0: RTL: rom_version status=0 version=3
[ 14.619746] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_fw.bin
[ 14.622628] Bluetooth: hci0: RTL: loading rtl_bt/rtl8822cu_config.bin
[ 14.623741] Bluetooth: hci0: RTL: cfg_sz 6, total sz 37018
[ 15.261769] Bluetooth: hci0: RTL: fw version 0x0ed6407b
[ 15.722024] warning: `iwconfig' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211
[ 15.824559] RTL8226B_RTL8221B 2.5Gbps PHY r8169-2-100:00: attached PHY driver (mii_bus:phy_addr=r8169-2-100:00, irq=MAC)
[ 16.001652] r8169 0002:01:00.0 eth0: Link is Down
[ 17.339304] loop10: detected capacity change from 0 to 8
[ 18.644647] r8169 0002:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[ 20.266847] wlan0: authenticate with f4:92:bf:51:52:bd (local address=00:72:20:de:b7:f4)
[ 20.478352] wlan0: send auth to f4:92:bf:51:52:bd (try 1/3)
[ 20.488532] wlan0: authenticated
[ 20.492644] wlan0: associate with f4:92:bf:51:52:bd (try 1/3)
[ 20.500401] wlan0: RX AssocResp from f4:92:bf:51:52:bd (capab=0x1031 status=0 aid=20)
[ 20.501048] wlan0: associated
[ 20.541109] wlan0: Limiting TX power to 30 (30 - 0) dBm as advertised by f4:92:bf:51:52:bd
[ 28.442523] kauditd_printk_skb: 18 callbacks suppressed
system with no WiFi
[ 0.000000] Linux version 6.12.25-current-rockchip64 (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT Fri Apr 25 08:48:08 UTC 2025
[ 0.000000] KASLR enabled
[ 0.000000] Machine model: FriendlyElec NanoPi R5C
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000001ffffffff]
[ 0.000000] NODE_DATA(0) allocated [mem 0x1ff763f80-0x1ff7666ff]
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000200000-0x00000000ffffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal [mem 0x0000000100000000-0x00000001ffffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000200000-0x00000000efffffff]
[ 0.000000] node 0: [mem 0x00000001f0000000-0x00000001ffffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000001ffffffff]
[ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[ 0.000000] cma: Reserved 128 MiB at 0x00000000e3c00000 on node -1
[ 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: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 34 pages/cpu s99352 r8192 d31720 u139264
[ 0.000000] pcpu-alloc: s99352 r8192 d31720 u139264 alloc=34*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Virtualization Host Extensions
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: root=UUID=ebd59027-0204-4357-8d68-38a506fe86a9 rootfstype=ext4 rootwait console=ttyS2,1500000 console=tty1 consoleblank=0 coherent_pool=2M usb-storage.quirks= net.ifnames=0
[ 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] Fallback order for Node 0: 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1048064
[ 0.000000] Policy zone: Normal
[ 0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x00000000dfc00000-0x00000000e3c00000] (64MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 320 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] GICv3: MBI range [296:319]
[ 0.000000] GICv3: Using MBI frame 0x00000000fd410000
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=1
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000
[ 0.000000] ITS: No ITS available, not enabling LPIs
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.001377] Console: colour dummy device 80x25
[ 0.001398] printk: legacy console [tty1] enabled
[ 0.002350] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.002397] pid_max: default: 32768 minimum: 301
[ 0.002532] LSM: initializing lsm=capability,yama,apparmor
[ 0.002647] Yama: becoming mindful.
[ 0.002996] AppArmor: AppArmor initialized
[ 0.003170] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.003226] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.028298] rcu: Hierarchical SRCU implementation.
[ 0.028351] rcu: Max phase no-delay instances is 1000.
[ 0.028838] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.032721] EFI services will not be available.
[ 0.035780] smp: Bringing up secondary CPUs ...
[ 0.048188] Detected VIPT I-cache on CPU1
[ 0.048304] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[ 0.048368] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[ 0.064044] Detected VIPT I-cache on CPU2
[ 0.064141] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[ 0.064196] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[ 0.072540] Detected VIPT I-cache on CPU3
[ 0.072643] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
[ 0.072697] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[ 0.072899] smp: Brought up 1 node, 4 CPUs
[ 0.073051] SMP: Total of 4 processors activated.
[ 0.073070] CPU: All CPU(s) started at EL2
[ 0.073089] CPU features: detected: 32-bit EL0 Support
[ 0.073106] CPU features: detected: 32-bit EL1 Support
[ 0.073127] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[ 0.073153] CPU features: detected: Common not Private translations
[ 0.073172] CPU features: detected: CRC32 instructions
[ 0.073199] CPU features: detected: RCpc load-acquire (LDAPR)
[ 0.073219] CPU features: detected: LSE atomic instructions
[ 0.073239] CPU features: detected: Privileged Access Never
[ 0.073257] CPU features: detected: RAS Extension Support
[ 0.073280] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[ 0.073383] alternatives: applying system-wide alternatives
[ 0.078591] Memory: 3856808K/4192256K available (17088K kernel code, 2938K rwdata, 11560K rodata, 5312K init, 792K bss, 199980K reserved, 131072K cma-reserved)
[ 0.080575] devtmpfs: initialized
[ 0.103912] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.104011] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.108486] 23280 pages in range for non-PLT usage
[ 0.108516] 514800 pages in range for PLT usage
[ 0.108932] pinctrl core: initialized pinctrl subsystem
[ 0.109908] DMI not present or invalid.
[ 0.114902] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.117024] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[ 0.118382] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.119568] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.119682] audit: initializing netlink subsys (disabled)
[ 0.120090] audit: type=2000 audit(0.116:1): state=initialized audit_enabled=0 res=1
[ 0.123776] thermal_sys: Registered thermal governor 'fair_share'
[ 0.123792] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.123823] thermal_sys: Registered thermal governor 'step_wise'
[ 0.123844] thermal_sys: Registered thermal governor 'user_space'
[ 0.123985] cpuidle: using governor menu
[ 0.124345] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.124602] ASID allocator initialised with 32768 entries
[ 0.124959] Serial: AMBA PL011 UART driver
[ 0.141422] /vop@fe040000: Fixed dependency cycle(s) with /hdmi@fe0a0000
[ 0.141570] /hdmi@fe0a0000: Fixed dependency cycle(s) with /vop@fe040000
[ 0.147108] /pcie@fe260000: Fixed dependency cycle(s) with /pcie@fe260000/legacy-interrupt-controller
[ 0.167583] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.168207] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000
[ 0.168725] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.169170] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000
[ 0.169649] gpio gpiochip2: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.170055] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000
[ 0.170619] gpio gpiochip3: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.171040] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000
[ 0.171494] gpio gpiochip4: Static allocation of GPIO base is deprecated, use dynamic allocation.
[ 0.171968] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000
[ 0.176026] /pcie@fe270000: Fixed dependency cycle(s) with /pcie@fe270000/legacy-interrupt-controller
[ 0.176944] /pcie@fe280000: Fixed dependency cycle(s) with /pcie@fe280000/legacy-interrupt-controller
[ 0.177534] /hdmi@fe0a0000: Fixed dependency cycle(s) with /hdmi-con
[ 0.177666] /hdmi-con: Fixed dependency cycle(s) with /hdmi@fe0a0000
[ 0.184440] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.184492] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.184517] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.184538] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.184561] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.184582] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.184605] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.184624] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.186802] cryptd: max_cpu_qlen set to 1000
[ 0.256054] raid6: neonx8 gen() 1404 MB/s
[ 0.324266] raid6: neonx4 gen() 1430 MB/s
[ 0.392496] raid6: neonx2 gen() 1320 MB/s
[ 0.460750] raid6: neonx1 gen() 1074 MB/s
[ 0.528962] raid6: int64x8 gen() 910 MB/s
[ 0.597182] raid6: int64x4 gen() 1050 MB/s
[ 0.665389] raid6: int64x2 gen() 937 MB/s
[ 0.733675] raid6: int64x1 gen() 679 MB/s
[ 0.733702] raid6: using algorithm neonx4 gen() 1430 MB/s
[ 0.801797] raid6: .... xor() 1101 MB/s, rmw enabled
[ 0.801826] raid6: using neon recovery algorithm
[ 0.803397] iommu: Default domain type: Translated
[ 0.803440] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.804516] SCSI subsystem initialized
[ 0.804892] libata version 3.00 loaded.
[ 0.805262] usbcore: registered new interface driver usbfs
[ 0.805336] usbcore: registered new interface driver hub
[ 0.805409] usbcore: registered new device driver usb
[ 0.806220] pps_core: LinuxPPS API ver. 1 registered
[ 0.806248] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.806294] PTP clock support registered
[ 0.806369] EDAC MC: Ver: 3.0.0
[ 0.806943] scmi_core: SCMI protocol bus registered
[ 0.808656] NetLabel: Initializing
[ 0.808686] NetLabel: domain hash size = 128
[ 0.808705] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.808840] NetLabel: unlabeled traffic allowed by default
[ 0.809162] vgaarb: loaded
[ 0.809902] clocksource: Switched to clocksource arch_sys_counter
[ 0.810711] VFS: Disk quotas dquot_6.6.0
[ 0.810807] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.811814] AppArmor: AppArmor Filesystem Enabled
[ 0.827331] NET: Registered PF_INET protocol family
[ 0.827804] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.903038] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 0.903324] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.903468] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.904090] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 0.905155] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.905369] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.905509] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 0.905939] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.906013] NET: Registered PF_XDP protocol family
[ 0.906055] PCI: CLS 0 bytes, default 64
[ 0.906509] Trying to unpack rootfs image as initramfs...
[ 0.915731] kvm [1]: nv: 554 coarse grained trap handlers
[ 0.916478] kvm [1]: IPA Size Limit: 40 bits
[ 0.916564] kvm [1]: GICv3: no GICV resource entry
[ 0.916597] kvm [1]: disabling GICv2 emulation
[ 0.916666] kvm [1]: GIC system register CPU interface enabled
[ 0.916735] kvm [1]: vgic interrupt IRQ9
[ 0.916817] kvm [1]: VHE mode initialized successfully
[ 0.920316] Initialise system trusted keyrings
[ 0.920463] Key type blacklist registered
[ 0.921022] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[ 0.921141] zbud: loaded
[ 0.922088] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.923029] fuse: init (API version 7.41)
[ 0.926075] integrity: Platform Keyring initialized
[ 0.999491] xor: measuring software checksum speed
[ 1.001464] 8regs : 1714 MB/sec
[ 1.003642] 32regs : 1532 MB/sec
[ 1.005587] arm64_neon : 1725 MB/sec
[ 1.005616] xor: using function: arm64_neon (1725 MB/sec)
[ 1.005652] Key type asymmetric registered
[ 1.005676] Asymmetric key parser 'x509' registered
[ 1.005983] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.006440] io scheduler mq-deadline registered
[ 1.006473] io scheduler kyber registered
[ 1.006568] io scheduler bfq registered
[ 1.971644] Freeing initrd memory: 14532K
[ 1.975208] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.978444] rockchip-dw-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges:
[ 1.978548] rockchip-dw-pcie 3c0000000.pcie: IO 0x00f4100000..0x00f41fffff -> 0x00f4100000
[ 1.978629] rockchip-dw-pcie 3c0000000.pcie: MEM 0x00f4200000..0x00f5ffffff -> 0x00f4200000
[ 1.978695] rockchip-dw-pcie 3c0000000.pcie: MEM 0x0300000000..0x033fffffff -> 0x0040000000
[ 1.979015] rockchip-dw-pcie 3c0000000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 3.041951] rockchip-dw-pcie 3c0000000.pcie: Phy link never came up
[ 3.042636] rockchip-dw-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00
[ 3.042695] pci_bus 0000:00: root bus resource [bus 00-0f]
[ 3.042730] pci_bus 0000:00: root bus resource [io 0x0000-0xfffff] (bus address [0xf4100000-0xf41fffff])
[ 3.042764] pci_bus 0000:00: root bus resource [mem 0xf4200000-0xf5ffffff]
[ 3.042794] pci_bus 0000:00: root bus resource [mem 0x300000000-0x33fffffff] (bus address [0x40000000-0x7fffffff])
[ 3.042875] pci 0000:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 3.042937] pci 0000:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 3.042966] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.042995] pci 0000:00:00.0: bridge window [io 0x0000-0x0fff]
[ 3.043022] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 3.043054] pci 0000:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 3.043163] pci 0000:00:00.0: supports D1 D2
[ 3.043190] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 3.052738] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 3.053177] pci 0000:00:00.0: ROM [mem 0xf4200000-0xf420ffff pref]: assigned
[ 3.053226] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[ 3.053266] pci_bus 0000:00: resource 4 [io 0x0000-0xfffff]
[ 3.053293] pci_bus 0000:00: resource 5 [mem 0xf4200000-0xf5ffffff]
[ 3.053320] pci_bus 0000:00: resource 6 [mem 0x300000000-0x33fffffff]
[ 3.056311] pcieport 0000:00:00.0: PME: Signaling with IRQ 22
[ 3.056885] pcieport 0000:00:00.0: AER: enabled with IRQ 22
[ 3.064809] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 3.064871] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[ 3.068204] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 3.068259] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[ 3.071775] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 3.077489] printk: legacy console [ttyS2] disabled
[ 3.078106] fe660000.serial: ttyS2 at MMIO 0xfe660000 (irq = 27, base_baud = 1500000) is a 16550A
[ 3.078433] printk: legacy console [ttyS2] enabled
[ 3.217552] Serial: AMBA driver
[ 3.231018] loop: module loaded
[ 3.233327] Key type psk registered
[ 3.239718] thunder_xcv, ver 1.0
[ 3.240094] thunder_bgx, ver 1.0
[ 3.240448] nicpf, ver 1.0
[ 3.244972] usbcore: registered new interface driver usb-storage
[ 3.248286] mousedev: PS/2 mouse device common for all mice
[ 3.249500] i2c_dev: i2c /dev entries driver
[ 3.261139] rtc-hym8563 5-0051: no valid clock/calendar values available
[ 3.262459] rtc-hym8563 5-0051: registered as rtc0
[ 3.263954] rtc-hym8563 5-0051: no valid clock/calendar values available
[ 3.264574] rtc-hym8563 5-0051: hctosys: unable to read the hardware clock
[ 3.272934] sdhci: Secure Digital Host Controller Interface driver
[ 3.273529] sdhci: Copyright(c) Pierre Ossman
[ 3.274038] Synopsys Designware Multimedia Card Interface Driver
[ 3.275674] sdhci-pltfm: SDHCI platform and OF driver helper
[ 3.279062] arm-scmi arm-scmi.1.auto: Using scmi_smc_transport
[ 3.279636] arm-scmi arm-scmi.1.auto: SCMI max-rx-timeout: 30ms
[ 3.280425] scmi_protocol scmi_dev.1: Enabled polling mode TX channel - prot_id:16
[ 3.281622] arm-scmi arm-scmi.1.auto: SCMI Notifications - Core Enabled.
[ 3.282387] arm-scmi arm-scmi.1.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0
[ 3.285644] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[ 3.286827] hid: raw HID events driver (C) Jiri Kosina
[ 3.287462] usbcore: registered new interface driver usbhid
[ 3.287979] usbhid: USB HID core driver
[ 3.290319] rockchip-dfi fe230000.dfi: dfi initialized, dram type: 0x8, channels: 1
[ 3.293534] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 (0,8000003f) counters available
[ 3.297229] NET: Registered PF_INET6 protocol family
[ 3.310074] mmc1: SDHCI controller on fe310000.mmc [fe310000.mmc] using ADMA
[ 3.358446] Segment Routing with IPv6
[ 3.358945] In-situ OAM (IOAM) with IPv6
[ 3.359509] NET: Registered PF_PACKET protocol family
[ 3.360021] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 3.361481] Key type dns_resolver registered
[ 3.375182] registered taskstats version 1
[ 3.376077] Loading compiled-in X.509 certificates
[ 3.397116] zswap: loaded using pool zstd/zbud
[ 3.398062] Demotion targets for Node 0: null
[ 3.398716] Key type .fscrypt registered
[ 3.399092] Key type fscrypt-provisioning registered
[ 3.403471] Btrfs loaded, zoned=yes, fsverity=yes
[ 3.404229] Key type encrypted registered
[ 3.404622] AppArmor: AppArmor sha256 policy hashing enabled
[ 3.422156] mmc1: new HS200 MMC card at address 0001
[ 3.423962] mmcblk1: mmc1:0001 A3A551 28.9 GiB
[ 3.429614] mmcblk1: p1
[ 3.430971] mmcblk1boot0: mmc1:0001 A3A551 4.00 MiB
[ 3.434201] mmcblk1boot1: mmc1:0001 A3A551 4.00 MiB
[ 3.437139] mmcblk1rpmb: mmc1:0001 A3A551 16.0 MiB, chardev (243:0)
[ 3.455134] ehci-platform fd800000.usb: EHCI Host Controller
[ 3.455137] fan53555-regulator 0-001c: FAN53555 Option[12] Rev[15] Detected!
[ 3.455158] ohci-platform fd840000.usb: Generic Platform OHCI controller
[ 3.455238] ehci-platform fd800000.usb: new USB bus registered, assigned bus number 1
[ 3.455419] ehci-platform fd880000.usb: EHCI Host Controller
[ 3.455464] ehci-platform fd880000.usb: new USB bus registered, assigned bus number 2
[ 3.455675] ehci-platform fd880000.usb: irq 42, io mem 0xfd880000
[ 3.455782] ohci-platform fd840000.usb: new USB bus registered, assigned bus number 3
[ 3.455857] ohci-platform fd8c0000.usb: Generic Platform OHCI controller
[ 3.455891] ohci-platform fd8c0000.usb: new USB bus registered, assigned bus number 4
[ 3.456054] ohci-platform fd8c0000.usb: irq 45, io mem 0xfd8c0000
[ 3.456513] ehci-platform fd800000.usb: irq 41, io mem 0xfd800000
[ 3.457147] ohci-platform fd840000.usb: irq 43, io mem 0xfd840000
[ 3.465945] ehci-platform fd880000.usb: USB 2.0 started, EHCI 1.00
[ 3.466877] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 3.467640] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.468302] usb usb2: Product: EHCI Host Controller
[ 3.468751] usb usb2: Manufacturer: Linux 6.12.25-current-rockchip64 ehci_hcd
[ 3.469398] usb usb2: SerialNumber: fd880000.usb
[ 3.470758] hub 2-0:1.0: USB hub found
[ 3.471184] hub 2-0:1.0: 1 port detected
[ 3.477938] ehci-platform fd800000.usb: USB 2.0 started, EHCI 1.00
[ 3.478917] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 3.479721] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.480475] usb usb1: Product: EHCI Host Controller
[ 3.480966] usb usb1: Manufacturer: Linux 6.12.25-current-rockchip64 ehci_hcd
[ 3.481655] usb usb1: SerialNumber: fd800000.usb
[ 3.482921] hub 1-0:1.0: USB hub found
[ 3.483356] hub 1-0:1.0: 1 port detected
[ 3.514246] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[ 3.515019] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.515679] usb usb4: Product: Generic Platform OHCI controller
[ 3.516220] usb usb4: Manufacturer: Linux 6.12.25-current-rockchip64 ohci_hcd
[ 3.516866] usb usb4: SerialNumber: fd8c0000.usb
[ 3.518095] hub 4-0:1.0: USB hub found
[ 3.518516] hub 4-0:1.0: 1 port detected
[ 3.522316] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.12
[ 3.523110] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.523780] usb usb3: Product: Generic Platform OHCI controller
[ 3.524330] usb usb3: Manufacturer: Linux 6.12.25-current-rockchip64 ohci_hcd
[ 3.524999] usb usb3: SerialNumber: fd840000.usb
[ 3.526248] hub 3-0:1.0: USB hub found
[ 3.526686] hub 3-0:1.0: 1 port detected
[ 3.564675] vdda0v9_image: Bringing 600000uV into 950000-950000uV
[ 3.577614] vccio_acodec: Bringing 600000uV into 3300000-3300000uV
[ 3.597488] vcca1v8_image: Bringing 600000uV into 1800000-1800000uV
[ 3.610375] dwmmc_rockchip fe2b0000.mmc: IDMAC supports 32-bit address mode.
[ 3.611114] dwmmc_rockchip fe2b0000.mmc: Using internal DMA controller.
[ 3.611727] dwmmc_rockchip fe2b0000.mmc: Version ID is 270a
[ 3.612311] dwmmc_rockchip fe2b0000.mmc: DW MMC controller at irq 71,32 bit host data width,256 deep fifo
[ 3.626613] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
[ 3.627176] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 5
[ 3.628064] xhci-hcd xhci-hcd.8.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
[ 3.628269] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[ 3.628990] xhci-hcd xhci-hcd.8.auto: irq 72, io mem 0xfcc00000
[ 3.630578] xhci-hcd xhci-hcd.8.auto: xHCI Host Controller
[ 3.631102] xhci-hcd xhci-hcd.8.auto: new USB bus registered, assigned bus number 6
[ 3.631814] xhci-hcd xhci-hcd.8.auto: Host supports USB 3.0 SuperSpeed
[ 3.632733] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 3.633496] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.634201] usb usb5: Product: xHCI Host Controller
[ 3.634656] usb usb5: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 3.635305] usb usb5: SerialNumber: xhci-hcd.8.auto
[ 3.636536] hub 5-0:1.0: USB hub found
[ 3.636953] hub 5-0:1.0: 1 port detected
[ 3.637991] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.638959] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 3.639722] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.640382] usb usb6: Product: xHCI Host Controller
[ 3.640831] usb usb6: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 3.641476] usb usb6: SerialNumber: xhci-hcd.8.auto
[ 3.642673] hub 6-0:1.0: USB hub found
[ 3.643087] hub 6-0:1.0: 1 port detected
[ 3.648048] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[ 3.648602] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 7
[ 3.649481] xhci-hcd xhci-hcd.9.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000808002000010
[ 3.650465] xhci-hcd xhci-hcd.9.auto: irq 73, io mem 0xfd000000
[ 3.651250] xhci-hcd xhci-hcd.9.auto: xHCI Host Controller
[ 3.651783] xhci-hcd xhci-hcd.9.auto: new USB bus registered, assigned bus number 8
[ 3.652495] xhci-hcd xhci-hcd.9.auto: Host supports USB 3.0 SuperSpeed
[ 3.653435] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.12
[ 3.654240] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.654906] usb usb7: Product: xHCI Host Controller
[ 3.655358] usb usb7: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 3.656004] usb usb7: SerialNumber: xhci-hcd.9.auto
[ 3.657234] hub 7-0:1.0: USB hub found
[ 3.657651] hub 7-0:1.0: 1 port detected
[ 3.658833] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.659802] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.12
[ 3.660563] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.661225] usb usb8: Product: xHCI Host Controller
[ 3.661676] usb usb8: Manufacturer: Linux 6.12.25-current-rockchip64 xhci-hcd
[ 3.662371] usb usb8: SerialNumber: xhci-hcd.9.auto
[ 3.663547] hub 8-0:1.0: USB hub found
[ 3.663962] hub 8-0:1.0: 1 port detected
[ 3.665489] WCN: marlin_init entry!
[ 3.667230] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 3.668472] of_cfs_init
[ 3.668762] of_cfs_init: OK
[ 3.769793] clk: Disabling unused clocks
[ 3.772916] PM: genpd: Disabling unused power domains
[ 3.777306] Freeing unused kernel memory: 5312K
[ 3.778122] Run /init as init process
[ 3.778477] with arguments:
[ 3.778490] /init
[ 3.778499] with environment:
[ 3.778508] HOME=/
[ 3.778517] TERM=linux
[ 4.734753] rockchip-vop2 fe040000.vop: Adding to iommu group 0
[ 4.796482] rockchip-drm display-subsystem: bound fe040000.vop (ops vop2_component_ops [rockchipdrm])
[ 4.805360] dwhdmi-rockchip fe0a0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (DWC HDMI 2.0 TX PHY)
[ 4.888934] dwhdmi-rockchip fe0a0000.hdmi: registered DesignWare HDMI I2C bus driver
[ 4.924391] rockchip-drm display-subsystem: bound fe0a0000.hdmi (ops dw_hdmi_rockchip_ops [rockchipdrm])
[ 4.930293] rk808-rtc rk808-rtc.5.auto: registered as rtc1
[ 4.932841] [drm] Initialized rockchip 1.0.0 for display-subsystem on minor 0
[ 4.934382] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 4.935324] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[ 5.262320] phy phy-fe8c0000.phy.7: lane number 0, val 1
[ 5.262858] phy phy-fe8c0000.phy.7: lane number 1, val 2
[ 5.263355] phy phy-fe8c0000.phy.7: bifurcation enabled
[ 5.264096] rockchip-dw-pcie 3c0400000.pcie: host bridge /pcie@fe270000 ranges:
[ 5.264853] rockchip-dw-pcie 3c0400000.pcie: IO 0x00f2100000..0x00f21fffff -> 0x00f2100000
[ 5.264893] rockchip-dw-pcie 3c0400000.pcie: MEM 0x00f2200000..0x00f3ffffff -> 0x00f2200000
[ 5.266533] rockchip-dw-pcie 3c0400000.pcie: MEM 0x0340000000..0x037fffffff -> 0x0040000000
[ 5.275782] rockchip-dw-pcie 3c0400000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 5.415949] EXT4-fs (mmcblk1p1): mounted filesystem ebd59027-0204-4357-8d68-38a506fe86a9 ro with ordered data mode. Quota mode: none.
[ 5.475642] rockchip-dw-pcie 3c0400000.pcie: PCIe Gen.2 x1 link up
[ 5.476526] rockchip-dw-pcie 3c0400000.pcie: PCI host bridge to bus 0001:00
[ 5.477212] pci_bus 0001:00: root bus resource [bus 00-0f]
[ 5.477736] pci_bus 0001:00: root bus resource [io 0x100000-0x1fffff] (bus address [0xf2100000-0xf21fffff])
[ 5.478815] pci_bus 0001:00: root bus resource [mem 0xf2200000-0xf3ffffff]
[ 5.479477] pci_bus 0001:00: root bus resource [mem 0x340000000-0x37fffffff] (bus address [0x40000000-0x7fffffff])
[ 5.480479] pci 0001:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 5.481184] pci 0001:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 5.481758] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.482315] pci 0001:00:00.0: bridge window [io 0x0000-0x0fff]
[ 5.482898] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 5.483526] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 5.484319] pci 0001:00:00.0: supports D1 D2
[ 5.484731] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 5.501802] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.502986] pci 0001:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 5.503744] pci 0001:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 5.504319] pci 0001:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 5.504966] pci 0001:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 5.506158] pci 0001:01:00.0: supports D1 D2
[ 5.506573] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.514140] pci 0001:00:00.0: bridge window [mem 0xf2200000-0xf22fffff]: assigned
[ 5.514868] pci 0001:00:00.0: ROM [mem 0xf2300000-0xf230ffff pref]: assigned
[ 5.515517] pci 0001:00:00.0: bridge window [io 0x100000-0x100fff]: assigned
[ 5.516179] pci 0001:01:00.0: BAR 2 [mem 0xf2200000-0xf220ffff 64bit]: assigned
[ 5.516895] pci 0001:01:00.0: BAR 4 [mem 0xf2210000-0xf2213fff 64bit]: assigned
[ 5.517608] pci 0001:01:00.0: BAR 0 [io 0x100000-0x1000ff]: assigned
[ 5.518269] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.518762] pci 0001:00:00.0: bridge window [io 0x100000-0x100fff]
[ 5.519357] pci 0001:00:00.0: bridge window [mem 0xf2200000-0xf22fffff]
[ 5.519983] pci_bus 0001:00: resource 4 [io 0x100000-0x1fffff]
[ 5.520525] pci_bus 0001:00: resource 5 [mem 0xf2200000-0xf3ffffff]
[ 5.521098] pci_bus 0001:00: resource 6 [mem 0x340000000-0x37fffffff]
[ 5.521688] pci_bus 0001:01: resource 0 [io 0x100000-0x100fff]
[ 5.522272] pci_bus 0001:01: resource 1 [mem 0xf2200000-0xf22fffff]
[ 5.525680] pcieport 0001:00:00.0: PME: Signaling with IRQ 77
[ 5.526879] pcieport 0001:00:00.0: AER: enabled with IRQ 77
[ 5.528798] rockchip-dw-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[ 5.529531] rockchip-dw-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000
[ 5.530478] rockchip-dw-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff -> 0x00f0200000
[ 5.531301] rockchip-dw-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff -> 0x0040000000
[ 5.540670] rockchip-dw-pcie 3c0800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 5.738001] rockchip-dw-pcie 3c0800000.pcie: PCIe Gen.2 x1 link up
[ 5.738857] rockchip-dw-pcie 3c0800000.pcie: PCI host bridge to bus 0002:00
[ 5.739528] pci_bus 0002:00: root bus resource [bus 00-0f]
[ 5.740045] pci_bus 0002:00: root bus resource [io 0x200000-0x2fffff] (bus address [0xf0100000-0xf01fffff])
[ 5.740951] pci_bus 0002:00: root bus resource [mem 0xf0200000-0xf1ffffff]
[ 5.741595] pci_bus 0002:00: root bus resource [mem 0x380000000-0x3bfffffff] (bus address [0x40000000-0x7fffffff])
[ 5.742644] pci 0002:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 5.743343] pci 0002:00:00.0: BAR 0 [mem 0x00000000-0x3fffffff]
[ 5.743899] pci 0002:00:00.0: BAR 1 [mem 0x00000000-0x3fffffff]
[ 5.744452] pci 0002:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 5.745048] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 5.745563] pci 0002:00:00.0: bridge window [io 0x0000-0x0fff]
[ 5.746164] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 5.746797] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 5.747589] pci 0002:00:00.0: supports D1 D2
[ 5.748005] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[ 5.766157] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.767351] pci 0002:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 5.768148] pci 0002:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 5.768783] pci 0002:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 5.769478] pci 0002:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 5.770782] pci 0002:01:00.0: supports D1 D2
[ 5.771237] pci 0002:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.778194] pci 0002:00:00.0: BAR 0 [mem 0x380000000-0x3bfffffff]: assigned
[ 5.778874] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: can't assign; no space
[ 5.779560] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: failed to assign
[ 5.780198] pci 0002:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]: assigned
[ 5.780895] pci 0002:00:00.0: ROM [mem 0xf0300000-0xf030ffff pref]: assigned
[ 5.781566] pci 0002:00:00.0: bridge window [io 0x200000-0x200fff]: assigned
[ 5.782293] pci 0002:01:00.0: BAR 2 [mem 0xf0200000-0xf020ffff 64bit]: assigned
[ 5.783033] pci 0002:01:00.0: BAR 4 [mem 0xf0210000-0xf0213fff 64bit]: assigned
[ 5.783752] pci 0002:01:00.0: BAR 0 [io 0x200000-0x2000ff]: assigned
[ 5.784368] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 5.784860] pci 0002:00:00.0: bridge window [io 0x200000-0x200fff]
[ 5.785452] pci 0002:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]
[ 5.786106] pci_bus 0002:00: Some PCI device resources are unassigned, try booting with pci=realloc
[ 5.786932] pci_bus 0002:00: resource 4 [io 0x200000-0x2fffff]
[ 5.787480] pci_bus 0002:00: resource 5 [mem 0xf0200000-0xf1ffffff]
[ 5.788055] pci_bus 0002:00: resource 6 [mem 0x380000000-0x3bfffffff]
[ 5.788653] pci_bus 0002:01: resource 0 [io 0x200000-0x200fff]
[ 5.789218] pci_bus 0002:01: resource 1 [mem 0xf0200000-0xf02fffff]
[ 5.792953] pcieport 0002:00:00.0: PME: Signaling with IRQ 79
[ 5.794205] pcieport 0002:00:00.0: AER: enabled with IRQ 79
[ 5.869576] systemd[1]: System time before build time, advancing clock.
[ 5.898218] systemd[1]: Inserted module 'autofs4'
[ 5.941279] systemd[1]: systemd 252.36-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 5.944336] systemd[1]: Detected architecture arm64.
[ 5.949644] systemd[1]: Hostname set to <MagicCubeAura>.
[ 6.141659] dw-apb-uart fe660000.serial: forbid DMA for kernel console
[ 6.608759] systemd[1]: Configuration file /etc/systemd/system/register-mesh.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 6.895360] systemd[1]: Queued start job for default target graphical.target.
[ 6.941395] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[ 6.946088] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[ 6.950600] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[ 6.954140] systemd[1]: Created slice user.slice - User and Session Slice.
[ 6.955774] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[ 6.957560] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[ 6.960077] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[ 6.961775] systemd[1]: Expecting device dev-ttyFIQ0.device - /dev/ttyFIQ0...
[ 6.962903] systemd[1]: Expecting device dev-ttyS2.device - /dev/ttyS2...
[ 6.963919] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[ 6.965153] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[ 6.966607] systemd[1]: Reached target paths.target - Path Units.
[ 6.967674] systemd[1]: Reached target slices.target - Slice Units.
[ 6.968841] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[ 6.998025] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[ 7.004255] systemd[1]: Listening on syslog.socket - Syslog Socket.
[ 7.006412] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[ 7.008247] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[ 7.011715] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[ 7.014102] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[ 7.016521] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[ 7.019791] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[ 7.021984] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[ 7.058485] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
[ 7.066999] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[ 7.076647] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[ 7.086689] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[ 7.088581] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[ 7.099231] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[ 7.109248] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[ 7.119458] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[ 7.130376] systemd[1]: Starting [email protected] - Load Kernel Module configfs...
[ 7.140723] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[ 7.151121] systemd[1]: Starting [email protected] - Load Kernel Module drm...
[ 7.166765] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[ 7.181350] systemd[1]: Starting [email protected] - Load Kernel Module fuse...
[ 7.195617] systemd[1]: Starting [email protected] - Load Kernel Module loop...
[ 7.198419] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[ 7.205179] device-mapper: uevent: version 1.0.3
[ 7.207016] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: [email protected]
[ 7.215063] systemd[1]: Starting systemd-journald.service - Journal Service...
[ 7.227840] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[ 7.238919] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[ 7.263215] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[ 7.288806] systemd[1]: Mounted dev-hugepages.mount - Huge Pages File System.
[ 7.291448] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[ 7.293637] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[ 7.295761] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[ 7.299242] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[ 7.303604] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[ 7.307728] systemd[1]: [email protected]: Deactivated successfully.
[ 7.310218] systemd[1]: Finished [email protected] - Load Kernel Module configfs.
[ 7.314757] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[ 7.316777] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[ 7.321067] systemd[1]: [email protected]: Deactivated successfully.
[ 7.323378] systemd[1]: Finished [email protected] - Load Kernel Module drm.
[ 7.327375] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[ 7.330062] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[ 7.333687] systemd[1]: [email protected]: Deactivated successfully.
[ 7.336938] systemd[1]: Finished [email protected] - Load Kernel Module fuse.
[ 7.340569] systemd[1]: [email protected]: Deactivated successfully.
[ 7.343773] systemd[1]: Finished [email protected] - Load Kernel Module loop.
[ 7.347067] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[ 7.369313] EXT4-fs (mmcblk1p1): re-mounted ebd59027-0204-4357-8d68-38a506fe86a9 r/w. Quota mode: none.
[ 7.371070] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[ 7.382184] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[ 7.384198] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[ 7.405633] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[ 7.435812] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[ 7.438465] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[ 7.440470] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[ 7.490394] systemd[1]: Activating swap var-swap.swap - /var/swap...
[ 7.491620] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[ 7.493349] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[ 7.513719] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[ 7.524951] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[ 7.532027] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[ 7.537402] Adding 2096844k swap on /var/swap. Priority:-2 extents:76 across:9875448k SS
[ 7.538010] systemd[1]: Activated swap var-swap.swap - /var/swap.
[ 7.538744] systemd[1]: Reached target swap.target - Swaps.
[ 7.656144] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[ 7.695650] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[ 7.704117] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[ 7.794900] systemd[1]: Finished systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev.
[ 7.796438] systemd[1]: Reached target local-fs-pre.target - Preparation for Local File Systems.
[ 7.819152] systemd[1]: Starting systemd-udevd.service - Rule-based Manager for Device Events and Files...
[ 7.823127] systemd[1]: Started systemd-journald.service - Journal Service.
[ 7.900738] systemd-journald[273]: Received client request to flush runtime journal.
[ 8.360036] loop0: detected capacity change from 0 to 188472
[ 8.409834] loop1: detected capacity change from 0 to 188904
[ 8.452214] loop2: detected capacity change from 0 to 121968
[ 8.455157] loop3: detected capacity change from 0 to 121832
[ 8.476160] loop4: detected capacity change from 0 to 140976
[ 8.493255] loop5: detected capacity change from 0 to 141032
[ 8.531873] loop6: detected capacity change from 0 to 126592
[ 8.543005] loop7: detected capacity change from 0 to 125408
[ 8.563075] loop8: detected capacity change from 0 to 283688
[ 8.598755] loop9: detected capacity change from 0 to 291656
[ 9.219527] audit: type=1400 audit(1747945898.048:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=349 comm="apparmor_parser"
[ 9.242390] audit: type=1400 audit(1747945898.072:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=350 comm="apparmor_parser"
[ 9.255530] audit: type=1400 audit(1747945898.084:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=350 comm="apparmor_parser"
[ 9.274155] audit: type=1400 audit(1747945898.108:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=351 comm="apparmor_parser"
[ 9.274213] audit: type=1400 audit(1747945898.108:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=351 comm="apparmor_parser"
[ 9.274243] audit: type=1400 audit(1747945898.108:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=351 comm="apparmor_parser"
[ 9.274274] audit: type=1400 audit(1747945898.108:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/{,usr/}sbin/dhclient" pid=351 comm="apparmor_parser"
[ 9.297435] audit: type=1400 audit(1747945898.128:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=352 comm="apparmor_parser"
[ 9.297494] audit: type=1400 audit(1747945898.128:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=352 comm="apparmor_parser"
[ 9.304074] audit: type=1400 audit(1747945898.136:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/aarch64-linux-gnu/lightdm/lightdm-guest-session" pid=348 comm="apparmor_parser"
[ 9.430334] RPC: Registered named UNIX socket transport module.
[ 9.430356] RPC: Registered udp transport module.
[ 9.430360] RPC: Registered tcp transport module.
[ 9.430364] RPC: Registered tcp-with-tls transport module.
[ 9.430367] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 9.498458] r8169 0001:01:00.0: enabling device (0000 -> 0003)
[ 9.514543] r8169 0001:01:00.0: can't read MAC address, setting random one
[ 9.618968] r8169 0001:01:00.0 eth0: RTL8125B, 46:28:4b:2e:49:b8, XID 641, IRQ 80
[ 9.618993] r8169 0001:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 9.622206] r8169 0002:01:00.0: enabling device (0000 -> 0003)
[ 9.622587] mc: Linux media interface: v0.10
[ 9.646575] r8169 0002:01:00.0: can't read MAC address, setting random one
[ 9.668355] panfrost fde60000.gpu: clock rate = 594000000
[ 9.668402] panfrost fde60000.gpu: bus_clock rate = 500000000
[ 9.673230] r8169 0002:01:00.0 eth1: RTL8125B, 76:ee:6f:b5:91:c8, XID 641, IRQ 81
[ 9.673257] r8169 0002:01:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 9.703841] videodev: Linux video capture interface: v2.00
[ 9.707303] panfrost fde60000.gpu: mali-g52 id 0x7402 major 0x1 minor 0x0 status 0x0
[ 9.707328] panfrost fde60000.gpu: features: 00000000,00000cf7, issues: 00000000,00000400
[ 9.707336] panfrost fde60000.gpu: Features: L2:0x07110206 Shader:0x00000002 Tiler:0x00000209 Mem:0x1 MMU:0x00002823 AS:0xff JS:0x7
[ 9.707344] panfrost fde60000.gpu: shader_present=0x1 l2_present=0x1
[ 9.731225] input: rk805 pwrkey as /devices/platform/fdd40000.i2c/i2c-0/0-0020/rk805-pwrkey.4.auto/input/input1
[ 9.747481] [drm] Initialized panfrost 1.2.0 for fde60000.gpu on minor 1
[ 9.873596] rockchip_vdec2: module is from the staging directory, the quality is unknown, you have been warned.
[ 9.961560] rockchip-rga fdeb0000.rga: HW Version: 0x03.02
[ 9.964607] rockchip-rga fdeb0000.rga: Registered rockchip-rga as /dev/video1
[ 9.993968] rk2-crypto fe380000.crypto: will run requests pump with realtime priority
[ 9.994034] rk2-crypto fe380000.crypto: Registers crypto algos
[ 9.994042] rk2-crypto fe380000.crypto: Register ecb(aes) as ecb-aes-rk2
[ 9.994098] rk2-crypto fe380000.crypto: Register cbc(aes) as cbc-aes-rk2
[ 9.994112] rk2-crypto fe380000.crypto: Register xts(aes) as xts-aes-rk2
[ 9.994126] rk2-crypto fe380000.crypto: Register md5 as rk2-md5 3
[ 9.994143] rk2-crypto fe380000.crypto: Register sha1 as rk2-sha1 4
[ 9.994158] rk2-crypto fe380000.crypto: Register sha256 as rk2-sha256 5
[ 9.994171] rk2-crypto fe380000.crypto: Register sha384 as rk2-sha384 6
[ 9.994184] rk2-crypto fe380000.crypto: Register sha512 as rk2-sha512 7
[ 9.994198] rk2-crypto fe380000.crypto: Register sm3 as rk2-sm3 8
[ 10.006441] hantro-vpu fdea0000.video-codec: Adding to iommu group 1
[ 10.018369] hantro-vpu fdea0000.video-codec: registered rockchip,rk3328-vpu-dec as /dev/video2
[ 10.022302] random: crng init done
[ 10.161524] hantro-vpu fdee0000.video-codec: Adding to iommu group 2
[ 10.214180] RTL8226B_RTL8221B 2.5Gbps PHY r8169-2-100:00: attached PHY driver (mii_bus:phy_addr=r8169-2-100:00, irq=MAC)
[ 10.268317] hantro-vpu fdee0000.video-codec: registered rockchip,rk3568-vepu-enc as /dev/video3
[ 10.402853] r8169 0002:01:00.0 eth1: Link is Down
[ 10.601615] RTL8226B_RTL8221B 2.5Gbps PHY r8169-1-100:00: attached PHY driver (mii_bus:phy_addr=r8169-1-100:00, irq=MAC)
[ 10.798144] r8169 0001:01:00.0 eth0: Link is Down
[ 11.089997] RTL8226B_RTL8221B 2.5Gbps PHY r8169-1-100:00: attached PHY driver (mii_bus:phy_addr=r8169-1-100:00, irq=MAC)
[ 11.271010] r8169 0001:01:00.0 eth0: Link is Down
[ 12.384007] loop10: detected capacity change from 0 to 8
[ 14.008975] r8169 0001:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
For completeness, the issue of undetected PCI device might be a dedicated one: #7517 That one happened with Linux 6.6 as well, appears not always, but randomly. Maybe the new kernel changed conditions a bit for whether the conflict appears and which device/bus is affected. I see the same error messages:
[ 5.355664] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
...
[ 5.880718] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: can't assign; no space
[ 5.880730] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: failed to assign
However, the Ethernet devices are 0001:01:00.0 and 0002:01:00.0, the M.2 slot is 0000:01:00.0. And yeah you are right, the two Ethernet ports did not actually swap order on R5C, but 0001:01:00.0 fails to load in case of attached WiFi module, so 0002:01:00.0 becomes eth0. That is good to know. So if the device detection is fixed, the interface naming remains the same. Pretty weird that on the NanoPi R5S the dedicated Ethernet chip is detected (its interface named) between the two ports of the other chip. I need to check again the PCI bus and device names in its boot logs. But that is a different topic.
Let's compare the related kernel logs for those two R5C cases:
With WiFi module:
[ 2.191260] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 2.191471] pci 0000:01:00.0: [10ec:c822] type 00 class 0x028000 PCIe Endpoint
[ 2.191601] pci 0000:01:00.0: BAR 0 [io 0x1000-0x10ff]
[ 2.191737] pci 0000:01:00.0: BAR 2 [mem 0xf4200000-0xf420ffff 64bit]
[ 2.192389] pci 0000:01:00.0: supports D1 D2
[ 2.192415] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 2.200848] pci 0000:01:00.0: BAR 2 [mem 0xf4200000-0xf420ffff 64bit]: assigned
[ 2.200937] pci 0000:01:00.0: BAR 0 [io 0x1000-0x10ff]: assigned
[ 2.201152] pci_bus 0000:01: resource 0 [io 0x1000-0x1fff]
[ 2.201174] pci_bus 0000:01: resource 1 [mem 0xf4200000-0xf42fffff]
[ 5.355664] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.872689] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.872844] pci 0002:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 5.872933] pci 0002:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 5.873031] pci 0002:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 5.873097] pci 0002:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 5.873664] pci 0002:01:00.0: supports D1 D2
[ 5.873674] pci 0002:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.880781] pci 0002:01:00.0: BAR 2 [mem 0xf0200000-0xf020ffff 64bit]: assigned
[ 5.880838] pci 0002:01:00.0: BAR 4 [mem 0xf0210000-0xf0213fff 64bit]: assigned
[ 5.880892] pci 0002:01:00.0: BAR 0 [io 0x200000-0x2000ff]: assigned
[ 5.880991] pci_bus 0002:01: resource 0 [io 0x200000-0x200fff]
[ 5.881000] pci_bus 0002:01: resource 1 [mem 0xf0200000-0xf02fffff]
[ 13.755839] r8169 0002:01:00.0: enabling device (0000 -> 0003)
[ 13.790096] r8169 0002:01:00.0: can't read MAC address, setting random one
[ 13.886823] r8169 0002:01:00.0 eth0: RTL8125B, 1a:a0:1c:72:b8:08, XID 641, IRQ 80
[ 13.886865] r8169 0002:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 14.518081] rtw_8822ce 0000:01:00.0: enabling device (0000 -> 0003)
[ 14.524135] rtw_8822ce 0000:01:00.0: Firmware version 9.9.15, H2C version 15
[ 14.524994] rtw_8822ce 0000:01:00.0: WOW Firmware version 9.9.4, H2C version 15
[ 16.001652] r8169 0002:01:00.0 eth0: Link is Down
[ 18.644647] r8169 0002:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
Without WiFi module:
[ 3.052738] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.501802] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.502986] pci 0001:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 5.503744] pci 0001:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 5.504319] pci 0001:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 5.504966] pci 0001:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 5.506158] pci 0001:01:00.0: supports D1 D2
[ 5.506573] pci 0001:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.516179] pci 0001:01:00.0: BAR 2 [mem 0xf2200000-0xf220ffff 64bit]: assigned
[ 5.516895] pci 0001:01:00.0: BAR 4 [mem 0xf2210000-0xf2213fff 64bit]: assigned
[ 5.517608] pci 0001:01:00.0: BAR 0 [io 0x100000-0x1000ff]: assigned
[ 5.521688] pci_bus 0001:01: resource 0 [io 0x100000-0x100fff]
[ 5.522272] pci_bus 0001:01: resource 1 [mem 0xf2200000-0xf22fffff]
[ 5.872689] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.872844] pci 0002:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 5.872933] pci 0002:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 5.873031] pci 0002:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 5.873097] pci 0002:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 5.873664] pci 0002:01:00.0: supports D1 D2
[ 5.873674] pci 0002:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 5.880781] pci 0002:01:00.0: BAR 2 [mem 0xf0200000-0xf020ffff 64bit]: assigned
[ 5.880838] pci 0002:01:00.0: BAR 4 [mem 0xf0210000-0xf0213fff 64bit]: assigned
[ 5.880892] pci 0002:01:00.0: BAR 0 [io 0x200000-0x2000ff]: assigned
[ 5.880991] pci_bus 0002:01: resource 0 [io 0x200000-0x200fff]
[ 5.881000] pci_bus 0002:01: resource 1 [mem 0xf0200000-0xf02fffff]
[ 9.498458] r8169 0001:01:00.0: enabling device (0000 -> 0003)
[ 9.514543] r8169 0001:01:00.0: can't read MAC address, setting random one
[ 9.618968] r8169 0001:01:00.0 eth0: RTL8125B, 46:28:4b:2e:49:b8, XID 641, IRQ 80
[ 9.618993] r8169 0001:01:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 9.622206] r8169 0002:01:00.0: enabling device (0000 -> 0003)
[ 9.646575] r8169 0002:01:00.0: can't read MAC address, setting random one
[ 9.673230] r8169 0002:01:00.0 eth1: RTL8125B, 76:ee:6f:b5:91:c8, XID 641, IRQ 81
[ 9.673257] r8169 0002:01:00.0 eth1: jumbo features [frames: 9194 bytes, tx checksumming: ko]
[ 10.402853] r8169 0002:01:00.0 eth1: Link is Down
[ 10.798144] r8169 0001:01:00.0 eth0: Link is Down
[ 11.271010] r8169 0001:01:00.0 eth0: Link is Down
[ 14.008975] r8169 0001:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
Weird: With the WiFi module attached, there is this pci_bus 0001:01: busn_res: can not insert (always shown for all 3 devices (also always shown for the two 2.5 Gbit Ethernet ports on R5S), but otherwise the device is not processed at all, as if the first Ethernet device would not be attached. Without WiFi module, it is the other way round. Checking the memory addresses assigned for the BARs of each device, there are no conflicts, so that is not the problem.
The second Ethernet device is set up exactly the same way, and I guess with the previous kernel, all 3 devices are set up the same way (with the same BAR addresses) as if you merge the two logs above together. Do you have time to show dmesg with the old kernel?
So this must be some low level PCI driver/behavior change. No idea whether I am able to find it in Linux code ...
I have several log files and they are quite large, should I just copy / paste or is a way to attach them as txt files?
You can also add test files here. There is a button below the text field to do so:
You can also add test files here. There is a button below the text field to do so:
I fired up several cards and did these scenarios. I have to say that the board showing / not showing eth0 and eth1 is random. It's all OS related I think. Once the device is not showing eth0, it remains consistent like that across all updates.
- I started with an image with and 9.8.1 and 9.12.1 that I know works with all adapters.
- On systems where lspci found both 2.5Gb ethernet adapters, everything updated well and kept eth0 and eth1
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0001:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
- On systems where lspci found only the second ethernet adapter, it treated that as WAN and make it eth0
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
- The WLAN card may not have bearing.
- The other thing I noticed is that system that was not working had Linux version 6.6.56-current-rockchip64 and the system that was working had Linux version 6.12.25-current-rockchip64. I am not exactly sure how this happened as I have updated both systems to the latest Dietpi version. I thougth the kernel version also got updated.
device-known-NOT-TO-WORK-From-98.txt device-known-NOT-TO-WORK-From-98-913.txt device-known-NOT-TO-WORK-From-912-913.txt device-known-TO-WORK-Flashed-912.txt device-known-TO-WORK-From-912-913.txt
I also did a fresh install of the latest dietpi 9.13.2 and now i have the updated kernel, but still eth0 is the WAN and the LAN is not detected on the device known NOT TO WORK.
device-known-NOT-TO-WORK-Fresh-Install-913.txt
I also did a stock install from FriendlyArm and the device and both ethernets and WiFi worked as expected. Except in this case eth0 was WAN and eth1 was LAN. So in their stock bookworm install it is reversed.
The other thing I noticed is that system that was not working had Linux version 6.6.56-current-rockchip64 and the system that was working had Linux version 6.12.25-current-rockchip64
Okay this means the issue appears randomly on some particular boards and not on others, and do I understand right that it can appear with both kernel versions? Ah yeah, the first 3 failing cases are Linux 6.6, the 4th failing case is Linux 6.12. The two working cases are also Linux 6.12. So looks like the issue generally appears since Linux 6.6, and Linux 6.12 either enhanced the situation a bit (fixing it in some cases, but not in all), or did not change something about it at all.
Then it seems likely that it is related to the M.2 card detection issue reported for R5S, though this happened randomly between reboots. Though in this other case, there are two more error messages which are missing here. Do the boards with the missing LAN port interface have this consequently every reboot, and those without the issue never have it?
Comparing with vendor kernel:
- The
busn_res: can not inserterror on mainline Linux (6.6 and 6.12) appears for the PCI busses of the M.2 slot (regardless whether it has a WiFi module attached or not) as well as the two 2.5 Gbit Ethernet ports. It appears also when all devices are detected and work properly. - However, on vendor kernel it appears for the M.2 slot only. There the bus numbers for the Ethernet adapters are also different.
busn_resshows a different non-error log for these:
So with the bus number[ 6.931934] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f]) [ 6.965901] pci_bus 0002:21: busn_res: [bus 21-2f] end is updated to 21 [ 7.066242] pci_bus 0001:11: busn_res: [bus 11-1f] end is updated to 1101, it always tries to reserve (?)[bus 01-ff], whatever it means exactly ๐ , which seems to conflict with a null region00-0f. The two busses in vendor kernel with numbers 11 and 21 successfully use[bus 11-1f]resp.[bus 21-2f]instead. - Following that logic, the
01bus should actually try to use the region01-1f... or01-0f, depending on how to interpret the scheme. Both, if seen as regions, still conflict with00-0f, but maybe it is not a conflict with some whatever "null" bus or device region, but that the region01-ffis not within00-0f, but exceeds it. If the second value is related to the PCI domain (0001=>1f,0002=>2f), then domain0000should lead to0f, and is probably falsely handled as kinda mask for any domain =>ffhere.
Let's see where all this PCI(e) stuff is defined in the device tree:
- Vendor kernel: https://github.com/friendlyarm/kernel-rockchip/blob/nanopi6-v6.1.y/arch/arm64/boot/dts/rockchip/rk3568-nanopi5-rev02.dts#L126-L161
This
local-mac-addressstuff is actually to assign a static MAC address. I previously misinterpreted this as for the M.2 WiFi module, but 2x R8125 of course means the 2x RTL8125 Ethernet ports. So this could be tested in mainline Linux. Thepcie@10,0andpcie@20,0are the PCI bus without doubt, leading to bus 11 and 21 instead of - Mainline kernel, is missing all of this: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/rockchip/rk3568-nanopi-r5c.dts?h=linux-6.12.y#n68
The parent nodes btw define the bus range that was conflicting in mainline Linux:
- Vendor: https://github.com/friendlyarm/kernel-rockchip/blob/nanopi6-v6.1.y/arch/arm64/boot/dts/rockchip/rk3568.dtsi#L78-L184
- Mainline: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm64/boot/dts/rockchip/rk3568.dtsi?h=linux-6.12.y#n63
There we see
bus-range = <0x0 0xf>;, which should be probablybus-range = <0x00 0x0f>;. Both hex digits mean the same, but maybe they are interpreted differently when given in 1 digit notation instead of 2 digit notation.
I'll play around with this stuff via overlays on my R5S, let's see whether any of this can fix an error, and whether I can get static MAC addresses with this.
I am also happy to ship you a R5C to play around with. In the meantime, would you say that it's safe to update to 9.13.2 for devices in the field? Is the logic that if they are working so far, then there is no reason they should stop? or is it a crap shoot?
The reason I ask is that I have some remote devices in the field and they are all plugged into the LAN port, if I do the update and the ethernet is switched, then someone has to physically go out there and switch them to the WAN port. Not too big an issue, but I just want to be prepared in case.
As usual I am very appreciative for all your support.
Do the boards with the missing LAN port interface have this consequently every reboot, and those without the issue never have it?
Yes, it's either the board has it or doesn't. Once it has it, even if I remove the PCI card, LAN is not detected on every reboot (at least the dozen or so reboots that I have tested with)
would you say that it's safe to update to 9.13.2 for devices in the field?
Yes, I took out the new kernel from our APT repo. So they will stay at Linux 6.6. But looking at your results, it really seems that the old kernel is causing the same issue, so maybe it would not even be bad or worsen things, if I move the kernel back in for the R5C. Maybe do the DietPi update first, which does not affect the issue as it does not do any kernel upgrade (or does it upgrade from an older 6.6 to a newer 6.6?). Test whether some of them are affected by the issue regardless, and in case upgrade the kernel for them manually, to see whether it changes something or not. I am still wondering why you face the missing Ethernet adapter now, while the previous kernel causes the same issue already.
... maybe before doing the DietPi update, run apt update && apt upgrade to see whether a kernel upgrade is offered. If this is older 6.6 to newer 6.6, and is causing the issue on some boards, then this narrows down the issue to a particular Linux patch version, or possibly patches/changes done at Armbian within the related Armbian version strings.
Seems the issue is there with both kernels, so maybe removing it doesn't solve anything.
How do I update the kernel manually? "sorry if this is noob question, just want to make sure I am doing the correct steps"
not sure if this related, apt update && apt upgrade produces this:
Err:1 https://deb.debian.org/debian bookworm InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 151.101.198.132 443]
Err:3 https://deb.debian.org/debian bookworm-updates InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 151.101.198.132 443]
Err:4 https://deb.debian.org/debian-security bookworm-security InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 151.101.198.132 443]
Err:5 https://deb.debian.org/debian bookworm-backports InRelease
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses not yet valid certificate. Could not handshake: Error in the certificate verification. [IP: 151.101.198.132 443]
Reading package lists... Done
E: Release file for https://repo.homebridge.io/dists/stable/InRelease is not valid yet (invalid for another 16d 4h 41min 36s). Updates for this repository will not be applied.
E: Release file for https://dietpi.com/apt/dists/bookworm/InRelease is not valid yet (invalid for another 17d 2h 57min 33s). Updates for this repository will not be applied.
E: Release file for https://dietpi.com/apt/dists/all/InRelease is not valid yet (invalid for another 19d 3h 2min 39s). Updates for this repository will not be applied.
apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Your system clock is long in the past. Please force a time sync:
/boot/dietpi/func/run_ntpd 1
Check why it failed at aboot:
journalctl -u systemd-timesyncd
Or do you use a different time sync daemon?
First findings regarding the busn_res error: The kernel indeed seems to reserve the bus number range 00-0f for some "null" device, probably the PCI bridges (ah nope seems to really be some non-existing node)? So to avoid the conflict, other bus ranges need to start after 0f, e.g. 10-1f, as used in vendor kernel.
This overlay removes the "error" for all 3 busses, assigning an all dedicated set of bus numbers:
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pcie2x1>;
__overlay__ {
bus-range = <0x10 0x1f>;
};
};
fragment@1 {
target = <&pcie3x1>;
__overlay__ {
bus-range = <0x20 0x2f>;
};
};
fragment@2 {
target = <&pcie3x2>;
__overlay__ {
bus-range = <0x30 0x3f>;
};
};
};
root@NanoPiR5S:~# dmesg | grep busn_res
[ 2.191014] pci_bus 0000:11: busn_res: [bus 11-1f] end is updated to 11
[ 4.171278] pci_bus 0001:21: busn_res: [bus 21-2f] end is updated to 21
[ 5.305127] pci_bus 0002:31: busn_res: [bus 31-3f] end is updated to 31
root@NanoPiR5S:~# lspci
0000:10:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:11:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0001:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0001:21:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0002:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
The ports are functional, so it does not cause any issues. But the changed bus numbers can theoretically cause breakage in userland, e.g. with "predictable interface names" changing, or other things which rely on the PCI identifier/bus number.
In the end, this is only an "info" message (kernel log severity), and all 3 devices can use the same bus number 1 without issue, as they use a different PCI domain (the first 4 digits, while I don't know yet what it technically means ๐ ). It does not seem to be a problem that they try to define the same bus range, as they can all use the same existing range just fine. So I don't think this is causing the issue. But it wouldn't hurt if you just test it:
mkdir /boot/overlay-user
cat << '_EOF_' > /boot/overlay-user/bus-range.dts
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pcie2x1>;
__overlay__ {
bus-range = <0x10 0x1f>;
};
};
fragment@1 {
target = <&pcie3x1>;
__overlay__ {
bus-range = <0x20 0x2f>;
};
};
fragment@2 {
target = <&pcie3x2>;
__overlay__ {
bus-range = <0x30 0x3f>;
};
};
};
_EOF_
dtc -I dts -O dtb -o /boot/overlay-user/bus-range.dtbo /boot/overlay-user/bus-range.dts
G_CONFIG_INJECT 'user_overlays=' 'user_overlays=bus-range' /boot/dietpiEnv.txt
reboot
Or do you use a different time sync daemon?
I know what happened, this was an image that I made on May 10 and rebooted the system with ethernet connected to LAN port was obviously not functioning, so it never synced. thanks for catching that, you're really smart!
dtc -I dts -O dtb -o /boot/overlay-user/lan.dtbo /boot/overlay-user/lan.dts
should this be dtc -I dts -O dtb -o /boot/overlay-user/bus-range.dtbo /boot/overlay-user/bus-range.dts
otherwise, i get error
dtc -I dts -O dtb -o /boot/overlay-user/lan.dtbo /boot/overlay-user/lan.dts
FATAL ERROR: Couldn't open "/boot/overlay-user/lan.dts": No such file or directory
In case I got the dtc conversion correct, this is the result (still no love)
dmesg | grep busn_res
[ 2.201838] pci_bus 0000:11: busn_res: [bus 11-1f] end is updated to 11
[ 5.516823] pci_bus 0001:21: busn_res: [bus 21-2f] end is updated to 21
[ 6.329858] pci_bus 0002:31: busn_res: [bus 31-3f] end is updated to 31
lspci
0000:10:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:11:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0001:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
Ah yeah right bus-range.db* of course. Copy&paste from before I renamed them to better match what I am testing.
In case I got the dtc conversion correct, this is the result (still no love)
Jep the ranges changed as expected. And I thought so, that it does not solve the issue. The 3 PCI bridges and the network adapters are now in a different bus number range, but the first 2.5 Gbit port is still just not detected, despite the related bus range is now assigned without this conflict message.
For the port that is missing in your case, in vendor kernel there is rockchip,init-delay-ms = <100>; defined in the PCIe node. This is not the case for the second one, and not for the first PCIe ... parent node ... whatever correct wording is. Maybe this was added just for this reason.
Can you test this:
cat << '_EOF_' > /boot/overlay-user/bus-delay.dts
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pcie3x1>;
__overlay__ {
rockchip,init-delay-ms = <100>;
};
};
};
_EOF_
dtc -I dts -O dtb -o /boot/overlay-user/bus-delay.dtbo /boot/overlay-user/bus-delay.dts
G_CONFIG_INJECT 'user_overlays=' 'user_overlays=bus-delay' /boot/dietpiEnv.txt
reboot
device-known-NOT-TO-WORK-after-applying-delay-patch.txt
ok strange, after first apply, reboot, device actually connected and worked with eth0
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0001:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
On second and subsequent reboot, issue came back.
lspci
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0000:01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter
0001:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3568 Remote Signal Processor (rev 01)
0002:01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
so I am not sure if the first time was one of those random occurrences or part of a cure
I guess it just shows that the issue indeed appears a bit randomly.
Okay I am one step further, and have a static IP address for the first 2.5 Gbit network adapter as well. Just for the second is does not work. I guess U-Boot assigns them just for the ethernet0 and ethernet1 aliases. ... yeah this seems to be the code: https://github.com/u-boot/u-boot/blob/master/arch/arm/mach-rockchip/board.c#L352-L359
It sets ethaddr and eth1addr variables, which are then assigned to the ethernet0 and ethernet1 aliases respectively: https://github.com/u-boot/u-boot/blob/master/boot/fdt_support.c#L645-L662
However, for the R5C it is enough, for the R5S an enhancement. Please try this:
cat << '_EOF_' > /boot/overlay-user/mac.dts
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pcie3x1>;
__overlay__ {
pcie@0,0 {
reg = <0 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
r8125_1: pcie@1,0 {
reg = <0 0 0 0 0>;
local-mac-address = [ 00 00 00 00 00 00 ];
};
};
};
};
fragment@1 {
target = <&pcie3x2>;
__overlay__ {
pcie@0,0 {
reg = <0 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
r8125_2: pcie@1,0 {
reg = <0 0 0 0 0>;
local-mac-address = [ 00 00 00 00 00 00 ];
};
};
};
};
fragment@2 {
target-path = "/aliases";
__overlay__ {
ethernet0 = "/pcie@fe270000/pcie@0,0/pcie@1,0";
ethernet1 = "/pcie@fe280000/pcie@0,0/pcie@1,0";
};
};
};
_EOF_
# This throws some warnings, which can be ignored
dtc -I dts -O dtb -o /boot/overlay-user/mac.dtbo -@ /boot/overlay-user/mac.dts
G_CONFIG_INJECT 'user_overlays=' 'user_overlays=mac' /boot/dietpiEnv.txt
reboot
Btw, I think the delay init stuff does not work like that in mainline Linux. I couldn't find such attribute anywhere else in mainline device trees. So there was not delay. I guess that vendor kernel has a delay for the first bus 0001:11 is the reason why it is loaded after the second one 0002:21, and hence why the interfaces are reversed between mainline and vendor kernel. Also the vendor device tree hence shows r8125_1 symbol for the second bus, and r8125_2 for the first, to have those matching the order in which they are loaded and in which interfaces are assigned/named. The bus-delay overlay did not have this reversing effect, so we need to find a way to define such a delay in mainline Linux, to test whether this causes/fixes the failing device detection.
EDIT: Verifying the logic U-Boot follows, I set eth2addr= with another MAC address, following the scheme of the first two ones assigned by U-Boot, and indeed with ethernet2 alias defined for R5S, the 3rd adapter got a static MAC address as well. However, would be nice to have U-Boot doing this.
Still same issue. log attached.
device-known-NOT-TO-WORK-after-applying-mac-patch.txt
I did notice this in the dmesg log, not sure what it means
[ 5.461852] rockchip-dw-pcie 3c0400000.pcie: Phy link never came up
[ 5.463106] rockchip-dw-pcie 3c0400000.pcie: PCI host bridge to bus 0001:00
[ 5.464147] pci_bus 0001:00: root bus resource [bus 00-0f]
[ 5.464962] pci_bus 0001:00: root bus resource [io 0x100000-0x1fffff] (bus address [0xf2100000-0xf21fffff])
[ 5.466684] pci_bus 0001:00: root bus resource [mem 0xf2200000-0xf3ffffff]
[ 5.467766] pci_bus 0001:00: root bus resource [mem 0x340000000-0x37fffffff] (bus address [0x40000000-0x7fffffff])
[ 5.469632] pci 0001:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 5.483905] pci 0001:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 5.486198] systemd[1]: Inserted module 'autofs4'
[ 5.497406] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.525445] pci 0001:00:00.0: bridge window [io 0x0000-0x0fff]
[ 5.540097] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 5.554119] pci 0001:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 5.568292] pci 0001:00:00.0: supports D1 D2
[ 5.581854] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[ 5.611669] pci_bus 0001:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 5.628339] pci 0001:00:00.0: ROM [mem 0xf2200000-0xf220ffff pref]: assigned
[ 5.642545] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[ 5.656461] pci_bus 0001:00: resource 4 [io 0x100000-0x1fffff]
[ 5.670008] pci_bus 0001:00: resource 5 [mem 0xf2200000-0xf3ffffff]
[ 5.670026] pci_bus 0001:00: resource 6 [mem 0x340000000-0x37fffffff]
[ 5.672794] pcieport 0001:00:00.0: PME: Signaling with IRQ 77
[ 5.709628] systemd[1]: systemd 252.36-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[ 5.710157] pcieport 0001:00:00.0: AER: enabled with IRQ 77
[ 5.749427] systemd[1]: Detected architecture arm64.
[ 5.763981] rockchip-dw-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[ 5.794053] rockchip-dw-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000
[ 5.794099] rockchip-dw-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff -> 0x00f0200000
[ 5.794122] rockchip-dw-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff -> 0x0040000000
[ 5.794438] rockchip-dw-pcie 3c0800000.pcie: iATU: unroll T, 8 ob, 8 ib, align 64K, limit 8G
[ 5.893279] systemd[1]: Hostname set to <MagicCubeAura>.
[ 6.001872] rockchip-dw-pcie 3c0800000.pcie: PCIe Gen.2 x1 link up
[ 6.016357] rockchip-dw-pcie 3c0800000.pcie: PCI host bridge to bus 0002:00
[ 6.030457] pci_bus 0002:00: root bus resource [bus 00-0f]
[ 6.045827] pci_bus 0002:00: root bus resource [io 0x200000-0x2fffff] (bus address [0xf0100000-0xf01fffff])
[ 6.062712] pci_bus 0002:00: root bus resource [mem 0xf0200000-0xf1ffffff]
[ 6.076148] pci_bus 0002:00: root bus resource [mem 0x380000000-0x3bfffffff] (bus address [0x40000000-0x7fffffff])
[ 6.090286] pci 0002:00:00.0: [1d87:3566] type 01 class 0x060400 PCIe Root Port
[ 6.103590] pci 0002:00:00.0: BAR 0 [mem 0x00000000-0x3fffffff]
[ 6.117206] pci 0002:00:00.0: BAR 1 [mem 0x00000000-0x3fffffff]
[ 6.130716] pci 0002:00:00.0: ROM [mem 0x00000000-0x0000ffff pref]
[ 6.143723] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 6.157122] dw-apb-uart fe660000.serial: forbid DMA for kernel console
[ 6.170395] pci 0002:00:00.0: bridge window [io 0x0000-0x0fff]
[ 6.183490] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff]
[ 6.196730] pci 0002:00:00.0: bridge window [mem 0x00000000-0x000fffff 64bit pref]
[ 6.209565] pci 0002:00:00.0: supports D1 D2
[ 6.221990] pci 0002:00:00.0: PME# supported from D0 D1 D3hot
[ 6.249424] pci_bus 0002:01: busn_res: can not insert [bus 01-ff] under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[ 6.262552] pci 0002:01:00.0: [10ec:8125] type 00 class 0x020000 PCIe Endpoint
[ 6.275192] pci 0002:01:00.0: BAR 0 [io 0x0000-0x00ff]
[ 6.287680] pci 0002:01:00.0: BAR 2 [mem 0x00000000-0x0000ffff 64bit]
[ 6.300350] pci 0002:01:00.0: BAR 4 [mem 0x00000000-0x00003fff 64bit]
[ 6.313507] pci 0002:01:00.0: supports D1 D2
[ 6.325819] pci 0002:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 6.346046] pci 0002:00:00.0: BAR 0 [mem 0x380000000-0x3bfffffff]: assigned
[ 6.358201] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: can't assign; no space
[ 6.370331] pci 0002:00:00.0: BAR 1 [mem size 0x40000000]: failed to assign
[ 6.382304] pci 0002:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]: assigned
[ 6.394478] pci 0002:00:00.0: ROM [mem 0xf0300000-0xf030ffff pref]: assigned
[ 6.406705] pci 0002:00:00.0: bridge window [io 0x200000-0x200fff]: assigned
[ 6.419058] pci 0002:01:00.0: BAR 2 [mem 0xf0200000-0xf020ffff 64bit]: assigned
[ 6.431005] pci 0002:01:00.0: BAR 4 [mem 0xf0210000-0xf0213fff 64bit]: assigned
[ 6.442385] pci 0002:01:00.0: BAR 0 [io 0x200000-0x2000ff]: assigned
[ 6.453059] pci 0002:00:00.0: PCI bridge to [bus 01-ff]
[ 6.463481] pci 0002:00:00.0: bridge window [io 0x200000-0x200fff]
[ 6.474094] pci 0002:00:00.0: bridge window [mem 0xf0200000-0xf02fffff]
[ 6.484520] pci_bus 0002:00: Some PCI device resources are unassigned, try booting with pci=realloc
[ 6.495270] pci_bus 0002:00: resource 4 [io 0x200000-0x2fffff]
[ 6.505561] pci_bus 0002:00: resource 5 [mem 0xf0200000-0xf1ffffff]
[ 6.515922] pci_bus 0002:00: resource 6 [mem 0x380000000-0x3bfffffff]
[ 6.526380] pci_bus 0002:01: resource 0 [io 0x200000-0x200fff]
[ 6.536617] pci_bus 0002:01: resource 1 [mem 0xf0200000-0xf02fffff]
[ 6.549526] pcieport 0002:00:00.0: PME: Signaling with IRQ 79
[ 6.560285] pcieport 0002:00:00.0: AER: enabled with IRQ 79
these are the errors which you said we can ignore?
dtc -I dts -O dtb -o /boot/overlay-user/mac.dtbo -@ /boot/overlay-user/mac.dts
/boot/overlay-user/mac.dts:8.5-23: Warning (reg_format): /fragment@0/__overlay__/pcie@0,0:reg: property has invalid length (20 bytes) (#address-cells == 2, #size-cells == 1)
/boot/overlay-user/mac.dts:22.5-23: Warning (reg_format): /fragment@1/__overlay__/pcie@0,0:reg: property has invalid length (20 bytes) (#address-cells == 2, #size-cells == 1)
/boot/overlay-user/mac.dtbo: Warning (pci_device_reg): Failed prerequisite 'reg_format'
/boot/overlay-user/mac.dtbo: Warning (pci_device_bus_num): Failed prerequisite 'reg_format'
/boot/overlay-user/mac.dtbo: Warning (simple_bus_reg): Failed prerequisite 'reg_format'
/boot/overlay-user/mac.dtbo: Warning (i2c_bus_reg): Failed prerequisite 'reg_format'
/boot/overlay-user/mac.dtbo: Warning (spi_bus_reg): Failed prerequisite 'reg_format'
/boot/overlay-user/mac.dts:7.13-15.6: Warning (avoid_default_addr_size): /fragment@0/__overlay__/pcie@0,0: Relying on default #address-cells value
/boot/overlay-user/mac.dts:7.13-15.6: Warning (avoid_default_addr_size): /fragment@0/__overlay__/pcie@0,0: Relying on default #size-cells value
/boot/overlay-user/mac.dts:21.13-29.6: Warning (avoid_default_addr_size): /fragment@1/__overlay__/pcie@0,0: Relying on default #address-cells value
/boot/overlay-user/mac.dts:21.13-29.6: Warning (avoid_default_addr_size): /fragment@1/__overlay__/pcie@0,0: Relying on default #size-cells value
/boot/overlay-user/mac.dtbo: Warning (avoid_unnecessary_addr_size): Failed prerequisite 'avoid_default_addr_size'
/boot/overlay-user/mac.dtbo: Warning (unique_unit_address): Failed prerequisite 'avoid_default_addr_size'
Still same issue. log attached.
It was not meant to fix the failed detection issue. I have no clue about that yet, only hint that some init delay might help, but no idea how to achieve that with mainline Linux (tested a few things).
This was meant to make the MAC addresses static. Check whether it works as well for you as for me. For R5S I added this as fixed part to the kernel and bootloader boards in the meantime: https://github.com/MichaIng/build/commit/fddd74e If it works for you as well, R5C is next, then R6S and R6C.
these are the errors which you said we can ignore?
Yes, the device tree compiler does not know about the base device tree, so some properties look wrong to him, while they are correct. No idea why it assumes #address-cells == 2, #size-cells == 1 by default, when know knowing anything. The actual device tree sets #address-cells == 3, #size-cells == 2ยด in the parent node, so the reg` property is correct.
Ah should be actually possible to mute those by adding the true values to the overlay itself:
cat << '_EOF_' > /boot/overlay-user/mac.dts
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pcie3x1>;
__overlay__ {
#address-cells = <3>;
#size-cells = <2>;
pcie@0,0 {
reg = <0 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
r8125_1: pcie@1,0 {
reg = <0 0 0 0 0>;
local-mac-address = [ 00 00 00 00 00 00 ];
};
};
};
};
fragment@1 {
target = <&pcie3x2>;
__overlay__ {
#address-cells = <3>;
#size-cells = <2>;
pcie@0,0 {
reg = <0 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
r8125_2: pcie@1,0 {
reg = <0 0 0 0 0>;
local-mac-address = [ 00 00 00 00 00 00 ];
};
};
};
};
fragment@2 {
target-path = "/aliases";
__overlay__ {
ethernet0 = "/pcie@fe270000/pcie@0,0/pcie@1,0";
ethernet1 = "/pcie@fe280000/pcie@0,0/pcie@1,0";
};
};
};
_EOF_
dtc -I dts -O dtb -o /boot/overlay-user/mac.dtbo -@ /boot/overlay-user/mac.dts
EDIT: Yes, this works, good to know ๐.
Here to commit to make R5C MAC addresses static (without overlay): https://github.com/MichaIng/build/commit/6faa364 Build running: https://github.com/MichaIng/DietPi/actions/runs/15355356432
Once done, to test:
cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-current-rockchip64.deb
dpkg -i linux-{dtb,image}-current-rockchip64.deb
G_CONFIG_INJECT 'user_overlays=' 'user_overlays=' /boot/dietpiEnv.txt # in case ;)
reboot
It know it does not solve the actual issue of the missing network adapter, but something I could figure our meanwhile.
There is definitely some issue with PCI device detection and resource distribution, but so far I could not find it, looping through a lot of logs and source code and some Duck AI help which can explain a few thing pretty well, but sometimes hangs on logic errors as well ๐. Aside of the bus range conflict (which does not really seem to be an error), I was digging into kernel messages about resolved circular device tree node dependencies. The 3 PCIe parent nodes have a circular dependency with the legacy interrupt controllers, which are child nodes of them. But I wasn't able to find the actual dependency of the child node on the parent, aside of maybe one same interrupt number used by both. But it actually looks pretty intended as well, just like the bus range thing.
I was also checking a little further why Ethernet interfaces swapped on R5S from Linux 6.6 to 6.12: The PHY for the PCIe bus of the second 2.5 Gbit Ethernet adapter is somehow loaded 1-1.5 seconds later, hence the bus is as well, which is then after the WAN 1 Gbit adapter, which is is a non-PCIe GMAC one. But I have no idea why it initiates so much later now, much later than other nodes which have a higher address (this @fe270000 part) and would hence normally be processed later. The related PCIe bus is btw the one which fails in your case, so it in fact does load later already than with Linux 6.6. You can see it also in your logs:
[ 4.358654] phy phy-fe8c0000.phy.7: lane number 0, val 1
[ 4.359189] phy phy-fe8c0000.phy.7: lane number 1, val 2
[ 4.359683] phy phy-fe8c0000.phy.7: bifurcation enabled
[ 4.360430] rockchip-dw-pcie 3c0400000.pcie: host bridge /pcie@fe270000 ranges:
[ 4.361183] rockchip-dw-pcie 3c0400000.pcie: IO 0x00f2100000..0x00f21fffff -> 0x00f2100000
[ 4.363071] rockchip-dw-pcie 3c0400000.pcie: MEM 0x00f2200000..0x00f3ffffff -> 0x00f2200000
[ 4.363931] rockchip-dw-pcie 3c0400000.pcie: MEM 0x0340000000..0x037fffffff -> 0x0040000000
That PHY with Linux 6.6 is loaded at 2.X seconds, and has number 3 instead of 7 (I assume this means it was the 3rd loaded PHY, not is the 7th), and the PCIe bus loaded right next is the parent node of the 1st 2.5 Gbit adapter for the R5C, and the 2nd 2.5 Gbit adapter on R5S (the two SBCs use different PCIe parent nodes for them). But there is no init delay or any such defined anywhere, and the PHY (dependency) is loaded later, not the PCIe bus itself, so this does not look like an attempt to fix problems, and as you showed it does not fix them. I think the init delay would need to be between loading the parent PCIe bus and the child bus used by the network adapter. But so far no idea how to achieve that.
Does anyone know a good place to discuss such questions and issues related to mainline kernel? For reasons, Armbian sadly is impossible, the Linux mailing list is pretty focused on actual patches, not questions or problems, and at vendor forums it is mostly about vendor kernel and OS images. I'll probably try my luck at https://lists.kernelnewbies.org/pipermail/kernelnewbies/, but would prefer a forum platform over a mailing list.
I used the commands as below, I think it's "image" not "images"
cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{dtb,image}-current-rockchip64.deb
dpkg -i linux-{dtb,image}-current-rockchip64.deb
G_CONFIG_INJECT 'user_overlays=' 'user_overlays=' /boot/dietpiEnv.txt # in case ;)
reboot
In either case, my system got bricked after that, didn't boot up, no HDMI output either. I reimaged the device a few times and same thing happened after every update.
Yeah right, image instead of images.
In either case, my system got bricked after that, didn't boot up, no HDMI output either.
Um, that is surprising. AFAIK it worked on an R5C for someone on the forum, let me check back. The change is pretty harmless as well, defining a node and an alias ๐ค.
Had another look into this, assured that changes were applied to the correct device nodes. Still do not see the error. @InnovoDeveloper on a functional system, can you apply this overlay please, which adds the change for one device node only, so we test one after another:
apt install device-tree-compiler
mkdir -p /boot/overlay-user
cat << '_EOF_' > /boot/overlay-user/mac.dts
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&pcie3x1>;
__overlay__ {
#address-cells = <3>;
#size-cells = <2>;
pcie@0,0 {
reg = <0 0 0 0 0>;
#address-cells = <3>;
#size-cells = <2>;
r8125_1: pcie@1,0 {
reg = <0 0 0 0 0>;
local-mac-address = [ 00 00 00 00 00 00 ];
};
};
};
};
};
_EOF_
dtc -I dts -O dtb -o /boot/overlay-user/mac.dtbo -@ /boot/overlay-user/mac.dts
G_CONFIG_INJECT 'user_overlays=' 'user_overlays=mac' /boot/dietpiEnv.txt
reboot
If it applied correctly, you should have an additional symbol:
cat /proc/device-tree/__symbols__/r8125_1
EDIT: I probably found something to delay PCIe bus detection: https://lkml.org/lkml/2023/5/1/506
This patch is not in mainline, but Armbian has another patch which adds (only) bus-scan-delay-ms = <1000>; to the ROCKPro64 device tree. Probably support for that is patched in elsewhere, or they followed a false assumption. At least something to test.
EDIT2: Nope, sadly it has no effect. At first I thought it does: after applying it with an overlay, the my R6S (tinkering with it for another reason) refused to boot. Another time the two PCI busses were detected in reversed order. Not sure about the boot failure, as doing the very same later worked perfectly fine. The reversed detection order seems to have been something random (problematic as of swapped interface names). Repeating reboots, and adjusting the delay did not result in any change, both PCI busses and Ethernet devices were detected pretty much at the same time (there are ~10% = ~0.15 seconds variation possible), and above should add a full second delay, even <5000> on any of both busses did not change something.
Had another look into this, assured that changes were applied to the correct device nodes. Still do not see the error. @InnovoDeveloper on a functional system, can you apply this overlay please, which adds the change for one device node only, so we test one after another:
apt install device-tree-compiler mkdir -p /boot/overlay-user cat << 'EOF' > /boot/overlay-user/mac.dts /dts-v1/; /plugin/; / { fragment@0 { target = <&pcie3x1>; overlay { #address-cells = <3>; #size-cells = <2>; pcie@0,0 { reg = <0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; r8125_1: pcie@1,0 { reg = <0 0 0 0 0>; local-mac-address = [ 00 00 00 00 00 00 ]; }; }; }; }; }; EOF dtc -I dts -O dtb -o /boot/overlay-user/mac.dtbo -@ /boot/overlay-user/mac.dts G_CONFIG_INJECT 'user_overlays=' 'user_overlays=mac' /boot/dietpiEnv.txt reboot If it applied correctly, you should have an additional symbol:
cat /proc/device-tree/symbols/r8125_1 EDIT: I probably found something to delay PCIe bus detection: https://lkml.org/lkml/2023/5/1/506 This patch is not in mainline, but Armbian has another patch which adds (only)
bus-scan-delay-ms = <1000>;to the ROCKPro64 device tree. Probably support for that is patched in elsewhere, or they followed a false assumption. At least something to test. EDIT2: Nope, sadly it has no effect. At first I thought it does: after applying it with an overlay, the my R6S (tinkering with it for another reason) refused to boot. Another time the two PCI busses were detected in reversed order. Not sure about the boot failure, as doing the very same later worked perfectly fine. The reversed detection order seems to have been something random (problematic as of swapped interface names). Repeating reboots, and adjusting the delay did not result in any change, both PCI busses and Ethernet devices were detected pretty much at the same time (there are ~10% = ~0.15 seconds variation possible), and above should add a full second delay, even<5000>on any of both busses did not change something.
did you still want me to try this overlay?
did you still want me to try this overlay?
Yes please. I want to finish switching all NanoPi R SBCs to static MAC addresses. Only the R5C is outstanding.
Btw, depending on time and mood you have to do more test iterations, I would accept your prior offer to send me an R5C, at best one where the first Ethernet port is often missing. That issue is also still outstanding. Not sure if I am able to solve it, but since we have a similar case/report with the R5S as well, I aim to try getting help at some Linux mailing list of forum, and would then be able to do test iterations more quickly. Does this really only happen for you if an M.2 WiFi module is attached, or also without? In that case, I would need that module as well. Might well depend on the exact PCIe device attached to the port.