[Bug 1577554] [NEW] pxelinux.0 - Failed to load ldlinux.c32

dreamcat4 1577554 at bugs.launchpad.net
Mon May 2 20:11:39 UTC 2016


Public bug reported:

Hi there,

This is an independantly confirmed upstream bug, which occurs in version
6.0.3 of syslinux / plxelinux upsteram sources. The fix has already been
committed to upstream, and can be found here:

http://www.syslinux.org/archives/2015-September/024305.html

If you read back the above thread, it explains pretty much everything
about the bug in question. I myself encountered this bug today, whilst
using the current official ubuntu syslinux pkg. Which is to say this
one:

https://launchpad.net/ubuntu/+source/syslinux/3:6.03+dfsg-8ubuntu2

While being on ubuntu 15.10 wily.

Now xenial says:

https://launchpad.net/ubuntu/+source/syslinux/3:6.03+dfsg-11ubuntu1

Which is like minor patch revisions but still based on same 6.03 release
upstream srcs? And hence the bug probably still exists in xenial. So you
will probably need to either increment the upstream release version in
your pkg to include the fix commit. Or else local manual patch onto
buggy 6.0.3 release.

Many thanks.

====
To reproduce Error condition (it is the same as in the mailinglist thread):

* Install pxelinux pkg from official ubuntu.
* Copy pxelinux.0 + ldlinux.c32 --> pxe / tftp http web root
* Make a Net Boot entry for pxelinux.0 in ipxe.

As described here: http://jpmens.net/2011/07/18/network-booting-
machines-over-http/

#!ipxe
imgfree
set 210:string http://10.0.12.249/pxe/
set 209:string http://10.0.12.249/pxelinux.php?MAC=${net0/mac}&ip=${ip}
set filename ${210:string}pxelinux.0
chain ${filename} ||
echo Netboot failed
shell

* pxe boot (network boot) in a virtualbox vm on same local lan (using bridged network adapter) --> ipxe
* have ipxe load with the above #!ipxe config file to in turn boot --> into pxelinux.0 (from ubuntu 6.0.3 syslinux pkg)
* pxelinux fails to use http etc. Due to a mis-commit (developer testing hack not put back) in their 6.0.3 code base.

Error msg:

Failed to load ldlinux.c32
(execution stops)

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


** Tags: ipxe pxelinux syslinux

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to syslinux in Ubuntu.
https://bugs.launchpad.net/bugs/1577554

Title:
  pxelinux.0 - Failed to load ldlinux.c32

Status in syslinux package in Ubuntu:
  New

Bug description:
  Hi there,

  This is an independantly confirmed upstream bug, which occurs in
  version 6.0.3 of syslinux / plxelinux upsteram sources. The fix has
  already been committed to upstream, and can be found here:

  http://www.syslinux.org/archives/2015-September/024305.html

  If you read back the above thread, it explains pretty much everything
  about the bug in question. I myself encountered this bug today, whilst
  using the current official ubuntu syslinux pkg. Which is to say this
  one:

  https://launchpad.net/ubuntu/+source/syslinux/3:6.03+dfsg-8ubuntu2

  While being on ubuntu 15.10 wily.

  Now xenial says:

  https://launchpad.net/ubuntu/+source/syslinux/3:6.03+dfsg-11ubuntu1

  Which is like minor patch revisions but still based on same 6.03
  release upstream srcs? And hence the bug probably still exists in
  xenial. So you will probably need to either increment the upstream
  release version in your pkg to include the fix commit. Or else local
  manual patch onto buggy 6.0.3 release.

  Many thanks.

  ====
  To reproduce Error condition (it is the same as in the mailinglist thread):

  * Install pxelinux pkg from official ubuntu.
  * Copy pxelinux.0 + ldlinux.c32 --> pxe / tftp http web root
  * Make a Net Boot entry for pxelinux.0 in ipxe.

  As described here: http://jpmens.net/2011/07/18/network-booting-
  machines-over-http/

  #!ipxe
  imgfree
  set 210:string http://10.0.12.249/pxe/
  set 209:string http://10.0.12.249/pxelinux.php?MAC=${net0/mac}&ip=${ip}
  set filename ${210:string}pxelinux.0
  chain ${filename} ||
  echo Netboot failed
  shell

  * pxe boot (network boot) in a virtualbox vm on same local lan (using bridged network adapter) --> ipxe
  * have ipxe load with the above #!ipxe config file to in turn boot --> into pxelinux.0 (from ubuntu 6.0.3 syslinux pkg)
  * pxelinux fails to use http etc. Due to a mis-commit (developer testing hack not put back) in their 6.0.3 code base.

  Error msg:

  Failed to load ldlinux.c32
  (execution stops)

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



More information about the foundations-bugs mailing list