Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

NanoPi M1 Plus Image using modern Kernel that breaks ethernet #6974

Open
InnovoMagicCube opened this issue Mar 20, 2024 · 24 comments
Open

NanoPi M1 Plus Image using modern Kernel that breaks ethernet #6974

InnovoMagicCube opened this issue Mar 20, 2024 · 24 comments
Labels
External bug 🐞 For bugs which are not caused by DietPi. Kernel related 🧬 NanoPi M1 Plus Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible.
Milestone

Comments

@InnovoMagicCube
Copy link

          > I now added the execute flag to 99-dietpi-uboot (via `chmod +x`) and did an `apt reinstall linux-image-edge-sunxi linux-dtb-edge-sunxi linux-u-boot-nanopim1plus-edge`. Now we have, what we expected:
root@DietPi:/boot# ls -l
total 29920
-rw-r--r-- 1 root root 4325751 Sep 26 21:35 System.map-5.14.8-sunxi
-rw-r--r-- 1 root root     253 Oct  2 13:42 armbianEnv.txt
-rw-r--r-- 1 root root  307322 Oct  5 15:26 boot.bmp
-rw-r--r-- 1 root root    3895 Jan  5  2021 boot.cmd
-rw-rw-r-- 1 root root    3967 Jan  5  2021 boot.scr
-rw-r--r-- 1 root root  198159 Sep 26 21:35 config-5.14.8-sunxi
drwxr-xr-x 4 root root    4096 Oct  5 19:25 dietpi
-rw-rw-r-- 1 root root  314088 Sep 29 22:24 dietpi-CHANGELOG.txt
-rw-rw-r-- 1 root root   18092 Sep 29 22:24 dietpi-LICENSE.txt
-rw-rw-r-- 1 root root   14711 Sep 29 22:24 dietpi-README.md
-rw------- 1 root root    2955 Oct  5 15:28 dietpi-wifi.txt
-rw-rw-r-- 1 root root   15149 Oct  5 19:25 dietpi.txt
lrwxrwxrwx 1 root root      16 Oct  6 07:46 dtb -> dtb-5.14.8-sunxi
drwxr-xr-x 3 root root   12288 Oct  6 07:45 dtb-5.14.8-sunxi
-rw-r--r-- 1 root root 8572128 Oct  6 07:46 initrd.img-5.14.8-sunxi
drwxrwxr-x 2 root root    4096 Jan 21  2021 overlay-user
lrwxrwxrwx 1 root root      20 Oct  6 07:46 uInitrd -> uInitrd-5.14.8-sunxi
-rw-r--r-- 1 root root 8572192 Oct  6 07:46 uInitrd-5.14.8-sunxi
-rwxr-xr-x 1 root root 8244488 Sep 26 21:35 vmlinuz-5.14.8-sunxi
lrwxrwxrwx 1 root root      20 Oct  6 07:46 zImage -> vmlinuz-5.14.8-sunxi
root@DietPi:/boot#

Further step

Testing this with a reboot to the edge kernel 5.14.8 and prove the original LAN/WLAN issue. Tataa: The problem is back again, only LAN or WLAN can be activated, but not both in parallel:

grafik

The legacy kernel 5.4.88 shows the working condition:

grafik

Final testing

With these steps (apt remove ..., apt install ..., check for the /boot directory contents it gives:

  • edge kernel (5.14.8) does not work
  • current kernel (5.10.60) does not work
  • legacy kernel (5.4.88) works

Other kernels are not available:

root@DietPi:/boot# apt-cache search linux-image | grep sunxi
linux-image-current-sunxi - Linux kernel, version 5.10.60-sunxi
linux-image-edge-sunxi - Linux kernel, armbian version 5.14.8-sunxi edge
linux-image-legacy-sunxi - Linux kernel, version 5.4.88-sunxi
root@DietPi:/boot# 

Result

-->> I will generate images for Buster and Bullseye based on the legacy kernel.

This is an old issue and since it was closed, I used it to reopen a new issue. Hopefully this was the correct thing to do. I have a couple of these devices. I installed a new 9.2 dietpi image on the device which uses a later kernel and I am having the ethernet / wifi issue again. Is it possible to lock the M1Plus builds to kernel 5.4.88 as it is the only one that works for this device? Or if not, how do I roll back to t5.4.88 Kernel and prevent future dietpi updates from updating the Kernel ?

Originally posted by @InnovoMagicCube in #4712 (comment)

@InnovoMagicCube
Copy link
Author

Any update on this issue :)

@MichaIng
Copy link
Owner

You should in the meantime have Linux 6.6, and there were much newer kernel versions which had no issues. Since you just pasted a 3 years old quote, could you instead fill the bug report template and add the exact errors/issues/symptoms you face on your system? And please add the following, to get an overview over the network interfaces:

ip l
ip a
ip r

@h9419
Copy link

h9419 commented Sep 25, 2024

@MichaIng Same issue still persists in my NanoPi M1Plus hardware. Armbian and DietPi images prior to 2021 seemed to work. In 2021 I thought my hardware was faulty when I tried to reinstall and moved on to other SBCs, but now I know for sure that the hardware is not faulty because if I flash only the uboot sectors, it can negotiate an IP over DHCP and asks for TFTP. Following is the network interface overview you asked for

image

Images from vendor with kernel 4.14 does not boot for me either

@h9419
Copy link

h9419 commented Sep 26, 2024

Update: image from vendor boots but only if I use a smaller SD card. My default 128GB SD card does not boot with any vendor bootable images but works fine with DietPi/Armbian. Using a smaller 32GB card allowed me to get Debian bookworm with all hardware working, albeit not DietPi

@InnovoDeveloper
Copy link

I would love to see a working DietPi Image for this platform. I am experiencing the same issues with the network. I can get WiFi to work but not the wired ethernet to grab a DHCP address or work with a static one.

@MichaIng
Copy link
Owner

So eth0 shows up as of above screenshot, but DHCP times out or so? Does it work when you assign a static IP address?

Please show also the following:

journalctl -u ifup@eth0
dmesg -l 0,1,2,3

@InnovoDeveloper
Copy link

InnovoDeveloper commented Sep 26, 2024

So eth0 shows up as of above screenshot, but DHCP times out or so? Does it work when you assign a static IP address?

Please show also the following:

journalctl -u ifup@eth0
dmesg -l 0,1,2,3

correct, eth0 is up but cannot get a dhcp reservation and even when set to static IP address, it doesn't work.
journalctl command (this answer repeats)

Sep 26 11:35:25 MagicCubeAudio dhclient[474]: No working leases in persistent database - sleeping.
Sep 26 11:35:29 MagicCubeAudio dhclient[474]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 11:35:35 MagicCubeAudio dhclient[474]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 11:35:40 MagicCubeAudio dhclient[474]: No DHCPOFFERS received.
Sep 26 11:35:40 MagicCubeAudio dhclient[474]: No working leases in persistent database - sleeping.
Sep 26 11:35:44 MagicCubeAudio dhclient[474]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 11:35:47 MagicCubeAudio dhclient[474]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 11:35:50 MagicCubeAudio dhclient[474]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 11:35:54 MagicCubeAudio dhclient[474]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
Sep 26 11:35:55 MagicCubeAudio dhclient[474]: No DHCPOFFERS received.

dmesg command returns empty

@MichaIng
Copy link
Owner

MichaIng commented Sep 26, 2024

Is this the full journalctl output? Because it should contain some more lines about actual service start, ifup etc. Just in case it contains other interesting info. If the systems runs longer already, a reboot could be required, or you just restart the service:

sudo systemctl restart ifup@eth0
sleep 5
journalctl -u ifup@eth0

And can you show the list of loaded kernel modules on DietPi and the vendor image (or legacy kernel)?

lsmod

Generally the kernel build uses a moreless unmodified mainline Linux device tree, just some CPU thermal points and LED nodes added, but nothing changed regarding Ethernet: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/allwinner/sun8i-h3-nanopi-m1-plus.dts
Maybe there is an issue with the driver, so let's first check which one is used with which kernel.

@InnovoDeveloper
Copy link

InnovoDeveloper commented Sep 27, 2024

Here is the full log. I also did wlan0

