open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
16 stars 39 forks source link

Triggering pdbg sreset yields machine check on P9 sforza #42

Open Dichloromethane opened 5 years ago

Dichloromethane commented 5 years ago

After running the following commands from the BMC on my Talos 2 (single 8-core Sforza chip), the entire p9 chip crashed:

# pdbg -p0 -c13 -a stop # pdbg -p0 -c13 -t0 sreset

After I restarted the computer, the following message greeted me:

13.41986|================================================ 13.41987|Error reported by prdf (0xE500) PLID 0x90000002 13.41988| PRD Signature : 0x7000D 0xDD3F001A 13.42284| Signature Description : pu.core:k0:n0:s0:p00:c13 (COREFIR[26]) Core errors while in maintenance mode 13.42619| UserData1 : 0x0007000d00000101 13.42620| UserData2 : 0xdd3f001a00000000 13.42621|------------------------------------------------ 13.42851| Callout type : Procedure Callout 13.42852| Procedure : EPUB_PRC_LVL_SUPP 13.42853| Priority : SRCI_PRIORITY_MED 13.42854|------------------------------------------------ 13.42854|
13.42855|------------------------------------------------ 13.42856| System checkstop occurred during runtime on previous boot 13.42857|------------------------------------------------ 13.42857|
13.42858|------------------------------------------------ 13.42858| Hostboot Build ID: 13.42859|================================================

Dichloromethane commented 5 years ago

I don't know whether this is a bug in pdbg or the chip, but even if it is a problem with the chip, maybe adding a safety check would be appropriate?

apopple commented 5 years ago

Thanks for the report. Based on the above it looks like it is most probably a bug in pdbg.