From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web12.45.1612808756624871691 for ; Mon, 08 Feb 2021 10:25:56 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: linux.intel.com, ip: 134.134.136.20, mailfrom: maciej.rabeda@linux.intel.com) IronPort-SDR: qgHYYEEPSmu43XP23HZASfYF1c7S9v49HTnkvoJPMDkO6G6pXAtbkX01l5fFpbL6S/LIJTEHOr f2nG76hRgJ9A== X-IronPort-AV: E=McAfee;i="6000,8403,9889"; a="168882017" X-IronPort-AV: E=Sophos;i="5.81,162,1610438400"; d="scan'208";a="168882017" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2021 10:25:52 -0800 IronPort-SDR: 4hE+V8B7qLLkckON9aafFSR4hBBxC+V4rgW674bEvU75zVPEdvPaFw6LRD2ZoYEq/T7MPbGyUq 5SmPrm+/5dWg== X-IronPort-AV: E=Sophos;i="5.81,162,1610438400"; d="scan'208";a="395633962" Received: from mrabeda-mobl.ger.corp.intel.com (HELO [10.249.153.28]) ([10.249.153.28]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Feb 2021 10:25:51 -0800 Subject: Re: [edk2-devel] reg: iPxe Boot in NetworkPkg To: devel@edk2.groups.io, mcb30@ipxe.org, sivaramann@amiindia.co.in References: <34e69419-42d8-f21f-da9b-8b506ac371c4@ipxe.org> From: "Maciej Rabeda" Message-ID: <95e7d9c9-abf3-e23f-7989-55e99ad23983@linux.intel.com> Date: Mon, 8 Feb 2021 19:25:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <34e69419-42d8-f21f-da9b-8b506ac371c4@ipxe.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: pl 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 > > > > >