Description of problem ---------------------- Invoking `dmidecode` results in: $ dmidecode # dmidecode 2.12 /sys/firmware/efi/systab: SMBIOS entry point missing Seems like the string in the above file is "SMBIOS3": $ cat /sys/firmware/efi/systab ACPI20=0x43fa397014 ACPI=0x43fa397000 SMBIOS3=0x43fa395000 Version ------- Fedora Rawhide for AArch64: $ uname -r; rpm -q dmidecode 4.0.0-0.rc1.git1.1.fc23.aarch64 dmidecode-2.12-8.fc22.aarch64 Debugging information --------------------- (1) `ltrace` output: -------------------------------------------------------------------------------- $ debuginfo-install glibc -y $ ltrace dmidecode __libc_start_main([ "dmidecode" ] <unfinished ...> memcpy(0x3ffee4fbac8, "P\030A\0\0\0\0\0\001\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0d\0\0\0\0\0\0\0"..., 320) = 0x3ffee4fbac8 getopt_long(1, 0x3ffee4fbe08, "d:hqs:t:uV", 0x3ffee4fbac8, nil) = -1 __printf_chk(1, 0x40d5d0, 0x40d5c8, 0# dmidecode 2.12 ) = 17 fopen("/sys/firmware/efi/systab", "r") = 0x35410010 fgets("ACPI20=0x43fa397014\n", 63, 0x35410010) = 0x3ffee4fbc78 strchr("ACPI20=0x43fa397014\n", '=') = "=0x43fa397014\n" strcmp("ACPI20", "SMBIOS") = -144 fgets("ACPI=0x43fa397000\n", 63, 0x35410010) = 0x3ffee4fbc78 strchr("ACPI=0x43fa397000\n", '=') = "=0x43fa397000\n" strcmp("ACPI", "SMBIOS") = -144 fgets("SMBIOS3=0x43fa395000\n", 63, 0x35410010) = 0x3ffee4fbc78 strchr("SMBIOS3=0x43fa395000\n", '=') = "=0x43fa395000\n" strcmp("SMBIOS3", "SMBIOS") = 204 fgets("SMBIOS3", 63, 0x35410010) = nil fclose(0x35410010) = 0 __fprintf_chk(0x3ff862713f0, 1, 0x40d640, 0x40d580/sys/firmware/efi/systab: SMBIOS entry point missing ) = 53 free(nil) = <void> +++ exited (status 1) +++ -------------------------------------------------------------------------------- (2) `strace` output -------------------------------------------------------------------------------- $ strace dmidecode ("/usr/sbin/dmidecode", ["dmidecode"], [/* 41 vars */]) = 0 brk(0) = 0x31120000 faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=70299, ...}) = 0 mmap(NULL, 70299, PROT_READ, MAP_PRIVATE, 3, 0) = 0x3ff9fb60000 close(3) = 0 openat(AT_FDCWD, "/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\210\373\1\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1953744, ...}) = 0 mmap(NULL, 1594256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3ff9f9d0000 mmap(0x3ff9fb40000, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x170000) = 0x3ff9fb40000 close(3) = 0 mprotect(0x3ff9fb40000, 65536, PROT_READ) = 0 mprotect(0x3ff9fbc0000, 65536, PROT_READ) = 0 munmap(0x3ff9fb60000, 70299) = 0 fstat(1, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff9fb70000 brk(0) = 0x31120000 brk(0x31150000) = 0x31150000 brk(0) = 0x31150000 openat(AT_FDCWD, "/sys/firmware/efi/systab", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0400, st_size=65536, ...}) = 0 mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x3ff9fb60000 read(3, "ACPI20=0x43fa397014\nACPI=0x43fa3"..., 65536) = 59 read(3, "", 65536) = 0 close(3) = 0 munmap(0x3ff9fb60000, 65536) = 0 write(2, "/sys/firmware/efi/systab: SMBIOS"..., 53/sys/firmware/efi/systab: SMBIOS entry point missing ) = 53 write(1, "# dmidecode 2.12\n", 17# dmidecode 2.12 ) = 17 exit_group(1) = ? +++ exited with 1 +++ --------------------------------------------------------------------------------
Created attachment 997912 [details] expose SMBIOS 3.0 header in sysfs
Rawhide doesn't have the needed patch which exposes SMBIOS 3.0 in sysfs.
dmidecode doesn't support SMBIOS 3.0 at all yet.
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
dmidecode-3.0-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a30f29f497
dmidecode-3.0-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a30f29f497
dmidecode-3.0-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.