`


root@MagicCubeAudio:~# sudo systemctl restart ifup@eth0
sleep 5
journalctl -u ifup@eth0
Sep 26 17:17:06 MagicCubeAudio systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:17:06 MagicCubeAudio ifup[502]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:17:06 MagicCubeAudio ifup[502]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:17:06 MagicCubeAudio ifup[502]: All rights reserved.
Sep 26 17:17:06 MagicCubeAudio ifup[502]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: All rights reserved.
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:17:06 MagicCubeAudio dhclient[502]:
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:17:06 MagicCubeAudio ifup[502]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:17:06 MagicCubeAudio ifup[502]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:17:06 MagicCubeAudio ifup[502]: Sending on   Socket/fallback
Sep 26 17:17:06 MagicCubeAudio ifup[502]: Created duid "\000\001\000\001.\210\266\002\002\201g\202\335\322".
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:17:06 MagicCubeAudio ifup[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: Sending on   Socket/fallback
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: Created duid "\000\001\000\001.\210\266\002\002\201g\202\335\322".
Sep 26 17:17:06 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:17:10 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:17:10 MagicCubeAudio ifup[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:17:17 MagicCubeAudio dhclient[502]: No DHCPOFFERS received.
Sep 26 17:17:17 MagicCubeAudio ifup[502]: No DHCPOFFERS received.
Sep 26 17:17:17 MagicCubeAudio ifup[502]: No working leases in persistent database - sleeping.
Sep 26 17:17:17 MagicCubeAudio dhclient[502]: No working leases in persistent database - sleeping.
Sep 26 17:17:17 MagicCubeAudio systemd[1]: Finished ifup@eth0.service - ifup for eth0.
Sep 26 17:17:19 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:17:23 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:17:27 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:17:30 MagicCubeAudio dhclient[502]: No DHCPOFFERS received.
Sep 26 17:17:30 MagicCubeAudio dhclient[502]: No working leases in persistent database - sleeping.
Sep 26 17:17:35 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:17:41 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:17:46 MagicCubeAudio dhclient[502]: No DHCPOFFERS received.
Sep 26 17:17:46 MagicCubeAudio dhclient[502]: No working leases in persistent database - sleeping.
Sep 26 17:17:49 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Sep 26 17:17:57 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:18:00 MagicCubeAudio dhclient[502]: No DHCPOFFERS received.
Sep 26 17:18:00 MagicCubeAudio dhclient[502]: No working leases in persistent database - sleeping.
Sep 26 17:18:04 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:18:11 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:18:15 MagicCubeAudio dhclient[502]: No DHCPOFFERS received.
Sep 26 17:18:15 MagicCubeAudio dhclient[502]: No working leases in persistent database - sleeping.
Sep 26 17:18:17 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:18:21 MagicCubeAudio dhclient[502]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:18:23 MagicCubeAudio systemd[1]: Stopping ifup@eth0.service - ifup for eth0...
Sep 26 17:18:23 MagicCubeAudio dhclient[1176]: Killed old client process
Sep 26 17:18:23 MagicCubeAudio ifdown[1176]: Killed old client process
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: All rights reserved.
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: All rights reserved.
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]:
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:24 MagicCubeAudio ifdown[1176]: Sending on   Socket/fallback
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:24 MagicCubeAudio dhclient[1176]: Sending on   Socket/fallback
Sep 26 17:18:25 MagicCubeAudio systemd[1]: ifup@eth0.service: Deactivated successfully.
Sep 26 17:18:25 MagicCubeAudio systemd[1]: Stopped ifup@eth0.service - ifup for eth0.
Sep 26 17:18:25 MagicCubeAudio systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: All rights reserved.
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: All rights reserved.
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]:
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: Sending on   Socket/fallback
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:18:25 MagicCubeAudio ifup[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: Sending on   Socket/fallback
Sep 26 17:18:25 MagicCubeAudio dhclient[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:18:31 MagicCubeAudio dhclient[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:18:31 MagicCubeAudio ifup[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:18:36 MagicCubeAudio dhclient[1207]: No DHCPOFFERS received.
Sep 26 17:18:36 MagicCubeAudio ifup[1207]: No DHCPOFFERS received.
Sep 26 17:18:36 MagicCubeAudio ifup[1207]: No working leases in persistent database - sleeping.
Sep 26 17:18:36 MagicCubeAudio dhclient[1207]: No working leases in persistent database - sleeping.
Sep 26 17:18:37 MagicCubeAudio systemd[1]: Finished ifup@eth0.service - ifup for eth0.
Sep 26 17:18:42 MagicCubeAudio dhclient[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:18:49 MagicCubeAudio dhclient[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:18:53 MagicCubeAudio dhclient[1207]: No DHCPOFFERS received.
Sep 26 17:18:53 MagicCubeAudio dhclient[1207]: No working leases in persistent database - sleeping.
Sep 26 17:18:56 MagicCubeAudio dhclient[1207]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:19:02 MagicCubeAudio systemd[1]: Stopping ifup@eth0.service - ifup for eth0...
Sep 26 17:19:03 MagicCubeAudio dhclient[1505]: Killed old client process
Sep 26 17:19:03 MagicCubeAudio ifdown[1505]: Killed old client process
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: All rights reserved.
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: All rights reserved.
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]:
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio ifdown[1505]: Sending on   Socket/fallback
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio dhclient[1505]: Sending on   Socket/fallback
Sep 26 17:19:04 MagicCubeAudio systemd[1]: ifup@eth0.service: Deactivated successfully.
Sep 26 17:19:04 MagicCubeAudio systemd[1]: Stopped ifup@eth0.service - ifup for eth0.
Sep 26 17:19:04 MagicCubeAudio systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: All rights reserved.
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: All rights reserved.
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]:
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: Sending on   Socket/fallback
Sep 26 17:19:04 MagicCubeAudio ifup[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: Sending on   Socket/fallback
Sep 26 17:19:04 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:19:10 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:19:10 MagicCubeAudio ifup[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:19:15 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:19:15 MagicCubeAudio ifup[1527]: No DHCPOFFERS received.
Sep 26 17:19:15 MagicCubeAudio ifup[1527]: No working leases in persistent database - sleeping.
Sep 26 17:19:15 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:19:15 MagicCubeAudio systemd[1]: Finished ifup@eth0.service - ifup for eth0.
Sep 26 17:19:19 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:19:22 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:19:27 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:19:30 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:19:30 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:19:34 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:19:38 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:19:45 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:19:45 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:19:47 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:19:54 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:19:58 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:19:58 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:20:02 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Sep 26 17:20:10 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:20:13 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:20:13 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:20:17 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:20:24 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:20:28 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:20:28 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:20:31 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:20:34 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:20:39 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:20:42 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:20:42 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:20:46 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:20:49 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:20:56 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
Sep 26 17:20:57 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:20:57 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:21:01 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:21:04 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:21:11 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
Sep 26 17:21:12 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:21:12 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:21:15 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:21:18 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:21:22 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:21:26 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:21:26 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:21:28 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:21:34 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:21:39 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:21:39 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:21:42 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:21:47 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:21:53 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:21:53 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:21:56 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:21:59 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:22:03 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:22:07 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:22:07 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:22:10 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Sep 26 17:22:18 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:22:21 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:22:21 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:22:26 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 26 17:22:29 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Sep 26 17:22:37 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:22:37 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:22:40 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Sep 26 17:22:47 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Sep 26 17:22:51 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:22:51 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:22:53 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:22:58 MagicCubeAudio dhclient[1527]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:23:04 MagicCubeAudio systemd[1]: Stopping ifup@eth0.service - ifup for eth0...
Sep 26 17:23:04 MagicCubeAudio dhclient[1527]: No DHCPOFFERS received.
Sep 26 17:23:04 MagicCubeAudio dhclient[1527]: No working leases in persistent database - sleeping.
Sep 26 17:23:04 MagicCubeAudio dhclient[1960]: Killed old client process
Sep 26 17:23:04 MagicCubeAudio ifdown[1960]: Killed old client process
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: All rights reserved.
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: All rights reserved.
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]:
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio ifdown[1960]: Sending on   Socket/fallback
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio dhclient[1960]: Sending on   Socket/fallback
Sep 26 17:23:05 MagicCubeAudio systemd[1]: ifup@eth0.service: Deactivated successfully.
Sep 26 17:23:05 MagicCubeAudio systemd[1]: Stopped ifup@eth0.service - ifup for eth0.
Sep 26 17:23:05 MagicCubeAudio systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: All rights reserved.
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: All rights reserved.
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]:
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: Listening on LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: Sending on   Socket/fallback
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Sep 26 17:23:05 MagicCubeAudio ifup[1985]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: Sending on   Socket/fallback
Sep 26 17:23:05 MagicCubeAudio dhclient[1985]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Sep 26 17:23:10 MagicCubeAudio dhclient[1985]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:23:10 MagicCubeAudio ifup[1985]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 26 17:23:16 MagicCubeAudio dhclient[1985]: No DHCPOFFERS received.
Sep 26 17:23:16 MagicCubeAudio ifup[1985]: No DHCPOFFERS received.
Sep 26 17:23:16 MagicCubeAudio ifup[1985]: No working leases in persistent database - sleeping.
Sep 26 17:23:16 MagicCubeAudio dhclient[1985]: No working leases in persistent database - sleeping.
Sep 26 17:23:16 MagicCubeAudio systemd[1]: Finished ifup@eth0.service - ifup for eth0.
Sep 26 17:23:19 MagicCubeAudio dhclient[1985]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7

`
`root@MagicCubeAudio:~# lsmod
Module                  Size  Used by
joydev                 20480  0
input_leds             12288  0
nls_utf8               12288  5
cifs                  782336  0
cifs_arc4              12288  1 cifs
nls_ucs2_utils         12288  1 cifs
cifs_md4               12288  1 cifs
fscache               192512  1 cifs
netfs                  36864  2 fscache,cifs
brcmfmac_wcc           12288  0
snd_soc_hdmi_codec     16384  1
sun9i_hdmi_audio       12288  0
sun4i_gpadc_iio        12288  0
sunxi_cir              16384  0
industrialio           57344  1 sun4i_gpadc_iio
lima                   49152  0
dw_hdmi_i2s_audio      12288  0
dw_hdmi_cec            12288  0
gpu_sched              28672  1 lima
brcmfmac              192512  1 brcmfmac_wcc
sun8i_thermal          12288  0
sunrpc                364544  1
brcmutil               12288  1 brcmfmac
cfg80211              606208  1 brcmfmac
rfkill                 20480  4 cfg80211
sunxi_cedrus           40960  0
v4l2_mem2mem           20480  1 sunxi_cedrus
videobuf2_dma_contig    16384  1 sunxi_cedrus
videobuf2_memops       16384  1 videobuf2_dma_contig
videobuf2_v4l2         16384  2 sunxi_cedrus,v4l2_mem2mem
videodev              184320  3 sunxi_cedrus,v4l2_mem2mem,videobuf2_v4l2
videobuf2_common       45056  5 sunxi_cedrus,videobuf2_dma_contig,videobuf2_memops,v4l2_mem2mem,videobuf2_v4l2
mc                     36864  5 sunxi_cedrus,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
drm_shmem_helper       12288  1 lima
display_connector      16384  0
simplefb               12288  0
cpufreq_dt             16384  0
evdev                  16384  1
binfmt_misc            16384  1
uio_pdrv_genirq        16384  0
uio                    16384  1 uio_pdrv_genirq
g_serial               12288  0
libcomposite           49152  1 g_serial
dm_mod                 98304  0
ip_tables              20480  0
x_tables               24576  1 ip_tables
autofs4                36864  3
pwrseq_simple          12288  1
gpio_keys              16384  0
realtek                20480  1
ac200_phy              12288  0
`


 sudo systemctl restart ifup@wlan0  && sleep 5 && journalctl -u ifup@wlan0
Sep 26 17:26:37 MagicCubeAudio systemd[1]: Stopping ifup@wlan0.service - ifup for wlan0...
Sep 26 17:26:37 MagicCubeAudio dhclient[2109]: Killed old client process
Sep 26 17:26:37 MagicCubeAudio ifdown[2109]: Killed old client process
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: All rights reserved.
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: All rights reserved.
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]:
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: Listening on LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: Listening on LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: Sending on   LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: Sending on   Socket/fallback
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: Sending on   LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: Sending on   Socket/fallback
Sep 26 17:26:38 MagicCubeAudio dhclient[2109]: DHCPRELEASE of 192.168.0.175 on wlan0 to 192.168.0.1 port 67
Sep 26 17:26:38 MagicCubeAudio ifdown[2109]: DHCPRELEASE of 192.168.0.175 on wlan0 to 192.168.0.1 port 67
Sep 26 17:26:38 MagicCubeAudio wpa_supplicant[1579]: wlan0: CTRL-EVENT-DISCONNECTED bssid=24:5a:4c:91:a1:66 reason=3 locally_generated=1
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=US
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: p2p-dev-wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: p2p-dev-wlan0: CTRL-EVENT-TERMINATING
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[1579]: wlan0: CTRL-EVENT-TERMINATING
Sep 26 17:26:39 MagicCubeAudio systemd[1]: ifup@wlan0.service: Deactivated successfully.
Sep 26 17:26:39 MagicCubeAudio systemd[1]: Stopped ifup@wlan0.service - ifup for wlan0.
Sep 26 17:26:39 MagicCubeAudio systemd[1]: Starting ifup@wlan0.service - ifup for wlan0...
Sep 26 17:26:39 MagicCubeAudio wpa_supplicant[2146]: Successfully initialized wpa_supplicant
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: Internet Systems Consortium DHCP Client 4.4.3-P1
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: All rights reserved.
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: Copyright 2004-2022 Internet Systems Consortium.
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: All rights reserved.
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: For info, please visit https://www.isc.org/software/dhcp/
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]:
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: Listening on LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: Listening on LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: Sending on   LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: Sending on   Socket/fallback
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: Sending on   LPF/wlan0/12:81:67:82:dd:d2
Sep 26 17:26:39 MagicCubeAudio ifup[2154]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: Sending on   Socket/fallback
Sep 26 17:26:39 MagicCubeAudio dhclient[2154]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
Sep 26 17:26:40 MagicCubeAudio wpa_supplicant[2149]: wlan0: Trying to associate with SSID 'xxxxx'
Sep 26 17:26:40 MagicCubeAudio wpa_supplicant[2149]: wlan0: Associated with 24:5a:4c:91:a1:66
Sep 26 17:26:40 MagicCubeAudio wpa_supplicant[2149]: wlan0: CTRL-EVENT-CONNECTED - Connection to 24:5a:4c:91:a1:66 completed [id=0 id_str=]
Sep 26 17:26:40 MagicCubeAudio wpa_supplicant[2149]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Sep 26 17:26:40 MagicCubeAudio wpa_supplicant[2149]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=COUNTRY_IE type=COUNTRY alpha2=US
Sep 26 17:26:45 MagicCubeAudio dhclient[2154]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Sep 26 17:26:45 MagicCubeAudio ifup[2154]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Sep 26 17:26:45 MagicCubeAudio dhclient[2154]: DHCPOFFER of 192.168.0.175 from 192.168.0.1
Sep 26 17:26:45 MagicCubeAudio ifup[2154]: DHCPOFFER of 192.168.0.175 from 192.168.0.1
Sep 26 17:26:45 MagicCubeAudio ifup[2154]: DHCPREQUEST for 192.168.0.175 on wlan0 to 255.255.255.255 port 67
Sep 26 17:26:45 MagicCubeAudio dhclient[2154]: DHCPREQUEST for 192.168.0.175 on wlan0 to 255.255.255.255 port 67
Sep 26 17:26:45 MagicCubeAudio dhclient[2154]: DHCPACK of 192.168.0.175 from 192.168.0.1
Sep 26 17:26:45 MagicCubeAudio ifup[2154]: DHCPACK of 192.168.0.175 from 192.168.0.1
Sep 26 17:26:45 MagicCubeAudio dhclient[2154]: bound to 192.168.0.175 -- renewal in 39704 seconds.
Sep 26 17:26:45 MagicCubeAudio ifup[2154]: bound to 192.168.0.175 -- renewal in 39704 seconds.
Sep 26 17:26:45 MagicCubeAudio systemd[1]: Finished ifup@wlan0.service - ifup for wlan0.

@MichaIng
Copy link
Owner

Sorry for the late reply. So yeah, DHCP times out for whatever reason.

I pushed a new kernel package to our APT server. Can you try to upgrade it:

apt update
apt upgrade

And above list of loaded modules is from vendor/legacy image or our image? And can you show the list from the other respective image, just to see whether different Ethernet drivers are loaded?

@InnovoDeveloper
Copy link

InnovoDeveloper commented Oct 14, 2024

I did the update, but still no address for eth0. I only used the DietPi image. I don't have any other ones installed. here is the log file

root@MagicCubeAudio:~# journalctl -u ifup@eth0
Oct 14 12:48:51 MagicCubeAudio dhclient[477]: No DHCPOFFERS received.
Oct 14 12:48:51 MagicCubeAudio dhclient[477]: No working leases in persistent database - sleeping.
Oct 14 12:48:53 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Oct 14 12:48:58 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Oct 14 12:49:03 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
Oct 14 12:49:04 MagicCubeAudio dhclient[477]: No DHCPOFFERS received.
Oct 14 12:49:04 MagicCubeAudio dhclient[477]: No working leases in persistent database - sleeping.
Oct 14 12:49:08 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
Oct 14 12:49:15 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
Oct 14 12:49:19 MagicCubeAudio dhclient[477]: No DHCPOFFERS received.
Oct 14 12:49:19 MagicCubeAudio dhclient[477]: No working leases in persistent database - sleeping.
Oct 14 12:49:21 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Oct 14 12:49:27 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Oct 14 12:49:32 MagicCubeAudio dhclient[477]: No DHCPOFFERS received.
Oct 14 12:49:32 MagicCubeAudio dhclient[477]: No working leases in persistent database - sleeping.
Oct 14 12:49:34 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Oct 14 12:49:40 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Oct 14 12:49:45 MagicCubeAudio dhclient[477]: No DHCPOFFERS received.
Oct 14 12:49:45 MagicCubeAudio dhclient[477]: No working leases in persistent database - sleeping.
Oct 14 12:49:48 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Oct 14 12:49:56 MagicCubeAudio dhclient[477]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Oct 14 12:49:59 MagicCubeAudio dhclient[477]: No DHCPOFFERS received.
Oct 14 12:49:59 MagicCubeAudio dhclient[477]: No working leases in persistent database - sleeping.
Oct 14 12:50:01 MagicCubeAudio systemd[1]: Stopping ifup@eth0.service - ifup for eth0...
Oct 14 12:50:01 MagicCubeAudio dhclient[1908]: Killed old client process
Oct 14 12:50:01 MagicCubeAudio ifdown[1908]: Killed old client process
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: Copyright 2004-2022 Internet Systems Consortium.
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: All rights reserved.
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: For info, please visit https://www.isc.org/software/dhcp/
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: Copyright 2004-2022 Internet Systems Consortium.
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: All rights reserved.
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: For info, please visit https://www.isc.org/software/dhcp/
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]:
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: Listening on LPF/eth0/02:81:67:82:dd:d2
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: Listening on LPF/eth0/02:81:67:82:dd:d2
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Oct 14 12:50:02 MagicCubeAudio ifdown[1908]: Sending on   Socket/fallback
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: Sending on   LPF/eth0/02:81:67:82:dd:d2
Oct 14 12:50:02 MagicCubeAudio dhclient[1908]: Sending on   Socket/fallback
Oct 14 12:50:02 MagicCubeAudio systemd[1]: ifup@eth0.service: Deactivated successfully.
Oct 14 12:50:02 MagicCubeAudio systemd[1]: Stopped ifup@eth0.service - ifup for eth0.
Oct 14 12:50:03 MagicCubeAudio systemd[1]: Starting ifup@eth0.service - ifup for eth0...
Oct 14 12:50:03 MagicCubeAudio dhclient[1930]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 14 12:50:03 MagicCubeAudio ifup[1930]: Internet Systems Consortium DHCP Client 4.4.3-P1
Oct 14 12:50:03 MagicCubeAudio ifup[1930]: Copyright 2004-2022 Internet Systems Consortium.
Oct 14 12:50:03 MagicCubeAudio ifup[1930]: All rights reserved.
Oct 14 12:50:03 MagicCubeAudio ifup[1930]: For info, please visit https://www.isc.org/software/dhcp/
Oct 14 12:50:03 MagicCubeAudio dhclient[1930]: Copyright 2004-2022 Internet Systems Consortium.
Oct 14 12:50:03 MagicCubeAudio dhclient[1930]: All rights reserved.
Oct 14 12:50:03 MagicCubeAudio dhclient[1930]: For info, please visit https://www.isc.org/software/dhcp/
Oct 14 12:50:03 MagicCubeAudio dhclient[1930]:
root@MagicCubeAudio:~# uname -r
6.6.44-current-sunxi
root@MagicCubeAudio:~# lsmod
Module                  Size  Used by
cmac                   12288  1
nls_utf8               12288  4
cifs                  806912  2
cifs_arc4              12288  1 cifs
nls_ucs2_utils         12288  1 cifs
cifs_md4               12288  1 cifs
fscache               192512  1 cifs
netfs                  36864  2 fscache,cifs
brcmfmac_wcc           12288  0
snd_soc_hdmi_codec     16384  1
sunrpc                364544  1
binfmt_misc            16384  1
brcmfmac              192512  1 brcmfmac_wcc
sun9i_hdmi_audio       12288  0
brcmutil               12288  1 brcmfmac
dw_hdmi_i2s_audio      12288  0
dw_hdmi_cec            12288  0
lima                   49152  0
sunxi_cir              16384  0
gpu_sched              28672  1 lima
cfg80211              606208  1 brcmfmac
drm_shmem_helper       12288  1 lima
sun8i_thermal          12288  0
sunxi_cedrus           40960  0
rfkill                 20480  4 cfg80211
v4l2_mem2mem           16384  1 sunxi_cedrus
videobuf2_dma_contig    16384  1 sunxi_cedrus
videobuf2_memops       16384  1 videobuf2_dma_contig
videobuf2_v4l2         16384  2 sunxi_cedrus,v4l2_mem2mem
videodev              180224  3 sunxi_cedrus,v4l2_mem2mem,videobuf2_v4l2
videobuf2_common       45056  5 sunxi_cedrus,videobuf2_dma_contig,videobuf2_memops,v4l2_mem2mem,videobuf2_v4l2
mc                     36864  5 sunxi_cedrus,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2
display_connector      16384  0
cpufreq_dt             16384  0
evdev                  16384  1
uio_pdrv_genirq        16384  0
uio                    16384  1 uio_pdrv_genirq
g_serial               12288  0
libcomposite           49152  1 g_serial
dm_mod                 98304  0
ip_tables              20480  0
x_tables               24576  1 ip_tables
autofs4                36864  3
pwrseq_simple          12288  1
gpio_keys              16384  0
realtek                20480  1
ac200_phy              12288  0

