Discussion:
Debian 12 on iMac G5
(too old to reply)
Claudia Neumann
2024-01-23 14:00:01 UTC
Permalink
Hi all,

I have an iMac G5, PowerMac 12,1 PPC970FX, Platform: PowerMac 12,1 MacRISC4
Power Macinstosh, Memory 1GB+384MB.

I had installed Ubuntu 16.04.7 LTS and it was running fine. Now I need newer libc and so
on. So I wanted to install Debian 12 or even Debian 13 on this iMac.

Is that possible? I tried
debian-12.4.0-ppc64el-netinst.iso
but the iMac does not start from the DVD.

What can I do?

CU

Claudia
Claudia Neumann
2024-01-23 14:40:01 UTC
Permalink
Hi all, hi Adrian,

downloaded the image and burnt on DVD. Now the iMac starts from DVD but hangs with:
smp_core99_probe
smp_core99_bringup_done
the ventilator is up high but nothing else happens.

I have ATI Radeon X600 (Rev 380) 3E50 (PCIE)

Any hints?

Claudia
Hi Claudia,
Post by Claudia Neumann
I have an iMac G5, PowerMac 12,1 PPC970FX, Platform: PowerMac 12,1 MacRISC4
Power Macinstosh, Memory 1GB+384MB.
I had installed Ubuntu 16.04.7 LTS and it was running fine. Now I need
newer libc and so on. So I wanted to install Debian 12 or even Debian 13
on this iMac.
This is a computer running in big-endian mode, so you need to install a
big-endian PowerPC distribution.
Post by Claudia Neumann
Is that possible? I tried
debian-12.4.0-ppc64el-netinst.iso
but the iMac does not start from the DVD.
The ppc64el Debian port targets little-endian PowerPC, so it's not
compatible with your Mac.
Post by Claudia Neumann
What can I do?
https://cdimage.debian.org/cdimage/ports/snapshots/2023-12-14/debian-12.0.
0-ppc64-NETINST-1.iso
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Claudia Neumann
2024-01-23 17:10:02 UTC
Permalink
Hi Adrian,

I choose
debian-11.0.0-ppc64-NETINST-1.iso
from 14.5.2023.

I can start the installation, partitioning has succeeded.
it installs busybox but hangs with:
package zstd is not available. There is a reference from another package.
The installation stopped.

Any suggesttions?

Should I choose another iso?

Regards

Claudia
Hi Claudia,
Post by Claudia Neumann
Hi all, hi Adrian,
downloaded the image and burnt on DVD. Now the iMac starts from DVD but
hangs with: smp_core99_probe
smp_core99_bringup_done
the ventilator is up high but nothing else happens.
I have ATI Radeon X600 (Rev 380) 3E50 (PCIE)
Any hints?
https://cdimage.debian.org/cdimage/ports/snapshots/
It might be a kernel bug in one of the recent kernel versions.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Claudia Neumann
2024-01-23 17:50:01 UTC
Permalink
Great!

Thanx

Claudia
Hello Claudia,
Post by Claudia Neumann
I choose
debian-11.0.0-ppc64-NETINST-1.iso
from 14.5.2023.
I can start the installation, partitioning has succeeded.
package zstd is not available. There is a reference from another package.
The installation stopped.
Any suggesttions?
Should I choose another iso?
I will create fresh images within the next hours. You can try these.
I'll let you know once they are available.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Claudia Neumann
2024-02-04 20:40:01 UTC
Permalink
Hi John, hi Frederico,

I tried debian-12.0.0-ppc64-NETINST-1.iso from 31.1.2024.

The Mac G5 stops with
smp_core99_probe
smp_core99_bringup_done

I tried with
radeon.modeset=1 video=offb:off nomodeset
radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset
in grub. No better.

Now I have the problem, that I don't get the DVD out of the drive. With my try of
debian-11.0.0-ppc64-NETINST-1.iso from 14.5.2023 I partitioned the hard drive. So there is
no bootable kernel on the hard drive.

Can I boot from USB?

Any hints?

Claudia
Hello Claudia,
Post by Claudia Neumann
I choose
debian-11.0.0-ppc64-NETINST-1.iso
from 14.5.2023.
I can start the installation, partitioning has succeeded.
package zstd is not available. There is a reference from another package.
The installation stopped.
Any suggesttions?
Should I choose another iso?
I will create fresh images within the next hours. You can try these.
I'll let you know once they are available.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Jeffrey Walton
2024-02-04 21:00:02 UTC
Permalink
On Sun, Feb 4, 2024 at 3:33 PM Claudia Neumann
Post by Claudia Neumann
Hi John, hi Frederico,
I tried debian-12.0.0-ppc64-NETINST-1.iso from 31.1.2024.
The Mac G5 stops with
smp_core99_probe
smp_core99_bringup_done
I tried with
radeon.modeset=1 video=offb:off nomodeset
radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset
in grub. No better.
Now I have the problem, that I don't get the DVD out of the drive. With my try of debian-11.0.0-ppc64-NETINST-1.iso from 14.5.2023 I partitioned the hard drive. So there is no bootable kernel on the hard drive.
Can I boot from USB?
I don't think you can boot from USB on G5's. Or I was not able to boot
from a USB thumb drive when I installed Debian on my PowerMac G5. The
Open Firmware would not allow it. I had to burn the CD or DVD.

Jeff
DistroHopper39B Business
2024-02-04 21:20:01 UTC
Permalink
Hold down the mouse button during boot. If that doesn't work, boot to Open
Firmware (Command-Option-O-F) and type “eject cd”
Yes, I did boot from DVD. But how can I get the DVD, that will not boot,
out of the drive?
CU
Claudia
On Sun, Feb 4, 2024 at 3:33 PM Claudia Neumann
Post by Claudia Neumann
Hi John, hi Frederico,
I tried debian-12.0.0-ppc64-NETINST-1.iso from 31.1.2024.
The Mac G5 stops with
smp_core99_probe
smp_core99_bringup_done
I tried with
radeon.modeset=1 video=offb:off nomodeset
radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset
in grub. No better.
Now I have the problem, that I don't get the DVD out of the drive.
With my
Post by Claudia Neumann
try of debian-11.0.0-ppc64-NETINST-1.iso from 14.5.2023 I partitioned
the
Post by Claudia Neumann
hard drive. So there is no bootable kernel on the hard drive.
Can I boot from USB?
I don't think you can boot from USB on G5's. Or I was not able to boot
from a USB thumb drive when I installed Debian on my PowerMac G5. The
Open Firmware would not allow it. I had to burn the CD or DVD.
Jeff
Claudia Neumann
2024-02-04 21:30:01 UTC
Permalink
Mouse button during boot worked like a charm.

Thanx

Claudia
Post by DistroHopper39B Business
Hold down the mouse button during boot. If that doesn't work, boot to Open
Firmware (Command-Option-O-F) and type “eject cd”
Yes, I did boot from DVD. But how can I get the DVD, that will not boot,
out of the drive?
CU
Claudia
On Sun, Feb 4, 2024 at 3:33 PM Claudia Neumann
Post by Claudia Neumann
Hi John, hi Frederico,
I tried debian-12.0.0-ppc64-NETINST-1.iso from 31.1.2024.
The Mac G5 stops with
smp_core99_probe
smp_core99_bringup_done
I tried with
radeon.modeset=1 video=offb:off nomodeset
radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset
in grub. No better.
Now I have the problem, that I don't get the DVD out of the drive.
With my
Post by Claudia Neumann
try of debian-11.0.0-ppc64-NETINST-1.iso from 14.5.2023 I partitioned
the
Post by Claudia Neumann
hard drive. So there is no bootable kernel on the hard drive.
Can I boot from USB?
I don't think you can boot from USB on G5's. Or I was not able to boot
from a USB thumb drive when I installed Debian on my PowerMac G5. The
Open Firmware would not allow it. I had to burn the CD or DVD.
Jeff
Claudia Neumann
2024-02-04 21:20:02 UTC
Permalink
Yes, I did boot from DVD. But how can I get the DVD, that will not boot, out of the drive?

CU

Claudia
On Sun, Feb 4, 2024 at 3:33 PM Claudia Neumann
Post by Claudia Neumann
Hi John, hi Frederico,
I tried debian-12.0.0-ppc64-NETINST-1.iso from 31.1.2024.
The Mac G5 stops with
smp_core99_probe
smp_core99_bringup_done
I tried with
radeon.modeset=1 video=offb:off nomodeset
radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset
in grub. No better.
Now I have the problem, that I don't get the DVD out of the drive. With my
try of debian-11.0.0-ppc64-NETINST-1.iso from 14.5.2023 I partitioned the
hard drive. So there is no bootable kernel on the hard drive.
Can I boot from USB?
I don't think you can boot from USB on G5's. Or I was not able to boot
from a USB thumb drive when I installed Debian on my PowerMac G5. The
Open Firmware would not allow it. I had to burn the CD or DVD.
Jeff
Claudia Neumann
2024-02-05 21:00:01 UTC
Permalink
Hi all,

now I could install
debian-12.0.0-ppc64-NETINST-1.iso
from 2023-05-28.

But grub would not install.

I can boot into grub.
The partition is (ieee1275/hd,apple3) and I can find the kernel in /boot:
config-6.2.0-9-powerpc64 vmlinux-6.1.0-9-powerpc64 initrd.img.old vmlinux.old vmlinux
System.map-6.1.0-9-powerpc64 initrd.img initrd.img-6.1.0-9-powerpc64

now I am somehow lost.
What should I set for root?
set root=(ieee1275/hd.apple3)
gives no error, but
linux /boot/vmlinux-6.1.0-9-powerpc64 root=/dev/sda3
-> error: no server is specified

Any hints?

Claudia
Federico Vaga
2024-02-05 21:20:01 UTC
Permalink
Post by Jeffrey Walton
On Sun, Feb 4, 2024 at 3:33 PM Claudia Neumann
Post by Claudia Neumann
Can I boot from USB?
I don't think you can boot from USB on G5's. Or I was not able to boot
from a USB thumb drive when I installed Debian on my PowerMac G5. The
Open Firmware would not allow it. I had to burn the CD or DVD.
Actually yes, you can boot from USB on the iMac G5. Here it is the procedure:

0. prepare a USB key with the netinstall image using ``dd``

1. hold ``Command + Option + O + F`` while booting until you get the
OpenFirmware command line

2. type the following command ``boot usb<N>/disk@<n>:,\<path-to-bootloader>``

Replace <N> with the USB port number you are using. On the iMac G5 they go from
0 (top) to 2 (bottom).

Replace <n> with the disk number assigned. This is usually 0 or 1.

Replace <path-to-bootloader> with the full path to the grub bootloader.

In practice, assuming that you have the USB key in the top USB port.

```
boot usb0/***@1:,\boot\grub\powerpc.elf
```

How do you find this yourself? Using ``dev / ls`` you get the hardware layout
(device tree). In there you will see a node under a PCI endpoint named
``disk@<n>``. Remember type ``devalias``, and you will see that a ``usb<N>``
name is mapped to the PCI endpoint you found before.
--
Federico Vaga
Federico Vaga
2024-01-23 14:50:01 UTC
Permalink
Hi Claudia and all,

this is a very interesting coincidence. I've started trying a couple of
days
a go to install Debian 12 on the same iMac.

In my case, I'm booting the netinst image from USB but the kernel
crashes
somewhere. The screen is not refreshed after a few kernel messages, so I
was
not able to debug any further.

On the web I've found this project https://fienixppc.blogspot.com/ and I
their
suggestion about a video driver misconfiguration and a possible
solution.

See https://fienixppc.blogspot.com/p/troubleshooting-of.html

None of the options, helped me. But I did not try to investigate more
since
then. Perhaps you will have better luck :)
Post by Claudia Neumann
Hi all,
I have an iMac G5, PowerMac 12,1 PPC970FX, Platform: PowerMac 12,1
MacRISC4 Power Macinstosh, Memory 1GB+384MB.
I had installed Ubuntu 16.04.7 LTS and it was running fine. Now I need
newer libc and so on. So I wanted to install Debian 12 or even Debian
13 on this iMac.
Is that possible? I tried
debian-12.4.0-ppc64el-netinst.iso
but the iMac does not start from the DVD.
What can I do?
CU
Claudia
--
Federico Vaga
Claudia Neumann
2024-01-23 15:00:01 UTC
Permalink
Hi Federico,

