From nobody Sat May 18 23:13:51 2024 X-Original-To: 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 4Vhflh6k4Zz5KCV2 for ; Sat, 18 May 2024 23:13:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vhflg5p9fz418b for ; Sat, 18 May 2024 23:13:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716074031; a=rsa-sha256; cv=none; b=H9N3GRcCXNx0MQ2Ednjie1HH+KFpkuuDD9W/fpqXL4T0hV2f0g6ErM9iOvC2bNX7xtKlQw v+GPqoRHEUwsoTDjI7IxHhiG12n6uh6hB/sGle08jzSkWYeNIcrFHRAv1Y48uu1dp+2JKk acUIMKAFNkxRtpT9pebrRrFVgdHpXllHs3UbpzOjto9jqILg5pF9kN6hZeg7Ve4cDzWFUT y5jevOBv7HXuIswkDklpOUuGEWmEaL6FBS1aWNmDJCfp12mCZyxDlX9caIfhhCfwBZq693 i3qcuCtYQniq2GeUpZVZJHGvF84d9meaJnL8Y/B+YikYd6aRIpJ/ESvztjeZ3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716074031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YfCvhBIbwgF2Z1kDx2VNUPOvU3mX14GtiwqpA07Redk=; b=ovAqoAe6Xs4YeNfi8S4VIQ+Sw+rZmW3wZmWKSaqUUOQlgxuSX+xLqA7s8FWMr6WTv3Eeta BrURuXxrPM6OVZ5V3kBgcGn1CegMUBErotk9UoeXeWs2CLuerGdwuJcWsUslOh2ZJHoFRQ p9ldKyHjRt7UScmXjoofN8FgiTW9AL+DYOVzyftpHIj55tss/cby8RQPcc/57VlNfc1AjL U55zCg4pZ4RVpnSORvCeiVjVwa5JtoEC0VBl4A/cE+JiPUdMsrpt2a3C17O/0jbBM8IVKY Q1Zdf31eq8QXujd0zvssQQBznpRcEft5d/gneK1zgollGM1GT/GUo7YqK5U6MA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vhflg510Wzm7h for ; Sat, 18 May 2024 23:13:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44INDpMM051949 for ; Sat, 18 May 2024 23:13:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44INDpO6051945 for ppc@FreeBSD.org; Sat, 18 May 2024 23:13:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ppc@FreeBSD.org Subject: [Bug 279137] FreeBSD fails to boot on IBM POWER8 systems (S814, S822L, S824) Date: Sat, 18 May 2024 23:13:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: powerpc X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: calvin@cmpct.info X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ppc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to the PowerPC List-Archive: https://lists.freebsd.org/archives/freebsd-ppc List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ppc@freebsd.org Sender: owner-freebsd-ppc@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279137 --- Comment #2 from Calvin Buckley --- I tried again on the S824, booting from the OF prompt instead of SMS: ``` 0 > boot cdrom:\ppc\chrp\loader \ Detected bad memory access to address: fffffffffffffffe Package path =3D / Last memory-queue entry @ c472c0=20 000000c472a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................: 000000c472b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................: 000000c472c0: 00 00 00 00 08 b0 3c a0 ff ff ff ff ff ff ff ff :......<.........: 000000c472d0: 00 00 00 00 00 00 00 20 00 00 00 00 ba d1 b0 b0 :....... ........: Return Stack Trace ------------------ @ - c40530=20 close-package - c641e0=20 (poplocals) - c3e9e8=20 (init-program) - c8e3c4=20 boot - c8ef4c=20 evaluate - c50308=20 ^c1b100 - c1b100=20 invalid pointer - e=20 invalid pointer - 5=20 quit - c50a4c=20 quit - c507a0=20 syscatch - c539d0=20 syscatch - c539d0=20 invalid pointer - 98004c3c00e14238=20 invalid pointer - a602087c00000060=20 invalid pointer - a602087ce8ffa1fb=20 invalid pointer - f0ffc1fb781b697c=20 invalid pointer - e0ff81fbf8ffe1fb=20 invalid pointer - 48fe63381701c23f=20 invalid pointer - e802de3b1701a23f=20 ok 0 > .registers=20 My Fix Pt Regs: 00 0000000000000000 0000000000000000 0000000000000001 0000000000c547a0 04 0000000000c54300 00000000deadbeef 00000000fa218003 0000000000c07010 08 0000000020000000 0000000008c0bf30 0000000000000001 00000000000034f8 0c 0000000000000000 0000000000c1b100 0000000000c1c000 0000000008d00c60 10 0000000000e4f62f 0000000000e4f487 0000000000c54798 0000000000c4b2a8 14 ffffffffffffffff 0000000000000049 6001000050020000 6001000060010000 18 0000000000c17000 0000000000c3c000 0000000000c18f80 0000000000c1afc0 1c 0000000000c24000 0000000000c440d8 0000000000c15f88 0000000000c14ff0 Special Regs: %IV: 00000900 %CR: 22808008 %XER: 00000010 %DSISR: 00000000=20 %SRR0: 0000000000c3f17c %SRR1: 800000000000b002=20 %LR: 0000000000c4c954 %CTR: 0000000000000007=20 %DAR: 0000000000000000=20 Virtual PID =3D 0=20 ok ``` I'm not sure what tools I have available in IBM's OF for debugging, but I d= id try to get a register dump (though I don't know if this was the best time). What might be interesting is that if I use `load` instead of `boot` (to see= if I can introspect things a little, by loading into memory before executing, = at least per my remedial understanding of OF), I also get a stack trace - perh= aps it's coming from the firmware, before it can even execute the loader? ``` 0 > load cdrom:\ppc\chrp\loader / Detected bad memory access to address: fffffffffffffffe Package path =3D / Last memory-queue entry @ c472c0=20 000000c472a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................: 000000c472b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................: 000000c472c0: 00 00 00 00 08 b0 31 20 ff ff ff ff ff ff ff ff :......1 ........: 000000c472d0: 00 00 00 00 00 00 00 20 00 00 00 00 ba d1 b0 b0 :....... ........: Return Stack Trace ------------------ @ - c40530=20 close-package - c641e0=20 (poplocals) - c3e9e8=20 (init-program) - c8e3c4=20 load - c8ee30=20 evaluate - c50308=20 - 8b03400=20 invalid pointer - 45=20 invalid pointer - 45=20 quit - c50a4c=20 quit - c507a0=20 syscatch - c539d0=20 syscatch - c539d0=20 invalid pointer - 98004c3c00e14238=20 invalid pointer - a602087c00000060=20 invalid pointer - a602087ce8ffa1fb=20 invalid pointer - f0ffc1fb781b697c=20 invalid pointer - e0ff81fbf8ffe1fb=20 invalid pointer - 48fe63381701c23f=20 invalid pointer - e802de3b1701a23f=20 ok 0 >=20 ``` --=20 You are receiving this mail because: You are the assignee for the bug.=