@MichaIng
Copy link
Owner

MichaIng commented Oct 16, 2024

Which Ethernet chip does the M1 Plus actually have?

And can you provide the full kernel log, to see which driver and in case firmware is loaded?

dmesg

Information is very difficult to find for this board. I see the device tree with Ethernet enabled in the Linux sources: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/allwinner/sun8i-h3-nanopi-m1-plus.dts?h=linux-6.6.y#n94
Armbian however adds a lot of patches, also for the sun8i PHY driver and regulator, probably some of them break things for the long EOL (Armbian-side) M1 Plus. I can do a test kernel build with patches removed.

However, let's also test whether the legacy kernel works. It is not 5.4.88 anymore but 6.1.104 in the meantime. And at some point in #4712 a newer kernel solved the Ethernet issues that exists already. I am currently doing a build of the package: https://github.com/MichaIng/DietPi/actions/runs/11366428649

EDIT: I pushed it to our APT server. Please test like this:

sudo apt install linux-{image,dtb}-legacy-sunxi
sudo reboot

@MichaIng MichaIng added this to the v9.8 milestone Oct 16, 2024
@MichaIng MichaIng added the Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible. label Oct 16, 2024
@InnovoDeveloper
Copy link

InnovoDeveloper commented Oct 16, 2024

This is the dmesg output

The last working Kernel that I tested was 5.4.88. Everything after that didn't seem to work.

[    1.684659] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    1.684677] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    1.684915] dwmac-sun8i 1c30000.ethernet: supply phy-io not found, using dummy regulator
[    1.685236] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.685271] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 50006 (expect 58000)
[    1.791224] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    1.791255] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    1.791266] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    1.791279] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    1.791290] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    1.791299] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    1.793619] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    1.794281] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    1.794311] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    1.813730] dwmac-sun8i 1c30000.ethernet: Switch mux to external PHY
[    8.209473] dwmac-sun8i 1c30000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    8.212463] dwmac-sun8i 1c30000.ethernet eth0: PHY [mdio_mux-0.2:07] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[    8.212511] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[    8.212527] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    8.212538] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[    8.213140] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/rgmii link mode

@InnovoDeveloper
Copy link

InnovoDeveloper commented Oct 16, 2024

Which Ethernet chip does the M1 Plus actually have?

And can you provide the full kernel log, to see which driver and in case firmware is loaded?

dmesg

Information is very difficult to find for this board. I see the device tree with Ethernet enabled in the Linux sources: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/boot/dts/allwinner/sun8i-h3-nanopi-m1-plus.dts?h=linux-6.6.y#n94 Armbian however adds a lot of patches, also for the sun8i PHY driver and regulator, probably some of them break things for the long EOL (Armbian-side) M1 Plus. I can do a test kernel build with patches removed.

However, let's also test whether the legacy kernel works. It is not 5.4.88 anymore but 6.1.104 in the meantime. And at some point in #4712 a newer kernel solved the Ethernet issues that exists already. I am currently doing a build of the package: https://github.com/MichaIng/DietPi/actions/runs/11366428649

EDIT: I pushed it to our APT server. Please test like this:

sudo apt install linux-{image,dtb}-legacy-sunxi
sudo reboot

I updated but still no ethernet.


`root@MagicCubeAudio:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
root@MagicCubeAudio:~# uname -r
6.1.104-legacy-sunxi
root@MagicCubeAudio:~# ifdown eth0 && ifup eth0
Killed old client process
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/02:81:67:82:dd:d2
Sending on   LPF/eth0/02:81:67:82:dd:d2
Sending on   Socket/fallback
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/02:81:67:82:dd:d2
Sending on   LPF/eth0/02:81:67:82:dd:d2
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

root@MagicCubeAudio:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 02:81:67:82:dd:d2  txqueuelen 1000  (Ethernet)
        RX packets 5237  bytes 413513 (403.8 KiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 47  bytes 14574 (14.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 151

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 644  bytes 62878 (61.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 644  bytes 62878 (61.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.175  netmask 255.255.255.0  broadcast 192.168.0.255
        ether 12:81:67:82:dd:d2  txqueuelen 1000  (Ethernet)
        RX packets 50704  bytes 3953694 (3.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 56601  bytes 5658904 (5.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

`

this is the output for wlan0

`root@MagicCubeAudio:~# ifdown wlan0 && ifup wlan0
Killed old client process
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/12:81:67:82:dd:d2
Sending on   LPF/wlan0/12:81:67:82:dd:d2
Sending on   Socket/fallback
DHCPRELEASE of 192.168.0.175 on wlan0 to 192.168.0.1 port 67
Internet Systems Consortium DHCP Client 4.4.3-P1
Copyright 2004-2022 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/12:81:67:82:dd:d2
Sending on   LPF/wlan0/12:81:67:82:dd:d2
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPOFFER of 192.168.0.175 from 192.168.0.1
DHCPREQUEST for 192.168.0.175 on wlan0 to 255.255.255.255 port 67
DHCPACK of 192.168.0.175 from 192.168.0.1
bound to 192.168.0.175 -- renewal in 40994 seconds.
`

@MichaIng
Copy link
Owner

Okay so it is the RTL8211E chip. SoC docs actually contain the relevant info: https://linux-sunxi.org/Ethernet

Checking the EMAC driver, it is builtin into the kernel, which is what we see: https://github.com/armbian/build/blob/main/config/kernel/linux-sunxi-current.config

CONFIG_DWMAC_SUN8I=y

The realtek module is the PHY driver which supports this chip: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/phy/realtek.c?h=linux-6.6.y

Can you show the full dmesg log, as not all related messages may match the filter you applied.

@InnovoDeveloper
Copy link

InnovoDeveloper commented Oct 16, 2024

Here is the full dmesg log

root@MagicCubeAudio:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.104-legacy-sunxi (build@armbian) (arm-linux-gnueabihf-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Sun Aug 11 10:36:02 UTC 2024
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyArm NanoPi M1 Plus
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0x75c00000
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000040000000-0x000000006fffffff]
[    0.000000]   HighMem  [mem 0x0000000070000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 18 pages/cpu s42772 r8192 d22764 u73728
[    0.000000] pcpu-alloc: s42772 r8192 d22764 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: root=UUID=e40dbc48-9741-4310-8388-c7b5ab04f42a rootwait rootfstype=ext4 console=ttyS0,115200 console=tty1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 consoleblank=0 loglevel=4 ubootpart= ubootsource=mmc usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u net.ifnames=0  sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16
[    0.000000] Unknown kernel command line parameters "ubootpart= ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] allocated 1048576 bytes of page_ext
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 879136K/1048576K available (10240K kernel code, 1523K rwdata, 3436K rodata, 1024K init, 373K bss, 38368K reserved, 131072K cma-reserved, 131060K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] ftrace: allocating 42889 entries in 126 pages
[    0.000000] ftrace: allocated 126 pages with 6 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Rude 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] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    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.000015] Switching to timer-based delay loop, resolution 41ns
[    0.000366] Console: colour dummy device 80x30
[    0.000446] printk: console [tty1] enabled
[    0.000508] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.000524] CPU: Testing write buffer coherency: ok
[    0.000581] pid_max: default: 32768 minimum: 301
[    0.001007] LSM: Security Framework initializing
[    0.001083] Yama: becoming mindful.
[    0.001284] AppArmor: AppArmor initialized
[    0.001515] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001535] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.003388] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.004363] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004378] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004498] cblist_init_generic: Setting adjustable number of callback queues.
[    0.004506] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.004636] Setting up static identity map for 0x40100000 - 0x40100054
[    0.004830] rcu: Hierarchical SRCU implementation.
[    0.004839] rcu:     Max phase no-delay instances is 1000.
[    0.006370] smp: Bringing up secondary CPUs ...
[    0.017309] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.028367] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.039302] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.039399] smp: Brought up 1 node, 4 CPUs
[    0.039419] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.039429] CPU: All CPU(s) started in HYP mode.
[    0.039434] CPU: Virtualization extensions available.
[    0.040315] devtmpfs: initialized
[    0.049501] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.049733] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.049761] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.055431] pinctrl core: initialized pinctrl subsystem
[    0.057115] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.058780] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059512] audit: initializing netlink subsys (disabled)
[    0.060057] audit: type=2000 audit(0.036:1): state=initialized audit_enabled=0 res=1
[    0.060511] thermal_sys: Registered thermal governor 'fair_share'
[    0.060522] thermal_sys: Registered thermal governor 'bang_bang'
[    0.060530] thermal_sys: Registered thermal governor 'step_wise'
[    0.060773] cpuidle: using governor ladder
[    0.060816] cpuidle: using governor menu
[    0.061335] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.061349] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.067044] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.067105] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.067410] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.067463] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.067892] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.068001] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.068089] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/hdmi@1ee0000
[    0.068127] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1200000
[    0.068237] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1100000
[    0.068534] platform 1200000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.068645] platform 1100000.mixer: Fixed dependency cycle(s) with /soc/lcd-controller@1c0d000
[    0.068774] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1200000
[    0.068879] platform 1c0d000.lcd-controller: Fixed dependency cycle(s) with /soc/mixer@1100000
[    0.074685] platform 1c0c000.lcd-controller: Fixed dependency cycle(s) with /soc/hdmi@1ee0000
[    0.074806] platform 1ee0000.hdmi: Fixed dependency cycle(s) with /soc/lcd-controller@1c0c000
[    0.079261] platform 1ee0000.hdmi: Fixed dependency cycle(s) with /connector
[    0.079358] platform connector: Fixed dependency cycle(s) with /soc/hdmi@1ee0000
[    0.089704] cryptd: max_cpu_qlen set to 1000
[    0.155444] raid6: neonx8   gen()   659 MB/s
[    0.223579] raid6: neonx4   gen()   912 MB/s
[    0.291662] raid6: neonx2   gen()   916 MB/s
[    0.359729] raid6: neonx1   gen()   750 MB/s
[    0.427859] raid6: int32x8  gen()   283 MB/s
[    0.495927] raid6: int32x4  gen()   315 MB/s
[    0.563956] raid6: int32x2  gen()   410 MB/s
[    0.632073] raid6: int32x1  gen()   370 MB/s
[    0.632081] raid6: using algorithm neonx2 gen() 916 MB/s
[    0.700122] raid6: .... xor() 678 MB/s, rmw enabled
[    0.700130] raid6: using neon recovery algorithm
[    0.701934] iommu: Default domain type: Translated
[    0.701949] iommu: DMA domain TLB invalidation policy: strict mode
[    0.702359] SCSI subsystem initialized
[    0.702664] libata version 3.00 loaded.
[    0.702903] usbcore: registered new interface driver usbfs
[    0.703009] usbcore: registered new interface driver hub
[    0.703053] usbcore: registered new device driver usb
[    0.703288] pps_core: LinuxPPS API ver. 1 registered
[    0.703297] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.703318] PTP clock support registered
[    0.703766] Advanced Linux Sound Architecture Driver Initialized.
[    0.704651] NetLabel: Initializing
[    0.704661] NetLabel:  domain hash size = 128
[    0.704668] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.704743] NetLabel:  unlabeled traffic allowed by default
[    0.705530] clocksource: Switched to clocksource arch_sys_counter
[    0.706114] VFS: Disk quotas dquot_6.6.0
[    0.706226] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.706876] AppArmor: AppArmor Filesystem Enabled
[    0.760822] NET: Registered PF_INET protocol family
[    0.761090] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.763454] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.763489] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.763508] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.763581] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.763916] TCP: Hash tables configured (established 8192 bind 8192)
[    0.764087] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.764158] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.764470] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.764929] Trying to unpack rootfs image as initramfs...
[    0.766496] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.767996] Initialise system trusted keyrings
[    0.768136] Key type blacklist registered
[    0.768486] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.775644] zbud: loaded
[    0.777702] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.779160] fuse: init (API version 7.37)
[    0.881570] xor: measuring software checksum speed
[    0.889191]    arm4regs        :  1303 MB/sec
[    0.900475]    8regs           :   873 MB/sec
[    0.912102]    32regs          :   849 MB/sec
[    0.919280]    neon            :  1383 MB/sec
[    0.919298] xor: using function: neon (1383 MB/sec)
[    0.919318] Key type asymmetric registered
[    0.919327] Asymmetric key parser 'x509' registered
[    1.378241] Freeing initrd memory: 9612K
[    1.407628] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    1.407946] bounce: pool size: 64 pages
[    1.408128] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.408288] io scheduler mq-deadline registered
[    1.408298] io scheduler kyber registered
[    1.408661] io scheduler bfq registered
[    1.422076] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    1.434623] brd: module loaded
[    1.440444] loop: module loaded
[    1.444318] usbcore: registered new interface driver usb-storage
[    1.445662] sun6i-rtc 1f00000.rtc: registered as rtc0
[    1.445705] sun6i-rtc 1f00000.rtc: setting system clock to 2024-10-16T14:26:21 UTC (1729088781)
[    1.445834] sun6i-rtc 1f00000.rtc: RTC enabled
[    1.446194] i2c_dev: i2c /dev entries driver
[    1.447698] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.448895] ledtrig-cpu: registered to indicate activity on CPUs
[    1.449141] hid: raw HID events driver (C) Jiri Kosina
[    1.449262] usbcore: registered new interface driver usbhid
[    1.449271] usbhid: USB HID core driver
[    1.458747] Initializing XFRM netlink socket
[    1.459502] NET: Registered PF_INET6 protocol family
[    1.488675] Segment Routing with IPv6
[    1.488774] In-situ OAM (IOAM) with IPv6
[    1.488940] NET: Registered PF_PACKET protocol family
[    1.488963] NET: Registered PF_KEY protocol family
[    1.489065] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.489249] 8021q: 802.1Q VLAN Support v1.8
[    1.489333] Key type dns_resolver registered
[    1.489824] Registering SWP/SWPB emulation handler
[    1.490708] registered taskstats version 1
[    1.490741] Loading compiled-in X.509 certificates
[    1.491236] zswap: loaded using pool lzo/zbud
[    1.492102] Key type .fscrypt registered
[    1.492113] Key type fscrypt-provisioning registered
[    1.496474] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    1.524707] Key type encrypted registered
[    1.524742] AppArmor: AppArmor sha1 policy hashing enabled
[    1.548370] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    1.550717] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    1.551149] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    1.551808] printk: console [ttyS0] disabled
[    1.572006] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 136, base_baud = 1500000) is a U6_16550A
[    1.572426] printk: console [ttyS0] enabled
[    1.573110] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pg not found, using dummy regulator
[    1.596052] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 137, base_baud = 1500000) is a U6_16550A
[    1.617199] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 138, base_baud = 1500000) is a U6_16550A
[    1.628292] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0b9bb70)
[    1.630405] sun4i-drm display-engine: bound 1200000.mixer (ops 0xc0b9bb70)
[    1.630837] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0b974b4)
[    1.631128] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xc0b974b4)
[    1.631207] sun8i-dw-hdmi 1ee0000.hdmi: supply hvcc not found, using dummy regulator
[    1.632264] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.632997] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.633373] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0b9af3c)
[    1.634231] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.634335] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    1.636196] ehci-platform 1c1b000.usb: EHCI Host Controller
[    1.636241] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 1
[    1.636940] ehci-platform 1c1c000.usb: EHCI Host Controller
[    1.636972] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    1.637191] ehci-platform 1c1d000.usb: EHCI Host Controller
[    1.637196] sun4i-drm display-engine: [drm] Cannot find any crtc or sizes
[    1.637221] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 3
[    1.638888] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    1.638926] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 4
[    1.639063] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    1.639092] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 5
[    1.639135] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    1.639162] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 6
[    1.640471] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.640471] sun8i-h3-r-pinctrl 1f02c00.pinctrl: supply vcc-pl not found, using dummy regulator
[    1.640624] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.640990] ohci-platform 1c1d400.usb: irq 147, io mem 0x01c1d400
[    1.642282] sun8i-h3-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.643050] ohci-platform 1c1b400.usb: irq 145, io mem 0x01c1b400
[    1.643312] of_cfs_init
[    1.643474] of_cfs_init: OK
[    1.643545] clk: Disabling unused clocks
[    1.643671] ALSA device list:
[    1.643680]   #0: H3 Audio Codec
[    1.644020] ohci-platform 1c1c400.usb: irq 146, io mem 0x01c1c400
[    1.644309] ehci-platform 1c1d000.usb: irq 144, io mem 0x01c1d000
[    1.644780] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    1.645280] ehci-platform 1c1b000.usb: irq 142, io mem 0x01c1b000
[    1.645421] ehci-platform 1c1c000.usb: irq 143, io mem 0x01c1c000
[    1.657569] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    1.657942] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.657963] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.657976] usb usb3: Product: EHCI Host Controller
[    1.657986] usb usb3: Manufacturer: Linux 6.1.104-legacy-sunxi ehci_hcd
[    1.657998] usb usb3: SerialNumber: 1c1d000.usb
[    1.658660] hub 3-0:1.0: USB hub found
[    1.658726] hub 3-0:1.0: 1 port detected
[    1.669554] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.669749] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    1.673571] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    1.673969] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.673987] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.674000] usb usb1: Product: EHCI Host Controller
[    1.674010] usb usb1: Manufacturer: Linux 6.1.104-legacy-sunxi ehci_hcd
[    1.674021] usb usb1: SerialNumber: 1c1b000.usb
[    1.674630] hub 1-0:1.0: USB hub found
[    1.674690] hub 1-0:1.0: 1 port detected
[    1.689561] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    1.689950] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.689970] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.689983] usb usb2: Product: EHCI Host Controller
[    1.689993] usb usb2: Manufacturer: Linux 6.1.104-legacy-sunxi ehci_hcd
[    1.690004] usb usb2: SerialNumber: 1c1c000.usb
[    1.690602] hub 2-0:1.0: USB hub found
[    1.690660] hub 2-0:1.0: 1 port detected
[    1.701856] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    1.701885] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.701898] usb usb6: Product: Generic Platform OHCI controller
[    1.701910] usb usb6: Manufacturer: Linux 6.1.104-legacy-sunxi ohci_hcd
[    1.701920] usb usb6: SerialNumber: 1c1d400.usb
[    1.702533] hub 6-0:1.0: USB hub found
[    1.702599] hub 6-0:1.0: 1 port detected
[    1.705853] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    1.705893] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.705908] usb usb5: Product: Generic Platform OHCI controller
[    1.705918] usb usb5: Manufacturer: Linux 6.1.104-legacy-sunxi ohci_hcd
[    1.705929] usb usb5: SerialNumber: 1c1c400.usb
[    1.706621] hub 5-0:1.0: USB hub found
[    1.706685] hub 5-0:1.0: 1 port detected
[    1.707424] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    1.707445] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.707458] usb usb4: Product: Generic Platform OHCI controller
[    1.707468] usb usb4: Manufacturer: Linux 6.1.104-legacy-sunxi ohci_hcd
[    1.707479] usb usb4: SerialNumber: 1c1b400.usb
[    1.708091] hub 4-0:1.0: USB hub found
[    1.708164] hub 4-0:1.0: 1 port detected
[    1.714931] Freeing unused kernel image (initmem) memory: 1024K
[    1.715213] Run /init as init process
[    1.715226]   with arguments:
[    1.715237]     /init
[    1.715245]   with environment:
[    1.715252]     HOME=/
[    1.715260]     TERM=linux
[    1.715268]     ubootpart=
[    1.715275]     ubootsource=mmc
[    1.715283]     sunxi_ve_mem_reserve=0
[    1.715291]     sunxi_g2d_mem_reserve=0
[    1.715298]     sunxi_fb_mem_reserve=16
[    1.785839] mmc2: new DDR MMC card at address 0001
[    1.787403] mmcblk2: mmc2:0001 8GTF4R 7.28 GiB
[    1.790117]  mmcblk2: p1
[    1.791604] mmcblk2boot0: mmc2:0001 8GTF4R 4.00 MiB
[    1.794463] mmcblk2boot1: mmc2:0001 8GTF4R 4.00 MiB
[    2.273647] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.364933] dwmac-sun8i 1c30000.ethernet: IRQ eth_wake_irq not found
[    2.364966] dwmac-sun8i 1c30000.ethernet: IRQ eth_lpi not found
[    2.365354] dwmac-sun8i 1c30000.ethernet: supply phy-io not found, using dummy regulator
[    2.365787] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    2.365827] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 50006 (expect 58000)
[    2.392558] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    2.417678] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    2.474500] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    2.474535] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    2.474545] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    2.474556] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    2.474568] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    2.474578] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    2.481167] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    2.486754] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    2.486792] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    2.504226] dwmac-sun8i 1c30000.ethernet: Switch mux to external PHY
[    2.522441] phy_rtl8211e_led_fixup in
[    2.556328] mmc1: new high speed SDIO card at address 0001
[    2.665587] EXT4-fs (mmcblk2p1): mounted filesystem with writeback data mode. Quota mode: none.
[    3.029717] systemd[1]: Inserted module 'autofs4'
[    3.078070] systemd[1]: systemd 252.30-1~deb12u2 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)
[    3.078124] systemd[1]: Detected architecture arm.
[    3.081760] systemd[1]: Hostname set to <MagicCubeAudio>.
[    4.023264] systemd[1]: Queued start job for default target graphical.target.
[    4.047813] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    4.051548] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    4.054851] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    4.056955] systemd[1]: Created slice user.slice - User and Session Slice.
[    4.057822] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    4.058492] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    4.059827] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[    4.060358] systemd[1]: Expecting device dev-ttyGS0.device - /dev/ttyGS0...
[    4.060679] systemd[1]: Expecting device dev-ttyS0.device - /dev/ttyS0...
[    4.061070] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    4.061666] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    4.062410] systemd[1]: Reached target paths.target - Path Units.
[    4.063111] systemd[1]: Reached target slices.target - Slice Units.
[    4.063791] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    4.090063] systemd[1]: Listening on rpcbind.socket - RPCbind Server Activation Socket.
[    4.091688] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[    4.092595] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    4.094689] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[    4.096076] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    4.097342] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    4.099514] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    4.100708] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    4.102179] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    4.107880] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    4.115587] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    4.124014] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    4.125424] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of an unmet condition check (ConditionPathExists=/etc/krb5.keytab).
[    4.136246] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
[    4.145825] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    4.155544] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    4.166628] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    4.177254] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    4.188346] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    4.200383] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    4.210986] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    4.217345] device-mapper: uevent: version 1.0.3
[    4.218036] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    4.222458] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    4.225080] 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).
[    4.241319] systemd[1]: Starting systemd-journald.service - Journal Service...
[    4.254005] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    4.266398] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    4.276215] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    4.294596] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    4.296061] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    4.297706] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    4.300504] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[    4.304007] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    4.307602] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    4.309770] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    4.313126] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    4.315135] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    4.318444] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    4.319938] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    4.323415] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    4.325083] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    4.329426] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    4.331333] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[    4.335587] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    4.337393] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[    4.371026] EXT4-fs (mmcblk2p1): re-mounted. Quota mode: none.
[    4.374437] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
[    4.382723] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[    4.383822] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[    4.397207] UDC core: g_serial: couldn't find an available UDC
[    4.412551] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[    4.418901] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[    4.420429] systemd[1]: Mounted sys-fs-fuse-connections.mount - FUSE Control File System.
[    4.421499] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[    4.429362] systemd[1]: Activating swap var-swap.swap - /var/swap...
[    4.430192] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[    4.430841] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    4.438489] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
[    4.452638] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[    4.484084] systemd[1]: Starting systemd-sysusers.service - Create System Users...
[    4.495920] Adding 1106940k swap on /var/swap.  Priority:-2 extents:5 across:1156092k SSFS
[    4.500574] systemd[1]: Activated swap var-swap.swap - /var/swap.
[    4.503428] systemd[1]: Reached target swap.target - Swaps.
[    4.586157] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[    4.599358] systemd[1]: Finished systemd-sysusers.service - Create System Users.
[    4.650659] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[    4.683776] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[    4.725352] systemd[1]: Started systemd-journald.service - Journal Service.
[    5.462233] mc: Linux media interface: v0.10
[    5.491528] videodev: Linux video capture interface: v2.00
[    5.568044] sunxi_cedrus: module is from the staging directory, the quality is unknown, you have been warned.
[    5.582981] cedrus 1c0e000.video-codec: Device registered as /dev/video0
[    5.681456] sun8i-thermal 1c25000.thermal-sensor: DEBUG: h3 caldata=0x07f6=2038, callen=4
[    5.692787] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.698387] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.699962] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[    5.713247] lima 1c40000.gpu: gp - mali400 version major 1 minor 1
[    5.713487] lima 1c40000.gpu: pp0 - mali400 version major 1 minor 1
[    5.713779] lima 1c40000.gpu: pp1 - mali400 version major 1 minor 1
[    5.713845] lima 1c40000.gpu: l2 cache 64K, 4-way, 64byte cache line, 64bit external bus
[    5.719797] lima 1c40000.gpu: bus rate = 200000000
[    5.719827] lima 1c40000.gpu: mod rate = 297000000
[    5.720489] lima 1c40000.gpu: Failed to register cooling device
[    5.726370] [drm] Initialized lima 1.2.0 20200215 for 1c40000.gpu on minor 1
[    5.769584] random: crng init done
[    5.772820] Registered IR keymap rc-empty
[    5.773022] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
[    5.773616] rc rc0: lirc_dev: driver sunxi-ir registered at minor = 0, raw IR receiver, no transmitter
[    5.773788] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input1
[    5.783775] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[    5.789622] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.friendlyarm,nanopi-m1-plus.bin failed with error -2
[    5.789681] brcmfmac mmc1:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac43430-sdio.friendlyarm,nanopi-m1-plus.bin
[    5.793803] sunxi-ir 1f02000.ir: initialized sunXi IR driver
[    6.190489] systemd-journald[291]: Received client request to flush runtime journal.
[    6.488984] debugfs: File 'Capture' in directory 'dapm' already present!
[    6.576559] RPC: Registered named UNIX socket transport module.
[    6.576585] RPC: Registered udp transport module.
[    6.576590] RPC: Registered tcp transport module.
[    6.576596] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    6.678839] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Mar 30 2021 01:12:21 version 7.45.98.118 (7d96287 CY) FWID 01-32059766
[    7.694382] dwmac-sun8i 1c30000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    7.695393] phy_rtl8211e_led_fixup in
[    7.697008] dwmac-sun8i 1c30000.ethernet eth0: PHY [mdio_mux-0.2:07] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[    7.697047] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[    7.697062] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    7.697072] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[    7.705397] dwmac-sun8i 1c30000.ethernet eth0: configuring for phy/rgmii link mode
[   11.798579] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

