Gerardo Exequiel Pozzi
2013-Feb-02 00:18 UTC
[syslinux] 5.01 problems with gpxelinux.0 (file paths related TFTP and HTTP)
Hello again, * TFTP and DHCP started using: dnsmasq --port=0 \ --no-daemon \ --enable-tftp \ --tftp-root=/run/archiso/bootmnt \ --dhcp-range=192.168.0.2,192.168.0.254,86400 \ --dhcp-boot=/arch/boot/syslinux/gpxelinux.0 \ --dhcp-option-force=209,boot/syslinux/archiso.cfg \ --dhcp-option-force=210,/arch * and for DHCP+HTTP started with: dnsmasq --port=0 \ --no-daemon \ --dhcp-range=192.168.0.2,192.168.0.254,86400 \ --dhcp-boot=http://192.168.0.218/arch/boot/syslinux/gpxelinux.0 \ --dhcp-option-force=209,boot/syslinux/archiso.cfg \ --dhcp-option-force=210,http://192.168.0.218/arch/ * Things described here, works fine with 4.06: (As you can see there are no errors at all) ** for TFTP only: dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/gpxelinux.0 to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/whichsys.c32 to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_pxe_choose.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/ifcpu64.c32 to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_pxe_32_inc.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_head.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_pxe32.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_tail.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/vesamenu.c32 to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_pxe_32_inc.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_head.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_pxe32.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/archiso_tail.cfg to 192.168.0.90 dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/splash.png to 192.168.0.90 ** for HTTP only: 1359744168 192.168.0.90 "GET /arch/boot/syslinux/gpxelinux.0" 200 89661 "" "iPXE/1.0.0+" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/archiso.cfg" 200 436 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/whichsys.c32" 200 3188 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/archiso_pxe_choose.cfg" 200 434 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/ifcpu64.c32" 200 1540 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/archiso_pxe_32_inc.cfg" 200 345 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/archiso_head.cfg" 200 1036 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/archiso_pxe32.cfg" 200 1230 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/archiso_tail.cfg" 200 844 "" "gPXE/1.0.0" 1359744168 192.168.0.90 "GET /arch/boot/syslinux/vesamenu.c32" 200 154358 "" "gPXE/1.0.0" 1359744169 192.168.0.90 "GET /arch/boot/syslinux/archiso_pxe_32_inc.cfg" 200 345 "" "gPXE/1.0.0" 1359744169 192.168.0.90 "GET /arch/boot/syslinux/archiso_head.cfg" 200 1036 "" "gPXE/1.0.0" 1359744169 192.168.0.90 "GET /arch/boot/syslinux/archiso_pxe32.cfg" 200 1230 "" "gPXE/1.0.0" 1359744169 192.168.0.90 "GET /arch/boot/syslinux/archiso_tail.cfg" 200 844 "" "gPXE/1.0.0" 1359744169 192.168.0.90 "GET /arch/boot/syslinux/splash.png" 200 45614 "" "gPXE/1.0.0" * But when using 5.01, bad things happends ending in: No DEFAULT or UI configuration directive found! ** for TFTP only: dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/gpxelinux.0 to 192.168.0.90 dnsmasq-tftp: file /run/archiso/bootmnt/arch/ldlinux.c32 not found dnsmasq-tftp: file /run/archiso/bootmnt/arch//ldlinux.c32 not found dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/isolinux/ldlinux.c32 not found dnsmasq-tftp: file /run/archiso/bootmnt/arch//isolinux/ldlinux.c32 not found dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/syslinuxldlinux.c32 not found dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/syslinuxldlinux.c32 not found dnsmasq-tftp: sent /run/archiso/bootmnt/arch//boot/syslinux/ldlinux.c32 to 192.168.0.90 dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/syslinuxboot/syslinux/archiso.cfg not found dnsmasq-tftp: error 0 No error, file close received from 192.168.0.90 dnsmasq-tftp: failed sending /run/archiso/bootmnt/arch//boot/syslinux/ldlinux.c32 to 192.168.0.90 ** for HTTP only: 1359743832 192.168.0.90 "GET /arch/boot/syslinux/gpxelinux.0" 200 102146 "" "iPXE/1.0.0+" 1359743833 192.168.0.90 "GET /arch/ldlinux.c32" 404 383 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//ldlinux.c32" 404 384 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//boot/isolinux/ldlinux.c32" 404 398 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//isolinux/ldlinux.c32" 404 393 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//boot/syslinuxldlinux.c32" 404 397 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//boot/syslinux/ldlinux.c32" 200 114610 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//boot/syslinuxhttp/ldlinux.c32" 404 402 "" "gPXE/1.0.0" 1359743833 192.168.0.90 "GET /arch//boot/syslinux//192.168.0.218/arch//boot/syslinux/ldlinux.c32" 404 433 "" "gPXE/1.0.0" * Relevant cfg looks like this: # cat /run/archiso/bootmnt/arch/boot/syslinux/archiso.cfg DEFAULT select LABEL select COM32 boot/syslinux/whichsys.c32 APPEND -pxe- pxe -sys- sys -iso- sys LABEL pxe CONFIG boot/syslinux/archiso_pxe_choose.cfg LABEL sys CONFIG boot/syslinux/archiso_sys_choose.cfg # cat /run/archiso/bootmnt/arch/boot/syslinux/archiso_pxe_choose.cfg DEFAULT choose LABEL choose COM32 boot/syslinux/ifcpu64.c32 APPEND have64 -- nohave64 LABEL have64 CONFIG boot/syslinux/archiso_pxe_both_inc.cfg LABEL nohave64 CONFIG boot/syslinux/archiso_pxe_32_inc.cfg If you need more info/tests please let me know. Thanks. -- Gerardo Exequiel Pozzi \cos^2\alpha + \sin^2\alpha = 1 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 555 bytes Desc: OpenPGP digital signature URL: <http://www.zytor.com/pipermail/syslinux/attachments/20130201/7beb9c65/attachment.sig>
Matt Fleming
2013-Feb-07 12:21 UTC
[syslinux] 5.01 problems with gpxelinux.0 (file paths related TFTP and HTTP)
On Fri, 2013-02-01 at 21:18 -0300, Gerardo Exequiel Pozzi wrote:> * But when using 5.01, bad things happends ending in: > No DEFAULT or UI configuration directive found! > > ** for TFTP only: > > dnsmasq-tftp: sent /run/archiso/bootmnt/arch/boot/syslinux/gpxelinux.0 > to 192.168.0.90 > dnsmasq-tftp: file /run/archiso/bootmnt/arch/ldlinux.c32 not found > dnsmasq-tftp: file /run/archiso/bootmnt/arch//ldlinux.c32 not found > dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/isolinux/ldlinux.c32 > not found > dnsmasq-tftp: file /run/archiso/bootmnt/arch//isolinux/ldlinux.c32 not found > dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/syslinuxldlinux.c32 > not found > dnsmasq-tftp: file /run/archiso/bootmnt/arch//boot/syslinuxldlinux.c32 > not found > dnsmasq-tftp: sent /run/archiso/bootmnt/arch//boot/syslinux/ldlinux.c32 > to 192.168.0.90 > dnsmasq-tftp: file > /run/archiso/bootmnt/arch//boot/syslinuxboot/syslinux/archiso.cfg not found > dnsmasq-tftp: error 0 No error, file close received from 192.168.0.90Looks like the 209 DHCP option isn't working properly - the path used to lookup archiso.cfg is garbled. Thanks for the report, I'll look into it. -- Matt Fleming, Intel Open Source Technology Center
Maybe Matching Threads
- [5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
- [5.xx-6.01] broken PXE with HTTP
- [5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
- [5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
- [5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http