<?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>5501</bug_id>
          
          <creation_ts>2013-11-07 06:25:19 +0000</creation_ts>
          <short_desc>Unable to boot memtest86+ using pxelinux</short_desc>
          <delta_ts>2014-02-23 09:34:41 +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>core</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jonathan Liu">net147</reporter>
          <assigned_to name="Jonathan Liu">net147</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jason.wessel</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>38627</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-11-07 06:25:19 +0000</bug_when>
    <thetext>After syslinux was updated from 4.07 to 6.01, booting memtest86+ using pxelinux now fails:
PXELINUX 6.01 2013-07-04 Copyright (C) 1994-2013 H. Peter Anvin et al
Loading memtest86... ok
Booting kernel failed: invalid argument

A post on the syslinux mailing list indicates it is working again with syslinux 6.02 (I have already verified it works with syslinux 6.02): http://www.syslinux.org/archives/2013-August/020762.html

However, syslinux 6.02 has a known bug which corrupts the superblock when used on BTRFS volumes due to ldlinux.sys exceeding 64000 bytes:
http://www.syslinux.org/wiki/index.php/Syslinux_6_Changelog#Changes_in_6.02
http://www.syslinux.org/archives/2013-October/020956.html

There is also a regression in syslinux 6.02 which broke chainloading and is fixed by: http://git.kernel.org/cgit/boot/syslinux/syslinux.git/commit/?h=firmware&amp;id=4ac63b5ac412d54462e292daf65a309775bc0448

Perhaps syslinux 6.03 can resolve all these issues when it&apos;s released?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38660</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-11-07 16:00:51 +0000</bug_when>
    <thetext>Jonathan, since you seem to have a grasp on the problem, could you own this bug and prepare/test/submit a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38695</commentid>
    <comment_count>2</comment_count>
    <who name="Jason Wessel">jason.wessel</who>
    <bug_when>2013-11-10 13:32:22 +0000</bug_when>
    <thetext>I am also wondering if we can apply just the patch to fix the memtest86 problem and not pick up any other changes.

Can this case be updated to include information on how to reproduce the problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38696</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2013-11-11 00:21:23 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; I am also wondering if we can apply just the patch to fix the memtest86
&gt; problem and not pick up any other changes.

I think there were several patches.

&gt; 
&gt; Can this case be updated to include information on how to reproduce the
&gt; problem?

1. Install dnsmasq and set up DHCP in dnsmasq.conf
2. Add following to dnsmasq.conf to enable TFTP and restart dnsmasq:
dhcp-boot=pxelinux.0
enable-tftp
tftp-root=/var/lib/tftpboot
3. cp tmp/sysroots/poky/usr/share/syslinux/{ldlinux.c32,pxelinux.0} /var/lib/tftpboot
4. mkdir /var/lib/tftpboot/pxelinux.cfg
5. cat &gt; /var/lib/tftpboot/pxelinux.cfg/default &lt;&lt; EOF
ALLOWOPTIONS 1
DEFAULT boot
TIMEOUT 1
PROMPT 0
LABEL boot
LINUX memtestp.bin
EOF
6. wget http://www.memtest.org/download/4.20/memtest86+-4.20.floppy.zip
7. unzip -j memtest86+-4.20.floppy.zip floppy/memtestp.bin
8. mv memtestp.bin /var/lib/tftpboot/memtestp.bin
9. Boot a computer system from PXE. You could use VirtualBox for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40160</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2014-02-02 00:57:45 +0000</bug_when>
    <thetext>1.5.1 milestone has passed. Retargeting to 1.5.2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40611</commentid>
    <comment_count>5</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2014-02-23 09:34:41 +0000</bug_when>
    <thetext>Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=4a8ddd8379527705ec8828c9c8e1c9b29a6a4152</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>