The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iPXE EFI - no network after the DHCP sequence
2016-09-12, 17:21
Post: #1
iPXE EFI - no network after the DHCP sequence

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 --
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 ("]
[RXE: 2 x "Operation not supported ("]
DHCP 0xa7e02308 entering discovery state
Configuring (net0 08:00:38:b0:90:ad)...DHCP 0xa7e02308 DHCPDISCOVER
DHCP 0xa7e02308 DHCPOFFER from for
..DHCP 0xa7e02308 entering request state
DHCP 0xa7e02308 DHCPREQUEST to for
DHCP 0xa7e02308 DHCPACK from for
net0: gw
Next server:
Filename: Operation canceled (

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 ("]
[RXE: 56 x "Network unreachable ("]
[RXE: 25 x "Operation not supported ("]
[RXE: 56 x "Invalid argument ("]
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 (]
iPXE> ping
0 bytes from <none>: seq=1: Connection timed out (
0 bytes from <none>: seq=2: Connection timed out (
0 bytes from <none>: seq=3: Connection timed out (
Finished: Operation canceled (

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.

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
iPXE EFI - no network after the DHCP sequence - cbn38 - 2016-09-12 17:21

User(s) browsing this thread: 1 Guest(s)