public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* reg: iPxe Boot in NetworkPkg
@ 2021-02-05  8:28 Sivaraman Nainar
  2021-02-05 10:10 ` [edk2-devel] " Michael Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Sivaraman Nainar @ 2021-02-05  8:28 UTC (permalink / raw)
  To: Rabeda, Maciej, devel@edk2.groups.io


[-- Attachment #1.1: Type: text/plain, Size: 425 bytes --]

Hello Maciej:

I met an issue when tried to do the PXE boot with keeping the ipxe.efi as boot file.

When iPXE.efi is set as boot file once it downloaded it again starts, it does the download and start of iPXE continuously and at some point it asserts in MNP Driver.

When it trying to access the context of SNP Context in MNP driver it asserts.

Have we ever validated Ipxe as the Pxt Boot file?

-Siva






[-- Attachment #1.2: Type: text/html, Size: 3245 bytes --]

[-- Attachment #2: DebugLog.txt --]
[-- Type: text/plain, Size: 23409 bytes --]


>>Start PXE over IPv4.
  Station IP address is 10.0.84.120

  Server IP address is 10.0.84.155
  NBP filename is ipxe.efi
  NBP filesize is 988032 Bytes
 Downloading NBP file...

  NBP file downloaded successfully.
BDS.SaveMemoryTypeInformation(8A59FE40)
Unknown.Entry(852193A9)
iPXE initialising devices...Realtek UEFI UNDI Driver.Stop=
SnpDxe.Stop=
MnpDxe.Stop=
ArpDxe.Stop=
UefiPxeBcDxe.Stop=
Success
Success
Ip4Dxe.Stop=
TcpDxe.Stop=
HttpDxe.Stop=
Success
Success
Udp4Dxe.Stop=
Dhcp4Dxe.Stop=
HttpBootDxe.Stop=
Success
Success
Mtftp4Dxe.Stop=
Success
DnsDxe.Stop=
Success
Success
Success
Ip6Dxe.Stop=
TCP Network Service Driver.Stop=
HttpDxe.Stop=
Success
Success
Udp6Dxe.Stop=
Dhcp6Dxe.Stop=
UEFI HTTP Boot Driver.Stop=
Success
UEFI PXE Base Code Driver.Stop=
Success
Success
Mtftp6Dxe.Stop=
Success
DNS Network Service Driver.Stop=
Success
Success
Success
VlanConfigDxe.Stop=
Success
Success

snp->undi.shutdown()  8000h:6h

snp->undi.stop()  8000h:6h
Success
Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)]=Success
MnpDxe.Start(8A251850)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
ArpDxe.Start(8A25DB74)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
VlanConfigDxe.Start(8A0768B0)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Ip4Dxe.Start(8A047F18)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
TcpDxe.Start(8A0B9E60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED0C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Udp4Dxe.Start(8A031910)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Dhcp4Dxe.Start(8A05DB40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
HttpBootDxe.Start(8A093DDC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Mtftp4Dxe.Start(8A03C940)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
UefiPxeBcDxe.Start(8A0A7F60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Ip6Dxe.Start(8A01A0C8)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
TCP Network Service Driver.Start(8A0B9F40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED78)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Udp6Dxe.Start(8A00E874)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Dhcp6Dxe.Start(8A003CBC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
UEFI HTTP Boot Driver.Start(8A09442C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Mtftp6Dxe.Start(89FF8A88)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
UEFI PXE Base Code Driver.Start(8A0A7F84)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
DNS Network Service Driver.Start(8A0690CC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
DnsDxe.Start(8A068E38)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
UefiPxeBcDxe.Stop=
Success
ok



iPXE 1.20.1+ (g485f8) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

Press Ctrl-B for the iPXE command line...                                         net0: 30:9c:23:e8:13:59 using rtl8168 on 0000:01:00.0 (open)
  [Link:down, TX:0 TXE:0 RX:0 RXE:0]
  [Link status: Down (http://ipxe.org/38086193)]
Waiting for link-up on net0.... ok
Configuring (net0 30:9c:23:e8:13:59)...... ok
net0: 10.0.84.120/255.255.248.0 gw 10.0.80.1
net0: fe80::329c:23ff:fee8:1359/64
Next server: 10.0.84.155
Filename: ipxe.efi
tftp://10.0.84.155/ipxe.efi... ok
ipxe.efi : 988032 bytes [EFI]
Unknown.Entry(84F903A9)
iPXE initialising devices...ipxe.efi.Stop=
MnpDxe.Stop=
ArpDxe.Stop=
Success
Ip4Dxe.Stop=
TcpDxe.Stop=
HttpDxe.Stop=
Success
Success
Udp4Dxe.Stop=
Dhcp4Dxe.Stop=
HttpBootDxe.Stop=
Success
Success
Mtftp4Dxe.Stop=
Success
DnsDxe.Stop=
Success
Success
Success
Ip6Dxe.Stop=
TCP Network Service Driver.Stop=
HttpDxe.Stop=
Success
Success
Udp6Dxe.Stop=
Dhcp6Dxe.Stop=
UEFI HTTP Boot Driver.Stop=
Success
UEFI PXE Base Code Driver.Stop=
Success
Success
Mtftp6Dxe.Stop=
Success
DNS Network Service Driver.Stop=
Success
Success
Success
VlanConfigDxe.Stop=
Success
Success
Device Error
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)]=Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)]=Unsupported
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
MnpDxe.Start(8A251850)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
ArpDxe.Start(8A25DB74)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=MnpStart: MnpStartSnp failed, Not Ready.
Not Ready
VlanConfigDxe.Start(8A0768B0)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Ip6Dxe.Start(8A01A0C8)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=MnpStart: MnpStartSnp failed, Not Ready.
Not Ready
ok



iPXE 1.20.1+ (g485f8) -- Open Source Network Boot Firmware -- http://ipxe.org
Features: DNS HTTP iSCSI TFTP SRP AoE EFI Menu

Press Ctrl-B for the iPXE command line...                                         net0: 30:9c:23:e8:13:59 using rtl8168 on 0000:01:00.0 (open)
  [Link:down, TX:0 TXE:0 RX:0 RXE:0]
  [Link status: Down (http://ipxe.org/38086193)]
Waiting for link-up on net0.... ok
Configuring (net0 30:9c:23:e8:13:59)...... ok
net0: 10.0.84.120/255.255.248.0 gw 10.0.80.1
net0: fe80::329c:23ff:fee8:1359/64
Next server: 10.0.84.155
Filename: ipxe.efi
tftp://10.0.84.155/ipxe.efi... ok
ipxe.efi : 988032 bytes [EFI]
Unknown.Entry(84D073A9)
iPXE initialising devices...ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)]=Unsupported
Realtek UEFI UNDI Driver.Start(89F42294)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)]=Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)]=Realtek UEFI UNDI Driver.Stop=
Success
Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Unsupported
DiskIoDxe.Start(8A2AF588)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Invalid Parameter
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=MnpDxe.Stop=
Ip6Dxe.Stop=
Device Error
MnpServiceBindingDestroyChild: Failed to uninstall the ManagedNetwork protocol, Invalid Parameter.
Device Error
Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=MnpDxe.Stop=
VlanConfigDxe.Stop=
Success
Success
Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
MnpDxe.Start(8A251850)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
ArpDxe.Start(8A25DB74)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
VlanConfigDxe.Start(8A0768B0)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Ip4Dxe.Start(8A047F18)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
TcpDxe.Start(8A0B9E60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED0C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Udp4Dxe.Start(8A031910)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Dhcp4Dxe.Start(8A05DB40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpBootDxe.Start(8A093DDC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Mtftp4Dxe.Start(8A03C940)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
UefiPxeBcDxe.Start(8A0A7F60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Ip6Dxe.Start(8A01A0C8)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
TCP Network Service Driver.Start(8A0B9F40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED78)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Udp6Dxe.Start(8A00E874)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Dhcp6Dxe.Start(8A003CBC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
UEFI HTTP Boot Driver.Start(8A09442C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Mtftp6Dxe.Start(89FF8A88)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
UEFI PXE Base Code Driver.Start(8A0A7F84)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
DNS Network Service Driver.Start(8A0690CC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
DnsDxe.Start(8A068E38)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Stop=
Device Error
ipxe.efi.Stop=
ipxe.efi.Stop=
MnpDxe.Stop=
ArpDxe.Stop=
UefiPxeBcDxe.Stop=
Success
Success
Ip4Dxe.Stop=
TcpDxe.Stop=
HttpDxe.Stop=
Success
Success
Udp4Dxe.Stop=
Dhcp4Dxe.Stop=
HttpBootDxe.Stop=
Success
Success
Mtftp4Dxe.Stop=
Success
DnsDxe.Stop=
Success
Success
Success
Ip6Dxe.Stop=
TCP Network Service Driver.Stop=
HttpDxe.Stop=
Success
Success
Udp6Dxe.Stop=
Dhcp6Dxe.Stop=
UEFI HTTP Boot Driver.Stop=
Success
UEFI PXE Base Code Driver.Stop=
Success
Success
Mtftp6Dxe.Stop=
Success
DNS Network Service Driver.Stop=
Success
Success
Success
VlanConfigDxe.Stop=
Success
Success
Device Error
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Not Ready
MnpDxe.Start(8A251850)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
ArpDxe.Start(8A25DB74)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
SnpDxe.Start(8A08B8DC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=
snp->undi.start()  1h:8000h
Device Error
VlanConfigDxe.Start(8A0768B0)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Ip4Dxe.Start(8A047F18)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
TcpDxe.Start(8A0B9E60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED0C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Udp4Dxe.Start(8A031910)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Dhcp4Dxe.Start(8A05DB40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpBootDxe.Start(8A093DDC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Mtftp4Dxe.Start(8A03C940)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
UefiPxeBcDxe.Start(8A0A7F60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Ip6Dxe.Start(8A01A0C8)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
TCP Network Service Driver.Start(8A0B9F40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED78)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Udp6Dxe.Start(8A00E874)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Dhcp6Dxe.Start(8A003CBC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
UEFI HTTP Boot Driver.Start(8A09442C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Mtftp6Dxe.Start(89FF8A88)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
UEFI PXE Base Code Driver.Start(8A0A7F84)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
DNS Network Service Driver.Start(8A0690CC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
DnsDxe.Start(8A068E38)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Not Ready
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Not Ready
Device Error
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Unsupported
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Unsupported
MnpDxe.Start(8A251850)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
ArpDxe.Start(8A25DB74)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
VlanConfigDxe.Start(8A0768B0)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Ip4Dxe.Start(8A047F18)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
TcpDxe.Start(8A0B9E60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED0C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Udp4Dxe.Start(8A031910)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Dhcp4Dxe.Start(8A05DB40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
HttpBootDxe.Start(8A093DDC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Mtftp4Dxe.Start(8A03C940)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
UefiPxeBcDxe.Start(8A0A7F60)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Ip6Dxe.Start(8A01A0C8)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
TCP Network Service Driver.Start(8A0B9F40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED78)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Udp6Dxe.Start(8A00E874)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Dhcp6Dxe.Start(8A003CBC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
UEFI HTTP Boot Driver.Start(8A09442C)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
Mtftp6Dxe.Start(89FF8A88)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
UEFI PXE Base Code Driver.Start(8A0A7F84)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
DiskIoDxe.Start(8A2AF588)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Invalid Parameter
DnsDxe.Start(8A068E38)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
DNS Network Service Driver.Start(8A0690CC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)]=Success
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv4(0.0.0.0)]=Unsupported
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/IPv6(0000:0000:0000:0000:0000:0000:0000:0000)]=Unsupported
VlanConfigDxe.Stop=
Success
MnpDxe.Stop=
ArpDxe.Stop=
UefiPxeBcDxe.Stop=
Success
MnpConfigReceiveFilters: Snp->ReceiveFilters failed, Unsupported.
Success
Ip4Dxe.Stop=
TcpDxe.Stop=
HttpDxe.Stop=
Success
Success
Udp4Dxe.Stop=
Dhcp4Dxe.Stop=
HttpBootDxe.Stop=
Success
Success
Mtftp4Dxe.Stop=
Success
DnsDxe.Stop=
Success
Success
Success
MnpConfigReceiveFilters: Snp->ReceiveFilters failed, Unsupported.
MnpConfigReceiveFilters: Snp->ReceiveFilters failed, Unsupported.
Ip6Dxe.Stop=
TCP Network Service Driver.Stop=
HttpDxe.Stop=
Success
Success
Udp6Dxe.Stop=
Dhcp6Dxe.Stop=
UEFI HTTP Boot Driver.Stop=
Success
UEFI PXE Base Code Driver.Stop=
Success
Success
Mtftp6Dxe.Stop=
Success
DNS Network Service Driver.Stop=
Success
Success
MnpConfigReceiveFilters: Snp->ReceiveFilters failed, Unsupported.
Unsupported
MnpServiceBindingDestroyChild: Failed to uninstall the ManagedNetwork protocol, Invalid Parameter.
Device Error
ipxe.efi.Start(84D6B6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=MnpDxe.Stop=
Success
Unsupported
ipxe.efi.Start(8527D6EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
ipxe.efi.Start(84FF46EA)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Unsupported
MnpDxe.Start(8A251850)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
ArpDxe.Start(8A25DB74)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=MnpStart: MnpStartSnp failed, Unsupported.
MnpConfigReceiveFilters: Snp->ReceiveFilters failed, Unsupported.
Unsupported
TCP Network Service Driver.Start(8A0B9F40)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
HttpDxe.Start(8A07ED78)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
VlanConfigDxe.Start(8A0768B0)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Ip6Dxe.Start(8A01A0C8)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Already started
Udp6Dxe.Start(8A00E874)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=Success
Dhcp6Dxe.Start(8A003CBC)[PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)/MAC(309C23E81359,0x1)/MAC(309C23E81359,0x1)]=!!!! X64 Exception Type - 0D(#GP - General Protection)  CPU Apic ID - 00000000 !!!!
ExceptionData - 0000000000000000
RIP  - 000000008A2556E4, CS  - 0000000000000038, RFLAGS - 0000000000010246
RAX  - 0000000000000008, RCX - 365049F879810000, RDX - 00000000867B9A50
RBX  - 365049F879810000, RSP - 00000000867B9A20, RBP - 0000000000000008
RSI  - 0000000087930158, RDI - 0000000087938E98
R8   - 0000000000000000, R9  - 0000000087930158, R10 - 0000000087AC9D20
R11  - 00000000867B9AB0, R12 - 00000000867D9B0C, R13 - 000000008A00D330
R14  - 0000000087B75E18, R15 - 0000000000000000
DS   - 0000000000000030, ES  - 0000000000000030, FS  - 0000000000000030
GS   - 0000000000000030, SS  - 0000000000000030
CR0  - 0000000080010013, CR2 - 0000000000000000, CR3 - 0000000086201000
CR4  - 0000000000000668, CR8 - 0000000000000000
DR0  - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000
DR3  - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400
GDTR - 000000008BB54B18 0000000000000047, LDTR - 0000000000000000
IDTR - 0000000088EFC018 0000000000000FFF,   TR - 0000000000000000
FXSAVE_STATE - 00000000867B9680
!!!! Find image based on IP(0x8A2556E4) c:\release_nws_36_02\cfl-msicfl_9.0_dm\Build\CoffeeLake\DEBUG_VS2015\X64\Build\MnpDxe\DEBUG\MnpDxe.pdb (ImageBase=000000008A251000, EntryPoint=000000008A251528) !!!!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] reg: iPxe Boot in NetworkPkg
  2021-02-05  8:28 reg: iPxe Boot in NetworkPkg Sivaraman Nainar
@ 2021-02-05 10:10 ` Michael Brown
  2021-02-08 18:25   ` Maciej Rabeda
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Brown @ 2021-02-05 10:10 UTC (permalink / raw)
  To: devel, sivaramann, Rabeda, Maciej

On 05/02/2021 08:28, Sivaraman Nainar wrote:
> Hello Maciej:
> 
> I met an issue when tried to do the PXE boot with keeping the ipxe.efi 
> as boot file.
> 
> When iPXE.efi is set as boot file once it downloaded it again starts, it 
> does the download and start of iPXE continuously and at some point it 
> asserts in MNP Driver.

Do you mean that you have set up an infinite loop in which UEFI loads 
ipxe.efi which loads ipxe.efi which loads ipxe.efi which loads ipxe.efi 
etc....?

If so, then my guess is that you are simply running out of stack space. 
As far as I can tell, there is no memory protection around the stack in 
EDK2: once you have set up any kind of infinite recursion scenario then 
you are guaranteed to eventually underrun the stack and start 
overwriting random areas of memory.

Michael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] reg: iPxe Boot in NetworkPkg
  2021-02-05 10:10 ` [edk2-devel] " Michael Brown
