MintPPC

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

Re: MintPPC

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: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: MintPPC

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
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: MintPPC

Post by xeno74 »

If you want to disable the lock screen then you can use the following command:

Code: Select all

gsettings set org.gnome.desktop.screensaver lock-enabled false
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: MintPPC

Post by Roland »

This is very strange... I cannot suddenly start any desktop (Mate, LDM etc) from lightdm using my personal user account! When I try it, the the Mint backround picture dissappears and the screen turns to black for few seconds, then the login screen reappears. The root account works still ok, I can open desktops normally as root.

What can cause this kind of issue, and how can I correct it? I already checked /etx/x11/xorg.conf and the config files in /etc/lightdm/, they seemed to to be intact. Where are the account-specific settings located? I could not localize any from '/home/.config.'.
- Roland -
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: MintPPC

Post by Roland »

I cannot currently get all the depot indexes updated in Synaptic, there appears an error message. Looks like some depots are not anymore available. Do others have the same problem with MintPPC?
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: MintPPC

Post by xeno74 »

Roland wrote: Sun Feb 19, 2023 11:02 am I cannot currently get all the depot indexes updated in Synaptic, there appears an error message. Looks like some depots are not anymore available. Do others have the same problem with MintPPC?
Hi Roland,

I had some issues with invalid signatures because of the old debian-ports repository public key.

Code: Select all

W: Failed to fetch http://deb.debian.org/debian-ports/dists/unreleased/InRelease  The following signatures were invalid: EXPKEYSIG B523E5F3FC4E5F2C Debian Ports Archive Automatic Signing Key (2023) <ftpmaster@ports-master.debian.org> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8D69674688B6CB36
I solved it with installing the new public key.

Code: Select all

apt install debian-ports-archive-keyring
After that I was able to update the indexes.

Code: Select all

┌──(root💀mintppc)-[~]
└─# apt update                                                      
Hit:1 http://ftp.de.debian.org/debian sid InRelease
Hit:2 http://u58733p55594.web0093.zxcs-klant.nl/repo unstable InRelease                                                                           
Hit:3 http://ftp.debian.org/debian unstable InRelease                                                                                             
Hit:4 http://deb.debian.org/debian-ports sid InRelease
Hit:5 http://deb.debian.org/debian-ports unreleased InRelease
Hit:6 http://deb.debian.org/debian-ports experimental InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
2284 packages can be upgraded. Run 'apt list --upgradable' to see them.
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: MintPPC

Post by Roland »

xeno74 wrote: Mon Feb 20, 2023 10:32 amI solved it with installing the new public key.

Code: Select all

apt install debian-ports-archive-keyring
After that I was able to update the indexes.
Thanks! That solved the problem, and I was also able to install Musescore. But I have not succeeded to get Pulseaudio to work with Musescore. There is only noise coming out. Any solution for that?
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: MintPPC

Post by xeno74 »

Roland wrote: Tue Feb 21, 2023 12:07 am Thanks! That solved the problem, and I was also able to install Musescore. But I have not succeeded to get Pulseaudio to work with Musescore. There is only noise coming out. Any solution for that?
I think it is an endian issue. You can try to use ALSA via the preferences. (I/O settings)
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: MintPPC

Post by Roland »

xeno74 wrote: Tue Feb 21, 2023 1:41 pmI think it is an endian issue. You can try to use ALSA via the preferences. (I/O settings)
If I select ALSA, the play control buttons become grey, being inactive. Should I install some extra modules to Musescrore?
- Roland -
User avatar
xeno74
Posts: 9349
Joined: Fri Mar 23, 2012 7:58 am

Re: MintPPC

Post by xeno74 »

Great news! :-)

Jeroen Diederen has released a new MintPPC disk image.

Download: mintppc32-live-2023-root.img.gz
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply