New kernels

AmigaOne X1000 platform specific issues related to Linux only.
User avatar
musa
Posts: 873
Joined: Tue Aug 23, 2011 8:58 pm

Re: New kernels

Post by musa »

Hi
Ubuntu 17 remix boot with vmlinux-6.15_a1

have a nice day

Image
AmigaX1000
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

musa wrote: Fri Mar 28, 2025 8:28 am Hi
Ubuntu 17 remix boot with vmlinux-6.15_a1

have a nice day
Great! Thanks a lot for testing! :-)

Have a nice day too.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hi All,

I compiled the alpha2 of kernel 6.15 with the first PowerPC updates today.

Download and further information: github.com

Please test the kernels.

Thanks,
Christian
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: New kernels

Post by Hypex »

xeno74 wrote: Thu Mar 27, 2025 5:34 pm OK, good to know. I will not revert to ABIv1 Linux kernels for the X1000. Thanks for clarifying.
Just touching on this. I checked the included kernels on the Debian installers to find the ABI. But I cannot see where to find it. Apart from expected differences I cannot tell the difference. How do you tell the ABI of a PPC64 ELF? :?:

Kernel vmlinux 6.12.17-powerpc64 l from Debian GNU/Linux 12.0.0 "Sid" - Unofficial ppc64 NETINST 20250316-09:40:

Code: Select all

$ readelf -h '/media/damien/Debian 12.0.0 ppc64 n/install/vmlinux' /tmp/k1
 
File: /media/damien/Debian 12.0.0 ppc64 n/install/vmlinux
ELF Header:
  Magic:   7f 45 4c 46 02 02 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           PowerPC64
  Version:                           0x1
  Entry point address:               0xc000000000000000
  Start of program headers:          64 (bytes into file)
  Start of section headers:          39173752 (bytes into file)
  Flags:                             0x2, abiv2
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         2
  Size of section headers:           64 (bytes)
  Number of section headers:         54
  Section header string table index: 53
Kernel vmlinux-14 6.14.0-rc7-powerpc64-smp from linux-image-6.14.0-rc7-X1000_ABIv2.tar.gz:

Code: Select all

$ readelf -h '/home/damien/Downloads/vmlinux-6.14' 
ELF Header:
  Magic:   7f 45 4c 46 02 02 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           PowerPC64
  Version:                           0x1
  Entry point address:               0xc000000000000000
  Start of program headers:          64 (bytes into file)
  Start of section headers:          51622568 (bytes into file)
  Flags:                             0x2, abiv2
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         2
  Size of section headers:           64 (bytes)
  Number of section headers:         52
  Section header string table index: 51
Edit. I just realised it was in the flags. So never mind, it wasn't in an obvious place, like ABI. For comparison with kernel 6.12.17-powerpc64-smp:

Code: Select all

$ readelf -h '/home/damien/Downloads/vmlinux-6.12' 
ELF Header:
  Magic:   7f 45 4c 46 02 02 01 00 00 00 00 00 00 00 00 00 
  Class:                             ELF64
  Data:                              2's complement, big endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           PowerPC64
  Version:                           0x1
  Entry point address:               0xc000000000000000
  Start of program headers:          64 (bytes into file)
  Start of section headers:          58124792 (bytes into file)
  Flags:                             0x1, abiv1
  Size of this header:               64 (bytes)
  Size of program headers:           56 (bytes)
  Number of program headers:         2
  Size of section headers:           64 (bytes)
  Number of section headers:         54
  Section header string table index: 53
Last edited by Hypex on Fri Mar 28, 2025 3:55 pm, edited 1 time in total.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hypex wrote: Fri Mar 28, 2025 3:00 pm But I cannot see where to find it.
You have found it. :-)
Hypex wrote: Fri Mar 28, 2025 3:00 pm Kernel vmlinux 6.12.17-powerpc64 from Debian GNU/Linux 12.0.0 "Sid" - Unofficial ppc64 NETINST 20250316-09:40:

Code: Select all

$ readelf -h '/home/damien/Downloads/vmlinux-6.14' 
ELF Header:
  …
  Flags:                0x2, abiv2
  …
Kernel vmlinux-6.14.0-rc7-powerpc64-smp from linux-image-6.14.0-rc7-X1000_ABIv2.tar.gz:

Code: Select all

$ readelf -h '/home/damien/Downloads/vmlinux-6.14' 
ELF Header:
  …
  Flags:                0x2, abiv2
  …
Thank you. Now, I know, that Debian PPC64 has switched to the ABIv2.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: New kernels

Post by Hypex »

xeno74 wrote: Fri Mar 28, 2025 3:54 pmYou have found it. :-)
Thanks. Yes I just noticed myself. Edited my post. :-D
Thank you. Now, I know, that Debian PPC64 has switched to the ABIv2.
I'm not sure when as I've just started testing it. I haven't tested Debian directly since I finished producing the Debian Jessie installer iso for AmigaOne XE/SE/u. I did read that ABI2 was LE specific so must have been opened up to BE recently.

So I've found my libpcre.so.3 error is known about but not specific to my situation with breaking system udev on boot. Mostly it affects working systems and comes up when some terminal program failed to load it. People have tried to solve it by reinstalling libpcre3 package but it failed to work.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 909
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: New kernels

Post by Hypex »

xeno74 wrote: Fri Mar 28, 2025 5:14 am Hi All,

The merge window for the kernel 6.15 has been started and here is the first alpha for testing.
So I installed and tested the new alpha1. I got some interesting results compared to 6.14. So it was able to boot on Xenial, Zesty, Fienix and Debian 64.

All except Debian use a ramdisk and root label. Debian uses root device with no ramdisk. But out of the 4 Xenial still continues to get stuck. It keeps giving load module errors, network errors and takes a minute to find the root device. It was, however, able to boot without the libpcre errors this time which seems strange.

I'll test the alpha2 next and collect a log.
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hypex wrote: Sat Mar 29, 2025 5:30 am So it was able to boot on Xenial, Zesty, Fienix and Debian 64.
Thank you. :-)
User avatar
xeno74
Posts: 10701
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

FYI: openSUSE Tumbleweed 20230628-3 PPC64 and Fedora 28 Server PPC64 work with our new ABIv2 kernels.
User avatar
musa
Posts: 873
Joined: Tue Aug 23, 2011 8:58 pm

Re: New kernels

Post by musa »

Hi
Chimera 32 running with vmlinux-6.15_a2
There was a big update

Image
AmigaX1000
Post Reply