@ 2021-02-08 18:25   ` Maciej Rabeda
  2021-02-09  2:38     ` Sivaraman Nainar
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej Rabeda @ 2021-02-08 18:25 UTC (permalink / raw)
  To: devel, mcb30, sivaramann

Siva,

Just as Michael mentioned - the log you have provided suggests that you 
are recurse-booting iPXE.
Next server: 10.0.84.155
Filename: ipxe.efi
tftp://10.0.84.155/ipxe.efi... ok

May I ask why?

Thanks,
Maciej

On 05-Feb-21 11:10, Michael Brown wrote:
> On 05/02/2021 08:28, Sivaraman Nainar wrote:
>> Hello Maciej:
>>
>> I met an issue when tried to do the PXE boot with keeping the 
>> ipxe.efi as boot file.
>>
>> When iPXE.efi is set as boot file once it downloaded it again starts, 
>> it does the download and start of iPXE continuously and at some point 
>> it asserts in MNP Driver.
>
> Do you mean that you have set up an infinite loop in which UEFI loads 
> ipxe.efi which loads ipxe.efi which loads ipxe.efi which loads 
> ipxe.efi etc....?
>
> If so, then my guess is that you are simply running out of stack 
> space. As far as I can tell, there is no memory protection around the 
> stack in EDK2: once you have set up any kind of infinite recursion 
> scenario then you are guaranteed to eventually underrun the stack and 
> start overwriting random areas of memory.
>
> Michael
>
>
> 
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [edk2-devel] reg: iPxe Boot in NetworkPkg
  2021-02-08 18:25   ` Maciej Rabeda
@ 2021-02-09  2:38     ` Sivaraman Nainar
  0 siblings, 0 replies; 4+ messages in thread
