Kernel 4.1

AmigaOne X1000 platform specific issues related to Linux only.

Re: Kernel 4.1

Postby xeno74 » Wed Jun 08, 2016 10:27 am

Hi All,

I have recently released the new stable longterm kernel 4.1.26 for the AmigaONE X1000.

New:


Download: vmlinux-4.1.26-AmigaONE_X1000.tar.gz

Cheers,

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

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

Re: Kernel 4.1

Postby xeno74 » Thu Jun 23, 2016 3:09 pm

Hi all,

I cross compiled the new stable longterm kernel 4.1.27 for the AmigaONE X1000 today.

New:


Download: vmlinux-4.1.27-AmigaONE_X1000.tar.gz

Please test this cross compiled kernel because I don't know if it boots.

Thanks in advance,

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

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

Re: Kernel 4.1

Postby kilaueabart » Fri Jun 24, 2016 12:07 am

Works with my MATE. I'll try with 12.04 later, maybe.

At least I know I can get on, in case I test the new 4.7 rc4-2 and it doesn't work. ;)
User avatar
kilaueabart
 
Posts: 476
Joined: Mon Mar 05, 2012 3:36 am

Re: Kernel 4.1

Postby xeno74 » Fri Jun 24, 2016 8:45 am

kilaueabart wrote:Works with my MATE. I'll try with 12.04 later, maybe.

At least I know I can get on, in case I test the new 4.7 rc4-2 and it doesn't work. ;)


Thanks a lot for testing the stable longterm kernel 4.1.27. It's good to know that it works. :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Kernel 4.1

Postby xeno74 » Thu Jul 14, 2016 8:26 pm

Hi All,

I tried to compile the kernel 4.1.28 today. Unfortunately it didn't compile because of an undeclared variable PPC_FEATURE2_HTM_NOSC_COMP.

Error message:

Code: Select all
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CALL    arch/powerpc/kernel/systbl_chk.sh
  CC      arch/powerpc/kernel/prom.o
arch/powerpc/kernel/prom.c:170:25: error: 'PPC_FEATURE2_HTM_NOSC_COMP' undeclared here (not in a function)
   PPC_FEATURE2_HTM_COMP|PPC_FEATURE2_HTM_NOSC_COMP, 22, 0, 0},
                         ^
make[1]: *** [arch/powerpc/kernel/prom.o] Error 1
make: *** [arch/powerpc/kernel] Error 2


I reported this issue on the Linux ppc mailing list today. After that, Michael posted a patch because of this issue. Then I compiled the kernel again and I can confirm that the patch works.

Further information: Linuxppc-dev -- Linux on PowerPC Developers Mail List

I tested the kernel for some hours today. Unfortunately the X1000 frequently freezes or completely halts with the kernel 4.1.28. That means, I can't release the kernel 4.1.28.

If you want to test it then you can download it via the following link: vmlinux-4.1.28-AmigaONE_X1000.tar.gz

I don't know where the problem is in the patches.

4.1.28 Linux Git log

4.1.28 ChangeLog

Cheers,

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

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

Re: Kernel 4.1

Postby mechanic » Fri Jul 15, 2016 1:18 am

The same problem occurs with the new 3.18.37.

I suspect prom.h also has a problem though not necessarily internal. Maybe something like using the wrong function for a configuration. YUK----Bugs.
A-Eon A1X1000
User avatar
mechanic
 
Posts: 488
Joined: Sat Jun 25, 2011 10:22 pm

Re: Kernel 4.1

Postby xeno74 » Fri Jul 15, 2016 9:26 pm

mechanic wrote:The same problem occurs with the new 3.18.37.

I suspect prom.h also has a problem though not necessarily internal. Maybe something like using the wrong function for a configuration. YUK----Bugs.


Hi Mechanic,

Many thanks for reporting! I reported the issue on the Linux PPC mailing list today.

Link: Problems with prom.h

Cheers,

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

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

Re: Kernel 4.1

Postby xeno74 » Mon Aug 01, 2016 11:23 am

Hi All,

I have really great news for you. :-) The stable longterm kernel 4.1 is back! The kernel developers solved the problem with the kernel freezing. They also fixed the build break due to missing PPC_FEATURE2_HTM_NOSC.

The new longterm kernel 4.1.29 is very stable again. :-)

I tested a lot of things with the kernel 4.1.29 and it works very well.

Test results:

  1. Hardware 3D acceleration works with an AMD Radeon HD6870 (tested with DOOM 3 and SuperTuxKart 0.8.1-2)
  2. Sound works (MP3 files, web radio etc)
  3. LAN works (Realtek RTL-8139)
  4. WLAN works (FRITZ!WLAN USB Stick N)
  5. "PR" KVM works (QEMU guest: Mac OS X 10.4.11 Tiger)
  6. Compiz works
  7. YouTube HD videos work with ViewTube
  8. Internal CF card works
  9. pas_shutdown works

Further information:

  1. Linux Git log
  2. ChangeLog

Download: vmlinux-4.1.29-AmigaONE_X1000.tar.gz

Please test it.

Thanks,

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

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

Re: Kernel 4.1

Postby mechanic » Tue Aug 02, 2016 8:39 pm

I was messing around with 4.1.29 and Deb-stretch.

A build with the default gcc-5.4 (or dropping to 4.9.3) worked for booting,, but the keyboard and mouse refused to work so all I got was a login screen I could not do anything with.

A build with 4.9.2-10 (Deb 8.5) works very well, at least everything I tried. However, the user interface is slow. Typing and mouse clicks are not snappy to the screen.
A-Eon A1X1000
User avatar
mechanic
 
Posts: 488
Joined: Sat Jun 25, 2011 10:22 pm

Re: Kernel 4.1

Postby xeno74 » Tue Aug 02, 2016 9:08 pm

mechanic wrote:I was messing around with 4.1.29 and Deb-stretch.

A build with the default gcc-5.4 (or dropping to 4.9.3) worked for booting,, but the keyboard and mouse refused to work so all I got was a login screen I could not do anything with.

A build with 4.9.2-10 (Deb 8.5) works very well, at least everything I tried. However, the user interface is slow. Typing and mouse clicks are not snappy to the screen.


Interesting! Have you tested my build as well?
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

PreviousNext

Return to Platform: AmigaOne X1000 - Linux Only

Who is online

Users browsing this forum: No registered users and 4 guests