Public bug reported:

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!

** Affects: dmidecode (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dmidecode in Ubuntu.
https://bugs.launchpad.net/bugs/1982736

Title:
  system hang when running dmidecode on arm64

Status in dmidecode package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmidecode/+bug/1982736/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to