Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1nqxHy-0002Iy-PJ for mharc-grub-devel@gnu.org; Tue, 17 May 2022 09:31:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqxHg-0002D3-HU for grub-devel@gnu.org; Tue, 17 May 2022 09:30:47 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:38819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqxHb-0005Ic-TV for grub-devel@gnu.org; Tue, 17 May 2022 09:30:43 -0400 Received: by mail-pj1-x102f.google.com with SMTP id o13-20020a17090a9f8d00b001df3fc52ea7so2425738pjp.3 for ; Tue, 17 May 2022 06:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=kliVV3ElD6bLz4sEm3aLV0CBcHG+L2WMV0fqBp+782s=; b=h1Xj8MGEzDw9GmqUtAd+xIVMLrhDLrfR4W0HmUxC+tPzlE/I0ff1tnemBBo0gUxHeS YglFSmWXzyJAQwqyRmzuxEb+bzBHaGdESnhnK3TGw+DCyvYgnMVT1FAH6BVvsG/yErwv 95oln40PZnb9dAT+yOCOhzZ5V2YpwGNosoF5k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=kliVV3ElD6bLz4sEm3aLV0CBcHG+L2WMV0fqBp+782s=; b=5EhgBcZjZX6YJVRu5f3HOfrkvYGZgeNNYF8egtymriqGmVFTnPNaqDK2EsYIlWZUgA YuRf3tqeq8dYeRS5cXJcWq6jbwAeUcc/4q/uotyf9Akd1Rf6hLsyUDgCrTaV7Preb/KW StmXQmxQ1M6nggBK0h/1APsxiBSM6nrb89FYGCQ31F/CG2SM5et7EWH+8NPKaMEtTCoO Hn7mw+9EH2TWUIL8CCw4IGgIEpxfuFczMomrQ/fdTBl3cZnF5JY16jXQTyfCSR8Owug2 VpLq4V08N1kMzy/hZwRLw9DtsXTzhGAL9mAMuiSmcrFPduFdXlFTXfe9X02SolaijlBf mnuw== X-Gm-Message-State: AOAM530ps37L+nPnhNJne3hRbI0GMIVhkO0TxQ81SwvKw3DEMoTskjbH 2HcmnB/NXPcpUd8zMnHQWUu6FA== X-Google-Smtp-Source: ABdhPJzxkL0LrvRre1f0+TenA8m73dD3f1wdzOeO0d1JVnCWctZbLyfKoCgXlAixVgU+XaEjfwl9mQ== X-Received: by 2002:a17:90b:4b0d:b0:1dc:3d21:72c1 with SMTP id lx13-20020a17090b4b0d00b001dc3d2172c1mr36093966pjb.21.1652794238195; Tue, 17 May 2022 06:30:38 -0700 (PDT) Received: from localhost ([2001:4479:e300:5b00:70a9:4d53:74b4:654d]) by smtp.gmail.com with ESMTPSA id d6-20020a170902654600b0015e8d4eb225sm5444180pln.111.2022.05.17.06.30.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 06:30:37 -0700 (PDT) From: Daniel Axtens To: John Paul Adrian Glaubitz , Robbie Harwood Cc: The development of GNU GRUB Subject: Re: [PATCH 0/2] powerpc-ieee1275: support larger core.elf images In-Reply-To: <23ac38de-4f2e-b1ce-a235-6e739c8c7cc3@physik.fu-berlin.de> References: <20211116034205.463101-1-dja@axtens.net> <645a4ced-d98f-06a8-32f5-5b309dd706b9@physik.fu-berlin.de> <87tug2cr4j.fsf@dja-thinkpad.axtens.net> <803ab7f5-32ad-01b1-ac0b-f596e9263a7b@physik.fu-berlin.de> <23ac38de-4f2e-b1ce-a235-6e739c8c7cc3@physik.fu-berlin.de> Date: Tue, 17 May 2022 23:30:26 +1000 Message-ID: <87ee0s8ex9.fsf@dja-thinkpad.axtens.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=dja@axtens.net; helo=mail-pj1-x102f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2022 13:30:48 -0000 Hi, Sorry, I missed this as well - my otherwise lovely threaded email client doesn't sort on the basis of most recent message, but thread start date. > root@ibook-g4-14:/home/glaubitz/grub# grub-install -d ./grub-core --macppc-directory=/boot/grub --no-nvram > Installing for powerpc-ieee1275 platform. > grub-install: warning: cannot open directory `/usr/local/share/locale': No such file or directory. > Installation finished. No error reported. > root@ibook-g4-14:/home/glaubitz/grub# > > However, after rebooting the machine, the machine is now unbootable. The firmware > is unable to even load GRUB. I'm just getting the question mark sign which indicates > that the firmware cannot find the bootloader. That's really irritating. (and apologies for rendering your machine unbootable!) I don't have a good idea what the cause of that would be. I don't think I saw anything similar under qemu's mac99 model. Is there any chance you could dump the `available` property of the /memory node before grub is loaded? I don't think it's likely to be very revealing but it's my best idea so far... I've also since left IBM so I'm not likely to have a heap of time to follow it up, unfortnately. The patch does solve a real issue on Power systems, so I guess the next best thing if we can't root-cause it is to make the link address compile-time configurable :/ Kind regards, Daniel