• Re: Updated Debian Ports installation images 2021-09-23

    From John Paul Adrian Glaubitz@21:1/5 to Sante Nocciolino on Tue Oct 5 16:10:02 2021
    Hello Sante!

    On 10/5/21 15:35, Sante Nocciolino wrote:
    Tried to install on mac mini G4

    http://cdimage.debian.org/cdimage/ports/snapshots/2021-09-23/debian-11.0.0-powerpc-NETINST-1.iso

    but grub fails to install. The installation process reports it was not able to install on /dev/sda3.

    I've tried booting in rescue mode from the debian CD above and from shell I've tried to give a "grub-install /dev/sad3" but it reports
    "grub-install: errore: la partizione selezionata non è una poartizione PReP"

    Could you provide your installation log file so I can figure out what went wrong?

    Also, if you repeat the installation, please perform it in English because I don't
    speak Italian.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sante Nocciolino@21:1/5 to All on Tue Oct 5 16:00:01 2021
    Il 23/09/2021 11:30, John Paul Adrian Glaubitz ha scritto:
    Hi!

    I have just built and uploaded updated Debian Ports installation images.

    These images contain an updated apt-setup package which fixes the APT
    problem that occurred during installation with the 2021-09-21 images.

    I have performed a successful test installation on sparc64 and will
    perform a test on ia64 on my RX2660 later as well.

    I will provide more images updates in the following days which will
    contain more fixes such as for the hd-media installation as well as improvements on Apple PowerMac.

    The images can be obtained from [1].

    Thanks,
    Adrian

    [1] https://cdimage.debian.org/cdimage/ports/snapshots/2021-09-23/


    Tried to install on mac mini G4

    http://cdimage.debian.org/cdimage/ports/snapshots/2021-09-23/debian-11.0.0-powerpc-NETINST-1.iso

    but grub fails to install. The installation process reports it was not
    able to install on /dev/sda3.

    I've tried booting in rescue mode from the debian CD above and from
    shell I've tried to give a "grub-install /dev/sad3" but it reports "grub-install: errore: la partizione selezionata non è una poartizione PReP"

    any suggestion on how to install grub?

    Thanks

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Alex McKeever on Tue Oct 5 16:50:01 2021
    On 10/5/21 16:33, Alex McKeever wrote:
    I translated what Sante said the error message was via Google Translate:
    The error is this:
    "grub-install: error: the selected partition is not a PReP partition"

    Yes, I could have done that with Google Translate myself. But that error message is not helpful without the rest of the installation log.

    I cannot really tell what's wrong from this single error message as the
    cause might be a different one.

    I hope all is well, Adrian. Aside from trying to get X working on Linux
    in general (which I’ve failed to do so with my iMac G3 in both VoidPPC
    and Debian Ports Sid with a proper XOrg configuration (with monitor
    Modelines and everything. It sees the internal display, it just can’t
    use any configurations from the display no matter what I try.)

    Please start a separate thread for that.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex McKeever@21:1/5 to All on Tue Oct 5 16:40:04 2021
    I translated what Sante said the error message was via Google Translate:
    The error is this:
    "grub-install: error: the selected partition is not a PReP partition"

    I hope all is well, Adrian. Aside from trying to get X working on Linux in general (which I’ve failed to do so with my iMac G3 in both VoidPPC and Debian Ports Sid with a proper XOrg configuration (with monitor Modelines and everything. It sees the
    internal display, it just can’t use any configurations from the display no matter what I try.)
    Sent from my iPad

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Tue Oct 5 18:30:01 2021
    Hi Adrian,

    On 2021-09-23 10:25, John Paul Adrian Glaubitz wrote:
    Hi!

    I have just built and uploaded updated Debian Ports installation
    images.

    These images contain an updated apt-setup package which fixes the APT
    problem that occurred during installation with the 2021-09-21 images.

    I have performed a successful test installation on sparc64 and will
    perform a test on ia64 on my RX2660 later as well.

    I will provide more images updates in the following days which will
    contain more fixes such as for the hd-media installation as well as improvements on Apple PowerMac.

    The images can be obtained from [1].

    Thanks,
    Adrian

    [1] https://cdimage.debian.org/cdimage/ports/snapshots/2021-09-23/

    Many thanks for keeping Debian alive on these old architectures.

    I just dusted off my XServe-G5 (ppc64) and gave this snapshot a go.

    The very good news is that it boots all the way to the installer.
    The less good news is that it stops pretty quickly as none of the
    required drivers are actually in the install media.

    To be able to install Debian, you would at least need:
    CONFIG_SATA_SVW (sata)
    CONFIG_TIGON3 (Ethernet)

    For the record, please find below the lspci captured on the machine.

    I'd be happy to test a future version of the install media if you
    decide to respin it at some point, and/or to provide more data
    should you need any.

    Thanks again,

    M.

    # lspci
    0000:f0:0b.0 Host bridge: Apple Inc. U3H AGP Bridge
    0000:f0:0b.0 Host bridge: Apple Inc. U3H AGP Bridge
    0001:00:00.0 Host bridge: Apple Inc. U3 HT Bridge
    0001:00:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] AMD-8131
    PCI-X Bridge (rev 12)
    0001:00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] AMD-8131
    PCI-X Bridge (rev 12)
    0001:00:03.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
    0001:00:04.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
    0001:00:05.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
    0001:00:06.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
    0001:00:07.0 PCI bridge: Apple Inc. K2 HT-PCI Bridge
    0001:01:07.0 Unassigned class [ff00]: Apple Inc. K2 KeyLargo Mac/IO (rev
    60)
    0001:02:0b.0 USB controller: NEC Corporation OHCI USB Controller (rev
    43)
    0001:02:0b.1 USB controller: NEC Corporation OHCI USB Controller (rev
    43)
    0001:02:0b.2 USB controller: NEC Corporation uPD72010x USB 2.0
    Controller (rev 04)
    0001:03:0d.0 Unassigned class [ff00]: Apple Inc. K2 ATA/100
    0001:03:0e.0 FireWire (IEEE 1394): Apple Inc. K2 FireWire
    0001:05:0c.0 IDE interface: Broadcom K2 SATA
    0001:07:04.0 Ethernet controller: Broadcom Inc. and subsidiaries
    NetXtreme BCM5704 Gigabit Ethernet (rev 03)
    0001:07:04.1 Ethernet controller: Broadcom Inc. and subsidiaries
    NetXtreme BCM5704 Gigabit Ethernet (rev 03)
    --
    Jazz is not dead. It just smells funny...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Tue Oct 5 18:20:01 2021
    Hi Marc!

    On 10/5/21 18:10, Marc Zyngier wrote:
    Many thanks for keeping Debian alive on these old architectures.

    You're welcome.

    I just dusted off my XServe-G5 (ppc64) and gave this snapshot a go.

    The very good news is that it boots all the way to the installer.
    The less good news is that it stops pretty quickly as none of the
    required drivers are actually in the install media.

    To be able to install Debian, you would at least need:
    CONFIG_SATA_SVW (sata)
    CONFIG_TIGON3 (Ethernet)

    For the record, please find below the lspci captured on the machine.

    Thanks for the feedback. I will update the kernel configuration accordingly.

    I'd be happy to test a future version of the install media if you
    decide to respin it at some point, and/or to provide more data
    should you need any.

    I will let you know once I have updated the kernel configuration. These
    changes will take a few weeks to propagate into the installer images.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alex Perez@21:1/5 to Marc Zyngier on Tue Oct 5 19:20:01 2021
    On 10/5/2021 9:16:40 AM, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
    Hi Marc!

    On 10/5/21 18:10, Marc Zyngier wrote:
    Many thanks for keeping Debian alive on these old architectures.

    You're welcome.

    I just dusted off my XServe-G5 (ppc64) and gave this snapshot a go.

    The very good news is that it boots all the way to the installer.
    The less good news is that it stops pretty quickly as none of the
    required drivers are actually in the install media.

    To be able to install Debian, you would at least need:
    CONFIG_SATA_SVW (sata)
    CONFIG_TIGON3 (Ethernet)
    Alex Perez:
    While you're at it, if you could also add SATA_SIL24 to the default build, this is, by far, the most common legacy SATA PCI controller that's used in legacy PCI-based PowerPC Macs. 



    <div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr"> <br><div class="mb_sig"></div><blockquote class="history_container" type="cite" style="border-
    left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;"> <p style="color: #AAAAAA; margin-top: 10px;">On 10/5/2021 9:16:40 AM, John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt; wrote:</
    <div style="font-family:Arial,Helvetica,sans-serif">Hi Marc!<br><br>On 10/5/21 18:10, Marc Zyngier wrote:<br>&gt; Many thanks for keeping Debian alive on these old architectures.<br><br>You're welcome.<br><br>&gt; I just dusted off my XServe-G5 (
    ppc64) and gave this snapshot a go.<br>&gt; <br>&gt; The very good news is that it boots all the way to the installer.<br>&gt; The less good news is that it stops pretty quickly as none of the<br>&gt; required drivers are actually in the install
    media.<br>&gt; <br>&gt; To be able to install Debian, you would at least need:<br>&gt; CONFIG_SATA_SVW (sata)<br>&gt; CONFIG_TIGON3 (Ethernet)</div></blockquote><div style="text-align: left;" dir="ltr"><span style="font-size: 10pt;font-family: Arial;
    color: #000000"><b><span style="color: #3B5998">Alex Perez:</span></b></span></div><div style="text-align: left;" dir="ltr"><span style="font-size: 10pt;font-family: Arial;color: #000000"><span style="color: #3B5998"><b>While you're at it, if you could
    also add&nbsp;</b></span></span>SATA_SIL24 to the default build, this is, by far, the most common legacy SATA PCI controller that's used in legacy PCI-based PowerPC Macs.&nbsp;<span style="font-size: 10pt;font-family: Arial;color: #000000"><span style="
    color: #3B5998"><b><br></b></span><br></span></div><blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;"><div style="font-family:Arial,Helvetica,sans-serif">
    <br></div></blockquote> </div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Alex Perez on Tue Oct 5 19:20:02 2021
    On 10/5/21 19:02, Alex Perez wrote:
    While you're at it, if you could also add SATA_SIL24 to the default build, this is, by far, the most common legacy SATA PCI controller that's used in legacy PCI-based PowerPC Macs.

    Not sure what you mean by default build. The sata_sil24 module is part of the sata-modules-5.14.0-trunk-powerpc-di udeb package [1] which is included by the CD-ROM initrd image.

    If you have issues with the hardware not being detected, please file a bug report.

    Adrian

    [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=powerpc&ver=5.14.3-1%7Eexp1&stamp=1631474298&raw=0

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Tue Oct 5 19:30:02 2021
    Hi Marc!

    On 10/5/21 18:10, Marc Zyngier wrote:
    The very good news is that it boots all the way to the installer.
    The less good news is that it stops pretty quickly as none of the
    required drivers are actually in the install media.

    Not sure what installation media you used, but the CD-ROM image should
    contain both the sata_svw and tg3 kernel modules.

    Grep for "tg3.ko" and "sata_svw.ko" in the build log [1].

    Can you check whether the drivers are missing below /lib/modules? If
    yes, I have to check the configuration for the debian-installer cdrom
    initrd image.

    Adrian

    [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=powerpc&ver=5.14.3-1~exp1&stamp=1631474298&raw=0

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Tue Oct 5 20:00:02 2021
    Hi Marc!

    On 10/5/21 19:46, Marc Zyngier wrote:
    It looks like we reached the same point in parallel! I also realise I
    should have given a few more details about my setup, because it isn't
    at all obvious from my email.

    The machine I use has no CDROM (it is what Apple used to call a
    Cluster node), and cannot boot from USB. So the only way to install
    Debian is to dump the NETINST image on the hard drive (take it to
    another box, dd the image, move it back) and boot from that. It works
    fine and I land in the installer

    However, as the initrd doesn't contain the SATA driver, it is unable
    to mount the image where all the udeb for the kernel modules are, and
    at this point I was stuck.

    Did you use the NETINST or netboot image? Those are not the same. netboot
    are for actual netboot and contain different drivers.

    Either way, I will check the d-i configuration for cdrom and check whether those modules are not included in the debian-installer build.

    Oct 5 17:32:43 grub-installer: info: Installing grub on '/dev/sdb3'
    Oct 5 17:32:43 grub-installer: info: grub-install does not support --no-floppy
    Oct 5 17:32:43 grub-installer: info: Running chroot /target grub-install --macppc-directory=/boot/grub --no-nvram --force
    Oct 5 17:32:44 grub-installer: Installing for powerpc-ieee1275 platform.
    Oct 5 17:32:46 grub-installer: grub-install: error: filesystem on /boot/grub is neither HFS nor HFS+.
    Oct 5 17:32:46 grub-installer: error: Running 'grub-install --macppc-directory=/b=/t/grub --no-nvram --force failed.

    I need to see whether there is any way to convey this requirement to
    the installer at partition-time, but it will probably be a week-end
    thing now.

    Can you just tell me whether it offered to create an HFS /boot partition?

    The whole GRUB installation process is a solved problem. It can just be that the "partman-hfs" package is missing in this installer image. It's required
    to set up and format the HFS /boot partition.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Tue Oct 5 20:10:05 2021
    On Tue, 05 Oct 2021 18:22:06 +0100,
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    Hi Marc!

    On 10/5/21 18:10, Marc Zyngier wrote:
    The very good news is that it boots all the way to the installer.
    The less good news is that it stops pretty quickly as none of the
    required drivers are actually in the install media.

    Not sure what installation media you used, but the CD-ROM image should contain both the sata_svw and tg3 kernel modules.

    Grep for "tg3.ko" and "sata_svw.ko" in the build log [1].

    Can you check whether the drivers are missing below /lib/modules? If
    yes, I have to check the configuration for the debian-installer cdrom
    initrd image.

    It looks like we reached the same point in parallel! I also realise I
    should have given a few more details about my setup, because it isn't
    at all obvious from my email.

    The machine I use has no CDROM (it is what Apple used to call a
    Cluster node), and cannot boot from USB. So the only way to install
    Debian is to dump the NETINST image on the hard drive (take it to
    another box, dd the image, move it back) and boot from that. It works
    fine and I land in the installer

    However, as the initrd doesn't contain the SATA driver, it is unable
    to mount the image where all the udeb for the kernel modules are, and
    at this point I was stuck.

    I managed to work around it by having a second installer image on a
    USB stick, and let the installer use that. It magically finds all the
    required drivers and the install can proceed. So the kernel
    configuration is actually already correct, and it is only the absence
    of the SATA driver in the initrd that is problematic in my case.

    I'm not sure if it is worth changing anything on my account here, as
    my use-case is pretty... tortuous.

    Anyway, the installer went almost to the end, at which point I face
    another issue:

    Oct 5 17:32:43 grub-installer: info: Installing grub on '/dev/sdb3'
    Oct 5 17:32:43 grub-installer: info: grub-install does not support --no-floppy Oct 5 17:32:43 grub-installer: info: Running chroot /target grub-install --macppc-directory=/boot/grub --no-nvram --force
    Oct 5 17:32:44 grub-installer: Installing for powerpc-ieee1275 platform.
    Oct 5 17:32:46 grub-installer: grub-install: error: filesystem on /boot/grub is neither HFS nor HFS+.
    Oct 5 17:32:46 grub-installer: error: Running 'grub-install --macppc-directory=/b=/t/grub --no-nvram --force failed.

    I need to see whether there is any way to convey this requirement to
    the installer at partition-time, but it will probably be a week-end
    thing now.

    Thanks,

    M.

    --
    Without deviation from the norm, progress is not possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Tue Oct 5 21:00:01 2021
    Hi Adrian,

    On Tue, 05 Oct 2021 18:54:15 +0100,
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    Hi Marc!

    On 10/5/21 19:46, Marc Zyngier wrote:
    It looks like we reached the same point in parallel! I also realise I should have given a few more details about my setup, because it isn't
    at all obvious from my email.

    The machine I use has no CDROM (it is what Apple used to call a
    Cluster node), and cannot boot from USB. So the only way to install
    Debian is to dump the NETINST image on the hard drive (take it to
    another box, dd the image, move it back) and boot from that. It works
    fine and I land in the installer

    However, as the initrd doesn't contain the SATA driver, it is unable
    to mount the image where all the udeb for the kernel modules are, and
    at this point I was stuck.

    Did you use the NETINST or netboot image? Those are not the
    same. netboot are for actual netboot and contain different drivers.

    The image I used is debian-11.0.0-ppc64-NETINST-1.iso:
    maz@valley-girl:~$ md5sum debian-11.0.0-ppc64-NETINST-1.iso d53a296c3db4881a1c64345e1afa9056 debian-11.0.0-ppc64-NETINST-1.iso

    I'm not sure the machine can actually netboot (from distant memory,
    netbooting PowerMacs was a tricky business).

    Either way, I will check the d-i configuration for cdrom and check whether those modules are not included in the debian-installer build.

    Happy to test another image when you have one.

    Can you just tell me whether it offered to create an HFS /boot
    partition?

    It does offer to create one:

    SCSI3 (0,0,0) (sdb) - 480.1 GB ATA CT480BX500SSD
    #1 32.3 kB Apple
    #2 256.0 MB f hfs untitled /boot/grub
    #3 478.8 GB f ext4 untitled /
    #4 1.0 GB f swap swap swap
    25.1 kB FREE SPACE

    However, if I select this partition, HFS isn't in the list of file
    systems (I get Ext{2,3,4}, btrfs, JFS, XFS, FAT{16,32} and swap).

    The whole GRUB installation process is a solved problem. It can just
    be that the "partman-hfs" package is missing in this installer
    image. It's required to set up and format the HFS /boot partition.

    I think that could well be it. I guess the partition gets silently
    formatted as ext4, which leads to the above failure.

    Do let me know if you need any other detail.

    Thanks,

    M.

    --
    Without deviation from the norm, progress is not possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Tue Oct 5 20:40:01 2021
    Hello Marc!

    On 10/5/21 19:46, Marc Zyngier wrote:
    However, as the initrd doesn't contain the SATA driver, it is unable
    to mount the image where all the udeb for the kernel modules are, and
    at this point I was stuck.

    I just had a look at the debian-installer package lists and indeed, the sata-modules udeb is not included in the initrd for powerpc [1] and
    ppc64 [2].

    Strange that no one stumbled across this before. I wonder how people managed
    to install on the G5 desktops in the past. Apparently it must have worked someone or these machines use PATA emulation?

    Either way, I'm going to fix it.

    Adrian

    [1] https://salsa.debian.org/installer-team/debian-installer/-/blob/master/build/pkg-lists/cdrom/powerpc.cfg
    [2] https://salsa.debian.org/installer-team/debian-installer/-/blob/master/build/pkg-lists/cdrom/ppc64.cfg

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to John Paul Adrian Glaubitz on Tue Oct 5 21:00:02 2021
    Hello!

    On 10/5/21 20:36, John Paul Adrian Glaubitz wrote:
    Either way, I'm going to fix it.

    Fixed:

    https://salsa.debian.org/installer-team/debian-installer/-/commit/6c7c4846451b3d89d7f75058a614610feb39fbee
    https://salsa.debian.org/installer-team/debian-installer/-/commit/bfc78dfccd40e311207eb9ad348289039c7aee85

    FWIW, network drivers are not included in the cdrom initrd as they are loaded from CD-ROM. On the other hand, network drivers are included in the netboot initrd and the block devices driver are loaded later over the network.

    I'm currently focusing on the CD-ROM images through.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Tue Oct 5 21:50:01 2021
    Hello!

    On 10/5/21 21:00, Marc Zyngier wrote:
    Either way, I'm going to fix it.

    Awesome!

    Please try either of these images, they should fix both issues:

    https://cdimage.debian.org/cdimage/ports/snapshots/2021-10-05/

    If you see a dialog box with a blank message, just answer <NO>.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Tue Oct 5 21:20:02 2021
    On Tue, 05 Oct 2021 19:36:58 +0100,
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    Hello Marc!

    On 10/5/21 19:46, Marc Zyngier wrote:
    However, as the initrd doesn't contain the SATA driver, it is unable
    to mount the image where all the udeb for the kernel modules are, and
    at this point I was stuck.

    I just had a look at the debian-installer package lists and indeed, the sata-modules udeb is not included in the initrd for powerpc [1] and
    ppc64 [2].

    Strange that no one stumbled across this before. I wonder how people managed to install on the G5 desktops in the past. Apparently it must have worked someone or these machines use PATA emulation?

    If people booted over CDROM (or USB), it wouldn't matter. The initrd
    includes the pata_macio driver, and that would have been enough to get
    things rolling on any machine but mine (or anything else that can only
    boot from SATA).

    Either way, I'm going to fix it.

    Awesome!

    Thanks again,

    M.

    --
    Without deviation from the norm, progress is not possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sante Nocciolino@21:1/5 to All on Tue Oct 5 23:10:01 2021
    Hello Adrian,

    sorry, no log, but I think there was something wrong in my partition table.

    I resolved deleting all partition on disk and reinstalling Debian .


    Il 05/10/2021 16:00, John Paul Adrian Glaubitz ha scritto:
    Hello Sante!

    On 10/5/21 15:35, Sante Nocciolino wrote:
    Tried to install on mac mini G4

    http://cdimage.debian.org/cdimage/ports/snapshots/2021-09-23/debian-11.0.0-powerpc-NETINST-1.iso

    but grub fails to install. The installation process reports it was not able to install on /dev/sda3.

    I've tried booting in rescue mode from the debian CD above and from shell I've tried to give a "grub-install /dev/sad3" but it reports
    "grub-install: errore: la partizione selezionata non è una poartizione PReP"
    Could you provide your installation log file so I can figure out what went wrong?

    Also, if you repeat the installation, please perform it in English because I don't
    speak Italian.

    Adrian


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Wed Oct 6 00:10:01 2021
    On 10/5/21 23:58, Marc Zyngier wrote:> There are some other problems, unfortunately. I get a warning about
    the boot partition not being the first partition in the system (it
    really looks like it is, but the installer may be confused by the
    Apple partitioning system). I ignored it.

    As I said, there is one bogus error message that you can just ignore. It's
    a known issue and normally displays an empty window. Interesting that you
    got a text.

    The installer then fails with:

    Oct 5 21:50:23 base-installer: error: exiting on error base-installer/no_codename
    Oct 5 21:50:34 main-menu[283]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
    Oct 5 21:50:34 main-menu[283]: WARNING **: Menu item 'bootstrap-base' failed.

    I didn't have this problem with the previous versions, so that must be something new that changed in the meantime.

    Can you give me the full log from /var/log/syslog in the installer system?

    This might be due to a recent change in debian-installer as I just built it from git.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Wed Oct 6 00:20:01 2021
    On Tue, 05 Oct 2021 20:39:55 +0100,
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    Hello!

    On 10/5/21 21:00, Marc Zyngier wrote:
    Either way, I'm going to fix it.

    Awesome!

    Please try either of these images, they should fix both issues:

    https://cdimage.debian.org/cdimage/ports/snapshots/2021-10-05/

    They do fix these particular issues, so many thanks for sorting them
    out extremely quickly! I get:

    /dev/sda3 on /target type ext4 (rw,relatime,errors=remount-ro)
    /dev/sda2 on /target/boot/grub type hfs (rw,relatime,uid=0,gid=0)

    There are some other problems, unfortunately. I get a warning about
    the boot partition not being the first partition in the system (it
    really looks like it is, but the installer may be confused by the
    Apple partitioning system). I ignored it.

    The installer then fails with:

    Oct 5 21:50:23 base-installer: error: exiting on error base-installer/no_codename
    Oct 5 21:50:34 main-menu[283]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
    Oct 5 21:50:34 main-menu[283]: WARNING **: Menu item 'bootstrap-base' failed.

    I didn't have this problem with the previous versions, so that must be something new that changed in the meantime.

    Thanks,

    M.

    --
    Without deviation from the norm, progress is not possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Wed Oct 6 15:20:02 2021
    Hi Marc!

    On 10/5/21 23:58, Marc Zyngier wrote:
    The installer then fails with:

    Oct 5 21:50:23 base-installer: error: exiting on error base-installer/no_codename
    Oct 5 21:50:34 main-menu[283]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
    Oct 5 21:50:34 main-menu[283]: WARNING **: Menu item 'bootstrap-base' failed.

    Please try these updated images. A test installation on sparc64 worked fine for me:

    https://cdimage.debian.org/cdimage/ports/snapshots/2021-10-06/

    If it fails, please report back with the install log (from /var/log/syslog).

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Thu Oct 7 00:20:01 2021
    Hi Adrian,

    On Wed, 06 Oct 2021 14:11:53 +0100,
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    Hi Marc!

    On 10/5/21 23:58, Marc Zyngier wrote:
    The installer then fails with:

    Oct 5 21:50:23 base-installer: error: exiting on error base-installer/no_codename
    Oct 5 21:50:34 main-menu[283]: WARNING **: Configuring 'bootstrap-base' failed with error code 1
    Oct 5 21:50:34 main-menu[283]: WARNING **: Menu item 'bootstrap-base' failed.

    Please try these updated images. A test installation on sparc64 worked fine for me:

    https://cdimage.debian.org/cdimage/ports/snapshots/2021-10-06/

    If it fails, please report back with the install log (from /var/log/syslog).

    Finally got a chance to test this more thoroughly. It turns out that
    the install is failing because of my odd install method (dump the
    install image on the disk, boot on it, overwrite the install media
    with the install).

    This used to work until your images from 23/9/2021, but fails with the
    latest ones. However, using the disk to boot and then a USB key to
    provide another set of install media worked perfectly, and I now have
    a brand new XServe-G5!

    I don't think it is worth worrying much about the odd install method.
    This is unnecessary in most cases, and the workaround is easy (at
    least in my case).

    Thanks again for your precious help in getting this going!

    M.

    --
    Without deviation from the norm, progress is not possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to Marc Zyngier on Thu Oct 7 12:20:02 2021
    Hello Marc!

    On 10/6/21 23:55, Marc Zyngier wrote:
    Finally got a chance to test this more thoroughly. It turns out that
    the install is failing because of my odd install method (dump the
    install image on the disk, boot on it, overwrite the install media
    with the install).

    Well, that can't work. The installation media is used during installation
    to retrieve packages. It's not a pure network installation despite the name NETINST.

    The NETINST image should rather called SMALL because the basic set of packages is actually being sourced from CD. Only netboot images are installing everything
    over the network.

    This used to work until your images from 23/9/2021, but fails with the
    latest ones.

    That's pure accident. It's not expected to work, really.

    However, using the disk to boot and then a USB key to
    provide another set of install media worked perfectly, and I now have
    a brand new XServe-G5!

    That's great. Since you have a kernel.org email address, maybe you can help work on the PowerPC kernel a bit ;-).

    I don't think it is worth worrying much about the odd install method.
    This is unnecessary in most cases, and the workaround is easy (at
    least in my case).

    It's a method that can't work so this isn't something we can fix ;-).

    Thanks again for your precious help in getting this going!

    Sure. And thanks for the feedback regarding the missing SATA drivers.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Zyngier@21:1/5 to John Paul Adrian Glaubitz on Thu Oct 7 13:20:01 2021
    Hi Adrian,

    On Thu, 07 Oct 2021 11:19:30 +0100,
    John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:

    Hello Marc!

    On 10/6/21 23:55, Marc Zyngier wrote:
    Finally got a chance to test this more thoroughly. It turns out that
    the install is failing because of my odd install method (dump the
    install image on the disk, boot on it, overwrite the install media
    with the install).

    Well, that can't work. The installation media is used during installation
    to retrieve packages. It's not a pure network installation despite the name NETINST.

    The NETINST image should rather called SMALL because the basic set
    of packages is actually being sourced from CD. Only netboot images
    are installing everything over the network.

    This used to work until your images from 23/9/2021, but fails with the latest ones.

    That's pure accident. It's not expected to work, really.

    Fair enough. It was good while it lasted! :D

    However, using the disk to boot and then a USB key to
    provide another set of install media worked perfectly, and I now have
    a brand new XServe-G5!

    That's great. Since you have a kernel.org email address, maybe you
    can help work on the PowerPC kernel a bit ;-).

    That's actually why I needed to bring this machine back to life after
    10 years in storage. A bunch of the stuff I have dealt with recently
    have cross-architecture effects, with some being a consequence of
    bringing Linux up on some of the most recent Apple HW, oddly enough.

    Hopefully, the HW is robust enough to last another decade!

    Thanks,

    M.

    --
    Without deviation from the norm, progress is not possible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)