Kernel 5.7

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

Re: Kernel 5.7

Post by xeno74 »

daz wrote: Sat May 30, 2020 8:18 pm I use a 5 port hub now, and that doesn't cause problems. Do you have a different router you could try? Or can you connect through a Hub device first?
Darren

I will buy a hub and test.

Thanks

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

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

Re: Kernel 5.7

Post by xeno74 »

Hi All,

The final kernel 5.7 is available for our AmigaOnes. Many thanks to all for helping me with testing, reporting, and fixing problems during the kernel 5.7 test time.

New:
Download: linux-image-5.7-X1000_X5000.tar.gz

Image

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

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 480
Joined: Tue May 02, 2017 7:23 am

Re: Kernel 5.7

Post by Roland »

daz wrote: Sat May 30, 2020 8:18 pm I used to have this when I first got my X5000. I'm told it's due to the ports your X5000 is connected to, apparently some 100Mbit ports don't fully comply and upset the DPAA. I use a 5 port hub now, and that doesn't cause problems. Do you have a different router you could try? Or can you connect through a Hub device first?
I have a Sagemcom modem with gigagabit ethernet ports, so the '100M' is not a valid explanation for this issue. Tested also with an A-Link WNAP router - no difference.
Last edited by Roland on Wed Jun 03, 2020 8:56 am, edited 1 time in total.
- Roland -
User avatar
Skateman
Posts: 552
Joined: Thu Aug 10, 2017 8:36 pm
Location: The Netherlands

Re: Kernel 5.7

Post by Skateman »

Final Kernel 5.7 up and running on the AmigaOne X5000

Image

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

@All
Thanks so much for all the hard work!
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
acefnq
Posts: 192
Joined: Fri Sep 09, 2011 9:58 am

Re: Kernel 5.7

Post by acefnq »

Christian
Kernel 5.7 up and running. Many thanks for your ongoing dedication and hard work.

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

Re: Kernel 5.7

Post by xeno74 »

Skateman wrote: Wed Jun 03, 2020 7:47 am Final Kernel 5.7 up and running on the AmigaOne X5000

@All
Thanks so much for all the hard work!
Many thanks for testing the final kernel 5.7! :-)
acefnq wrote: Wed Jun 03, 2020 11:15 am Christian
Kernel 5.7 up and running. Many thanks for your ongoing dedication and hard work.

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

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

Re: Kernel 5.7

Post by xeno74 »

The KVM issue has been fixed in the stable kernel 5.7. :-)

Code: Select all

This is a note to let you know that I've just added the patch titled

    powerpc/64s: Fix KVM interrupt using wrong save area

to the 5.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     powerpc-64s-fix-kvm-interrupt-using-wrong-save-area.patch
and it can be found in the queue-5.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 0bdcfa182506526fbe4e088ff9ca86a31b81828d Mon Sep 17 00:00:00 2001
From: Nicholas Piggin <npiggin@gmail.com>
Date: Mon, 15 Jun 2020 16:12:47 +1000
Subject: powerpc/64s: Fix KVM interrupt using wrong save area

From: Nicholas Piggin <npiggin@gmail.com>

commit 0bdcfa182506526fbe4e088ff9ca86a31b81828d upstream.

The CTR register reload in the KVM interrupt path used the wrong save
area for SLB (and NMI) interrupts.

Fixes: 9600f261acaa ("powerpc/64s/exception: Move KVM test to common code")
Cc: stable@vger.kernel.org # v5.7+
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200615061247.1310763-1-npiggin@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 arch/powerpc/kernel/exceptions-64s.S |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/arch/powerpc/kernel/exceptions-64s.S
+++ b/arch/powerpc/kernel/exceptions-64s.S
@@ -270,7 +270,7 @@ BEGIN_FTR_SECTION
 END_FTR_SECTION_IFSET(CPU_FTR_CFAR)
 	.endif
 
-	ld	r10,PACA_EXGEN+EX_CTR(r13)
+	ld	r10,IAREA+EX_CTR(r13)
 	mtctr	r10
 BEGIN_FTR_SECTION
 	ld	r10,IAREA+EX_PPR(r13)
@@ -298,7 +298,7 @@ END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR)
 
 	.if IKVM_SKIP
 89:	mtocrf	0x80,r9
-	ld	r10,PACA_EXGEN+EX_CTR(r13)
+	ld	r10,IAREA+EX_CTR(r13)
 	mtctr	r10
 	ld	r9,IAREA+EX_R9(r13)
 	ld	r10,IAREA+EX_R10(r13)


Patches currently in stable-queue which might be from npiggin@gmail.com are

queue-5.7/powerpc-64s-kuap-add-missing-isync-to-kuap-restore-p.patch
queue-5.7/powerpc-64s-exceptions-machine-check-reconcile-irq-s.patch
queue-5.7/powerpc-64s-fix-kvm-interrupt-using-wrong-save-area.patch
queue-5.7/powerpc-book3s64-radix-tlb-determine-hugepage-flush-.patch
queue-5.7/powerpc-64s-exception-fix-machine-check-no-loss-idle.patch
queue-5.7/powerpc-pseries-ras-fix-fwnmi_valid-off-by-one.patch
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 5.7

Post by xeno74 »

Hi All,

I released the stable kernel 5.7.6 today.

New:
Download: linux-image-5.7.6-X1000_X5000.tar.gz

The stable kernel 5.7.6 works with an ATi Radeon X1950 PRO Extreme:

Image

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

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 480
Joined: Tue May 02, 2017 7:23 am

Re: Kernel 5.7

Post by Roland »

xeno74 wrote: Sun May 31, 2020 3:27 am
daz wrote: Sat May 30, 2020 8:18 pm I use a 5 port hub now, and that doesn't cause problems. Do you have a different router you could try? Or can you connect through a Hub device first?
I will buy a hub and test.
Christian, did you already get and test a hub...? Did that solve the problem?

I have not yet found any solution to the 'uplug/replug' problem. I tested in Network settings all the different options of 'Link negotiation' (ignore/automatic/manual -> 10M/100M/1G full/halfduplex), but that did not help. Tested also different ethernet cables, no difference.

I just found a working SoundBlaster Live! board and would now like to free a PCI slot for it. Are there any PCIe ethernet boards which would work with PPC Linux? (USB-ethernet dongle does not sound a good solution as the USB ports of X5000 are only v. 2.0).
- Roland -
User avatar
xeno74
Posts: 6370
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 5.7

Post by xeno74 »

Roland wrote: Sat Jul 18, 2020 10:09 am Christian, did you already get and test a hub...? Did that solve the problem?
No, I haven’t test it with a hub yet.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply