erichte-ibm / op-build

Buildroot overlay for Open Power | USE witherspoon_sb_defconfig to test!
GNU General Public License v2.0
0 stars 1 forks source link

Fatal MCE at 00000000300b1c24 .edk2_compat_process+0x6c MSR 9000000000201002 #1

Open PavamanSubramaniyam opened 4 years ago

PavamanSubramaniyam commented 4 years ago

Install a P9 Open Power Hardware with the latest OP940 BMC Firmware images. https://rchweb.rchland.ibm.com/releasenotes/openpower9/OP940/OP940_1934A/OP940_1934D_RelNote_Main.html

root@witherspoon:~# cat /etc/os-release
ID="openbmc-phosphor"
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="op940.00-r1"
VERSION_ID="op940.00-r1-0-ga11be91"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) op940.00-r1"
BUILD_ID="op940.00-r1"
OPENBMC_TARGET_MACHINE="witherspoon"

Then built the PNOR image using the upstream Eric's git tree and flashed the witherspoon PNOR on the box.

root@ltc-garri2:~/SecureBootPNORBUILD# git clone --recursive https://github.com/erichte-ibm/op-build -b stb/dev

root@ltc-garri2:~# cd SecureBootPNORBUILD/op-build/output/images/
root@ltc-garri2:~/SecureBootPNORBUILD/op-build/output/images# ls -l
total 327168
-rwxr-xr-x 1 root root   106496 Sep 19 00:37 cappucode.bin
-rw-r--r-- 1 root root 72015387 Sep 19 01:18 host_fw_debug.tar
-rwxr-xr-x 1 root root    69632 Sep 19 01:03 ima_catalog.bin
-rw-r--r-- 1 root root 69178880 Sep 19 01:01 rootfs.cpio
-rw-r--r-- 1 root root 12127136 Sep 19 01:02 rootfs.cpio.xz
-rw-r--r-- 1 root root 70871040 Sep 19 01:03 rootfs.tar
-rwxr-xr-x 1 root root  1996824 Sep 19 01:18 skiboot.lid
-rw-r--r-- 1 root root   469612 Sep 19 01:18 skiboot.lid.bin
-rwxr-xr-x 1 root root 67108864 Sep 19 01:18 witherspoon.pnor
-rwxr-xr-x 1 root root 25374720 Sep 19 01:18 witherspoon.pnor.squashfs.tar
-rw-r--r-- 1 root root 15793432 Sep 19 01:03 zImage.epapr

Then flashed the witherspoon.pnor.squashfs.tar PNOR image onto the witherspoon box. Then after powering on the HOST, there is MCE Fatal crash at skiboot and machine is continuously rebooting.

[  137.286417943,5] HIOMAP: Flash size is 64MiB
[  137.286448177,5] HIOMAP: Erase granule size is 4KiB
[  137.475600257,5] FLASH: Found system flash: (unnamed) id:0
[  138.310376838,3] ***********************************************
[  138.310832072,3] Fatal MCE at 00000000300b1c24   .edk2_compat_process+0x6c  MSR 9000000000201002
[  138.310919829,3] CFAR : 00000000300e2880 MSR  : 9000000000000000
[  138.311027856,3] SRR0 : 00000000300b1c24 SRR1 : 9000000000201002
[  138.311073697,3] HSRR0: 0000000030012624 HSRR1: 9000000000001000
[  138.311120362,3] DSISR: 00000008         DAR  : 7c7b1b784800299c
[  138.311159452,3] LR   : 00000000300b1c04 CTR  : 00000000300b1bb8
[  138.311216350,3] CR   : 40000202         XER  : 00000000
[  138.311261205,3] GPR00: 00000000300b1c04 GPR16: 0000000000000000
[  138.311303474,3] GPR01: 0000000031df37f0 GPR17: 0000000000000000
[  138.311342620,3] GPR02: 000000003013d100 GPR18: 0000000000000000
[  138.311385442,3] GPR03: 0000000030115726 GPR19: 0000000000000000
[  138.311427431,3] GPR04: 00000000307b6fe8 GPR20: 0000000000000000
[  138.311464575,3] GPR05: 000000003040be00 GPR21: 0000000030115546
[  138.311501812,3] GPR06: 0000000031df0060 GPR22: 0000000000000000
[  138.311545707,3] GPR07: 0000000000006462 GPR23: 0000000030115542
[  138.311581129,3] GPR08: 0000000000000003 GPR24: 00000000300e3192
[  138.311618439,3] GPR09: 7c7b1b784800258c GPR25: 00000000300e28e8
[  138.311660580,3] GPR10: 00000000300b1bb8 GPR26: 000000003011c296
[  138.311705168,3] GPR11: 0000000000000000 GPR27: 0000000000000000
[  138.311742341,3] GPR12: 0000000040000202 GPR28: 000000003040be00
[  138.311779576,3] GPR13: 0000000031df0000 GPR29: 000000003040be00
[  138.311871802,3] GPR14: 0000000030115894 GPR30: 000000003040bde8
[  138.311918252,3] GPR15: 00000000301157c6 GPR31: 0000000030115726
[  138.311953701,0] Aborting!
CPU 003c Backtrace:
 S: 0000000031df34e0 R: 0000000030013840   .backtrace+0x48
 S: 0000000031df3580 R: 000000003001b328   ._abort+0x4c
 S: 0000000031df3600 R: 0000000030028a08   .exception_entry+0x238
 S: 0000000031df37f0 R: 0000000030001f30   exception_entry_foo+0x4
 S: 0000000031df3af0 R: 00000000300b1c04   .edk2_compat_process+0x4c
 S: 0000000031df3c50 R: 00000000300b0c48   .secvar_main+0x228
 S: 0000000031df3d00 R: 000000003009b84c   .witherspoon_secvar_init+0x58
 S: 0000000031df3d90 R: 00000000300ad6b4   .secureboot_init+0x228
 S: 0000000031df3e30 R: 0000000030015120   .main_cpu_entry+0x508
 S: 0000000031df3f00 R: 0000000030002750   boot_entry+0x1b0
 --- OPAL boot ---
naynajain commented 4 years ago

The issue is resolved in the latest build. Please try it.