New kernels

AmigaOne X1000 platform specific issues related to Linux only.
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: Mon Aug 12, 2024 6:48 am Hi All,

I released the RC3 of kernel 6.11 for the X1000 and X5000 today.
Okay so tested kernel today. In Fienix it runs fine and I see no major issues. Internet works.

Tested in MATE. Kernel panic with a missing libzstd-so.1. I wonder if this is because MATE is too old?

I then tested in Xenial. This boots fine. Good to know it's compatible.

From the info regarding boot errors I wonder if this kernel has become too new? Rather like when I found out how a newer kernel wasn't compatible with an older Ubuntu. As an example I found this post below. Which, against different causes, looks exactly like the error I have with MATE.

https://askubuntu.com/questions/1514395 ... bzstd-so-1

Some network output. I use an 8139 as it also works in OS4. So for me that is an eth1.

PASemi:

Code: Select all

damien@ubuntu:~$ dmesg | grep pasemi_mac
[    2.747778] pasemi_mac 0000:00:15.0: no mac address in device tree, not configuring
[   15.757105] pasemi_mac 0000:00:14.3 enp0s20f3: renamed from eth0
damien@ubuntu:~$ dmesg | grep eth0
[    2.747273] eth0: PA Semi GMAC: intf 5, hw addr 02:00:e0:0a:30:00
[   15.757105] pasemi_mac 0000:00:14.3 enp0s20f3: renamed from eth0
8139:

Code: Select all

damien@ubuntu:~$ dmesg | grep 8139
[    0.205157] pci 0000:06:06.0: [10ec:8139] type 00 class 0x020000 conventional PCI endpoint
[    2.748464] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[    2.748938] 8139cp 0000:06:06.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip, use 8139too
[    2.749700] 8139too: 8139too Fast Ethernet driver 0.9.28
[    2.751041] 8139too 0000:06:06.0 eth1: RealTek RTL8139 at 0x00000000b0dbb233, 00:00:21:2b:86:a8, IRQ 5
[   15.704528] 8139too 0000:06:06.0 eth1: link up, 100Mbps, full-duplex, lpa 0xC5E1
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hypex wrote: Wed Aug 14, 2024 5:48 pm Okay so tested kernel today. In Fienix it runs fine and I see no major issues. Internet works.
Great! :-)
Hypex wrote: Wed Aug 14, 2024 5:48 pm Tested in MATE. Kernel panic with a missing libzstd-so.1. I wonder if this is because MATE is too old?
On which Linux distribution did you test MATE with the kernel 6.11-rc3?
Hypex wrote: Wed Aug 14, 2024 5:48 pm From the info regarding boot errors I wonder if this kernel has become too new? Rather like when I found out how a newer kernel wasn't compatible with an older Ubuntu.
Yes, this is correct. There are some issues if you use the latest kernels with Ubuntu 10.04 for example.
This is the reason why I release new versions of the stable longterm kernel 5.10 again and again.

Thanks a lot for testing.
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: Wed Aug 14, 2024 7:05 pm On which Linux distribution did you test MATE with the kernel 6.11-rc3?
That would be the on the MATE_PowerPC_Remix_2017 Zesty Zapus.
Yes, this is correct. There are some issues if you use the latest kernels with Ubuntu 10.04 for example.
This is the reason why I release new versions of the stable longterm kernel 5.10 again and again.
The oldest I have, or did have, is 12.04. I liked to use Ubuntu 10.04 on an iBook. It look nice. :-D
Thanks a lot for testing.
Happy to help. :-)
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hypex wrote: Thu Aug 15, 2024 5:11 pm That would be the on the MATE_PowerPC_Remix_2017 Zesty Zapus.
Great! I am happy that someone uses the MATE PowerPC Remix 2017. :-)
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 Aug 15, 2024 7:05 pm Great! I am happy that someone uses the MATE PowerPC Remix 2017. :-)
I have both the MATE Remix and a MATE CD installed to my HDD. :-D

Suppose I don't need the MATE installer now. But I must have spent some time configuring it to work. I made up some custom ram disk according to my boot files.

I'd like to add a feature to my boot editor in future where Linux installers can be imported. So it just needs the installer attached on USB or imaged to a partition to find it. I can see it would need to rebuild an installer ramdisk using X1000 modules in place from compatible kernel. IOW automating all the work put into the A1 Debian Jessie installer. This would open up the available distros and alleviate the work required just being able to boot and test an installer. :-)
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

New for the RC4:
Creating an initial ramdisk:

First, you need to copy the kernel modules directory to /lib/modules. For example:

Code: Select all

# cp -R 6.11.0-rc4-powerpc64-smp /lib/modules
After that you can create the initial ramdisk with the following command:

Code: Select all

# mkinitramfs -o initrd-6.11.img 6.11.0-rc4-powerpc64-smp
You need an additional step for the X5000:

Code: Select all

# mkimage -T ramdisk -C gzip -n 'Kernel 6.11-rc4 uInitrd' -d initrd-6.11.img uInitrd-6.11
Last edited by xeno74 on Mon Aug 19, 2024 9:04 am, edited 1 time in total.
User avatar
xeno74
Posts: 10707
Joined: Fri Mar 23, 2012 7:58 am
Contact:

Re: New kernels

Post by xeno74 »

Hi All,

Here is the RC4 of kernel 6.11 for the X1000 and X5000.

Download and further information: github.com

Alternative download link: linux-image-6.11-rc4-X1000_X5000.tar.gz (xenosoft.de)

Please test the kernels.

Thanks,
Christian
User avatar
musa
Posts: 873
Joined: Tue Aug 23, 2011 8:58 pm

Re: New kernels

Post by musa »

Hi
Debian 64 trixie/sid running with vmlinux-6.11_rc4

Have a nice day

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

Re: New kernels

Post by xeno74 »

musa wrote: Tue Aug 20, 2024 2:57 pm Hi
Debian 64 trixie/sid running with vmlinux-6.11_rc4

Have a nice day
Fantastic! Thanks a lot for testing!

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

Re: New kernels

Post by xeno74 »

Hi All,

I released the stable longterm kernel 5.10.224 today.

New:
Download: github.com

Alternative download link: linux-image-5.10.224-X1000_X5000.tar.gz (xenosoft.de)

This kernel has been patched with the dpaa-v2.patch because of an issue with DPAA on Ubuntu 16.04.

It's suitable for old Linux distributions which don't work with the latest kernels for example Ubuntu 10.04.
It's also suitable if you have some issues with the latest kernels.

@Roland
Could you please test this kernel? I want to make sure that it works for you.
Please also test the DPAA Ethernet because of the fix above.

@All
Please test it. I want to know, if it boots because of the bigger size.

Thanks,
Christian
Post Reply