Kernel 5.5

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

Kernel 5.5

Post by xeno74 »

Hi All,

The Linux 5.5 merge window is open now so I released the first alpha today.

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

My PCI TV card works without a 3.5G limitation with both X5000 kernels. :-)

@Roland
Please test both kernels with your Dawicontrol DC 2976 UW SCSI PCI board.

@Skateman
Please test both kernels with the DPAA X5000 onboard ethernet.

Image

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

Running Linux on AmigaONEs can require some tinkering.

User avatar
Skateman
Posts: 513
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 Alha1 up and running on the AmigaOne X5000 with issues...

Image

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

When system boots i get the following error: The panel encountered a problem while loading "TrashAppletFactory::TrashApplet".
See screenshot http://www.skateman.nl/wp-content/uploa ... 193639.png
corresponding log: Nov 26 19:52:54 X5000LNX org.mate.panel.applet.TrashAppletFactory[4953]: ** (trashapplet:5060): CRITICAL **: could not query trash:/: 'Timeout was reached' (trashcan issue)

When starting the system profiler and showing system summary, or filesystem summary...the application stalls....
See screenshot http://www.skateman.nl/wp-content/uploa ... 200108.png

I also worry about the SDCARD,..... see logs

Nov 26 20:01:42 X5000LNX kernel: mmc0: Timeout waiting for hardware interrupt.
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Sys addr: 0x0e480000 | Version: 0x00001301
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000000
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000033
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Present: 0x01fd000e | Host ctl: 0x00000032
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000000
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000078
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Int enab: 0x037f008f | Sig enab: 0x037f008b
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00001301
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Caps: 0x05fa0000 | Caps_1: 0x00000000
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Cmd: 0x0000261b | Max curr: 0x00000000
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Resp[0]: 0x00000800 | Resp[1]: 0x0073a726
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x3f400e00
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: Host ctl2: 0x00000000
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x7e013278
Nov 26 20:01:42 X5000LNX kernel: mmc0: sdhci: ============================================
Nov 26 20:01:42 X5000LNX kernel: mmc_erase: erase error -110, status 0x800
Nov 26 20:01:52 X5000LNX kernel: mmc0: Timeout waiting for hardware interrupt.
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Sys addr: 0x0e500000 | Version: 0x00001301
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Blk size: 0x00000040 | Blk cnt: 0x00000000
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x00000013
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Present: 0x01fd000e | Host ctl: 0x00000032
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000000
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000078
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Int enab: 0x037f008f | Sig enab: 0x037f008b
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00001301
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Caps: 0x05fa0000 | Caps_1: 0x00000000
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Cmd: 0x0000261b | Max curr: 0x00000000
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Resp[0]: 0x00000800 | Resp[1]: 0x473001a6
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Resp[2]: 0x53443136 | Resp[3]: 0x3f275048
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: Host ctl2: 0x00000000
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x7e013208
Nov 26 20:01:52 X5000LNX kernel: mmc0: sdhci: ============================================
Nov 26 20:01:52 X5000LNX kernel: mmc_erase: erase error -110, status 0x800
Nov 26 20:01:52 X5000LNX kernel: blk_update_request: I/O error, dev mmcblk0, sector 1113217 op 0x3:(DISCARD) flags 0x4800 phys_seg 1 prio class 0

DPAA Ethernet also not functional yet. (usable for a few moments and then traffic dies)
Last edited by Skateman on Tue Nov 26, 2019 8:38 pm, edited 2 times in total.
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

User avatar
Skateman
Posts: 513
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 DMA Alpha1 is up and running on the AmigaOne X5000

Image

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

Issues as found in Kernel 5.5 Alpha1 are NOT found in the DMA version. DMA version is running fine!!

DPAA Ethernet also not functional yet. (usable for a few moments and then traffic dies)
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

User avatar
xeno74
Posts: 6191
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

Hi Skateman,

Many thanks for testing both kernels. I think the issue you have found was solved yesterday. Link: Revert "vfs: properly and reliably lock f_pos in fdget_pos()"

@All

FYI because of the issue with some PCI cards:
Mike Rapoport wrote: Maybe we'll simply force bottom up allocation before calling
swiotlb_init()? Anyway, it's the last memblock allocation.

Code: Select all

diff --git a/arch/powerpc/mm/mem.c b/arch/powerpc/mm/mem.c
index 62f74b1b33bd..771e6cf7e2b9 100644
--- a/arch/powerpc/mm/mem.c
+++ b/arch/powerpc/mm/mem.c
@@ -286,14 +286,15 @@ void __init mem_init(void)
   /*
    * book3s is limited to 16 page sizes due to encoding this in
    * a 4-bit field for slices.
    */
   BUILD_BUG_ON(MMU_PAGE_COUNT > 16);

#ifdef CONFIG_SWIOTLB
+    memblock_set_bottom_up(true);
   swiotlb_init(0);
#endif

   high_memory = (void *) __va(max_low_pfn * PAGE_SIZE);
   set_max_mapnr(max_pfn);
   memblock_free_all();
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 6191
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

Hi All,

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

New:
Download: linux-image-5.5-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
Skateman
Posts: 513
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 Alpha 2 is running fine on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 172800.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

User avatar
xeno74
Posts: 6191
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

Skateman wrote:Kernel 5.5 Alpha 2 is running fine on the AmigaOne X5000
Many thanks for testing the alpha2!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 6191
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

FYI:

drm-next-2019-11-27 updates

New:

radeon:
- SI dpm fix ported from amdgpu
- fix bad DMA on ppc platforms
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.

User avatar
xeno74
Posts: 6191
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.5

Post by xeno74 »

Hi All,

Here is the third alpha of kernel 5.5 for testing.

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

BTW, I have bought another Radeon HD6970 (Cayman XT). :-) This time for the X1000. I successfully tested it with ubuntu MATE 16.04.6 LTS PowerPC and with Fienix today and the hardware 3D acceleration works great on both distributions. :-) The Cayman cards are the fastest and last released Radeon cards with support for hardware 3D acceleration on Linux PPC Big Endian. New cards are working but without hardware 3D acceleration.

Image

Image 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: 513
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.5

Post by Skateman »

Kernel 5.5 Alpha3 up and running on the AmigaOne X5000

Image

Big picture http://www.skateman.nl/wp-content/uploa ... 163413.png
AmigaOne X5000 -> 2GHz / 16GB RAM / Radeon R7 250 / M-Audio 5.1 -> AmigaOS 4.1 FE / Ubuntu Linux
Amiga 1200 -> Recapped / 68ec020 ACA 1221ec / CF HDD / RetroNET connected to the world

Post Reply