Kernel 5.6

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

Re: Kernel 5.6

Post by xeno74 »

Skateman,

I've seen that your CPU0/CPU1 values are 99% on your screenshot. Could you please check with "top" which process is responsible for these high values?

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

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

Re: Kernel 5.6

Post by xeno74 »

xeno74 wrote: Sat Feb 01, 2020 2:23 pm Skateman,

I've seen that your CPU0/CPU1 values are 99% on your screenshot. Could you please check with "top" which process is responsible for these high values?

Thanks,
Christian
The avahi-daemon is responsible for the high CPU load.

Code: Select all

avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device
It's possible to deactivate the avahi daemon with the following lines in the file "/etc/avahi/avahi-daemon.conf":

Code: Select all

use-ipv4=no
use-ipv6=no
But this is only a temporary solution. We have to report this issue to the kernel developers.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.6

Post by Skateman »

I will check and let you know!
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: 9382
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Skateman wrote: Sat Feb 01, 2020 6:44 pm I will check and let you know!
Thank you! :-)

Maybe the issue is in the latest networking updates.

I tried:

Code: Select all

git revert bd2463ac7d7ec51d432f23bf0e893fb371a908cd -m 1
Unfortunately I can't revert the latest networking updates anymore.

Code: Select all

error: could not revert bd2463ac7d7e... Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.6

Post by Skateman »

The two intensive processes are below... (tested on Alpha 4 and Alpha 3)

I will revert back to some older kernels and see what happens.

2416 root 20 0 91656 67280 66876 R 66.9 0.4 60:25.59 systemd-journal
4250 avahi 20 0 7576 3084 2788 S 24.5 0.0 22:44.47 avahi-daemon

Keep u posted

Alpha1 i not having these issues,

I will test alpha 2 now...

Alpha 2 with the networking updates is also running fine! NO CPU SPIKES

The issue is within Alpha3!!
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: 9382
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Skateman wrote: Sat Feb 01, 2020 9:34 pm The two intensive processes are below... (tested on Alpha 4 and Alpha 3)

I will revert back to some older kernels and see what happens.

2416 root 20 0 91656 67280 66876 R 66.9 0.4 60:25.59 systemd-journal
4250 avahi 20 0 7576 3084 2788 S 24.5 0.0 22:44.47 avahi-daemon

Keep u posted

Alpha1 i not having these issues,

I will test alpha 2 now...

Alpha 2 with the networking updates is also running fine! NO CPU SPIKES

The issue is within Alpha3!!
Hi Skateman,

Thanks a lot for your tests. Good to know that the networking updates aren't responsible for this issue. openSUSE Tumbleweed PPC64 and Fedora PPC64 aren't affected because they don't use the avahi daemon.

I reported this issue to the kernel developers today.

Link: Latest Git kernel: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device

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

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

Re: Kernel 5.6

Post by xeno74 »

Hi All,

Here is the alpha5 of the kernel 5.6 for testing.

New:
Issue: The avahi-daemon generates high CPU usage. I figured out that the avahi-daemon has a problem with the IPv6 address of a network interface since the Git kernel from Thursday (alpha3).

It's possible to deactivate the access to the IPv6 address with the following line in the file "/etc/avahi/avahi-daemon.conf":

Code: Select all

use-ipv6=no
After a reboot the CPU usage is normal again.

I reported this issue to the kernel developers yesterday.

Link: Latest Git kernel: avahi-daemon[2410]: ioctl(): Inappropriate ioctl for device

Download: linux-image-5.6-alpha5-X1000_X5000.tar.gz

Image

Please test the kernels.

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

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

Re: Kernel 5.6

Post by Skateman »

Kernel 5.6 Alpha5 running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 203401.png

Alpha 5 has like mentioned by Christian the high CPU issues caused by the avahi-daemon.
Setting the value use-ipv6=no does NOT solve the problem for me and the high CPU usage remains.

Disabling the avahi-daemon using sudo service avahi-daemon stop does solve the issue!
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: 9382
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Skateman wrote: Sun Feb 02, 2020 8:45 pm Kernel 5.6 Alpha5 running on the AmigaOne X5000

Alpha 5 has like mentioned by Christian the high CPU issues caused by the avahi-daemon.
Setting the value use-ipv6=no does NOT solve the problem for me and the high CPU usage remains.

Disabling the avahi-daemon using sudo service avahi-daemon stop does solve the issue!
Thanks for testing the alpha5! What about setting the value use-ipv4=no additionally?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.6

Post by xeno74 »

Hi All,

I released the alpha6 for testing today.

New:
Download: linux-image-5.6-alpha6-X1000_X5000.tar.gz

Image

Issue: The avahi-daemon generates high CPU usage.

Please test the kernels.

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

Running Linux on AmigaONEs can require some tinkering.
Post Reply