if it didn't work for you, I would rather try with Debian.

CU

Claudia
Post by Federico Vaga
Hi Claudia and all,
this is a very interesting coincidence. I've started trying a couple of
days
a go to install Debian 12 on the same iMac.
In my case, I'm booting the netinst image from USB but the kernel
crashes
somewhere. The screen is not refreshed after a few kernel messages, so I
was
not able to debug any further.
On the web I've found this project https://fienixppc.blogspot.com/ and I
their
suggestion about a video driver misconfiguration and a possible
solution.
See https://fienixppc.blogspot.com/p/troubleshooting-of.html
None of the options, helped me. But I did not try to investigate more
since
then. Perhaps you will have better luck :)
Post by Claudia Neumann
Hi all,
I have an iMac G5, PowerMac 12,1 PPC970FX, Platform: PowerMac 12,1
MacRISC4 Power Macinstosh, Memory 1GB+384MB.
I had installed Ubuntu 16.04.7 LTS and it was running fine. Now I need
newer libc and so on. So I wanted to install Debian 12 or even Debian
13 on this iMac.
Is that possible? I tried
debian-12.4.0-ppc64el-netinst.iso
but the iMac does not start from the DVD.
What can I do?
CU
Claudia
--
Federico Vaga
Federico Vaga
2024-01-23 16:20:01 UTC
Permalink
Hi Claudia,

perhaps there is a misunderstanding. I'm trying Debian 12 ppc64
Big-Endian.
My suggestion to you is to try the proposed fix from the fienixppc team.
I report here what is mentioned in their article (I copy only what is of
interest to you).

```
[...]

the system shows only a black screen, a black screen with a cursor, or
a garbled image:
These issues are caused by driver configuration issues. Try entering the
below boot parameters when you see the yaboot prompt (when booting up
your system).
Radeon GPU

[...]

If you have a Radeon GPU, try entering the following boot parameters
(one at a time, must be entered EXACTLY as listed):

"Linux radeon.modeset=1 video=offb:off nomodeset"
"Linux radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset"
```

In other words, using grub, try to add to the command line paramenters
"radeon.modeset=1 video=offb:off nomodeset" or
"radeon.agpmode=-1 radeon.modeset=1 video=offb:off nomodeset"

In my particular case, my iMac has an Nvidia card, therefore I tried
another set of parameters. For me, it did not help. But you are using
a different card with a different driver. It might be of help.
Post by Claudia Neumann
Hi Federico,
if it didn't work for you, I would rather try with Debian.
CU
Claudia
Post by Federico Vaga
Hi Claudia and all,
this is a very interesting coincidence. I've started trying a couple
of
Post by Federico Vaga
days
a go to install Debian 12 on the same iMac.
In my case, I'm booting the netinst image from USB but the kernel
crashes
somewhere. The screen is not refreshed after a few kernel messages,
so I
Post by Federico Vaga
was
not able to debug any further.
On the web I've found this project https://fienixppc.blogspot.com/
and I
Post by Federico Vaga
their
suggestion about a video driver misconfiguration and a possible
solution.
See https://fienixppc.blogspot.com/p/troubleshooting-of.html
None of the options, helped me. But I did not try to investigate
more
Post by Federico Vaga
since
then. Perhaps you will have better luck :)
Post by Claudia Neumann
Hi all,
I have an iMac G5, PowerMac 12,1 PPC970FX, Platform: PowerMac 12,1
MacRISC4 Power Macinstosh, Memory 1GB+384MB.
I had installed Ubuntu 16.04.7 LTS and it was running fine. Now I
need
Post by Federico Vaga
Post by Claudia Neumann
newer libc and so on. So I wanted to install Debian 12 or even
Debian
Post by Federico Vaga
Post by Claudia Neumann
13 on this iMac.
Is that possible? I tried
debian-12.4.0-ppc64el-netinst.iso
but the iMac does not start from the DVD.
What can I do?
CU
Claudia
--
Federico Vaga
--
Federico Vaga
http://www.federicovaga.it/
Loading...