Debian Buster/Sid PPC64

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

sailorMH wrote: Sun May 14, 2023 8:07 pm
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.

All without problems. Now I will install few things like lxde, make backup and be ready for testing!
Great! Well done! :-)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Debian Sid PPC64

Post by xeno74 »

I upgraded Debian 11 PPC64 to Debian Trixie/Sid PPC64 today.

First, I downloaded and installed the new keyring with dpkg -i.

New keyring: debian-ports-archive-keyring_2023.02.01_all.deb

After that, I updated the sources.list.

New /etc/apt/sources.list:

Code: Select all

# binary default
deb http://ftp.ports.debian.org/debian-ports/ unstable main
deb http://incoming.ports.debian.org/buildd/ unstable main
deb http://ftp.ports.debian.org/debian-ports/ unreleased main

# contrib and non-free arch:all packages (i.e. firmware)
deb [arch=all] http://ftp.debian.org/debian/ unstable contrib non-free-firmware

# source
deb-src http://ftp.debian.org/debian/ unstable main
deb-src http://incoming.debian.org/debian-buildd/ buildd-unstable main
Then I upgraded to Trixie with apt-get dist-upgrade.

I had an issue with usrmerge. (FATAL ERROR: Both /sbin/.... and /usr/sbin/.... exist)

I solved it with:

Code: Select all

apt --fix-broken install

Code: Select all

apt remove --purge usrmerge

Code: Select all

apt-mark hold usrmerge

Code: Select all

apt-mark hold usr-is-merged
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

Currently, I can't upgrade Debian Sid PPC64:

Code: Select all

Setting up systemd (254-1) ...
systemd-machine-id-setup: error while loading shared libraries: libsystemd-shared-252.so: cannot open shared object file: No such file or directory
dpkg: error processing package systemd (--configure):
 installed systemd package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
The renaming of some systemd files has solved the issue:

Code: Select all

-rwxr-xr-x 1 root root  68008 Jun 11 23:05 /usr/bin/systemd-ask-password.bak
-rwxr-xr-x 1 root root  68152 Jun 11 23:05 /usr/bin/systemd-creds.bak
-rwxr-xr-x 1 root root  67888 Jun 11 23:05 /usr/bin/systemd-escape.bak
-rwxr-xr-x 1 root root  68112 Jun 11 23:05 /usr/bin/systemd-firstboot.bak
-rwxr-xr-x 1 root root  67912 Jun 11 23:05 /usr/bin/systemd-inhibit.bak
-rwxr-xr-x 1 root root  68008 Jun 11 23:05 /usr/bin/systemd-machine-id-setup.bak
-rwxr-xr-x 1 root root  67896 Jun 11 23:05 /usr/bin/systemd-notify.bak
-rwxr-xr-x 1 root root 199328 Jun 11 23:05 /usr/bin/systemd-repart.bak
-rwxr-xr-x 1 root root  68016 Jun 11 23:05 /usr/bin/systemd-sysext.bak
-rwxr-xr-x 1 root root 133792 Jun 11 23:05 /usr/bin/systemd-sysusers.bak
-rwxr-xr-x 1 root root 133704 Jun 11 23:05 /usr/bin/systemd-tmpfiles.bak
-rwxr-xr-x 1 root root  67888 Jun 11 23:05 /usr/bin/systemd-tty-ask-password-agent.bak
This issue is because of the directory moving to /usr (usrmerge).

/bin → /usr/bin
/sbin → /usr/sbin
/lib → /usr/lib
/lib64 → /usr/lib64

I don't have merged the bin, sbin, lib, and lib64 directories to /usr so I had some issues.
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

Installation of packages via snapshots for example SuperTuxKart:

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

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

Re: Debian Buster/Sid PPC64

Post by xeno74 »

How to set or change timezone on Debian:

Code: Select all

amigaone@debian-ppc64:~$ timedatectl set-timezone Europe/Berlin
amigaone@debian-ppc64:~$ timedatectl
               Local time: Tue 2023-08-15 11:04:22 CEST
           Universal time: Tue 2023-08-15 09:04:22 UTC
                 RTC time: Tue 2023-08-15 09:04:22
                Time zone: Europe/Berlin (CEST, +0200)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
User avatar
Hypex
Beta Tester
Beta Tester
Posts: 647
Joined: Mon Dec 20, 2010 2:23 pm
Location: Vic. Australia.

Re: Debian Buster/Sid PPC64

Post by Hypex »

My PPC64LE test:

Code: Select all

[02:02:25:209] ␍Booting configuration PPC64LE␊
[02:02:25:229] ␍Loaded modules in 7.055 sec␊
[02:02:32:312] ␍<0x1b>[2J<0x1b>[31;1mX1Boot Loader by Damien Stewart.␍␊
[02:02:32:414] <0x1b>[0m<0x1b>[35m␍␊
[02:02:32:435] ␍␊
[02:02:32:435] Kernel:  vmlinux-6.4␍␊
[02:02:32:435] <0x1b>[34mUnpacking XZ␍␊
[02:02:32:435] <0x1b>[35m␍␊
[02:02:35:873] Ramdisk: initrd-6.4␍␊
[02:02:35:873] <0x1b>[34mUnpacking XZ␍␊
[02:02:35:873] <0x1b>[35m␍␊
[02:02:36:322] Options: root=/dev/ram console=ttyS0,115200 console=tty0<0x1b>[34m␍␊
[02:02:36:334] Set␍␊
[02:02:36:334] ␍␊
[02:02:36:334] <0x1b>[32m␍␊
[02:02:36:356] Entering kernel...␍␊
[02:02:36:356] <0x1b>[37m␍␊
[02:02:36:356] ␍␊
[02:02:36:356] OF stdout device is: /bootconsole␍␊
[02:02:36:366] Preparing to boot Linux version 6.4.0-2-powerpc64le (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-1) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41) #1 SMP Debian 6.4.4-3 (2023-08-08)␍␊
[02:02:36:383] Detected machine type: 0000000000000500␍␊
That's as far as it gets. Nothing on serial. Wonder if something is missing from my ELF loader but it's only a test. :D
Post Reply