[OpenPower-Firmware] How to get hostboot's runtime log?

Artem Senichev artemsen at gmail.com
Thu Nov 21 19:28:13 AEDT 2019


On Wed, Nov 20, 2019 at 08:29:17AM -0600, Daniel M Crowell wrote:
> 
> Hostboot runtime (HBRT) runs under the opal-prd application in Linux
> userspace.  All of the traces go into /var/log/opal-prd.log.  On some older
> distros they might be in /var/log/syslog (Ubuntu) or /var/log/messages
> (Redhat) .

I use opal-prd from Skiboot 6.5.1, but OPAL logs (/sys/firmware/opal/msglog)
doesn't contain HBRT messages even with max log-level setup.
Anyway, I found the logs in a system journal, thank you very much!

-- 
Regards,
Artem Senichev
Software Engineer, YADRO.

> From:	Artem Senichev <artemsen at gmail.com>
> To:	openpower-firmware at lists.ozlabs.org
> Date:	11/20/2019 07:25 AM
> Subject:	[EXTERNAL] [OpenPower-Firmware] How to get hostboot's runtime
>             log?
> Sent by:	"OpenPower-Firmware" <openpower-firmware-bounces
>             +dcrowell=us.ibm.com at lists.ozlabs.org>
> 
> Hi all,
> 
> I need help from IBM's guru -
> How can I get trace logs from Hostboot runtime?
> 
> To get the trace during the boot procedure, I can redirect output to the
> console by overriding TRACFCOMP macro, but this trick only works in IPL.
> I am trying to debug NVDIMM support and something bad happens during arm
> activation, but I have neither error codes nor logs to analysis.
> 
> Thanks in advance for any help!


More information about the OpenPower-Firmware mailing list