[Bug 1705054] Re: Trusty kexec-tools suffer from upstream code regression. Fix not included.

Łukasz Zemczak 1705054 at bugs.launchpad.net
Thu Jul 20 13:54:26 UTC 2017


Hello Rafael, or anyone else affected,

Accepted kexec-tools into trusty-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/kexec-
tools/1:2.0.6-0ubuntu2.3 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-trusty to verification-done-trusty. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-trusty. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: kexec-tools (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1705054

Title:
  Trusty kexec-tools suffer from upstream code regression. Fix not
  included.

Status in kexec-tools package in Ubuntu:
  Fix Released
Status in kexec-tools source package in Trusty:
  Fix Committed

Bug description:
  [Impact]

   * kdump doesn't work on non-efi systems
   * a kernel dump can't be generated

  [Test Case]

   * install kdump-tools
   * configure kdump-tools (/etc/default/kdump-tools)
   * try to start kdump-tools service (kdump-config start)
   * while executing kexec, you will get:
     "efi memory descriptor version 0 is not supported!"

  [Regression Potential]

   * in theory it could brake kdump for efi systems
   * in practice, its based on upstream regression fix (not included in Trusty)
   * it has also been tested in 3 different setups and it worked

  [Other Info]

  Based on upstream code commit explanation:

  """
  On non-EFI systems, efi_info section of boot_params is zero filled resulting
  in an erroneous message from kexec regarding "efi memory descriptor" version.

  Caused by commit: e1ffc9e9a0769e1f54185003102e9bec428b84e8 "Passing efi related
  data via setup_data"

  # od -j 448 -N 32 -v -x /sys/kernel/boot_params/data
  0000700 0000 0000 0000 0000 0000 0000 0000 0000
  0000720 0000 0000 0000 0000 0000 0000 0000 0000
  0000740

  # kexec -l --reuse-cmdline --initrd=/boot/initrd-`uname -r` /boot/vmlinuz-`uname -r`
  efi memory descriptor version 0 is not supported!
  """

  It was brought to my attention to some of our users are facing this:

  ----
  ## TRUSTY with kernel 4.4.0-83-generic

  # /usr/sbin/kdump-config load
  efi memory descriptor version 0 is not supported!
  * loaded kdump kernel

  /var/log/syslog:

  Jul 18 13:37:06 xxxx kdump-config: /sbin/kexec -p --command-line="BOOT_IMAGE=/boot/vmlinuz-4.4.0-83-generic root=UUID=xxxxxxxx-20e4-4325-ad92-7aef2af0beac ro KDUMP_CMDLINE_APPEND=irqpoll maxcpus=1 nousb irqpoll maxcpus=1 nousb" --initrd=/boot/initrd.img-4.4.0-83-generic /boot/vmlinuz-4.4.0-83-generic
  Jul 18 13:37:06 xxxx kdump-config: loaded kdump kernel
  ----

  Despite the message of kdump being loaded, it doesn't look that it is
  operational. Dump files could be generated using Xenial kdump-tools,
  but not Trusty's.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kexec-tools/+bug/1705054/+subscriptions



More information about the Ubuntu-sponsors mailing list