Hi, I’m using our custom board with jetson xavier nx (L4T version: R35.5.0). And I met a error when use dmidecode tool to get the hardware info.
I see this similar question, but it’s not helpful
I can see this message in dmesg
[ 0.318784] DMI not present or invalid.
So I check the source code, find that it’s in \kernel\kernel-5.10\drivers\firmware\dmi_scan.c, and I added some pr_info in it, find that it’s wrong in this section.
if (efi.smbios3 != EFI_INVALID_TABLE_ADDR) {
p = dmi_early_remap(efi.smbios3, 32);
if (p == NULL) {
pr_info("DMI invalid: efi.smbios3 invalid.\n");
goto error;
}
memcpy_fromio(buf, p, 32);
dmi_early_unmap(p, 32);
if (!dmi_smbios3_present(buf)) {
dmi_available = 1;
return;
}
}
if (efi.smbios == EFI_INVALID_TABLE_ADDR) {
pr_info("DMI invalid: efi.smbios invalid.\n");
goto error;
}
the smbios3 and smbios are both invalid, so it print those err message.
I wonder is this related to our custom board or it’s a bug in this kernel version?