Kernel 5.6

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

Kernel 5.6

Post by xeno74 »

Hi All,

Here is the first alpha of kernel 5.6.

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

BTW, we still need the pcmcia-v3 patch for using new SanDisk High (>8G) CF cards in the onboard CF card slot of the Nemo board. I submitted this patch to the kernel IDE developers today.

Links:
Screenshot of the alpha1:

Image

Please test the alpha1.

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

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

Re: Kernel 5.6

Post by xeno74 »

Hi All,

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

New:
Download: linux-image-5.6-alpha2-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
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Hi All,

Here is the third alpha of kernel 5.6 for testing.

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

BTW, Jens Axboe has applied our pcmcia-v3 patch for using new SanDisk High (>8G) CF cards in the onboard CF card slot of the Nemo board. Link to the thread: [PATCH] Using of new SanDisk High (>8G) CF cards with the pata_pcmcia driver

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
xeno74
Posts: 9349
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
xeno74
Posts: 9349
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
xeno74
Posts: 9349
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: 9349
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
xeno74
Posts: 9349
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.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.6

Post by xeno74 »

Hi All,

The issue with the avahi-daemon still exist in the latest Git kernel. It's a PowerPC issue. I compiled the latest Git kernel on a PC today and there aren't any issues with the avahi daemon. Another Power Mac user reported the same issue on his G5. I tested with the AmigaOne X1000 and X5000 in the last days.

I bisected today but I think the result isn't correct because it found the other problem with ordering of PCSCSI definition in esp_rev enum. I don't know how to bisect if there is another issue at the same time. Maybe "git bisect skip"?

Code: Select all

2086faae3c55a652cfbd369e18ecdb703aacc493 is the first bad commit
commit 2086faae3c55a652cfbd369e18ecdb703aacc493
Author: Kars de Jong <jongk@linux-m68k.org>
Date:   Tue Nov 19 21:20:20 2019 +0100

    scsi: esp_scsi: Correct ordering of PCSCSI definition in esp_rev enum

    The order of the definitions in the esp_rev enum is important. The values
    are used in comparisons for chip features.

    Add a comment to the enum explaining this.

    Also, the actual values for the enum fields are irrelevant, so remove the
    explicit values (suggested by Geert Uytterhoeven). This makes adding a new
    field in the middle of the enum easier.

    Finally, move the PCSCSI definition to the right place in the enum. In its
    previous location, at the end of the enum, the wrong values are written to
    the CONFIG3 register when used with FAST-SCSI targets.

    Link: https://lore.kernel.org/r/20191119202021.28720-2-jongk@linux-m68k.org
    Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
    Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

:040000 040000 cdc128596e33fb60406b5de9b17b79623c187c1a 48ceab06439f95285e8b30181e75f9a68c25fcb5 M    drivers
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply