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

we are experiencing an issue 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 ! Unfortunately, we cannot use the EFI application as a solution since we use iPXE mainly for diskless systems.

Does someone has an idea about this issue (or what we are doing wrong) ?

Many thanks for any help. Please let me know if more traces might help for debugging!


regards,
--
Christophe
Find all posts by this user
Quote this message in a reply
Post Reply 




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