#1 print-label display wrong
Closed by ahs3. Opened by lickdragon.

Hi!
Using rasdaemon 0.6.1-1.fc29 on Centos 7 running kernel 4.4.178, the --print-labels output is incorrect.
The computer has 2x8GB RAM cards installed. One in P1-DIMM1A, the other in P2-DIMM1A. Each stick appears as 2x4096 MB In --layout:

          +-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
          |                                              mc0                                              |                                              mc1                                              |                                              mc2                                              |                                              mc3                                              |
          |  csrow0   |  csrow1   |  csrow2   |  csrow3   |  csrow4   |  csrow5   |  csrow6   |  csrow7   |  csrow0   |  csrow1   |  csrow2   |  csrow3   |  csrow4   |  csrow5   |  csrow6   |  csrow7   |  csrow0   |  csrow1   |  csrow2   |  csrow3   |  csrow4   |  csrow5   |  csrow6   |  csrow7   |  csrow0   |  csrow1   |  csrow2   |  csrow3   |  csrow4   |  csrow5   |  csrow6   |  csrow7   |
----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
channel1: |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |
channel0: |     0 MB  |     0 MB  |  4096 MB  |  4096 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |  4096 MB  |  4096 MB  |     0 MB  |     0 MB  |     0 MB  |     0 MB  |
----------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

This results in a partial definition file:
Vendor: Supermicro
Product: H8DGU
P1_DIMM1A: 0.2.0;
P1_DIMM1A: 0.3.0;
P2_DIMM1A: 3.2.1;
P2_DIMM1A: 3.3.1;

and a --print-label like so:

LOCATION                            CONFIGURED LABEL     SYSFS CONTENTS      
mc0 csrow 2 channel 0               P1_DIMM1A            mc#0csrow#2channel#0
mc0 csrow 3 channel 0               P1_DIMM1A            mc#0csrow#3channel#0
                                    P2_DIMM1A            3:2:1 missing       
                                    P2_DIMM1A            3:3:1 missing 

As you can see, the P2_DIMM1A is not displayed.

Thanks!
C.


Have you tried this with a more recent version of rasdaemon? Some work has been done on the --print-labels option since the release mentioned.

Unfortunately, I'm not the maintainer for Fedora or CentOS; I've put this in pagure.io just as a location to maintain a backup of the existing packaging work for Debian. That's why I have not responded sooner; I did not expect issues to be reported here. My apologies.

Actual Fedora source is: https://src.fedoraproject.org/rpms/rasdaemon

Metadata Update from @ahs3:
- Issue status updated to: Closed (was: Open)

Metadata