DMI not present or invalid in R35.5.0

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?

Invoking dmidecode 3.2 on BSP 35.5.0 freezes the system and then reboot - #5 by KevinFFF

Why did this not help? You applied but not effect?

Yes, I used custom defconfig file and set CONFIG_DMI to y. Should I just remove it rather than set it to y?

You can remove it and run the following command on your board after boot up to check its status.

$ zcat /proc/config.gz | grep CONFIG_DMI

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.