Kernel 4.1

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

Re: Kernel 4.1

Post by xeno74 »

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: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.1

Post by xeno74 »

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
kilaueabart
Posts: 1070
Joined: Mon Mar 05, 2012 2:36 am

Re: Kernel 4.1

Post by kilaueabart »

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

Re: Kernel 4.1

Post by xeno74 »

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: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.1

Post by xeno74 »

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
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 4.1

Post by mechanic »

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 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.1

Post by xeno74 »

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: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.1

Post by xeno74 »

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
mechanic
Posts: 510
Joined: Sat Jun 25, 2011 9:22 pm

Re: Kernel 4.1

Post by mechanic »

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 ATI HD6850, Creative SB1570 PCIe, RTL8139 net PCI.
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: Kernel 4.1

Post by xeno74 »

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.
Post Reply