From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=148.163.129.52; helo=dispatch1-us1.ppe-hosted.com; envelope-from=tpilar@solarflare.com; receiver=edk2-devel@lists.01.org Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2B996211DBE01 for ; Mon, 18 Mar 2019 03:53:04 -0700 (PDT) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (uk.solarflare.com [193.34.186.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us2.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id 67DEAA40059; Mon, 18 Mar 2019 10:53:02 +0000 (UTC) Received: from ukex01.SolarFlarecom.com (10.17.10.4) by ukex01.SolarFlarecom.com (10.17.10.4) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 18 Mar 2019 10:52:57 +0000 Received: from ukex01.SolarFlarecom.com ([fe80::3c10:6f38:9305:ac6d]) by ukex01.SolarFlarecom.com ([fe80::3c10:6f38:9305:ac6d%14]) with mapi id 15.00.1395.000; Mon, 18 Mar 2019 10:52:57 +0000 From: Tomas Pilar To: "MohammadYounasKhan.P@Dell.com" , edk2-devel CC: "Sriramkumar.Raju@dell.com" , "KarunakarPoosapalli@Dell.com" , "Shekar.Babu.S@dell.com" Thread-Topic: Regarding PXE boot NACK error. Thread-Index: AdTTUKcq4aKzcNJpQyeBKsYSopPlnAEGMqXQAYE5xDAAAjaVwA== Date: Mon, 18 Mar 2019 10:52:55 +0000 Message-ID: <16f524394cce4634a07d331f9e45db0d@ukex01.SolarFlarecom.com> References: <84b79f8926b1415d9d083d38c2a8ae58@BLRX13MDC420.AMER.DELL.COM> In-Reply-To: <84b79f8926b1415d9d083d38c2a8ae58@BLRX13MDC420.AMER.DELL.COM> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.17.25.143] x-tm-as-product-ver: SMEX-12.5.0.1300-8.5.1010-24496.003 x-tm-as-result: No-14.633900-8.000000-10 x-tmase-matchedrid: u7Yf2n7Ca/27lpQUW6Uvz7iMC5wdwKqdwZLXS0hN8p2pvdsXb+cWqa92 0vZneR+97Tx9R/vg4BHZV/PZMHti7Gd7bIk8sWRrcjhCfi1XdO3AvdwvBqgdnvWorfObDYJALJP PpqdiLqY76oxhffXo8c3Xtn9HtskcfPmUQQG69pxIRA38P/dwbmWuy5Lm0L4/G1VFRGOlP68Avr EcNy5HmEoCQdI9eXIGd8Socxr0+GugO55yHhG5nQKDWtq/hHcNWjRJreaOWv4M74Nf6tTB9uEtb 6e4qSOWj1mbw6/tKmuN8qY9oOKFeRgHZ8655DOPgxsfzkNRlfIRBMppClYK+SXVtBmyOiKu9xS3 mVzWUuA4wHSyGpeEepKejUbtfJsTtpsyQGMDLSYxUY//B5DDMsHokLtcRHGc7u75MnkNc3Q= x-tm-as-user-approved-sender: Yes x-tm-as-user-blocked-sender: No x-tmase-result: 10--14.633900-8.000000 x-tmase-version: SMEX-12.5.0.1300-8.5.1010-24496.003 MIME-Version: 1.0 X-MDID: 1552906383-E4c7cTyokL2a Subject: Re: Regarding PXE boot NACK error. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Mar 2019 10:53:04 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I assume you had a look at the DHCP RFC: https://tools.ietf.org/html/rfc213= 1. We have an automated test inhouse for testing PXE client implementations= and the current UEFI upstream does not pass the various conformance requir= ements (number of retries, the various timeouts etc.) This does not cause f= unctional problems right now because it's just a matter of error paths not = being strictly compliant. Nevertheless I would recommend that if you are making changes to the PxeBc = stuff, I would try to follow the appropriate specs. Cheers, Tom -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Moha= mmadYounasKhan.P@Dell.com Sent: 18 March 2019 09:40 To: edk2-devel Cc: Sriramkumar.Raju@dell.com; KarunakarPoosapalli@Dell.com; Shekar.Babu.S@= dell.com Subject: Re: [edk2] Regarding PXE boot NACK error. Is there anybody who knows about it and help me on this? Thank you, Younas. -----Original Message----- From: edk2-devel On Behalf Of Pathan, Moh= ammadYounasKhan Sent: Sunday, March 10, 2019 11:19 PM To: edk2-devel@lists.01.org Cc: S, Shekar Babu; Poosapalli, Karunakar; Raju, SriramKumar Subject: Re: [edk2] Regarding PXE boot NACK error. [EXTERNAL EMAIL]=20 Hi All, Do you have any comments on this? Thank you, Younas. -----Original Message----- From: edk2-devel On Behalf Of Pathan, Moh= ammadYounasKhan Sent: Thursday, March 7, 2019 11:07 PM To: edk2-devel@lists.01.org Cc: Raju, SriramKumar; Poosapalli, Karunakar; S, Shekar Babu Subject: [edk2] Regarding PXE boot NACK error. [EXTERNAL EMAIL]=20 Hi All, When one of DHCP cum PXE server which is not configured properly and return= s NACK. When PxeBcDhcp4Dora() returns EFI_TIME_OUT and PxeBcSelectBootPrompt () ret= urns EFI_NOT_FOUND, do we need to abort the DHCP transaction or not in PxeB= cDiscoverBootFile()? Or should we retry? Currently it calls PxeBcDhcp4BootInfo() to get the boot info. PxeBcDhcp4CallBack is getting called 2 times: Dhcp4Event: 0x1 (Dhcp4RcvdOffer) Dhcp4Event: 0xC (Dhcp4Fail) Do we need to retry PxeBcDhcp4CallBack() for more times even if it is Dhcp4= Fail? EfiPxeLoadFile() -> PxeBcLoadBootFile () -> PxeBcDiscoverBootFile() -> PxeB= cSelectBootPrompt() Attached the transaction debug log for reference. Please share your comments. Thank you, Younas. _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel