2016-09-12, 17:21
Hi,
we are experiencing multiple issues while booting with iPXE for UEFI.
We have compiled it as "snp.efi" (app) and "snp.efidrv" (driver).
While booting with iPXE included as an EFI driver in our firmware, the Intel NIC is seen, then the DHCP sequence is done and the client receives its IP parameters. However, it fails to continue (HTTP download timeout). At this step, we noticed that the client and the server cannot ping themselves (whereas the DHCPACK has been received by the client), and the client emits lots of ARP WHO-HAS to know the MAC address of the server.
Here are the corresponding traces:
iPXE 1.0.0+ (827dd) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP TFTP EFI Menu
net0: 08:00:38:b0:90:ad using NII on NII-0000:02:00.0 (open)
[Link:up, TX:0 TXE:0 RX:2993 RXE:6]
[RXE: 4 x "Network unreachable (http://ipxe.org/28056090)"]
[RXE: 2 x "Operation not supported (http://ipxe.org/3c086083)"]
DHCP 0xa7e02308 entering discovery state
Configuring (net0 08:00:38:b0:90:ad)...DHCP 0xa7e02308 DHCPDISCOVER
.DHCP 0xa7e02308 DHCPDISCOVER
DHCP 0xa7e02308 DHCPOFFER from 10.0.0.10:67 for 10.0.30.103
..DHCP 0xa7e02308 entering request state
DHCP 0xa7e02308 DHCPREQUEST to 10.0.0.10:67 for 10.0.30.103
DHCP 0xa7e02308 DHCPACK from 10.0.0.10:67 for 10.0.30.103
ok
net0: 10.0.30.103/255.255.0.0 gw 10.0.255.254
Next server: 10.0.0.10
Filename: http://10.0.0.10/tftpboot/boot.ipxe
http://10.0.0.10/tftpboot/boot.ipxe....... Operation canceled (http://ipxe.org/0b072095)
iPXE> ifstat
net0: 08:00:38:b0:90:ad using NII on NII-0000:02:00.0 (open)
[Link:up, TX:7 TXE:4 RX:4992 RXE:137]
[TXE: 4 x "Error 0x2a376089 (http://ipxe.org/2a376089)"]
[RXE: 56 x "Network unreachable (http://ipxe.org/28056090)"]
[RXE: 25 x "Operation not supported (http://ipxe.org/3c086083)"]
[RXE: 56 x "Invalid argument (http://ipxe.org/1c056082)"]
net1: 00:a0:c9:00:00:01 using NII on NII-0000:02:00.1 (closed)
[Link:down, TX:0 TXE:0 RX:0 RXE:0]
[Link status: Unknown (http://ipxe.org/1a086194)]
iPXE> ping 10.0.0.10
0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2092)
0 bytes from <none>: seq=2: Connection timed out (http://ipxe.org/4c1b2092)
0 bytes from <none>: seq=3: Connection timed out (http://ipxe.org/4c1b2092)
Finished: Operation canceled (http://ipxe.org/0b072095)
iPXE>
As you can see, there a few network errors, but this doesn't seem to be the root cause of this issue: that works well with the snp.efi application when it is launched from an EFI shell !
Does someone has an idea about this issue (or what we are doing wrong) ?
We have a second issue which is really less important at this step, because we have a workaround. Even with the snp.efi application, we need to add a 'sleep' of 10 seconds after retrieving the kernel and the initrd to avoid a kernel crash in the first second (while enumerating the cores [smpboot]).
Many thanks for any help. Please let me know if more traces might help.
regards,
--
Christophe
we are experiencing multiple issues while booting with iPXE for UEFI.
We have compiled it as "snp.efi" (app) and "snp.efidrv" (driver).
While booting with iPXE included as an EFI driver in our firmware, the Intel NIC is seen, then the DHCP sequence is done and the client receives its IP parameters. However, it fails to continue (HTTP download timeout). At this step, we noticed that the client and the server cannot ping themselves (whereas the DHCPACK has been received by the client), and the client emits lots of ARP WHO-HAS to know the MAC address of the server.
Here are the corresponding traces:
iPXE 1.0.0+ (827dd) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP TFTP EFI Menu
net0: 08:00:38:b0:90:ad using NII on NII-0000:02:00.0 (open)
[Link:up, TX:0 TXE:0 RX:2993 RXE:6]
[RXE: 4 x "Network unreachable (http://ipxe.org/28056090)"]
[RXE: 2 x "Operation not supported (http://ipxe.org/3c086083)"]
DHCP 0xa7e02308 entering discovery state
Configuring (net0 08:00:38:b0:90:ad)...DHCP 0xa7e02308 DHCPDISCOVER
.DHCP 0xa7e02308 DHCPDISCOVER
DHCP 0xa7e02308 DHCPOFFER from 10.0.0.10:67 for 10.0.30.103
..DHCP 0xa7e02308 entering request state
DHCP 0xa7e02308 DHCPREQUEST to 10.0.0.10:67 for 10.0.30.103
DHCP 0xa7e02308 DHCPACK from 10.0.0.10:67 for 10.0.30.103
ok
net0: 10.0.30.103/255.255.0.0 gw 10.0.255.254
Next server: 10.0.0.10
Filename: http://10.0.0.10/tftpboot/boot.ipxe
http://10.0.0.10/tftpboot/boot.ipxe....... Operation canceled (http://ipxe.org/0b072095)
iPXE> ifstat
net0: 08:00:38:b0:90:ad using NII on NII-0000:02:00.0 (open)
[Link:up, TX:7 TXE:4 RX:4992 RXE:137]
[TXE: 4 x "Error 0x2a376089 (http://ipxe.org/2a376089)"]
[RXE: 56 x "Network unreachable (http://ipxe.org/28056090)"]
[RXE: 25 x "Operation not supported (http://ipxe.org/3c086083)"]
[RXE: 56 x "Invalid argument (http://ipxe.org/1c056082)"]
net1: 00:a0:c9:00:00:01 using NII on NII-0000:02:00.1 (closed)
[Link:down, TX:0 TXE:0 RX:0 RXE:0]
[Link status: Unknown (http://ipxe.org/1a086194)]
iPXE> ping 10.0.0.10
0 bytes from <none>: seq=1: Connection timed out (http://ipxe.org/4c1b2092)
0 bytes from <none>: seq=2: Connection timed out (http://ipxe.org/4c1b2092)
0 bytes from <none>: seq=3: Connection timed out (http://ipxe.org/4c1b2092)
Finished: Operation canceled (http://ipxe.org/0b072095)
iPXE>
As you can see, there a few network errors, but this doesn't seem to be the root cause of this issue: that works well with the snp.efi application when it is launched from an EFI shell !
Does someone has an idea about this issue (or what we are doing wrong) ?
We have a second issue which is really less important at this step, because we have a workaround. Even with the snp.efi application, we need to add a 'sleep' of 10 seconds after retrieving the kernel and the initrd to avoid a kernel crash in the first second (while enumerating the cores [smpboot]).
Many thanks for any help. Please let me know if more traces might help.
regards,
--
Christophe