[Bug 1670696] Re: Typo in error msg when no crashkernel memory reservation is set

Eric Desrochers eric.desrochers at canonical.com
Mon May 8 20:39:45 UTC 2017


** Changed in: makedumpfile (Ubuntu)
     Assignee: Eric Desrochers (slashd) => (unassigned)

** Changed in: makedumpfile (Ubuntu Xenial)
     Assignee: Eric Desrochers (slashd) => (unassigned)

** Changed in: makedumpfile (Ubuntu Zesty)
     Assignee: Eric Desrochers (slashd) => (unassigned)

-- 
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/1670696

Title:
  Typo in error msg when no crashkernel memory reservation is set

Status in makedumpfile package in Ubuntu:
  In Progress
Status in makedumpfile source package in Xenial:
  Won't Fix
Status in makedumpfile source package in Zesty:
  In Progress
Status in makedumpfile package in Debian:
  New

Bug description:
  [Impact]

   * There is a typo in ERRMSG of function show_mem_usage affecting
  Xenial/Zesty, Debian and makedumpfile upstream.

  This should be :
  "show_mem_usage: No memory is reserved for crashkernel!"

  instead of :
  "show_mem_usage: No memory is reserved for crashkenrel!"

  The typo is located here in src code :

  # filename : makedumpfile.c
  -
          int show_mem_usage(void)
           {
           uint64_t vmcoreinfo_addr, vmcoreinfo_len;
           struct cycle cycle = {0};

           if (!is_crashkernel_mem_reserved()) {
                 ==>  ERRMSG("No memory is reserved for crashkenrel!\n");
                   return FALSE;
           }
  -

  [Test Case]

   * Take a system with no crashkernel memory reservation set
   * run command : makedumpfile --mem-usage /proc/kcore

   * Error message :
  show_mem_usage: No memory is reserved for crashkenrel!

  [Regression Potential]

   * No regression, it is a trivial change with no behavioural change.

  [Other Info]

  * Upstream:
  Patch has been submitted upstream (ML :kexec at lists.infradead.org) 
  - AFAIK, there is no upstream bug database, so no URL available, ML only.
  - Patch will be merge in upstream version 1.6.2 # See comment #4

  * Debian bug :
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857051

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/makedumpfile/+bug/1670696/+subscriptions



More information about the Ubuntu-sponsors mailing list