system hang when running dmidecode on arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dmidecode (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running the following commands on NVIDIA Jeston Xavier NX devkit (ARM64 device) can cause system hang.
$ sudo dmidecode --type system
The solution we found to fix this issue is as below.
1. Get Source & Debian files from https:/
• dmidecode_
• dmidecode_
2. Ignore override_
# override_
# dh_auto_build -- CC=$(CC) CFLAGS="$(CFLAGS) $(CPPFLAGS) -Os -ansi" LDFLAGS=
It looks like the source code is OK, but the way to build dmidecode is set improperly to cause this issue on ARM64 only.
An alternative way to fix it is to build source with single make command.
$ sudo apt-get install make
$ git clone git://git.
$ cd dmidecode
$ make
$ sudo make install
Thanks!