Bug 10646

Summary: syslinux : PXE booting hangs forever
Product: Mageia Reporter: Denis Chupau <d.chupau>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: AmandaOralie812, ennael1, ovilewade9, rim33377, thanos17997, thierry.vignaud
Version: 3   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: syslinux-4.04-5.mga3 CVE:
Status comment:

Description Denis Chupau 2013-06-29 00:51:16 CEST
Description of problem:
Using pxelinux.0 and vesamenu.c32 for booting some network client via PXE does not work : it hangs displaying
TFTP prefix: /
Trying to load: pxelinux.cfg/default                      ok


Here is a simple "default" file that used to work :
(this "default" file is taken from syslinux's wiki)
======================================
default bin/vesamenu.c32

prompt 0
menu title My Distro Installer

timeout 600
f1 help.txt
f2 version.txt

label bls
  menu label Normal install
  menu default
  kernel vmlinuz
  append initrd=cpio.gz rdinit=/init

label bad
  menu label Bad hardware install
  kernel vmlinuz
  append initrd=cpio2.gz badhardware rdinit=/init

MENU WIDTH 80
MENU MARGIN 10
MENU ROWS 12
MENU TABMSGROW 18
MENU CMDLINEROW 12
MENU ENDROW 24
MENU TIMEOUTROW 20
======================================

The menu correctly shows on PXE clients using "pxelinux.0" and "vesamenu.c32" from syslinux-3.82-2mdv2010.0 (MDV2010.0 RPM).


But using "pxelinux.0" and "vesamenu.c32" from syslinux-4.04-5.mga3, no menu shows up : it just hangs as stated above.

Here is what I can tell for sure :
1- tftpd shows that the clients are asking AND downloading pxelinux.cfg/default (hence the "ok" at the end of the line on the client's screen)
2- on the client, the "default" file is read,
3- the vesamenu.c32 gets requested AND downloaded by the client
4- then nothing else happens

I know that point 2- is done (the "default" file is read) because if I comment out the line "default bin/vesamenu.c32" then vesamenu.c32 does not get requested nor downloaded and an error is displayed on the client's screen:
No DEFAULT or UI configuration directive found!
boot:


If I change the line "prompt 0" to "prompt 1" then "boot:" gets displayed and I can enter text.


This is happening for pxelinux.0, gpxelinux.0 and gpxelinuxk.0.



Version-Release number of selected component (if applicable):
syslinux-4.04-5.mga3

How reproducible:
always



Steps to Reproduce:
1. set up a server with PXE capabilities (dhcp with options :next-server ip.ip.ip.ip; filename "/pxelinux.0";) and tftpd

2. install syslinux-4.04-5.mga3

3. cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/pxelinux.0
cp /usr/lib/syslinux/vesamenu.c32 /var/lib/tftpboot/bin/

4. then try to boot a PXE client

5. the client hangs just after downloading vesamenu.c32 stating :
TFTP prefix: /
Trying to load: pxelinux.cfg/default                      ok



I know there have been some changes to syslinux but I couldn't find a bug report or anything about problems with vesamenu.c32 in syslinux 4.04.

syslinux 4.04 was released 2011-04-18.
syslinux 4.06 was released 2012-10-23.
syslinux 6.00 was released 2013-06-20.

I couldn't build it myself (build errors).
Maybe someone can give it a try ?


Regards,
Daggett

Reproducible: 

Steps to Reproduce:
Denis Chupau 2013-06-29 00:51:55 CEST

Summary: PXE booting hangs forever => syslinux : PXE booting hangs forever

Manuel Hiebel 2013-06-29 15:04:11 CEST

CC: (none) => ennael1, thierry.vignaud

Comment 1 Levchenko Roman 2013-09-27 00:50:05 CEST
I solved this problem by using syslinux-6.01.
Unpack syslinux-6.01.zip in some directory, read */readme about nasm, */doc/building.txt. 
I did âmake bios installerâ, no errors.
Then just âmake biosâ, no errors while process too.
From */bios directory (and subdirectories, just use âsearchâ), take the pxelinux.0, vesamenu.c32, menu.c32, memdisk, libutil.c32, libcom32.c32, ldlinux.c32, and place all those files, where your  pxelinux.0 must be.
Now all menus, works correctly.

CC: (none) => rim33377

Comment 2 Denis Chupau 2013-10-10 23:38:01 CEST
ok, thank you very muche for testin this !


Now can anyone update Syslinux to v6.01, please ?


Bye for now,
Daggett
Comment 3 Anne Nicolas 2013-10-10 23:40:06 CEST
Update is in progress. Please be patient
Comment 4 Denis Chupau 2013-10-10 23:43:10 CEST
ok, thanks ! :)

(sorry for the typos above)

Dag
Comment 5 Marja Van Waes 2015-03-31 16:06:45 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

Resolution: (none) => OLD
Status: NEW => RESOLVED

play game 2019-03-28 07:02:47 CET

CC: (none) => thanos17997

Comment 7 jack wisdon 2020-06-06 18:35:14 CEST Comment hidden (spam)

CC: (none) => ovilewade9

Comment 8 oralie orajkas 2023-01-10 08:37:13 CET Comment hidden (spam)

CC: (none) => AmandaOralie812