We're running into the same "issue" on OpenBSD, I'll implement a check for permissions on /dev/mem and skip running dmidecode if we can't read from that device.