linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Michael Ellerman <mpe@ellerman.id.au>, 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 15:47:26 +0100	[thread overview]
Message-ID: <1768836b7e6895f3c2fb0cb4a01a40fee7473dd5.camel@physik.fu-berlin.de> (raw)
In-Reply-To: <87frxag1ew.fsf@mail.lhotse>

Hi Michael,

On Fri, 2024-03-01 at 12:56 +1100, Michael Ellerman wrote:
> 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.

Yep, the second, older image works as expected. However, the recent one does not
and I have absolutely no clue why.

> 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.

The video issue can usually be worked around by disabling mode-setting or
passing other kernel options related to the video card. That's not the
main problem here though.

The problem is that the newer image doesn't boot and currently I don't know
why because installing the exact same kernel later from the package manager
into an installed system works yields a bootable system with the latest
kernel.

The installer images are built from the same kernel package which makes the
whole thing even more confusing.

I'm using debian-cd to build the installation images:

> https://salsa.debian.org/images-team/debian-cd/

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

  reply	other threads:[~2024-03-01 14:48 UTC|newest]

Thread overview: 11+ 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
2024-03-01 14:47         ` John Paul Adrian Glaubitz [this message]
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
2024-10-29 10:30             ` 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=1768836b7e6895f3c2fb0cb4a01a40fee7473dd5.camel@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=debian-powerpc@lists.debian.org \
    --cc=dr.claudia.neumann@gmx.de \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).