[sos-devel] [PATCH] plugins/powerpc: Capture the opal-prd log file

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu May 24 10:49:28 UTC 2018


On 04/17/2018 11:37 AM, Ananth N Mavinakayanahalli wrote:
> Opal-prd is the Processor Runtime Diagnostics daemon on Power systems
> running OPAL firmware. Capture this log file with sosreport.

Bryn,

Looks like this patch was waiting for moderator approval. Hence I had raised 
pull request for this patch [1]. Feel free to ignore this patch and pull from 
github pull request.


[1] https://github.com/sosreport/sos/pull/1295

-Vasant

> 
> Signed-off-by: Ananth N Mavinakayanahalli <ananth at linux.vnet.ibm.com>
> ---
>   sos/plugins/powerpc.py |    3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
> index abf4759c..6c685a84 100644
> --- a/sos/plugins/powerpc.py
> +++ b/sos/plugins/powerpc.py
> @@ -83,7 +83,8 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
>                   "/proc/ppc64/systemcfg",
>                   "/proc/ppc64/topology_updates",
>                   "/sys/firmware/opal/msglog",
> -                "/var/log/opal-elog/"
> +                "/var/log/opal-elog/",
> +                "/var/log/opal-prd.log"
>               ])
>               if os.path.isdir("/var/log/dump"):
>                   self.add_cmd_output("ls -l /var/log/dump")
> 
> _______________________________________________
> sos-devel mailing list
> sos-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/sos-devel
> 




More information about the sos-devel mailing list