From: Sivaraman Nainar @ 2021-02-09  2:38 UTC (permalink / raw)
  To: Rabeda, Maciej, devel@edk2.groups.io, mcb30@ipxe.org

Maciej:

I am checking with the customer on the real use case. 

I understand the customer is trying to run reboot test for 1000 times with Network Enabled and I am waiting to know why the network chain loading is enabled.

-Siva
-----Original Message-----
From: Rabeda, Maciej [mailto:maciej.rabeda@linux.intel.com] 
Sent: Monday, February 8, 2021 11:56 PM
To: devel@edk2.groups.io; mcb30@ipxe.org; Sivaraman Nainar
Subject: Re: [edk2-devel] reg: iPxe Boot in NetworkPkg

Siva,

Just as Michael mentioned - the log you have provided suggests that you are recurse-booting iPXE.
Next server: 10.0.84.155
Filename: ipxe.efi
tftp://10.0.84.155/ipxe.efi... ok

May I ask why?

Thanks,
Maciej

On 05-Feb-21 11:10, Michael Brown wrote:
> On 05/02/2021 08:28, Sivaraman Nainar wrote:
>> Hello Maciej:
>>
>> I met an issue when tried to do the PXE boot with keeping the 
>> ipxe.efi as boot file.
>>
>> When iPXE.efi is set as boot file once it downloaded it again starts, 
>> it does the download and start of iPXE continuously and at some point 
>> it asserts in MNP Driver.
>
> Do you mean that you have set up an infinite loop in which UEFI loads 
> ipxe.efi which loads ipxe.efi which loads ipxe.efi which loads 
> ipxe.efi etc....?
>
> If so, then my guess is that you are simply running out of stack 
> space. As far as I can tell, there is no memory protection around the 
> stack in EDK2: once you have set up any kind of infinite recursion 
> scenario then you are guaranteed to eventually underrun the stack and 
> start overwriting random areas of memory.
>
> Michael
>
>
> 
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-09  2:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-05  8:28 reg: iPxe Boot in NetworkPkg Sivaraman Nainar
2021-02-05 10:10 ` [edk2-devel] " Michael Brown
2021-02-08 18:25   ` Maciej Rabeda
2021-02-09  2:38     ` Sivaraman Nainar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox