Re: Booting PPC64LE on IBM Power9

From: luporl <luporl_at_freebsd.org>
Date: Fri, 28 Oct 2022 19:23:57 UTC
On Fri, Oct 28, 2022 at 3:40 PM Ali Mashtizadeh <mashtizadeh@gmail.com>
wrote:

> Hello folks,
>
> Are there any known issues with newer firmware on the IBM Power9 9006-22P
> platform?  I'm running Firmware 2.14 and can't seem to boot 13.1 or a
> recent build of head.  Seems strange but the older big endian builds were
> running on the previous 1.x firmware and both run fine on my Raptor.
>
>
Hello,

Newer IBM Power9 firmware can't boot FreeBSD. It has an issue in kexec,
that was already fixed, but not integrated in IBM's firmware.
Try to exit to shell, download and manually run this modified kexec:
http://drop.rtk0.net/kexec
If it works, then that is the problem. Unfortunately, AFAIK there is no
other good solution for this issue.

Regards,
Leandro


> Sent SIGKILL to all processes
>
> [   67.907402] kexec_core: Starting new kernel
>
> [  145.403799889,5] OPAL: Switch to big-endian OS
>
>
>
> --== Welcome to Hostboot  ==--
>
>
>   2.80393|secure|SecureROM valid - enabling functionality
>
>   3.24188|secure|Booting in secure mode.
>   6.07819|Booting from SBE side 0 on master proc=00050000
>
>   6.08589|ISTEP  6. 5 - host_init_fsi
>
>   6.61864|ISTEP  6. 6 - host_set_ipl_parms
>
>   6.89242|ISTEP  6. 7 - host_discover_targets
>
>   7.52193|HWAS|PRESENT> DIMM[03]=A0A0000000000000
>
>   7.52194|HWAS|PRESENT> Proc[05]=8800000000000000
>
>   7.52196|HWAS|PRESENT> Core[07]=FFFFCFCFFFFF0000
>
>   7.86591|ISTEP  6. 8 - host_update_master_tpm
>
>   8.11357|SECURE|Security Access Bit> 0xC000000000000000
>
>   8.11358|SECURE|Secure Mode Disable (via Jumper)> 0x0000000000000000
>
>   8.11377|ISTEP  6. 9 - host_gard
>
>   8.82673|================================================
>
>   8.82952|Error reported by prdf (0xE500) PLID 0x9000004B
>
>   8.82952|  PRD Signature            : 0x70000 0xDD3F000E
>
>   8.83242|  Signature Description    : pu.core:k0:n0:s0:p00:c0
> (COREFIR[14]) Mac                               hine check and ME = 0 Err
>
>
>   8.83396|  UserData1   : 0x0007000000000101
>
>   8.83397|  UserData2   : 0xdd3f000e00000000
>
>   8.83398|------------------------------------------------
>
>   8.83581|  Callout type             : Procedure Callout
>
>   8.83582|  Procedure                : UNKNOWN: 0x11
>
>   8.83582|  Priority                 : SRCI_PRIORITY_HIGH
>
>   8.83583|------------------------------------------------
>
>   8.83584|  Callout type             : Hardware Callout
>
>   8.83584|  CPU id                   : 2
>
>   8.83587|  Target                   :
> Physical:/Sys0/Node0/Proc0/EQ0/EX0/Core0
>   8.83587|  Deconfig State           : NO_DECONFIG
>
>   8.83588|  GARD Error Type          : GARD_NULL
>
>   8.83589|  Priority                 : SRCI_PRIORITY_MED
>
>   8.83589|------------------------------------------------
>
>   8.83590|  System checkstop occurred during runtime on previous boot
>
>   8.83591|------------------------------------------------
>
>   8.83591|  Hostboot Build ID:
>
>   8.83592|================================================
>
> Best,
> Ali
>