Kernel 4.19

AmigaOne X5000 platform specific issues related to Linux only.

Re: Kernel 4.19

Postby Skateman » Thu Aug 16, 2018 9:11 pm

No problem at all Christian :-)

Keep up the good work!
User avatar
Skateman
 
Posts: 198
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.19

Postby Skateman » Thu Aug 16, 2018 9:32 pm

I stumbled upon this Github DPAA ethernet link. https://github.com/opencomputeproject/onie/blob/master/machine/nxp/nxp_p2041rdb/kernel/0022-dpaa_eth-add-support-for-DPAA-Ethernet.patch

In this link i found a piece of text that looked a bit like the issues the X5000 is having with the DPAA adapter.

config FSL_DPAA_CS_THRESHOLD_1G
+ hex "Egress congestion threshold on 1G ports"
+ range 0x1000 0x10000000
+ default "0x06000000"
+ ---help---
+ The size in bytes of the egress Congestion State notification threshold on 1G ports.
+ The 1G dTSECs can quite easily be flooded by cores doing Tx in a tight loop (Traffic that stops)
+ (e.g. by sending UDP datagrams at "while(1) speed"),
+ and the larger the frame size, the more acute the problem.
+ So we have to find a balance between these factors:
+ - avoiding the device staying congested for a prolonged time (risking
+ the netdev watchdog to fire - see also the tx_timeout module param);
+ - affecting performance of protocols such as TCP, which otherwise
+ behave well under the congestion notification mechanism;
+ - preventing the Tx cores from tightly-looping (as if the congestion
+ threshold was too low to be effective);
+ - running out of memory if the CS threshold is set too high. (out of bufferspace ??? )

Here a link to a video i made a while ago where you can see the traffic die.. https://drive.google.com/file/d/15I5TDQEmaW2njR2EE2RkdP3e7S7LWlOE

Unfortunatly i dont have the skills to fix this... if its related ..
User avatar
Skateman
 
Posts: 198
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.19

Postby xeno74 » Fri Aug 17, 2018 1:41 pm

Hi All,

Here is the alpha4 for testing. :-)

New:


Download: vmlinux-4.19-alpha4-AmigaOne_X1000_X5000.tar.gz

Please test it.

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

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

Re: Kernel 4.19

Postby Skateman » Fri Aug 17, 2018 3:55 pm

Alpha 4 is fine, the DPAA patch did not solve the issue! thanks a lot for adding the patch anyway Christian.

Image
User avatar
Skateman
 
Posts: 198
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.19

Postby xeno74 » Fri Aug 17, 2018 8:17 pm

Skateman wrote:Alpha 4 is fine, the DPAA patch did not solve the issue! thanks a lot for adding the patch anyway Christian.


Thank you for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.19

Postby xeno74 » Sat Aug 18, 2018 6:30 pm

Hi All,

I compiled the alpha5 of kernel 4.19 with the first PowerPC updates today.

New:


Download: vmlinux-4.19-alpha5-AmigaOne_X1000_X5000.tar.gz

Please test it.

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

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

Re: Kernel 4.19

Postby Skateman » Sat Aug 18, 2018 11:33 pm

Alpha 5 Up and Running on my X5000!

Image
User avatar
Skateman
 
Posts: 198
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

Re: Kernel 4.19

Postby xeno74 » Sun Aug 19, 2018 8:52 am

Skateman wrote:Alpha 5 Up and Running on my X5000!


Thanks a lot for testing the alpha5! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.19

Postby xeno74 » Sun Aug 19, 2018 7:17 pm

Hi All,

I released the alpha6 of kernel 4.19 for the X5000, X1000, and for virtual e5500 QEMU machines today.

New:


Download: vmlinux-4.19-alpha6-AmigaOne_X1000_X5000.tar.gz

Please test it.

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

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

Re: Kernel 4.19

Postby Skateman » Sun Aug 19, 2018 8:10 pm

Alpha 6 up and running on the X5000. :-)

Image
User avatar
Skateman
 
Posts: 198
Joined: Thu Aug 10, 2017 9:36 pm
Location: The Netherlands

PreviousNext

Return to Platform: AmigaOne X5000 - Linux Only

Who is online

Users browsing this forum: No registered users and 2 guests