MichaIng added a commit to MichaIng/build that referenced this issue Oct 16, 2024
to test whether this fixes onboard Ethernet on NanoPi M1 Plus: MichaIng/DietPi#6974

Signed-off-by: MichaIng <micha@dietpi.com>
@MichaIng
Copy link
Owner

Here a test build of Linux 6.6 without Armbian patches:

cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{image,dtb}-current-sunxi.deb
sudo dpkg -i linux-{image,dtb}-current-sunxi.deb
reboot

@InnovoDeveloper
Copy link

InnovoDeveloper commented Oct 16, 2024

I do want to thank you for revisiting this older hardware. I know you're a very busy person.

Unfortunately, still no dhcp address for eth0.

I do have another image installed on another M1 Plus. The ethernet works. Here are the dmesg and distribution information in case it helps.

Linux NanoPi-M1-Plus 4.14.111 #193 SMP Thu Jun 10 18:20:47 CST 2021 armv7l

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (root@ubuntu) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #193 SMP Thu Jun 10 18:20:47 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-M1-Plus
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000007bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c1260040, node_mem_map ef6fa000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @ef69a000 s37120 r8192 d24320 u69632
[    0.000000] pcpu-alloc: s37120 r8192 d24320 u69632 alloc=17*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0  data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 949256K/1048576K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 33784K reserved, 65536K cma-reserved, 196600K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0008000 - 0xc0c00000   (12256 kB)
                     .init : 0xc1000000 - 0xc1200000   (2048 kB)
                     .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
                      .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000018] Switching to timer-based delay loop, resolution 41ns
[    0.000232] Console: colour dummy device 80x30
[    0.000270] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000284] pid_max: default: 32768 minimum: 301
[    0.000440] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000454] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001163] CPU: Testing write buffer coherency: ok
[    0.001602] CPU0: update cpu_capacity 1024
[    0.001614] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001976] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002097] Hierarchical SRCU implementation.
[    0.002648] smp: Bringing up secondary CPUs ...
[    0.013443] CPU1: update cpu_capacity 1024
[    0.013448] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024327] CPU2: update cpu_capacity 1024
[    0.024332] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035126] CPU3: update cpu_capacity 1024
[    0.035132] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035217] smp: Brought up 1 node, 4 CPUs
[    0.035247] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035253] CPU: All CPU(s) started in HYP mode.
[    0.035259] CPU: Virtualization extensions available.
[    0.036018] devtmpfs: initialized
[    0.043313] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043926] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.044178] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.044201] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046840] xor: measuring software checksum speed
[    0.094897]    arm4regs  :  1372.800 MB/sec
[    0.144952]    8regs     :   769.600 MB/sec
[    0.195007]    32regs    :   850.400 MB/sec
[    0.245065]    neon      :  1283.200 MB/sec
[    0.245072] xor: using function: arm4regs (1372.800 MB/sec)
[    0.245090] pinctrl core: initialized pinctrl subsystem
[    0.246049] NET: Registered protocol family 16
[    0.247370] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248302] cpuidle: using governor ladder
[    0.248460] cpuidle: using governor menu
[    0.248862] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.248872] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268256] cam500b-avdd: supplied by vcc3v3
[    0.268537] cam500b-dovdd: supplied by vcc3v3
[    0.268750] cam500b-dvdd: supplied by vcc3v3
[    0.269617] SCSI subsystem initialized
[    0.269847] libata version 3.00 loaded.
[    0.270033] usbcore: registered new interface driver usbfs
[    0.270080] usbcore: registered new interface driver hub
[    0.270172] usbcore: registered new device driver usb
[    0.270368] media: Linux media interface: v0.10
[    0.270403] Linux video capture interface: v2.00
[    0.270497] pps_core: LinuxPPS API ver. 1 registered
[    0.270505] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.270524] PTP clock support registered
[    0.270849] Advanced Linux Sound Architecture Driver Initialized.
[    0.272406] clocksource: Switched to clocksource arch_sys_counter
[    0.272625] VFS: Disk quotas dquot_6.6.0
[    0.272692] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.272840] FS-Cache: Loaded
[    0.279795] NET: Registered protocol family 2
[    0.280453] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.280544] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.280658] TCP: Hash tables configured (established 8192 bind 8192)
[    0.280767] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.280839] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.281067] NET: Registered protocol family 1
[    0.281516] RPC: Registered named UNIX socket transport module.
[    0.281529] RPC: Registered udp transport module.
[    0.281534] RPC: Registered tcp transport module.
[    0.281540] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.281752] Unpacking initramfs...
[    0.579364] Freeing initrd memory: 5744K
[    0.579789] kvm [1]: 8-bit VMID
[    0.580459] kvm [1]: vgic interrupt IRQ16
[    0.580560] kvm [1]: Hyp mode initialized successfully
[    0.583462] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.588036] zbud: loaded
[    0.589616] FS-Cache: Netfs 'nfs' registered for caching
[    0.590123] NFS: Registering the id_resolver key type
[    0.590161] Key type id_resolver registered
[    0.590168] Key type id_legacy registered
[    0.590183] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.590200] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.591086] fuse init (API version 7.26)
[    0.596327] async_tx: api initialized (async)
[    0.596409] bounce: pool size: 64 pages
[    0.596512] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.596667] io scheduler noop registered (default)
[    0.596676] io scheduler deadline registered
[    0.596846] io scheduler cfq registered
[    0.596856] io scheduler mq-deadline registered
[    0.596987] io scheduler bfq registered
[    0.597746] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.601499] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.603059] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.608614] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.610462] console [ttyS0] disabled
[    0.630696] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.409538] console [ttyS0] enabled
[    1.435796] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.467410] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.496976] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 49, base_baud = 1500000) is a U6_16550A
[    1.508346] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.514981] [drm] No driver support for vblank timestamp query.
[    1.530336] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51b68)
[    1.537465] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.545308] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c5086c)
[    1.677508] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.687414] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.695126] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51ee8)
[    1.701975] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.746002] Console: switching to colour frame buffer device 240x67
[    1.776863] sun4i-drm display-engine: fb0:  frame buffer device
[    1.783210] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.799413] loop: module loaded
[    1.817775] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.824135] osst :I: Tape driver with OnStream support version 0.99.4
               osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.837503] SCSI Media Changer driver v0.25
[    1.843850] libphy: Fixed MDIO Bus: probed
[    1.847993] tun: Universal TUN/TAP device driver, 1.6
[    1.853215] CAN device driver interface
[    1.857810] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.864022] PPP generic driver version 2.4.2
[    1.868479] PPP BSD Compression module registered
[    1.873201] PPP Deflate Compression module registered
[    1.878281] PPP MPPE Compression module registered
[    1.883076] NET: Registered protocol family 24
[    1.887621] usbcore: registered new interface driver qmi_wwan
[    1.893404] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.899949] ehci-platform: EHCI generic platform driver
[    1.905389] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.911001] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.919136] ehci-platform 1c1a000.usb: irq 30, io mem 0x01c1a000
[    1.937431] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.943727] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.950527] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.957751] usb usb1: Product: EHCI Host Controller
[    1.962633] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    1.968208] usb usb1: SerialNumber: 1c1a000.usb
[    1.973286] hub 1-0:1.0: USB hub found
[    1.977077] hub 1-0:1.0: 1 port detected
[    1.981702] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.987922] ohci-platform: OHCI generic platform driver
[    1.993358] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    2.000007] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    2.007937] ohci-platform 1c1a400.usb: irq 31, io mem 0x01c1a400
[    2.076578] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.083387] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.090613] usb usb2: Product: Generic Platform OHCI controller
[    2.096535] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.102110] usb usb2: SerialNumber: 1c1a400.usb
[    2.109517] hub 2-0:1.0: USB hub found
[    2.113310] hub 2-0:1.0: 1 port detected
[    2.117979] usbcore: registered new interface driver cdc_acm
[    2.123654] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.131742] usbcore: registered new interface driver usblp
[    2.137278] usbcore: registered new interface driver cdc_wdm
[    2.142978] usbcore: registered new interface driver uas
[    2.148380] usbcore: registered new interface driver usb-storage
[    2.154476] usbcore: registered new interface driver usbserial
[    2.160346] usbcore: registered new interface driver usbserial_generic
[    2.166901] usbserial: USB Serial support registered for generic
[    2.172942] usbcore: registered new interface driver option
[    2.178541] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.185639] usbcore: registered new interface driver qcserial
[    2.191418] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.199240] mousedev: PS/2 mouse device common for all mice
[    2.205328] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.212131] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.216653] i2c /dev entries driver
[    2.254813] ov5640 2-003c: ov5640_check_chip_id: failed to read chip identifier
[    2.262529] lirc_dev: IR Remote Control driver registered, major 244
[    2.268898] IR NEC protocol handler initialized
[    2.273432] IR RC5(x/sz) protocol handler initialized
[    2.278485] IR RC6 protocol handler initialized
[    2.283018] IR JVC protocol handler initialized
[    2.287558] IR Sony protocol handler initialized
[    2.292169] IR SANYO protocol handler initialized
[    2.296893] IR Sharp protocol handler initialized
[    2.301600] IR MCE Keyboard/mouse protocol handler initialized
[    2.307431] IR LIRC bridge handler initialized
[    2.311867] IR XMP protocol handler initialized
[    2.318063] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.325303] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.333606] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.382478] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.390241] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    2.642441] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    2.663840] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.670870] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.677879] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.686082] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.687758] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.694877] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    2.705126] ledtrig-cpu: registered to indicate activity on CPUs
[    2.711352] hidraw: raw HID events driver (C) Jiri Kosina
[    2.716907] usbcore: registered new interface driver usbhid
[    2.722484] usbhid: USB HID core driver
[    2.739362] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.745002] random: fast init done
[    2.749413] Initializing XFRM netlink socket
[    2.752262] mmc0: new DDR MMC card at address 0001
[    2.754387] NET: Registered protocol family 10
[    2.759138] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    2.768006] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.774335] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.781246] Segment Routing with IPv6
[    2.781372]  mmcblk0: p1 p2 p3
[    2.785032] NET: Registered protocol family 17
[    2.792480] NET: Registered protocol family 15
[    2.793148] mmc2: new high speed SDIO card at address 0001
[    2.796925] can: controller area network core (rev 20170425 abi 9)
[    2.808673] NET: Registered protocol family 29
[    2.813141] can: raw protocol (rev 20170425)
[    2.817464] can: broadcast manager protocol (rev 20170425 t)
[    2.823148] can: netlink gateway (rev 20170425) max_hops=1
[    2.829413] rfkill_gpio rfkill_bt: sunxi-bt device registered.
[    2.835418] Key type dns_resolver registered
[    2.840015] Registering SWP/SWPB emulation handler
[    2.846131] registered taskstats version 1
[    2.858547] Key type encrypted registered
[    2.868288] vcc1v2: supplied by vcc5v0
[    2.872332] vcc-dram: supplied by vcc5v0
[    2.876572] vdd-cpux-en: supplied by vcc5v0
[    2.882950] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    2.888879] dwmac-sun8i 1c30000.ethernet: Will use external PHY
[    3.002600] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    3.008277] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    3.015504] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    3.021167] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    3.028391] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    3.033360] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    3.040720] libphy: stmmac: probed
[    3.049979] ehci-platform 1c1b000.usb: EHCI Host Controller
[    3.055614] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    3.063844] ehci-platform 1c1b000.usb: irq 32, io mem 0x01c1b000
[    3.082425] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    3.088719] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    3.095522] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.102746] usb usb3: Product: EHCI Host Controller
[    3.107626] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.113200] usb usb3: SerialNumber: 1c1b000.usb
[    3.118312] hub 3-0:1.0: USB hub found
[    3.122104] hub 3-0:1.0: 1 port detected
[    3.126743] ehci-platform 1c1c000.usb: EHCI Host Controller
[    3.132356] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    3.140431] ehci-platform 1c1c000.usb: irq 34, io mem 0x01c1c000
[    3.157421] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    3.163674] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    3.170473] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.177697] usb usb4: Product: EHCI Host Controller
[    3.182579] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.188154] usb usb4: SerialNumber: 1c1c000.usb
[    3.193173] hub 4-0:1.0: USB hub found
[    3.196946] hub 4-0:1.0: 1 port detected
[    3.201509] ehci-platform 1c1d000.usb: EHCI Host Controller
[    3.207113] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    3.215111] ehci-platform 1c1d000.usb: irq 36, io mem 0x01c1d000
[    3.232413] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    3.238649] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    3.245445] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.252669] usb usb5: Product: EHCI Host Controller
[    3.257551] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.263127] usb usb5: SerialNumber: 1c1d000.usb
[    3.268121] hub 5-0:1.0: USB hub found
[    3.271892] hub 5-0:1.0: 1 port detected
[    3.276447] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    3.283100] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    3.291050] ohci-platform 1c1b400.usb: irq 33, io mem 0x01c1b400
[    3.356573] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    3.363373] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.370597] usb usb6: Product: Generic Platform OHCI controller
[    3.376519] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.382094] usb usb6: SerialNumber: 1c1b400.usb
[    3.387360] hub 6-0:1.0: USB hub found
[    3.391159] hub 6-0:1.0: 1 port detected
[    3.395710] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    3.402362] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    3.410308] ohci-platform 1c1c400.usb: irq 35, io mem 0x01c1c400
[    3.476554] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.483359] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.490585] usb usb7: Product: Generic Platform OHCI controller
[    3.496508] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.502086] usb usb7: SerialNumber: 1c1c400.usb
[    3.507199] hub 7-0:1.0: USB hub found
[    3.510994] hub 7-0:1.0: 1 port detected
[    3.515553] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.522202] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.530172] ohci-platform 1c1d400.usb: irq 37, io mem 0x01c1d400
[    3.596559] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.603360] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.610585] usb usb8: Product: Generic Platform OHCI controller
[    3.616507] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.622083] usb usb8: SerialNumber: 1c1d400.usb
[    3.627129] hub 8-0:1.0: USB hub found
[    3.630924] hub 8-0:1.0: 1 port detected
[    3.635532] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.646644] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.652415] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.660392] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.667198] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.674425] usb usb9: Product: MUSB HDRC host driver
[    3.679396] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.684972] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.690372] hub 9-0:1.0: USB hub found
[    3.694163] hub 9-0:1.0: 1 port detected
[    3.701030] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.710284] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.718062] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:10 UTC (10)
[    3.726473] vcc3v0: disabling
[    3.729462] vcc5v0: disabling
[    3.732436] cam500b-avdd: disabling
[    3.735921] cam500b-dovdd: disabling
[    3.739500] cam500b-dvdd: disabling
[    3.742994] usb0-vbus: disabling
[    3.746222] ALSA device list:
[    3.749201]   #0: Dummy 1
[    3.751817]   #1: Loopback 1
[    3.754702]   #2: H3 Audio Codec
[    3.757931]   #3: allwinner,hdmi
[    3.763588] Freeing unused kernel memory: 2048K
[    3.917464] usb 7-1: new full-speed USB device number 2 using ohci-platform
[    4.155556] usb 7-1: New USB device found, idVendor=248a, idProduct=8367
[    4.162356] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.169522] usb 7-1: Product: Wireless Receiver
[    4.174073] usb 7-1: Manufacturer: Telink
[    4.191102] input: Telink Wireless Receiver as /devices/platform/soc/1c1c400.usb/usb7/7-1/7-1:1.0/0003:248A:8367.0001/input/input1
[    4.263289] hid-generic 0003:248A:8367.0001: input,hidraw0: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-1c1c400.usb-1/input0
[    4.286058] input: Telink Wireless Receiver as /devices/platform/soc/1c1c400.usb/usb7/7-1/7-1:1.1/0003:248A:8367.0002/input/input2
[    4.358547] hid-generic 0003:248A:8367.0002: input,hidraw1: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-1c1c400.usb-1/input1
[    4.558090] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.728880] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.745259] EXT4-fs (mmcblk0p3): re-mounted. Opts: data=ordered
[    4.999340] systemd[1]: System time before build time, advancing clock.
[    5.034538] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.045559] cgroup: cgroup2: unknown option "memory_recursiveprot"
[    5.057559] random: systemd: uninitialized urandom read (16 bytes read)
[    5.067809] systemd[1]: systemd 252.22-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.100743] systemd[1]: Detected architecture arm.
[    5.106371] systemd[1]: Warning! Reported kernel version 4.14.111 is older than systemd's required baseline kernel version 4.15. Your mileage may vary.
[    5.139408] systemd[1]: Hostname set to <NanoPi-M1-Plus>.
[    5.172558] random: (sd-executor): uninitialized urandom read (16 bytes read)
[    5.180220] random: (sd-executor): uninitialized urandom read (16 bytes read)
[    6.003580] systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
[    6.103749] systemd[1]: Queued start job for default target graphical.target.
[    6.122356] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[    6.150295] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[    6.180556] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[    6.209119] systemd[1]: Created slice user.slice - User and Session Slice.
[    6.237962] systemd[1]: Started ntpsec-systemd-netif.path.
[    6.257979] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[    6.287921] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[    6.318141] systemd[1]: proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
[    6.337647] systemd[1]: Expecting device dev-ttyS0.device - /dev/ttyS0...
[    6.362749] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[    6.392883] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[    6.422941] systemd[1]: Reached target paths.target - Path Units.
[    6.442746] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[    6.467701] systemd[1]: Reached target slices.target - Slice Units.
[    6.487978] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[    6.519702] systemd[1]: Listening on syslog.socket - Syslog Socket.
[    6.543302] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[    6.594846] systemd[1]: systemd-journald-audit.socket - Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[    6.609952] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[    6.638790] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[    6.663972] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[    6.693417] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[    6.723708] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    6.743937] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
[    6.778471] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
[    6.803424] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    6.826537] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
[    6.860749] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
[    6.896511] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
[    6.930388] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
[    6.964923] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
[    7.000226] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
[    7.035153] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
[    7.070134] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
[    7.100871] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.113828] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.127304] systemd[1]: Starting systemd-journald.service - Journal Service...
[    7.163574] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[    7.200646] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[    7.240367] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[    7.278720] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[    7.309069] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[    7.339927] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[    7.392928] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    7.401180] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[    7.430017] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    7.438157] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[    7.470005] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    7.478127] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[    7.510330] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[    7.540286] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    7.548571] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[    7.578832] systemd[1]: Started systemd-journald.service - Journal Service.
[    7.842127] systemd-journald[258]: Received client request to flush runtime journal.
[    7.863226] systemd-journald[258]: File /var/log/journal/407d3bd3e3b1473ba13439ecd7e737ee/system.journal corrupted or uncleanly shut down, renaming and replacing.
[    8.150782] Adding 2097148k swap on /swapfile.  Priority:-2 extents:6 across:2269180k SS
[   10.387702] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[   10.412388] brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac43430-sdio.bin failed with error -2
[   11.467549] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   12.699610] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.707310] Generic PHY stmmac-0:07: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
[   12.739206] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[   12.747012] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[   12.754169] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   12.857489] i2c i2c-0: mv64xxx: I2C bus locked, block: 1, time_left: 0
[   12.864317] rtc-ds1307: probe of 0-0068 failed with error -110
[   17.938339] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   17.946810] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   40.705600] random: crng init done
[   40.709048] random: 7 urandom warning(s) missed due to ratelimiting
[   50.472449] systemd-journald[258]: Oldest entry in /var/log/journal/407d3bd3e3b1473ba13439ecd7e737ee/system.journal is older than the configured file retention duration (1month), suggesting rotation.
[   50.490395] systemd-journald[258]: /var/log/journal/407d3bd3e3b1473ba13439ecd7e737ee/system.journal: Journal header limits reached or header out-of-date, rotating.
[  283.440377] usb 7-1: USB disconnect, device number 2

