dmidecode icon indicating copy to clipboard operation
dmidecode copied to clipboard

wrong system-uuid

Open eleztian opened this issue 2 years ago • 1 comments

image

As of version 2.6 of the SMBIOS specification, the first 3 fields of the UUID are supposed to be encoded on little-endian.

the version should be SMBIOS version, not system-version.

eleztian avatar Apr 26 '22 08:04 eleztian

I have the same problem

edr:/home/edr # dmidecode -t 1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 2.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform
        Version: None
        Serial Number: VMware-56 4d a6 d2 17 06 63 43-dc 2d 99 59 b5 33 a7 b3
        UUID: 564da6d2-1706-6343-dc2d-9959b533a7b3

when i build ./cmd/main.go and run it:

edr:/home/edr # ./main 4 |grep UUID
        UUID: D2A64D56-0617-4363-DC2D-9959B533A7B3

jgbooks avatar May 21 '22 10:05 jgbooks