From nobody Sun Jan 21 18:28:16 2024 X-Original-To: freebsd-ppc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TJ2126skVz57SpX for ; Sun, 21 Jan 2024 18:28:38 +0000 (UTC) (envelope-from calvin@cmpct.info) Received: from supercat.cmpct.info (supercat.cmpct.info [IPv6:2605:2700:0:3:a800:ff:fe52:e02c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TJ2122mxTz4RKs; Sun, 21 Jan 2024 18:28:38 +0000 (UTC) (envelope-from calvin@cmpct.info) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (fctnnbsc38w-47-55-77-208.dhcp-dynamic.fibreop.nb.bellaliant.net [47.55.77.208]) by supercat.cmpct.info (Postfix) with ESMTPSA id 0754A46007; Sun, 21 Jan 2024 18:28:27 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: FreeBSD 14 fails to reach bootloader in an LPAR From: Calvin Buckley In-Reply-To: <20240121112805.4b239634@ralga.knownspace> Date: Sun, 21 Jan 2024 14:28:16 -0400 Cc: freebsd-ppc@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6FD1D3F8-4563-4A35-94FF-01C6D2CA132C@cmpct.info> References: <7A616DC7-2B03-4CED-9F49-4B279E306984@cmpct.info> <20240121112805.4b239634@ralga.knownspace> To: Justin Hibbits X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Rspamd-Queue-Id: 4TJ2122mxTz4RKs X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:47066, ipnet:2605:2700::/32, country:US] On Jan 21, 2024, at 12:28=E2=80=AFPM, Justin Hibbits = wrote: >=20 > None of that looks like FreeBSD or loader, so I'm guessing it's = bailing > out before even launching loader. How are you booting FreeBSD? Are > you booting loader, or trying to jump straight to the kernel? Can the > LPAR manager provide any more details? I've tried with both trying to boot from the CD via SMS (the menu driven interface in the firmware) and via running the loader directly via = "boot' in OF, according to bootinfo.txt (replacing &device; with the virtual CD drive device). Once, I managed to get here, though I can't seem to do it consistently. It looks like it might actually be getting to the bootloader here, then fails trying to allocate memory? 0 > boot = /vdevice/v-scsi@30000002/disk@8100000000000000:,\ppc\chrp\loader CLAIM = failed Call History ------------ throw - c3d044=20 $call-method - c4cc40=20 (poplocals) - c3e9e8=20 (init-program) - c8dea8=20 boot - c8eacc=20 evaluate - c50290=20 invalid pointer - ddc165=20 invalid pointer - 7=20 invalid pointer - 7=20 quit - c509d4=20 quit - c50728=20 My Fix Pt Regs: 00 0000000000000000 0000000000000000 00000000deadbeef 0000000000c4cc3c 04 0000000000c440d0 0000000000000007 0000000000c15f58 0000000000c07010 08 0000000020000000 0000000000000018 0000000000000000 0000000000000000 0c 800000080fed7e10 0000000000c1b100 0000000000c1c000 0000000008d00160 10 0000000000e5b697 0000000000e5b5b5 0000000000c4cc38 0000000000c4cc40 14 fffffffffffffffe 0000000008be2ba8 0000000000000000 0000000000000000 18 0000000000c17000 0000000000c3c000 0000000000c18fc0 0000000000c1afc0 1c 0000000000c24000 0000000000c440d8 0000000000c15fa8 0000000000c14ff8 Special Regs: %IV: 00000900 %CR: 82808004 %XER: 20000018 %DSISR: 00000000=20= %SRR0: 0000000000c41020 %SRR1: 800000000000b002=20 %LR: 0000000000c4c008 %CTR: 0000000000c4bf78=20 %DAR: 0000000000000000=20 ok=