@MichaIng
Copy link
Owner

MichaIng commented Oct 16, 2024

dwmac-sun8i 1c30000.ethernet eth0: PHY [mdio_mux-0.2:07] driver [RTL8211E Gigabit Ethernet] (irq=POLL)

vs

Generic PHY stmmac-0:07: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)

However, most likely just because of larger changes between Linux 5.4 and 6.6.

I checked for changes in the driver between Linux 5.4.88 and 6.6.y, and this commit happened, though it was done by Realtek staff themselves: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=bbc4d71

The same was present in 5.10.y as well, the first kernel which had Ethernet broken. It fixes this rt/tx delay config, which was not added yet in the Linux version used by FriendlyELEC for their (functional) kernel: https://github.com/friendlyarm/linux/blob/sunxi-4.14.y/drivers/net/phy/realtek.c

Lacking a better idea, let me try to revert this particular patch: https://github.com/MichaIng/DietPi/actions/runs/11369302068

EDIT: Build ready to test:

cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{image,dtb}-current-sunxi.deb
sudo dpkg -i linux-{image,dtb}-current-sunxi.deb
reboot

@InnovoDeveloper
Copy link

dwmac-sun8i 1c30000.ethernet eth0: PHY [mdio_mux-0.2:07] driver [RTL8211E Gigabit Ethernet] (irq=POLL)

vs

Generic PHY stmmac-0:07: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)

However, most likely just because of larger changes between Linux 5.4 and 6.6.

I checked for changes in the driver between Linux 5.4.88 and 6.6.y, and this commit happened, though it was done by Realtek staff themselves: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit?id=bbc4d71

The same was present in 5.10.y as well, the first kernel which had Ethernet broken. If fixes this rt/tx delay config, which was not added yet in the Linux version used by FriendlyELEC for their (functional) kernel: https://github.com/friendlyarm/linux/blob/sunxi-4.14.y/drivers/net/phy/realtek.c

Lacking a better idea, let me try to revert this particular patch: https://github.com/MichaIng/DietPi/actions/runs/11369302068

EDIT: Build ready to test:

cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-{image,dtb}-current-sunxi.deb
sudo dpkg -i linux-{image,dtb}-current-sunxi.deb
reboot

success!

image

Is this a patch that needs to be applied to existing systems? What about new systems, will there be a "fixed" image ?

Again, I am very thankful for your hard work.

@MichaIng
Copy link
Owner

Wow, I gave this a 10% chance at best. So Realtek broke their own driver for this particular SBC at least.

Let me think about how to deal with this. I am not keen to ship this kernel for all Allwinner H3 SBCs, as there is a chance it is not fixing but breaking it in other cases. Thankfully we have dedicated APT components for each SBC, so I can ship it via APT for the M1 Plus only, and ... maybe write to the Linux development mailing list, adding the particular Realtek guy into CC. Maybe him or one of the Linux devs have an idea why it may break the M1 Plus, and maybe it can be narrowed down to a single variable, instead of the whole commit. At least they understand the meaning of the code, compared to me.

@MichaIng MichaIng added External bug 🐞 For bugs which are not caused by DietPi. and removed Testing/testers required 🔽 labels Oct 16, 2024
@InnovoDeveloper
Copy link

10% in this case was just the right amount of hope :) If there is an image or patch just for the M1 Plus that would be a "good enough" solution to get these boards usable again with DietPi.

@MichaIng
Copy link
Owner

I pushed the package to our APT server already, so it is just:

apt update
apt upgrade

And future images will have the new kernel OOTB.

@InnovoDeveloper
Copy link

Amazing! Thank you.

@StephanStS StephanStS modified the milestones: v9.8, v9.9 Oct 27, 2024
This was referenced Dec 23, 2024
@MichaIng MichaIng modified the milestones: v9.9, v9.10 Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
External bug 🐞 For bugs which are not caused by DietPi. Kernel related 🧬 NanoPi M1 Plus Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible.
Projects
None yet
Development

No branches or pull requests

5 participants