In d06b8e0 we started using dmidecode to obtain system ID, but it is crashing and creating core dumps on Compulab IOT-gate-imx8 boards. Since the crashes are happening repeatedly, eventually the whole data partition fills up with core dumps and the device becomes dysfunctional.
Running a newer dmidecode on the device does not crash. I tried version 3.3 from Alpine. It does not return a system ID though:
# dmidecode 3.3
# No SMBIOS nor DMI entry point found, sorry.
That device does not have /proc/device-tree/serial-number exposed, which leads to running dmidecode. On that device a /proc/device-tree/product-sn exists though together with some related fields:
In d06b8e0 we started using
dmidecode
to obtain system ID, but it is crashing and creating core dumps onCompulab IOT-gate-imx8
boards. Since the crashes are happening repeatedly, eventually the whole data partition fills up with core dumps and the device becomes dysfunctional.Running a newer
dmidecode
on the device does not crash. I tried version 3.3 from Alpine. It does not return a system ID though:That device does not have
/proc/device-tree/serial-number
exposed, which leads to runningdmidecode
. On that device a/proc/device-tree/product-sn
exists though together with some related fields:It looks like we need to upgrade
dmidecode
and possibly use/proc/device-tree/product-sn
as alternative to/proc/device-tree/serial-number
.