PINE64
`dmidecode` crashes the system - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: `dmidecode` crashes the system (/showthread.php?tid=9181)



`dmidecode` crashes the system - carletes - 02-15-2020

(Copied from https://forum.pine64.org/showthread.php?tid=7184 in case somebody is hit by this on a Pinebook Pro)


I use Puppet to configure my system. Puppet uses a tool called `facter` to gather information about the system. And `facter`, among other things, calls `dmidecode`. On my Pinebook Pro, calling `dmidecode` crashes the system. The power LED starts flashing with an amber light, and nothing works.

This happens both when running the standard Debian-based distribution which came with the Pinebook Pro, and the stock Debian setup from https://github.com/daniel-thompson/pineb...installer/

Something similar has been reported on Ubuntu 18.04: https://bugs.launchpad.net/ubuntu/+sourc...ug/1821632

It looks like `dmidecode` is broken on ARM systems. A commit was added to the `dmidecode` Git repo in August 2019 which seems to fix the issue: http://git.savannah.nongnu.org/cgit/dmid...8a5cf5ec1d

I have compiled `dmidecode` with the latest sources from http://git.savannah.nongnu.org/cgit/dmidecode.git/log/ and the problem is gone.