From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from blyat.fensystems.co.uk (blyat.fensystems.co.uk [54.246.183.96]) by mx.groups.io with SMTP id smtpd.web11.6287.1612519837580496223 for ; Fri, 05 Feb 2021 02:10:38 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: ipxe.org, ip: 54.246.183.96, mailfrom: mcb30@ipxe.org) Received: from dolphin.home (unknown [IPv6:2a00:23c6:5495:5e00:72b3:d5ff:feb1:e101]) by blyat.fensystems.co.uk (Postfix) with ESMTPSA id EBBCB4399E; Fri, 5 Feb 2021 10:10:33 +0000 (UTC) Subject: Re: [edk2-devel] reg: iPxe Boot in NetworkPkg To: devel@edk2.groups.io, sivaramann@amiindia.co.in, "Rabeda, Maciej" References: From: "Michael Brown" Message-ID: <34e69419-42d8-f21f-da9b-8b506ac371c4@ipxe.org> Date: Fri, 5 Feb 2021 10:10:33 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on blyat.fensystems.co.uk Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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