All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <mpe@ellerman.id.au>
To: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
	tuxayo <victor@tuxayo.net>
Cc: debian-powerpc@lists.debian.org,
	linuxppc-dev <linuxppc-dev@lists.ozlabs.org>,
	Claudia Neumann <dr.claudia.neumann@gmx.de>
Subject: Re: Boot failure with ppc64 port on iMacs G5
Date: Fri, 01 Mar 2024 12:56:39 +1100	[thread overview]
Message-ID: <87frxag1ew.fsf@mail.lhotse> (raw)
In-Reply-To: <be7a1a66e9cc4789704d2c93f0b770ea391a4c28.camel@physik.fu-berlin.de>

John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> writes:
> Hi Michael,
>
> On Thu, 2024-02-29 at 17:42 +1100, Michael Ellerman wrote:
>> > There seems to be a regression in the kernel which affects PowerPC 970 machines,
>> > i.e. PowerMac G5 CPUs. The issue needs to be bisected and reported upstream.
>> 
>> I have a quad G5 that is booting mainline happily.
>
> it's a really tricky problem because it seems to depend on how the kernel image
> is booted.
>
> It fails when trying to boot the kernel off the installation CD, i.e. like from here:
>
>> https://cdimage.debian.org/cdimage/ports/snapshots/2024-02-25/debian-12.0.0-ppc64-NETINST-1.iso
>
> but the kernel will boot fine when installing in an existing system which was installed
> with an installation CD which uses an older kernel.
>
>> https://cdimage.debian.org/cdimage/ports/snapshots/2023-06-18/debian-12.0.0-ppc64-NETINST-1.iso
>
> I have not really figured out yet what the problem is.

OK.

That second iso boots OK for me in qemu. It boots grub and then the
kernel loads and shows:

  Loading ...
  OF stdout device is: /pci@f0000000/mac-io@c/escc@13000/ch-a@13020
  Preparing to boot Linux version 6.3.0-1-powerpc64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.3.0-2) 12.3.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP Debian 6.3.7-1 (2023-06-12)
  Detected machine type: 0000000000000400
  command line: BOOT_IMAGE=/install/vmlinux --- quiet
  memory layout at init:
    memory_limit : 0000000000000000 (16 MB aligned)
    alloc_bottom : 0000000005e70000
    alloc_top    : 0000000030000000
    alloc_top_hi : 0000000080000000
    rmo_top      : 0000000030000000
    ram_top      : 0000000080000000
  copying OF device tree...
  Building dt strings...
  Building dt structure...
  Device tree strings 0x0000000005e80000 -> 0x0000000005e80560
  Device tree struct  0x0000000005e90000 -> 0x0000000005ea0000
  Quiescing Open Firmware ...
  Booting Linux via __start() @ 0x0000000002000000 ...
  Hello World !
  smp_core99_probe
  smp_core99_bringup_done
  Starting system log daemon: syslogd, klogd.

And eventually starts the installer.

That's using no VGA, so possibly there's something wrong with the video
setup on real hardware:

  $ qemu-system-ppc64 -nographic -vga none -M mac99,via=pmu -smp 1 -m 2G -nic user -drive file=$HOME/debian-12.0.0-ppc64-NETINST-1.2023-06-18.iso,format=raw,media=cdrom -boot d

I'll try and find time to test it on my actual G5 next week when I'm in
the office.

cheers

  reply	other threads:[~2024-03-01  1:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fc93d03b-581d-40cd-8ab1-762a9ee2c20c@tuxayo.net>
2024-02-20  9:16 ` Boot failure with ppc64 port on iMacs G5 John Paul Adrian Glaubitz
2024-02-28  5:23   ` tuxayo
2024-02-29  6:42   ` Michael Ellerman
2024-02-29  8:14     ` John Paul Adrian Glaubitz
2024-03-01  1:56       ` Michael Ellerman [this message]
2024-03-01 14:47         ` John Paul Adrian Glaubitz
2024-03-01 22:06           ` Brad Boyer
2024-03-06  1:57           ` Michael Ellerman
2024-03-28 10:00             ` John Paul Adrian Glaubitz
2024-05-11 13:27             ` John Paul Adrian Glaubitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87frxag1ew.fsf@mail.lhotse \
    --to=mpe@ellerman.id.au \
    --cc=debian-powerpc@lists.debian.org \
    --cc=dr.claudia.neumann@gmx.de \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=victor@tuxayo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.