linux-ras / ServiceReport

ServiceReport
GNU General Public License v2.0
5 stars 8 forks source link

Unsupported Architecure! #22

Open qhbqyj opened 2 years ago

qhbqyj commented 2 years ago

Is this tool could be supported on Intel X86 Server?

sourabhjains commented 2 years ago

Hello,

Yes one can easily enable this tool to work on x86. Most of the FFDC validation performed by this tool are generic in nature.

Thanks, Sourabh Jain

qhbqyj commented 2 years ago

I have tried on the latest intel Server Platform(IceLake Server),but it shows Unsupported Architecure! [root@administrator67 ServiceReport]# uname -a Linux administrator67 4.18.0-294.el8.x86_64 #1 SMP Mon Mar 15 22:38:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux [root@administrator67 ServiceReport]# servicereport

Unsupported Architecure!

maheshsal commented 2 years ago

You will need to add "x86_64" in SUPPORTED_ARCHS from file servicereportpkg/global_context.py in order to get this working..

diff --git a/servicereportpkg/global_context.py b/servicereportpkg/global_conte> index 62eb492..15d3caf 100644 --- a/servicereportpkg/global_context.py +++ b/servicereportpkg/global_context.py @@ -8,4 +8,4 @@ import os import sys

TOOL_NAME = os.path.basename(sys.argv[0]) -SUPPORTED_ARCHS = ["ppc64le"] +SUPPORTED_ARCHS = ["ppc64le", "x86_64"]

sourabhjains commented 1 month ago

Just adding x86_64 in supported architectures will not help.

Can you run ServiceReport on x86 machine and provide some data about how it is working.

If all the default plugins are working fine with x86_64 then we can add x86_64 in supported architectures.