<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11386</bug_id>
          
          <creation_ts>2017-04-19 18:47:36 +0000</creation_ts>
          <short_desc>kexec-tools doesn&apos;t work with poky-tiny</short_desc>
          <delta_ts>2020-06-25 08:15:29 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alejandro.hernandez</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72668</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-04-19 18:47:36 +0000</bug_when>
    <thetext>When try to use kexec-tools with poky-tiny this don&apos;t work showing:

root@qemux86:~# kexec -l /boot/bzImage --reuse-cmdline
Could not find a free area of memory of 0x8000 bytes...
locate_hole failed

For enable kexec-tools the linux-yocto-tiny recipe needs to enable via a file cfg or fragment, kernel option CONFIG_KEXEC=y.

Here the local.conf settings:

MACHINE ??= &quot;qemux86&quot;
CORE_IMAGE_EXTRA_INSTALL = &quot;kernel-image kexec-tools&quot;
DISTRO = &quot;poky-tiny&quot;

After some research seems to be related to kernel configuration to increase the default memory values. [1][2][3]

[1] https://www.novell.com/support/kb/doc.php?id=7014586
[2] http://www.linuxquestions.org/questions/linux-software-2/kexec-kdump-problems-611634/
[3] http://lists.infradead.org/pipermail/kexec/2010-July/004234.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73386</commentid>
    <comment_count>1</comment_count>
    <who name="Alejandro Hernandez">alejandro.hernandez</who>
    <bug_when>2017-05-19 17:51:21 +0000</bug_when>
    <thetext>Hey Anibal,

Is this working on poky?, because at first sight we dont set CONFIG_KEXEC anywhere for poky either.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73446</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-05-23 15:19:27 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Hey Anibal,
&gt; 
&gt; Is this working on poky?, because at first sight we dont set CONFIG_KEXEC
&gt; anywhere for poky either.

Yes, it works using poky and as you mention there is a need to enable CONFIG_KEXEC into the kernel in a separate step.

Anibal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87592</commentid>
    <comment_count>3</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2020-06-25 08:15:29 +0000</bug_when>
    <thetext>Kexec is not a tiny use case. tiny is missing features and it doesn&apos;t make sense to deal with the problem.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>