system hang when running dmidecode on arm64

Bug #1982736 reported by Daniel Hung
6
This bug affects 1 person
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://packages.ubuntu.com/impish/dmidecode
        • dmidecode_3.3.orig.tar.xz
        • dmidecode_3.3-3.debian.tar.xz

2. Ignore override_dh_auto_build in debian/rules for aarch64
       # override_dh_auto_build:
       # dh_auto_build -- CC=$(CC) CFLAGS="$(CFLAGS) $(CPPFLAGS) -Os -ansi" LDFLAGS="$(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.savannah.gnu.org/dmidecode.git
$ cd dmidecode
$ make
$ sudo make install

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.