[syslinux] Problem with PXE/UEFI

Steininger, Herbert herbert_steininger at psych.mpg.de
Thu Feb 27 02:18:21 PST 2020


Hi Guys,

i have a problem with PXE/UEFI Boot.
Legacy PXE Boot is working fine.

I use Dnsmasq with integrated tftp.

As Mentioned above, legacy pxe boot is working fine, tcpdump shows:
--- start tcpdump legacy pxe boot ---
13:44:16.589197 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 548
13:44:20.543910 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 548
13:44:20.570008 ARP, Request who-has dhcp.localdomain tell 172.22.135.15, length 46
13:44:20.570024 ARP, Reply dhcp.localdomain is-at a4:ba:db:4d:04:88 (oui Unknown), length 28
13:44:20.570247 IP 172.22.135.15.4011 > dhcp.localdomain.4011: UDP, length 548
13:44:20.570418 IP dhcp.localdomain.4011 > 172.22.135.15.4011: UDP, length 300
13:44:21.587678 IP 172.22.135.15.2070 > dhcp.localdomain.tftp:  27 RRQ "pxelinux.0" octet tsize 0
13:44:21.587846 IP dhcp.localdomain.54846 > 172.22.135.15.2070: UDP, length 14
13:44:21.588028 IP 172.22.135.15.2070 > dhcp.localdomain.54846: UDP, length 17
13:44:21.588138 IP 172.22.135.15.2071 > dhcp.localdomain.tftp:  32 RRQ "pxelinux.0" octet blksize 1456
13:44:21.588198 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 15
13:44:21.588381 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.588419 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.588907 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.589058 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.589603 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.589736 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.590232 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.590363 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.590771 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.590907 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.591279 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.591462 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.591843 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.591949 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.592384 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.592488 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.592894 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.592943 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 1460
13:44:21.593301 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.593384 IP dhcp.localdomain.56977 > 172.22.135.15.2071: UDP, length 380
13:44:21.593603 IP 172.22.135.15.2071 > dhcp.localdomain.56977: UDP, length 4
13:44:21.644122 IP 172.22.135.15.57089 > dhcp.localdomain.tftp:  63 RRQ "pxelinux.cfg/01-f8-ca-b8-06-7d-ed" octet tsize 0 blksize 1440
13:44:21.644302 IP dhcp.localdomain.35094 > 172.22.135.15.57089: UDP, length 63
13:44:21.644577 IP 172.22.135.15.57090 > dhcp.localdomain.tftp:  51 RRQ "pxelinux.cfg/AC16870F" octet tsize 0 blksize 1440
13:44:21.644725 IP dhcp.localdomain.59900 > 172.22.135.15.57090: UDP, length 51
13:44:21.645850 IP 172.22.135.15.57091 > dhcp.localdomain.tftp:  50 RRQ "pxelinux.cfg/AC16870" octet tsize 0 blksize 1440
13:44:21.646029 IP dhcp.localdomain.35662 > 172.22.135.15.57091: UDP, length 50
13:44:21.647066 IP 172.22.135.15.57092 > dhcp.localdomain.tftp:  49 RRQ "pxelinux.cfg/AC1687" octet tsize 0 blksize 1440
13:44:21.647200 IP dhcp.localdomain.53454 > 172.22.135.15.57092: UDP, length 49
13:44:21.648270 IP 172.22.135.15.57093 > dhcp.localdomain.tftp:  48 RRQ "pxelinux.cfg/AC168" octet tsize 0 blksize 1440
13:44:21.648448 IP dhcp.localdomain.41834 > 172.22.135.15.57093: UDP, length 48
13:44:21.649514 IP 172.22.135.15.57094 > dhcp.localdomain.tftp:  47 RRQ "pxelinux.cfg/AC16" octet tsize 0 blksize 1440
13:44:21.649691 IP dhcp.localdomain.57279 > 172.22.135.15.57094: UDP, length 47
13:44:21.650775 IP 172.22.135.15.57095 > dhcp.localdomain.tftp:  46 RRQ "pxelinux.cfg/AC1" octet tsize 0 blksize 1440
13:44:21.650922 IP dhcp.localdomain.44935 > 172.22.135.15.57095: UDP, length 46
13:44:21.651953 IP 172.22.135.15.57096 > dhcp.localdomain.tftp:  45 RRQ "pxelinux.cfg/AC" octet tsize 0 blksize 1440
13:44:21.652148 IP dhcp.localdomain.51482 > 172.22.135.15.57096: UDP, length 45
13:44:21.653288 IP 172.22.135.15.57097 > dhcp.localdomain.tftp:  44 RRQ "pxelinux.cfg/A" octet tsize 0 blksize 1440
13:44:21.653476 IP dhcp.localdomain.55688 > 172.22.135.15.57097: UDP, length 44
13:44:21.654522 IP 172.22.135.15.57098 > dhcp.localdomain.tftp:  50 RRQ "pxelinux.cfg/default" octet tsize 0 blksize 1440
13:44:21.654647 IP dhcp.localdomain.45359 > 172.22.135.15.57098: UDP, length 26
13:44:21.654778 IP 172.22.135.15.57098 > dhcp.localdomain.45359: UDP, length 4
13:44:21.654837 IP dhcp.localdomain.45359 > 172.22.135.15.57098: UDP, length 1444
13:44:21.655210 IP 172.22.135.15.57098 > dhcp.localdomain.45359: UDP, length 4
13:44:21.655302 IP dhcp.localdomain.45359 > 172.22.135.15.57098: UDP, length 143
13:44:21.655540 IP 172.22.135.15.57098 > dhcp.localdomain.45359: UDP, length 4
13:44:21.655556 IP 172.22.135.15.57099 > dhcp.localdomain.tftp:  38 RRQ "menu.c32" octet tsize 0 blksize 1440
13:44:21.655688 IP dhcp.localdomain.51628 > 172.22.135.15.57099: UDP, length 28
13:44:21.655874 IP 172.22.135.15.57099 > dhcp.localdomain.51628: UDP, length 4
13:44:21.655910 IP dhcp.localdomain.51628 > 172.22.135.15.57099: UDP, length 1444
13:44:21.656396 IP 172.22.135.15.57099 > dhcp.localdomain.51628: UDP, length 4
13:44:21.656479 IP dhcp.localdomain.51628 > 172.22.135.15.57099: UDP, length 1444
-- removed duplicate lines ---
13:44:21.698659 IP 172.22.135.15.57099 > dhcp.localdomain.51628: UDP, length 4
13:44:21.698780 IP dhcp.localdomain.51628 > 172.22.135.15.57099: UDP, length 1444
13:44:21.699187 IP 172.22.135.15.57099 > dhcp.localdomain.51628: UDP, length 4
13:44:21.699279 IP dhcp.localdomain.51628 > 172.22.135.15.57099: UDP, length 592
13:44:21.699525 IP 172.22.135.15.57099 > dhcp.localdomain.51628: UDP, length 4
13:44:21.789666 IP 172.22.135.15.57100 > dhcp.localdomain.tftp:  50 RRQ "pxelinux.cfg/default" octet tsize 0 blksize 1440
13:44:21.789834 IP dhcp.localdomain.47066 > 172.22.135.15.57100: UDP, length 26
13:44:21.790088 IP 172.22.135.15.57100 > dhcp.localdomain.47066: UDP, length 4
13:44:21.790210 IP dhcp.localdomain.47066 > 172.22.135.15.57100: UDP, length 1444
13:44:21.790615 IP 172.22.135.15.57100 > dhcp.localdomain.47066: UDP, length 4
13:44:21.790683 IP dhcp.localdomain.47066 > 172.22.135.15.57100: UDP, length 143
13:44:21.790904 IP 172.22.135.15.57100 > dhcp.localdomain.47066: UDP, length 4
13:44:25.583565 ARP, Request who-has 172.22.135.15 tell dhcp.localdomain, length 28
13:44:26.583500 ARP, Request who-has 172.22.135.15 tell dhcp.localdomain, length 28
13:44:27.583500 ARP, Request who-has 172.22.135.15 tell dhcp.localdomain, length 28
--- end tcpdump legacy pxe boot ---

But UEFI PXE Boot shows only

--- start tcpdump uefi pxe boot ---
13:43:01.140936 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 347
13:43:04.417984 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 359
--- stot tcpdump uefi pxe boot ---

As you can see, nothing happens, no ARP or anything else.
But it will show up in dnsmasq-log while trying UEFI PXE Boot:

--- start dnsmasq-dhcp-uefi-boot ---
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 available DHCP range: 172.22.132.2 -- 172.22.137.254
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 available DHCP range: 172.22.21.2 -- 172.22.23.254
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 vendor class: PXEClient:Arch:00007:UNDI:003016
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 DHCPDISCOVER(eth0) d4:81:d7:76:39:f2
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 tags: science, known, efi64, eth0
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 DHCPOFFER(eth0) 172.22.21.179 d4:81:d7:76:39:f2
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 15:domain-name, 17:root-path, 18:extension-path,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 22:max-datagram-reassembly, 23:default-ttl,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 51:lease-time, 54:server-identifier, 58:T1,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 97:client-machine-id, 128, 129, 130, 131,
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 132, 133, 134, 135
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 next server: 172.22.20.1
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 broadcast response
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  1 option: 53 message-type  2
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 54 server-identifier  172.22.20.1
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 51 lease-time  12h
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 58 T1  6h
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 59 T2  10h30m
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 66 tftp-server  172.22.20.1
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 67 bootfile-name  bootx64.efi
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option:  1 netmask  255.255.0.0
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 28 broadcast  172.22.255.255
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 15 domain-name  localdomain
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  6 option: 12 hostname  PCQ179
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 41 nis-server  172.22.7.50
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 40 nis-domain  nis.localdomain
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  8 option:  6 dns-server  172.23.7.111, 172.23.7.112
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option:  3 router  172.22.7.21
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  8 option: 42 ntp-server  172.23.7.1, 172.23.7.6
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:50:00:10:30:80:36:b8:c0:4f...
Feb 27 10:52:44 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 10 option: 43 vendor-encap  06:01:08:0a:04:00:50:58:45:ff
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 available DHCP range: 172.22.132.2 -- 172.22.137.254
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 available DHCP range: 172.22.21.2 -- 172.22.23.254
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 vendor class: PXEClient:Arch:00007:UNDI:003016
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 DHCPREQUEST(eth0) 172.22.21.179 d4:81:d7:76:39:f2
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 tags: science, known, efi64, eth0
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 DHCPACK(eth0) 172.22.21.179 d4:81:d7:76:39:f2 PCQ179
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 6:dns-server, 12:hostname, 13:boot-file-size,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 15:domain-name, 17:root-path, 18:extension-path,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 22:max-datagram-reassembly, 23:default-ttl,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 28:broadcast, 40:nis-domain, 41:nis-server,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 51:lease-time, 54:server-identifier, 58:T1,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 97:client-machine-id, 128, 129, 130, 131,
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 requested options: 132, 133, 134, 135
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 next server: 172.22.20.1
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 broadcast response
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  1 option: 53 message-type  5
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 54 server-identifier  172.22.20.1
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 51 lease-time  12h
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 58 T1  6h
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 59 T2  10h30m
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 66 tftp-server  172.22.20.1
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 67 bootfile-name  bootx64.efi
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option:  1 netmask  255.255.0.0
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 28 broadcast  172.22.255.255
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 15 domain-name  localdomain
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  6 option: 12 hostname  PCQ179
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option: 41 nis-server  172.22.7.50
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 12 option: 40 nis-domain  nis.localdomain
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  8 option:  6 dns-server  172.23.7.111, 172.23.7.112
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  4 option:  3 router  172.22.7.21
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  8 option: 42 ntp-server  172.23.7.1, 172.23.7.6
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size:  9 option: 60 vendor-class  50:58:45:43:6c:69:65:6e:74
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 17 option: 97 client-machine-id  00:44:45:4c:4c:50:00:10:30:80:36:b8:c0:4f...
Feb 27 10:52:48 dhcpd.localdomain dnsmasq-dhcp[19542]: 3645383917 sent size: 10 option: 43 vendor-encap  06:01:08:0a:04:00:50:58:45:ff
--- stop dnsmasq-dhcp-uefi-boot ---

It seems to me that the UEFI PXE doesn't even ask for the bootfile.
I have only Dell-Systems to test, the boot will go so fast that I can't see any error messages during the boot process.

Does someone have a clue what is going and shed some light on me?

Thanks in Advance,
Herbert


---
Herbert Steininger
Leiter EDV & HPC
Administrator
Max-Planck-Institut für Psychiatrie
Kraepelinstr.  2-10
80804 München          
Tel      +49 (0)89 / 30622-368
Mail   herbert_steininger at psych.mpg.de
Web  http://www.psych.mpg.de





More information about the Syslinux mailing list