Kernel 4.3

AmigaOne X1000 platform specific issues related to Linux only.

Re: Kernel 4.3

Postby xeno74 » Sun Sep 20, 2015 1:58 am

I tested the latest git kernel today because it was added a lot of new irq source code 2 days ago.

Latest irq patch: fadb97b089563da69ba326f9fea6399d071462b2

Unfortunately I couldn't patch this new irq source code with our patch.

Therefore I compiled the latest git kernel without our irq patches. Unfortunately our kernel doesn't boot with the new irq system:

Code: Select all
Oops: Kernel access of bad area, sig: 11 [#1]

.sb600_8259_cascade+0x4c/0xac (unreliable)
.schedule+0x74/0x9c (unreliable)

Kernel panic - not syncing: Fatal exception in interrupt
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.3

Postby xeno74 » Sun Sep 20, 2015 2:42 am

I was able to remove the new irq commit with:

Code: Select all
git revert fadb97b089563da69ba326f9fea6399d071462b2 -m 1


Output:
Code: Select all
217 files changed, 573 insertions(+), 482 deletions(-)


After that I was able to patch it with our Nemo patch 4.3-5.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.3

Postby xeno74 » Sun Sep 20, 2015 1:37 pm

I could compile it.

Download: vmlinux-4.3-rc1-3-AMIGA_one_X1000.tar.bz2

Please test it.

Thanks in advance.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.3

Postby zzd10h » Sun Sep 20, 2015 6:37 pm

It works fine !

Image
http://apps.amistore.net/zTools
X1000 - AmigaOS 4.1.6 / 4.1 FE
zzd10h
 
Posts: 544
Joined: Sun Sep 16, 2012 6:40 am
Location: France

Re: Kernel 4.3

Postby xeno74 » Mon Sep 21, 2015 1:29 pm

zzd10h wrote:It works fine !

Image


Thank you for testing! :-)

Today, Linus Torvalds released the RC2 of kernel 4.3.

New:

Linux 4.3-rc2 Has Been Released & Is Fairly Normal - phoronix

Mailing list announcement

Download: vmlinux-4.3-rc2-AMIGA_one_X1000.tar.bz2

Note: This kernel use the older interrupt management system from the kernel 4.1 because the new system doesn't work with the AMD/ATI SB600 south bridge.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.3

Postby xeno74 » Mon Sep 28, 2015 12:39 am

The RC3 is available.

Download: vmlinux-4.3-rc3-AMIGA_one_X1000.tar.bz2

Build instructions:

  1. Code: Select all
    git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git linux-git

  2. Code: Select all
    cd linux-git

  3. Code: Select all
    git revert fadb97b089563da69ba326f9fea6399d071462b2 -m 1

  4. Code: Select all
    cd ..

  5. Code: Select all
    cp -R linux-git linux-4.3

  6. Code: Select all
    patch -p0 < nemo_4.3-5.patch or patch -p0 < nemo_4.3-6.patch

  7. Code: Select all
    mv nemo_4.3-rc2.config .config

  8. Code: Select all
    yes "" | make oldconfig

  9. Code: Select all
    make vmlinux

  10. Code: Select all
    make modules

  11. Code: Select all
    su

  12. Code: Select all
    make modules_install
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.3

Postby Srtest » Mon Sep 28, 2015 10:27 pm

The latest RC gives me IRQ errors, and in the few times it doesn't I get stuck on login screen not showing. Reverting to RC2 fixed this. On RC2 I'm still having networking issues as it relates to simultaneous uses and log in and out without rebooting which is manifested also in disconnections.
User avatar
Srtest
 
Posts: 240
Joined: Wed Jun 11, 2014 6:06 pm

Re: Kernel 4.3

Postby xeno74 » Tue Sep 29, 2015 5:34 am

Srtest wrote:The latest RC gives me IRQ errors, and in the few times it doesn't I get stuck on login screen not showing. Reverting to RC2 fixed this. On RC2 I'm still having networking issues as it relates to simultaneous uses and log in and out without rebooting which is manifested also in disconnections.


Hi Srtest,

Thank you for testing. I have to investigate the IRQ problems. The main problem is, that the new IRQ system doesn't work with our Nemo patch. Therefore I replaced it with the old kernel 4.1 IRQ system.

Cheers,

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

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

Re: Kernel 4.3

Postby xeno74 » Tue Sep 29, 2015 9:46 pm

Srtest wrote:The latest RC gives me IRQ errors, and in the few times it doesn't I get stuck on login screen not showing.


Where have you seen the IRQ errors?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.3

Postby Srtest » Tue Sep 29, 2015 11:09 pm

xeno74 wrote:
Srtest wrote:The latest RC gives me IRQ errors, and in the few times it doesn't I get stuck on login screen not showing.


Where have you seen the IRQ errors?


Usually where I have seen the Systemd kernel modules errors. Even when those weren't noted the login screen didn't came up.
User avatar
Srtest
 
Posts: 240
Joined: Wed Jun 11, 2014 6:06 pm

PreviousNext

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 5 guests