intel / ipmctl

BSD 3-Clause "New" or "Revised" License
183 stars 62 forks source link

Can not create goal on SLES15 SP2 #168

Open emrbaykal opened 3 years ago

emrbaykal commented 3 years ago

Hi

We want to setting goal configuration use ipmctl tools on SLES 15 SP2 , but we are getting following errors. Persistent memories are located on HPE Proliant DL 560 Gen 10 Server and V2.42 bios version is used on HPE DL 560 Gen 10 server on which we received an errors.

ipmctl version is:

Intel(R) Optane(TM) Persistent Memory Command Line Interface Version 02.00.00.3733

On the other hand when we want to settings following goal configuration via using bibos , we can configure goals sucessfuly.

The commands executed and the errors received are listed below.

ipmctl create -goal MemoryMode=0 PersistentMemoryType=AppDirect

Create region configuration goal failed: Error 2 - Command not run

ipmctl show -memoryresources

Error: GetMemoryResourcesInfo Failed

ipmctl show -topology --> Command return nothings.

Do you have an any ideas to resolv issue.

Thanks All

StevenPontsler commented 3 years ago

My guess is that all communications to the modules are failing.

Oh, the command might need to be run as superuser/root. Maybe sudo ipmctl show -memoryresources will work.

I would make sure that libndctl is installed as that library is used for communications to the modules on Linux.

If that looks OK try running the commands with a -v added (e.g. ipmctl show -v -memoryresources) and try posting that (or you can send it to me directly my email is in my profile).

A simple command to try is ipmctl show -dimm and ipmctl show -v -dimm

The -v will not fix anything though the additional information printed out will hopefully have something helpful to me.

What generation of hardware is in the system? Or if you are sending to me directly just do ipmctl show -a -dimm and send that output.

Steven

sscargal commented 3 years ago

@surriver - My experience with HPe systems is their BIOS doesn't implement the necessary PMTT (Platform Memory Topology Table) which causes ipmctl to fail. See #63.

To add to SteveP's response, there are two ways to confirm the PMTT issue, and provide information to help debug further if it's something else:

1) Enable ipmctl debug logging and collect the output using the -v option

# ipmctl set -preferences DBG_LOG_LEVEL=4
# ipmctl show -v -memoryresources > ipmctl_show_-v_-memoryresources.dbg.out 2>&1
# ipmctl show -v -topology > ipmctl_-show_-v_-topology.dbg.log 2>&1

Please attach the logs. The logs should contain a message towards the end of the output - "Failed to get the PMTT table"

2) Check the dmesg boot logs to see if the PMTT ACPI tables were read. On a working system you should see the following:

# dmesg | grep -i pmtt
[    0.013536] ACPI: PMTT 0x0000000068452000 000538 (v01 INTEL  S2600WF  00000001 INTL 20091013)

If the PMTT tables are missing, you'll get no output to the command above.

Workaround/Solution

1) Use the iLO to provision the PMem (Recommended). Instructions are in the Intel Optane persistent memory 100 series for HPEUser Guide. Their instructions use ipmctl v1.x.

2) Build ipmctl v1.x from source. Instructions can be found here.

3) Please report this to HPe so they can track customer issues.