Debian Buster/Sid PPC64

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

FYI:
Adrian wrote: Unfortunately, Debian Ports currently does not build any packages
from the non-free repository. This means, if you need a package
from non-free and it's not an arch-all package (_all.deb suffix),
you will have to build that package yourself.

We might build contrib and non-free packages for Debian Ports
in the future, but I am not sure whether that's possible from
the legal point of view.

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

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

FYI:
Adrian wrote: I forgot to mention. You need to install the package "debian-ports-archive-keyring":

# apt install debian-ports-archive-keyring

In case you are prompted to install from an untrusted source, say "Y".

Then run "apt update" again.

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

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

xeno74 wrote: Mon Oct 16, 2017 10:18 pm Hi All,

I created a small image of Debian Buster/Sid PPC64 today. I recommend to use it if you have any problems with Adrian's ISOs. Please increase the partition with GParted after you copied the image to an empty partition. I had to decrease the partition a little bit and after that I was able to increase the partition.

Download: debian-9.0-ppc64.img

root (password "amigaone")
amigaone (password "amigaone")

First steps
  1. Configure your network device with dhclient
  2. Check the network device with ip a
  3. Update the package index with apt-get update
  4. Install Xorg with apt-get install xorg
  5. After that you could install the MATE desktop with apt-get install mate-desktop-environment-extras
  6. Then you could install a display manager for example "lightdm" with apt-get install lightdm
  7. Afterwards reboot your AmigaOne
Cheers,
Christian
Hi All,

I was able to upgrade the Debian img above to version 11 (bullseye) today.
  1. I updated /etc/apt/sources.list

    Code: Select all

    deb [allow-insecure=yes] http://ftp.ports.debian.org/debian-ports unstable main
    deb-src [allow-insecure=yes] http://ftp.ports.debian.org/debian-ports unstable main
    
  2. Code: Select all

    apt-get dist-upgrade
  3. Code: Select all

    apt-get install xorg
  4. Code: Select all

    apt-get install mate-desktop-environment-extras
  5. Code: Select all

    apt-get install network-manager-gnome
  6. Code: Select all

    apt install debian-ports-archive-keyring
  7. I updated /etc/apt/sources.list

    Code: Select all

    deb http://ftp.ports.debian.org/debian-ports unstable main
    deb-src http://ftp.ports.debian.org/debian-ports unstable main
  8. Code: Select all

    apt-get update
  9. Code: Select all

    apt install lightdm
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

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

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

I created a Debian 11 PPC64 image with the new Open Surge 0.5.2.1.

I uploaded this image today. Download: debian-11.0-ppc64.img.tar.gz
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

FYI: Bug#995223: libffi: SIGILL on powerpc and ppc64 systems since libffi8
Adrian wrote:
Source: libffi
Version: 3.3-6
Severity: important
User: debian-powerpc@lists.debian.org
Usertags: powerpc ppc64
X-Debbugs-Cc: debian-powerpc@lists.debian.org

Hi!

Multiple users on powerpc and ppc64 have reported SIGILL crashes after upgrading to libffi8 (3.4.x):

# dmesg
...
[ 16.257543] fail2ban-server[384]: illegal instruction (4) at
3fffb4283970 nip 3fffb4283970 lr 3fffb4282f90 code 1 in
libffi.so.8.1.0[3fffb427b000+c000]
...

Downgrading to libffi7 fixes the problem.

It has been reported that building and using the upstream version does not reproduce this issue. But I have not yet independently verified that. It might be that libffi performs a runtime detection during build which causes the library to be built with a higher baseline on the POWER8 buildds.

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

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

FYI:
Adrian wrote: Control: severity -1 serious

Hello!

It turns out that m4/ax_gcc_archflag.m4 contains code to detect the
baseline of the host system and sets the GCC architecture accordingly.

Thus, a libffi compiled on a POWER8 machine will not work on a POWER5
machine as the compiler is emitting POWER8 instructions in this case.

Since the m4 script contains such a host enviroment detection for aarch64
as well [1], this bug can potentially affect arm64 which is a release
architecture.

We should therefore pass "--enable-portable-binary" in debian/rules.

Adrian

> [1] https://github.com/libffi/libffi/blob/m ... ag.m4#L209
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

I tested new Fienix, it is nice-looking, and well prepared, with easy installation from image. But missing some things - like lxde what I am using from beginning ;-) So I want to install current Debian Sid. Debian is my favorite distro, and my working Debian 8 also today lacks some software.

Few years ago I did it this way - I installed Debian to Powermac G5 from cdimage.debian.org/cdimage/ports/ and after that copy installed image to X1000 and use xeno74's kernel. But this time I have a little problems with Powermac cooling. So maybe i won't be able to install it on Powermac.

In such case I have in plan use xeno74's image and upgrade it to Sid:
xeno74 wrote: Thu Aug 19, 2021 9:03 am I created a Debian 11 PPC64 image with the new Open Surge 0.5.2.1.

I uploaded this image today. Download: debian-11.0-ppc64.img.tar.gz
Please, is this version latest Debian img? Or is better use last MintPPC image for that?
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
User avatar
xeno74
Posts: 9319
Joined: Fri Mar 23, 2012 7:58 am

Re: Debian Buster/Sid PPC64

Post by xeno74 »

sailorMH wrote: Fri May 12, 2023 9:15 am Please, is this version latest Debian img? Or is better use last MintPPC image for that?
From my side yes. The MintPPC diskimage is from Roland.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
sailorMH
Posts: 230
Joined: Wed Aug 28, 2013 6:01 pm
Location: Czech republic

Re: Debian Buster/Sid PPC64

Post by sailorMH »

xeno74 wrote: Fri May 12, 2023 11:02 am From my side yes. The MintPPC diskimage is from Roland.
Thank you. As I have still problems with my powermac, I installed Debian from your image and upgrade to current packages.
Image

All without problems. Now I will install few things like lxde, make backup and be ready for testing!
Micro A1-C (G3/1.2 GHz), AmigaOne XE (G4/1.4 GHz), Pegasos II (G4/1.33 GHz), Sam440ep, Sam440ep-flex, AmigaOne X1000
Efika 5200b, Pegasos I, Powerbook, Mac Mini (1.83 GHz), iMac, Powermac Quad

AmigaOS, MorphOS, linux, MacOS X
Post Reply