Network not working with 6.17.7-3-armv7-ARCH

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Network not working with 6.17.7-3-armv7-ARCH

Postby destroyedlolo » Wed Nov 12, 2025 7:19 pm

Hello,

Juste upgraded my BananaPI-M1 (AllWinder A20 based). The system is working ... but its ethernet.

[code]# uname -a
Linux TestArch 6.17.7-3-armv7-ARCH #1 SMP PREEMPT Sat Nov 8 03:00:18 MST 2025 armv7l GNU/Linux/[code]

What I can see from the log,

[code]
[root@TestArch ~]# dmesg | grep end0
[ 40.217192] sun7i-dwmac 1c50000.ethernet end0: renamed from eth0
[ 40.590806] sun7i-dwmac 1c50000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 40.612940] sun7i-dwmac 1c50000.ethernet end0: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet] (irq=POLL)
[ 40.834002] sun7i-dwmac 1c50000.ethernet end0: Failed to reset the dma
[ 40.841879] sun7i-dwmac 1c50000.ethernet end0: stmmac_hw_setup: DMA engine initialization failed
[ 40.850944] sun7i-dwmac 1c50000.ethernet end0: __stmmac_open: Hw setup failed
[/code]

And also :
[code][root@TestArch ~]# dmesg | grep -i dma
...
[ 2.426410] platform axp20x-usb-power-supply: DMA mask not set
[ 28.299978] sun7i-dwmac 1c50000.ethernet: No HW DMA feature register supported
[ 40.834002] sun7i-dwmac 1c50000.ethernet end0: Failed to reset the dma
[ 40.841879] sun7i-dwmac 1c50000.ethernet end0: stmmac_hw_setup: DMA engine initialization failed
[/code]

So :
[list][*]Where can I find old kernel media ? I guess I have only to restore zImage isn't it ?
[*]Any tip where the problem can be ? It's due to a bug in the mainline kernel or can I tune kernel configuration and rebuild it ?[/list]

Thanks
destroyedlolo
 
Posts: 16
Joined: Sun Aug 02, 2015 6:12 pm

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby destroyedlolo » Fri Nov 14, 2025 10:25 pm

So I'm been able to resurect this beast by installing the kernel I used for the initial install, à 2 y/o kernel.

I'm still looking for archive of more recent ones ... but didn't find any archive.
destroyedlolo
 
Posts: 16
Joined: Sun Aug 02, 2015 6:12 pm

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby neo1973 » Sat Nov 15, 2025 6:08 pm

There is the Archlinux ARM Archive [1] mentioned here [2], but it looks like it stopped working on June 12th :(

[1] [url]http://tardis.tiny-vps.com/aarm/[/url]
[2] [url]https://archlinuxarm.org/forum/viewtopic.php?f=8&t=15698[/url]
neo1973
 
Posts: 12
Joined: Sun May 09, 2021 3:06 pm

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby graysky » Sat Nov 15, 2025 7:24 pm

Need a bit more to go on as I do not have this hardware...
graysky
Developer
 
Posts: 1900
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby destroyedlolo » Sat Nov 15, 2025 8:25 pm

Thanks, I'll have a try.

And you right, this site needs a Doctor (straight normal for a Tardis :lol: )
destroyedlolo
 
Posts: 16
Joined: Sun Aug 02, 2015 6:12 pm

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby destroyedlolo » Sat Nov 15, 2025 9:08 pm

So fortunately for me, I kept /var/cache/pacman/pkg/ content :D

I installed [b]downgrade[/b] from AUR which seems making easier the installation of previous version of packages.

What I will do :
- keep a safe kernel somewhere.
- downgrade the version -1 of [b]linux-armv7[/b]

and for the long term :
- try to build a boot menu for uboot
- keep only 2 lasts versions of installed packages.
destroyedlolo
 
Posts: 16
Joined: Sun Aug 02, 2015 6:12 pm

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby graysky » Sun Nov 16, 2025 10:51 am

Have you identified the package which caused the breakage? If so what is the last-know-good version?
graysky
Developer
 
Posts: 1900
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby destroyedlolo » Sun Nov 16, 2025 10:39 pm

Oups, sorry, I didn't see your previous message.

[quote]Need a bit more to go on as I do not have this hardware...[/quote]
I don't have much information but the log I provided.

[quote]Have you identified the package which caused the breakage? If so what is the last-know-good version?[/quote]
I'm pretty sure it's linux-armv7 and the messages came directly from the kernel and the Ethernet adapter is not created.

It was working with 6.16.7 and not anymore with 6.17.7

By the way, I'm planing to build my own kernel as my AXP209 is not exposed with the 6.16.7 and previous ... but it's not in high priority in my long ToDo list as I built a workaround.
destroyedlolo
 
Posts: 16
Joined: Sun Aug 02, 2015 6:12 pm

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby graysky » Tue Nov 18, 2025 11:03 am

I'm not seeing anything jumping out in the config. Have you ruled out a kernel bug?

git diff 6686b5c6b9b5..HEAD -- config
graysky
Developer
 
Posts: 1900
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: Network not working with 6.17.7-3-armv7-ARCH

Postby destroyedlolo » Tue Nov 18, 2025 10:27 pm

I haven't tested anything yet : I can play with the box only on W.E.

Which is the repo related to the git command you've put ?
destroyedlolo
 
Posts: 16
Joined: Sun Aug 02, 2015 6:12 pm

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 5 guests