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

Stewart Smith stewart at flamingspork.com
Fri Nov 22 04:10:30 AEDT 2019


Yeah, the prd wrapper just calls syslog() for anything HBRT asks us to log.

Sent from my iPhone

> On 21 Nov 2019, at 00:52, Artem Senichev <artemsen at gmail.com> wrote:
> 
> 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!
> _______________________________________________
> OpenPower-Firmware mailing list
> OpenPower-Firmware at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openpower-firmware



More information about the OpenPower-Firmware mailing list