New kernels

AmigaOne X5000 platform specific issues related to Linux only.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Skateman wrote: Sat Mar 09, 2024 4:25 pm Kernel 6.8.0 RC4 up and running on my AmigaOne X5000

Still the DPAA network utonegotiation speed issue.
Many thanks for testing the RC4! :-)
Skateman wrote: Sat Mar 09, 2024 8:41 pm i think it started with 6.8 RC1 again, but ill have to look into that...
Good. I am looking forward to your test results.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 864
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

kernel 6.8.0 RC5 up and running on my AmigaOne X5000

Image

Big picture https://www.skateman.nl/wp-content/uplo ... -25-01.png

I have tried many older kernels but the auto negotiation issue seems to be around for a long time already. 5.10 final was fine but 6.7 final had the same issue. Anyway...
The fix was easy! Just IGNORE the auto negotiation speed settings and all kernels will accept this.
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

xeno74 wrote: Thu Feb 23, 2023 2:50 pm Hi All,

The two week long merge window for 6.3 has been started and here is the first alpha for testing.

New:
Download: linux-image-6.3-alpha1-X1000_X5000.tar.gz
@Skateman
Could you please test the alpha1 of kernel 6.3 because of the DPAA issue?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 864
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

Kernel 6.3 Alpha 1 does NOT suffer from the autonegotiation issue. All working fine with negotiation set to Automatic

Image


Big picture https://www.skateman.nl/wp-content/uplo ... -10-29.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Skateman wrote: Sun Mar 10, 2024 8:16 pm Kernel 6.3 Alpha 1 does NOT suffer from the autonegotiation issue. All working fine with negotiation set to Automatic
Thanks for testing! :-)
xeno74 wrote: Fri Feb 24, 2023 2:28 pm Hi All,

I released the second alpha of kernel 6.3 for the X1000 and X5000 today.

Download: linux-image-6.3-alpha2-X1000_X5000.tar.gz
Please also test the alpha2 of kernel 6.3.

Thanks
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 864
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

Kernel 6.8 RC8 up and running on my AmigaOne X5000

Image

Big picture https://www.skateman.nl/wp-content/uplo ... -55-18.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Hi Dave,

Thanks a lot for testing! :-)

There is a way to solve the problem with the auto speed negotiation of the DPAA Onboard Ethernet.

We can figure out with bisecting which commit is responsible for this issue.

We know, that the alpha1 of kernel 6.3 doesn't have this issue.
Skateman wrote: Sun Mar 10, 2024 8:16 pm Kernel 6.3 Alpha 1 does NOT suffer from the autonegotiation issue. All working fine with negotiation set to Automatic
I think, the issue starts with the alpha2 of kernel 6.3.
Could you also please test the alpha2 of kernel 6.3?
If the issue exists in the alpha2, then we know, that the problematic commit is between the alpha1 and alpha2 of kernel 6.3.

But bisecting takes a lot of time. If you have time, then we can try to solve the speed negotiation issue.

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Skateman
Posts: 864
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: New kernels

Post by Skateman »

Hi Cristian,

I am afraid i made a mistake after testing so many different kernels...

Final kernel 6.2 does not seem to have issues and 6.3 Alpha1 does have the negotiation issues. After testing again yesterday evening.
So i would suggest that the issue is in between Final kernel 6.2 and Alpha 1 of 6.3...
For now the issue is always solved when you set the negotiation on IGNORE or MANUAL (by setting the speed and duplex)

I will put some extra time in testing both 6.2 final and 6.3 alpha 1 just to be sure.

What happens when you set the negotiation to IGNORE and use the DPAA adapter ?
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon RX 570 / Radeon X1950 / M-Audio 5.1 -> AmigaOS / Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world
Vampire 4SA - RPi4 Running AmiKitXE Full
User avatar
xeno74
Posts: 9387
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Skateman wrote: Tue Mar 12, 2024 5:54 pm Final kernel 6.2 does not seem to have issues and 6.3 Alpha1 does have the negotiation issues.
The developers added support for the eXpress Data Path XDP to the DPAA for the alpha1 of kernel 6.3.
This is a high-performance data path used to send and receive network packets at high rates by bypassing most of the operating system networking stack.

I removed this XDP support and then I compiled the new RC7 of kernel 6.8 for testing.

uImage-6.8-rc7-dpaa

Please test it.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply