New kernels

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

Re: New kernels

Post by xeno74 »

Hi All,

The merge window for 6.4 has been started and here is the first alpha for testing.

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

I created a patch for adding overlay support again. Additionally, I created the bttv kernel modules with this patch for the alpha1 of kernel 6.4.

Download: bttv_modules_with_overlay_support_6.4-alpha1.tar.gz

Installation instructions for example for the X5000:
  1. Code: Select all

    # rm -rf /lib/modules/6.4.0-a1_A-EON_X5000-g0cfd8703e7da-dirty/kernel/drivers/media/pci/bt8xx
  2. Code: Select all

    # cp -R bttv_modules_with_overlay_support_6.4-alpha1/X5000/bt8xx /lib/modules/6.4.0-a1_A-EON_X5000-g0cfd8703e7da-dirty/kernel/drivers/media/pci/
  3. Code: Select all

    reboot

Image


Please test the alpha1.

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

Running Linux on AmigaONEs can require some tinkering.
User avatar
musa
Posts: 712
Joined: Tue Aug 23, 2011 7:58 pm

Re: New kernels

Post by musa »

Hi
vmlinux-6.4_rc1 boot Fienix without any errors
Have a nice day
Image
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Thu Apr 27, 2023 11:15 am Hi
vmlinux-6.4_rc1 boot Fienix without any errors
Have a nice day
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: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Hi All,

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

New:
Download: linux-image-6.4-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
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

Kernel 6.4-alpha3:

Build error:

Code: Select all

In file included from ./include/linux/gfp.h:7,
                 from ./include/linux/xarray.h:15,
                 from ./include/linux/list_lru.h:14,
                 from ./include/linux/fs.h:13,
                 from ./include/linux/compat.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:12:
./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
 1735 | #error Allocator MAX_ORDER exceeds SECTION_SIZE
      |  ^~~~~
make[1]: *** [scripts/Makefile.build:114: arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [Makefile:1286: prepare0] Error 2
vim ./include/linux/mmzone.h

Code: Select all

....
//#if (MAX_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS
//#error Allocator MAX_ORDER exceeds SECTION_SIZE
//#endif
....
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by xeno74 »

xeno74 wrote: Sat Apr 29, 2023 11:25 am Kernel 6.4-alpha3:

Build error:

Code: Select all

In file included from ./include/linux/gfp.h:7,
                 from ./include/linux/xarray.h:15,
                 from ./include/linux/list_lru.h:14,
                 from ./include/linux/fs.h:13,
                 from ./include/linux/compat.h:17,
                 from arch/powerpc/kernel/asm-offsets.c:12:
./include/linux/mmzone.h:1735:2: error: #error Allocator MAX_ORDER exceeds SECTION_SIZE
 1735 | #error Allocator MAX_ORDER exceeds SECTION_SIZE
      |  ^~~~~
make[1]: *** [scripts/Makefile.build:114: arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [Makefile:1286: prepare0] Error 2
vim ./include/linux/mmzone.h

Code: Select all

....
//#if (MAX_ORDER + PAGE_SHIFT) > SECTION_SIZE_BITS
//#error Allocator MAX_ORDER exceeds SECTION_SIZE
//#endif
....
I commented out the area. Unfortunately, it doesn't boot.

With the kernel config option CONFIG_ARCH_FORCE_MAX_ORDER=9, it compiles but it doesn't boot either.

I reverted the PASEMI patches in the PowerPC updates 6.4-1 but without any success.

I was able to revert the PowerPC updates 6.4-1 with the following command:

Code: Select all

git revert 70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7 -m 1
After re-compiling, the kernel boots without any problems on my X1000.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: New kernels

Post by xeno74 »

Hi All,

Here is the third alpha of kernel 6.4 with the first PowerPC updates for testing.

New:
Please note: The X1000 doesn't boot with the PowerPC updates 6.4-1 so I removed them for the X1000 kernel.

Download: linux-image-6.4-alpha3-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
musa
Posts: 712
Joined: Tue Aug 23, 2011 7:58 pm

Re: New kernels

Post by musa »

Hi
testing vmlinux-6.4_alpha2. Fienix boot without error
Have a nice day

Image
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
musa
Posts: 712
Joined: Tue Aug 23, 2011 7:58 pm

Re: New kernels

Post by musa »

Hi
Testing vmlinux-6.4_alpha3. on Fienix
Test 1 kernel panic
Test2 format usb disk. Kernel panic
Test 3. use command set pmu -astate=A4
Fienix boot without error
Strange
Have a nice day

Image
AmigaX1000
Follow me on twitter @basjoo_dk
User avatar
xeno74
Posts: 9375
Joined: Fri Mar 23, 2012 7:58 am

Re: New kernels

Post by xeno74 »

musa wrote: Sun Apr 30, 2023 8:03 am Hi
Testing vmlinux-6.4_alpha3. on Fienix
Test 1 kernel panic
Test2 format usb disk. Kernel panic
Test 3. use command set pmu -astate=A4
Fienix boot without error
Strange
Have a nice day
Really strange. Thanks a lot for testing!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply