OPI zero 2w, Ethernet doesn't work after upgrade to v10.2.3

I’ve an error wheni try the test

- Command: dpkg -i linux-image-current-sunxi64.deb                                                                  │ 
                    │  - Exit code: 1                                                                                                      │ 
                    │  - DietPi version: v10.5.2 (MichaIng/master) | HW_MODEL: 88 | HW_ARCH: 3 | DISTRO: 8                                 │ 
                    │  - Error log:                                                                                                        │ 
                    │ dpkg: concernant linux-image-current-sunxi64.deb contenant linux-image-current-sunxi64 :                             │ 
                    │  linux-image-current-sunxi64 casse (« breaks ») linux-dtb-current-sunxi64                                            │ 
                    │   « linux-dtb-current-sunxi64 » (version « 26.02.0-trunk-dietpi8 ») est présent ainsi que « installé ».              │ 
                    │                                                                                                                      │ 
                    │ dpkg: erreur de traitement de l'archive linux-image-current-sunxi64.deb (--install) :                                │ 
                    │  l'installation de linux-image-current-sunxi64 casserait linux-dtb-current-sunxi64                                   │ 
                    │  et la déconfiguration n'est pas autorisée (--auto-deconfigure pourrait aider)                                       │ 
                    │ Des erreurs ont été rencontrées pendant l'exécution :                                                                │ 
                    │  linux-image-current-sunxi64.deb  
 

Retry          : Re-run the last command that failed                                        │ 
                    │                          DietPi-Config  : Edit network, APT/NTP mirror settings etc                                  │ 
                    │                          Open subshell  : Open a subshell to investigate or solve the issue                          │ 
                    │                                         ●─ Devs only -------------------------------------●                          │ 
                    │                          Change command : Adjust and rerun the command 

Perhaps it’s due to the kernel 6.12.76 that i use to enable the ethernet ?

have a good day

That is expected since we merged the linux-dtb and linux-image packages. Since the new package was downloaded already, you can install it via APT and confirm the removal/replacement of the linux-dtb package:

sudo apt install /tmp/linux-image-current-sunxi64.deb

Hi @MichaIng

Installed and tested last night, Ethernet works, but not much better. It crashes quickly, just like with the other driver.

So, back to kernel 6.12.76

Have a good day

Disappointing :disappointed_face:, but at least we know that the Ethernet and PHY drivers themselves are not the issue.

Good evening @MichaIng
Indeed, it’s not the drivers that are causing the problem.
It’s more the DTB file which, since version 6.18 and above,
doesn’t properly manage the expansion board.
On my other case, connected via Wi-Fi, the latest kernel works fine.
And since the expansion board, although present, isn’t being used, the system doesn’t crash.

At least from reviewing the patches, I did not find any difference in the dts. But to be sure, we’d need to compare a decompiled dtb from an actual system.

Yes @MichaIng your’e right
I try this this week or next week to compare :wink:

For anyone who suffers from WiFi issues, I did a new kernel build with some code modernization and hardening applied, that was previously only done on Rockchip SBCs:

G_DEV_TEST_FIRMWARE

It works on my Orange Pi Zero 3. It throws some new errors (which actually look more like informational messages) at boot. Those were commented out in the code, and the Rockchip patch uncomments them, probably for debugging. If those appear to happen later (for me not so far) and mess the console, we can comment them out again.

Armbian has a similar driver unification in the works, replacing the current SoC-specific patchsets, moving it consequently into an external repo: uwe5622: switch to unified driver in dedicated repo by EvilOlaf · Pull Request #10113 · armbian/build · GitHub
But so far it makes sense to test which individual patches really work well with Allwinner and Rockchip both, and where conditionals in the code make sense (without using two different driver sources/patchsets).

Hello @MichaIng , i try the command but i have some errors

root@DietPi:~# G_DEV_TEST_FIRMWARE
[  OK  ] cd /tmp
[  OK  ] Downloading packages: armbian-firmware.deb linux-dtb-current-sunxi64.deb linux-image-current-sunxi64.deb linux-u-boot-orangepizero2w-current.deb
--2026-07-27 11:04:54--  https://dietpi.com/downloads/binaries/testing/armbian-firmware.deb
Résolution de dietpi.com (dietpi.com)… 172.67.69.57, 104.26.8.98, 104.26.9.98, ...
Connexion à dietpi.com (dietpi.com)|172.67.69.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2026-07-27 11:04:55 erreur 404 : Not Found.

--2026-07-27 11:04:55--  https://dietpi.com/downloads/binaries/testing/linux-dtb-current-sunxi64.deb
Connexion à dietpi.com (dietpi.com)|172.67.69.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2026-07-27 11:04:55 erreur 404 : Not Found.

--2026-07-27 11:04:55--  https://dietpi.com/downloads/binaries/testing/linux-image-current-sunxi64.deb
Connexion à dietpi.com (dietpi.com)|172.67.69.57|:443… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 39093320 (37M) [application/vnd.debian.binary-package]
Sauvegarde en : « linux-image-current-sunxi64.deb »

linux-image-current-sunxi64.deb         100%[===============================================================================>]  37,28M  2,01MB/s    ds 19s     

2026-07-27 11:05:14 (1,98 MB/s) — « linux-image-current-sunxi64.deb » sauvegardé [39093320/39093320]

--2026-07-27 11:05:14--  https://dietpi.com/downloads/binaries/testing/linux-u-boot-orangepizero2w-current.deb
Réutilisation de la connexion existante à dietpi.com:443.
requête HTTP transmise, en attente de la réponse… 404 Not Found
2026-07-27 11:05:14 erreur 404 : Not Found.

Terminé — 2026-07-27 11:05:14 —
Temps total effectif : 20s
Téléchargés : 1 fichiers, 37M en 19s (1,98 MB/s)
[ INFO ] dpkg -i linux-image-current-sunxi64.deb, please wait...
dpkg: concernant linux-image-current-sunxi64.deb contenant linux-image-current-sunxi64 :
 linux-image-current-sunxi64 casse (« breaks ») linux-dtb-current-sunxi64
  « linux-dtb-current-sunxi64 » (version « 26.02.0-trunk-dietpi8 ») est présent ainsi que « installé ».

dpkg: erreur de traitement de l'archive linux-image-current-sunxi64.deb (--install) :
 l'installation de linux-image-current-sunxi64 casserait linux-dtb-current-sunxi64
 et la déconfiguration n'est pas autorisée (--auto-deconfigure pourrait aider)
Des erreurs ont été rencontrées pendant l'exécution :
 linux-image-current-sunxi64.deb
[FAILED] dpkg -i linux-image-current-sunxi64.deb
[FAILED] Unable to continue, command will now terminate.

root@DietPi:/tmp# uname -a
Linux DietPi 6.12.76-current-sunxi64 #1 SMP Thu Mar  5 15:04:32 UTC 2026 aarch64 GNU/Linux
root@DietPi:/tmp# 

I thiink i need to upload to the last -1 kernel first now ?

I’m on holiday so we can test some things for this moment
i take with me my sounbox with the OPI zero 2w et his expanxion board :wink:

You need to manually apt install ./linux-image-current-sunxi64.deb once and confirm the linux-dtb-current-sunxi64 removal, as you use a kernel package version from before we merged those two packages into one.

However, hold on for now, I seem to have found the true issue behind those crashes, which is still present in the latest test build: OrangePi Zero 2W - Kernel Oops During Downloads · Issue #8220 · MichaIng/DietPi · GitHub
I’ll remove the CPUFreq interaction from the driver and do a new build first.

Thanks @MichaIng

I’m waiting for your new build

Thanks, a build is now ready. To bypass the package merge issue:

cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-image-current-sunxi64.deb
sudo apt -y install ./linux-image-current-sunxi64.deb

This should remove all CPUFreq interaction of the WiFi driver, which hopefully solves all these crashes.

Hi @MichaIng

I installed the new build

Some message from the console

root@DietPi:~# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 02:a0:73:62:18:b7 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
    link/ether f4:e4:dc:4d:b4:4b brd ff:ff:ff:ff:ff:ff
root@DietPi:~# uname -a
Linux DietPi 6.18.40-current-sunxi64 #1 SMP PREEMPT Fri Jul 24 14:17:26 UTC 2026 aarch64 GNU/Linux
root@DietPi:~# dmesg -l 0,1,2,3
[    0.815919] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.816453] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.821778] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.822781] sunxi-mmc 4020000.mmc: Error applying setting, reverse things back
[    0.822849] sunxi-mmc 4021000.mmc: Error applying setting, reverse things back
[    1.659079] WCN_ERR: dts node for bt_wake not found
[    9.695453] wifi ini path = /lib/firmware/wifi_2355b001_1ant.ini
root@DietPi:~# 

It works with music and LMS for now, but it crashes with video in Kodi. I’m going to test it over the long term using just music

Edit ,it crashesaftera while with LMS too

Sadly another user verified the same: OrangePi Zero 2W - Kernel Oops During Downloads · Issue #8220 · MichaIng/DietPi · GitHub

So even that it looked so suspicious, the CPUFreq interference of the driver was not the actual issue, and even without it, CPUFreq actions often trigger the crash. Switching to performance governor seems to work around it, as then CPUFreq does not touch the CPU frequency anymore. But of course this means, with max clock 24/7, the board can run unnecessarily hot.

Next thing to test is ADMA usage, which might corrupt memory due to some missing or false input validation.

I realized that I just missed to update the Git commit pulled by Armbian, so the build did not actually contain the change :sweat_smile:. Did another one, this time with the CPUFreq interference really removed.

@Totof I think I found the reason why Ethernet driver, and the Orange Pi Zero 2W, became unstable since Linux 6.18:

Kernel build: Armbian · MichaIng/DietPi@46927a3 · GitHub
Image build: DietPi-Build · MichaIng/DietPi@46927a3 · GitHub

Would be great if you could give this another try, also whether Ethernet works again.

Hello @MichaIng
I’m on holiday with my soundbox on my parent’house, so if i found an Ethernet câble i can try tomorrow and tell you

Great. Same for anyone else here, the more tests whether WiFi (and Ethernet if you have the extension board), the better, to be sure we can close this chapter.

Either

cd /tmp
wget https://dietpi.com/downloads/binaries/testing/linux-image-current-sunxi64.deb
sudo apt -y install ./linux-image-current-sunxi64.deb

or find a Zero 2W image with this kernel build here: Index of /downloads/images/testing

Hello all

@MichaIng , you’re the best

Installed this morning at 10h00 and work untill now with LMS without “oops” Or “crash”, i continue to test it

Ethernet is Ok and wifi too

I can’t test vidéo but before it doesn’t stay Ok for 9h00 with just sound

To be continued with this kennel 6.18.41

Thanks a lot @MichaIng

Great to hear!