You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-07-17 09:00:54

mps
Member
Registered: 2022-10-04
Posts: 32

AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Hello!

After updating GLPI-Agent from 1.4 to 1.5 on machines with AMD server CPU, the CPUs name is "Not Installed"

It is a Dual AMD EPYC 7302 16 Core

Here's the relevant part of the generated JSON

      "cpus": [
         {
            "core": 4,
            "description": "AMD64 Family 23 Model 49 Stepping 0",
            "familynumber": "23",
            "id": "0000000000000000",
            "manufacturer": "AMD",
            "model": "49",
            "name": "Not Installed",
            "serial": "None",
            "speed": 2994,
            "stepping": 0,
            "thread": 1
         }

Last edited by mps (2023-07-17 09:01:23)

Offline

#2 2023-07-17 10:02:35

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Hi mps,

what is the OS of the related computer ?


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#3 2023-07-19 19:31:06

mps
Member
Registered: 2022-10-04
Posts: 32

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

It is running Windows Server 2019.

Offline

#4 2023-07-20 15:17:54

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Hi mps,

can you share the output of the following dmidecode command run from the perl\bin subfolder of the glpi-agent installation folder and from an adminitrator console ?

dmidecode --type 4

can you also share the output of this wmic command ?

wmic path Win32_Processor get /format:list

GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#5 2023-07-20 15:56:50

mps
Member
Registered: 2022-10-04
Posts: 32

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Of course, here's the requested console output

# dmidecode 3.5
SMBIOS 3.1.0 present.

Handle 0x0004, DMI type 4, 48 bytes
Processor Information
        Socket Designation: None
        Type: Central Processor
        Family: Unknown
        Manufacturer: Unknown
        ID: 00 00 00 00 00 00 00 00
        Version: Not Installed
        Voltage: Unknown
        External Clock: Unknown
        Max Speed: Unknown
        Current Speed: Unknown
        Status: Populated, Enabled
        Upgrade: None
        L1 Cache Handle: Not Provided
        L2 Cache Handle: Not Provided
        L3 Cache Handle: Not Provided
        Serial Number: None
        Asset Tag: None
        Part Number: None
        Core Count: 4
        Core Enabled: 4
        Thread Count: 1
        Characteristics: None
wmic path Win32_Processor get /format:list

AddressWidth=64
Architecture=9
AssetTag=None
Availability=3
Caption=AMD64 Family 23 Model 49 Stepping 0
Characteristics=2
ConfigManagerErrorCode=
ConfigManagerUserConfig=
CpuStatus=1
CreationClassName=Win32_Processor
CurrentClockSpeed=2994
CurrentVoltage=
DataWidth=64
Description=AMD64 Family 23 Model 49 Stepping 0
DeviceID=CPU0
ErrorCleared=
ErrorDescription=
ExtClock=
Family=2
InstallDate=
L2CacheSize=
L2CacheSpeed=
L3CacheSize=0
L3CacheSpeed=0
LastErrorCode=
Level=23
LoadPercentage=45
Manufacturer=AuthenticAMD
MaxClockSpeed=2994
Name=AMD EPYC 7302 16-Core Processor
NumberOfCores=2
NumberOfEnabledCore=4
NumberOfLogicalProcessors=4
OtherFamilyDescription=
PartNumber=None
PNPDeviceID=
PowerManagementCapabilities=
PowerManagementSupported=FALSE
ProcessorId=0000000000000000
ProcessorType=3
Revision=12544
Role=CPU
SecondLevelAddressTranslationExtensions=FALSE
SerialNumber=None
SocketDesignation=None
Status=OK
StatusInfo=3
Stepping=0
SystemCreationClassName=Win32_ComputerSystem
SystemName=COmputername
ThreadCount=1
UniqueId=
UpgradeMethod=6
Version=Modell 1, Stepping 0
VirtualizationFirmwareEnabled=TRUE
VMMonitorModeExtensions=FALSE
VoltageCaps=0

Last edited by mps (2023-07-21 07:49:53)

Offline

#6 2023-07-20 17:48:54

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Okay, it seems "Version"' in dmidecode output is now reported as "Not Installed" and that explains the name you have now.
I've a simple fix on agent side, but I would like to add a unit test to validate it and be sure to not have any regression.
For that can you share a registry export of the following registry key ?

HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor

dmidecode was update since glpi-agent v1.4. You can probably still fix your issue by replacing dmidecode.exe with the version from glpi-agent 1.4. You can download it from that direct link:
https://github.com/glpi-project/glpi-ag … decode.exe
You can download it and replace dmidecode.exe under the perl\bin subfolder of the glpi-agent installation folder.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#7 2023-07-21 07:48:20

mps
Member
Registered: 2022-10-04
Posts: 32

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Here's the requested registry export

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor]

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0]
"Component Information"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"Identifier"="AMD64 Family 23 Model 49 Stepping 0"
"Configuration Data"=hex(9):ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00
"ProcessorNameString"="AMD EPYC 7302 16-Core Processor                "
"VendorIdentifier"="AuthenticAMD"
"FeatureSet"=dword:383b3dff
"~MHz"=dword:00000bb2
"Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Update Status"=dword:00000001
"Previous Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Platform Specific Field1"=dword:ffffffff

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\1]
"Component Information"=hex:00,00,00,00,00,00,00,00,01,00,00,00,00,00,01,00
"Identifier"="AMD64 Family 23 Model 49 Stepping 0"
"Configuration Data"=hex(9):ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00
"ProcessorNameString"="AMD EPYC 7302 16-Core Processor                "
"VendorIdentifier"="AuthenticAMD"
"FeatureSet"=dword:383b3dff
"~MHz"=dword:00000bb2
"Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Update Status"=dword:00000001
"Previous Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Platform Specific Field1"=dword:ffffffff

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\2]
"Component Information"=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,02,00
"Identifier"="AMD64 Family 23 Model 49 Stepping 0"
"Configuration Data"=hex(9):ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00
"ProcessorNameString"="AMD EPYC 7302 16-Core Processor                "
"VendorIdentifier"="AuthenticAMD"
"FeatureSet"=dword:383b3dff
"~MHz"=dword:00000bb2
"Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Update Status"=dword:00000001
"Previous Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Platform Specific Field1"=dword:ffffffff

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\3]
"Component Information"=hex:00,00,00,00,00,00,00,00,03,00,00,00,00,00,03,00
"Identifier"="AMD64 Family 23 Model 49 Stepping 0"
"Configuration Data"=hex(9):ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,00,00,00,00,00
"ProcessorNameString"="AMD EPYC 7302 16-Core Processor                "
"VendorIdentifier"="AuthenticAMD"
"FeatureSet"=dword:383b3dff
"~MHz"=dword:00000bb2
"Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Update Status"=dword:00000001
"Previous Update Revision"=hex:ff,ff,ff,ff,00,00,00,00
"Platform Specific Field1"=dword:ffffffff

Offline

#8 2023-07-21 15:23:49

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 537
Website

Re: AMD-CPU name's "not installed" after update of agent 1.4 to 1.5

Hi mps,

thank you for your contribution. I just updated glpi-agent to support this CPU with the latest dmidecode version.

You'll be able to test it using next nightly build from https://nightly.glpi-project.org/glpi-agent/


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

Board footer

Powered by FluxBB