Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1mYtq0-0000WW-8X for mharc-grub-devel@gnu.org; Fri, 08 Oct 2021 13:39:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYtpz-0000W7-CO for grub-devel@gnu.org; Fri, 08 Oct 2021 13:39:15 -0400 Received: from mout.gmx.net ([212.227.17.20]:46949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYtpx-0006wm-JH for grub-devel@gnu.org; Fri, 08 Oct 2021 13:39:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633714746; bh=YIhqbwR+pKaU5OrdXfxd7RhEQ4FSR8CgHML9DW0Kna0=; h=X-UI-Sender-Class:Date:Subject:From:To:Cc:References:In-Reply-To; b=JgppU+FJwOolwY81RnW1CU7QuE3jw8BpZprdpj6bRTcGbogdzSXeUoS7w3eaIFZn/ pEPRt1D24SF/BcbPvQ+YFU+crkWBd+9yOhwxazZ05yyXAMm4TGCwVYr5mz4ER8+1du 1DUlKW5VsbLHf3/13sDNjBgSEauFica2dmuSsYAI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.123.35] ([88.152.144.157]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MkHQX-1n1gCO3Qgj-00kiHK; Fri, 08 Oct 2021 19:39:05 +0200 Message-ID: <17084893-fe07-b809-d574-8bb3dbc312fd@gmx.de> Date: Fri, 8 Oct 2021 19:39:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: [PATCH v2 3/7] efi: implemented LoadFile2 initrd loading protocol for Linux Content-Language: en-US From: Heinrich Schuchardt To: GRUB development mailing list Cc: Nikita Ermakov , Ard Biesheuvel , Atish Patra , Daniel Kiper , Leif Lindholm , Andreas Schwab References: <20210602211235.377366-1-arei@altlinux.org> <20210602211235.377366-4-arei@altlinux.org> <87zgs3h4de.fsf@igel.home> <2cd1f905-8b96-131d-ccbb-34e535a030c5@gmx.de> <87ee8zkcry.fsf@igel.home> <871r4zjxqb.fsf@igel.home> <94bf1f95-c9a8-fd91-2473-dcbb452db835@gmx.de> In-Reply-To: <94bf1f95-c9a8-fd91-2473-dcbb452db835@gmx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Y8B/879OMorWCslYn5MsOpGTtzeMZzNSWOqymp2MEMg5tYSdsCG OMgZe66JIA/wAatKPsEv1Cr4FAVV6cX12y9mCuca6AmQoOzP7x7Yc1VYVY+YTMps31sFgr3 K8y7yoe3qKFctEE6b+RJQRsIcKqkXeEO+T6XAzxyLV9C9f9bs6iE05eS588ppVX2hCvTkNH tCXDst/IipgOjrvyZH4xA== X-UI-Out-Filterresults: notjunk:1;V03:K0:AxsWV9zuBb8=:vewmH7dr5MZHP0HaRu2euu RL40hBWSnp9vyzbtQNFzZnbYEvUpTgQy0LG7JuTLr7T77yAEhO/CR21xci8P9a+OsVU7d9M+m eko5Hog9/AWFngepqouI/e0wa8+ZF7LjGxDnF/eNevpyT35o4dN9zdgel3sQoCmoWyZb0Zwl/ nmLCaOokgFwZvOw2hwumpEfdDZNCWeLf3yCJQu0X7mGaJvmF7IMVPcROJZ5uboOPOHX6qUMFy yqirMCQgiLsNy6SD89F0wFZTiQ1kyY7q4wd75M+0ML/4jqya4gq51chlHx2H2BHi6fmM3SkYK saOk1yoK1r726B/mmxH92bGAfI2oejoxlPmhrWu5GJwmzTIlfUqAUmZ033x0+MOCkreEMe7xx RfSY2k9U2bzH6512PZ7E1HPuT9Y5loO0RXl+SUy/byPbXUnfuoOudqPzpBuLDOb3xVdb8WwLS FuB6sssiok+SuyuGmXFEqOtd1HcN2/YwI/CUMktxMGPwGzHSQ8Nj3UMVcKCci0f3t9WSC01ll Nmvq71+nlA16b49nsCAAA468f6iC4Yuk56pheiQzESCw4+J1PIGAbbQQD9VCKSClfbdzKyVle yy23Waz6gQeYiG17dWKBbm+cpMcfbrtWTbDhL7lqJJajJQxQzrg5wcoDi/VlUI5pmt1P8XW4N wtLf+1WqOHWwQMiW5edr5r/gaIA4pff98Dzwf3RLTeaJVtem0hFvBezEQvA3kXb1mIny60ZbF X/yPgIVeA/1toTy5UFPb+eGm7W9eO7hQ30m3Ouhvb1ip+Af3TZvvbsD2y0tZnWMZ4boMgpE3K hevA0tRpzN6K+KQYxEBa9a6SCsirGunW7VA38T4l5bkR9JRWabIr3eS0dCvgkbFEmcG6n8JEJ sKTh91s3fJFiUTkdieLhzwB5q8Qg1LZGQrzQ5Qr0r5BHJ6nZyT+Sk2VmH355sPfSzq/gd8i+4 r6lkQEIL1jHp4w50l4EmNgNgKBwlyNJ1oSk9HQDbGntgvJy8br2LjlVU4vDgYZJyBt2aTGfyG wMBUfIAMV2Rka0Dn5jQq+7R0piAarafyZ/IRU4igtdCpoClXQaROgsWcxvbRySM5pbFYRUSCq 5ewsWKbd/jdmB0= Received-SPF: pass client-ip=212.227.17.20; envelope-from=xypron.glpk@gmx.de; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2021 17:39:15 -0000 On 10/6/21 09:58, Heinrich Schuchardt wrote: > > > On 10/5/21 17:30, Andreas Schwab wrote: >> On Okt 05 2021, Heinrich Schuchardt wrote: >> >>> Before the 'boot' command the communication via TFTP seems to work fin= e. >>> The init command can identify which file exists on the TFTP server. >>> >>> The boot command calls ShutDown() and Stop() on the SNP protocol and >>> closes it. And then tries to open it again for the LOAD_FILE2 protocol= . >>> >>> The question remains why the protocol cannot be reopened. It is unclea= r >>> if this is a GRUB or a U-Boot issue. >> >> The strange thing is that the first two packets+ACK still get through. >> Maybe related to the size of the following DATA packet? > > When the initrd command is issued it checks that the file exists. It is > after the boot command that things run awry. > > There are multiple bugs in efinet.c. I am working on a patch. Andreas has confirmed in https://lists.gnu.org/archive/html/grub-devel/2021-10/msg00035.html that [PATCH 0/2] efinet: correct closing of SNP protocol https://lists.gnu.org/archive/html/grub-devel/2021-10/msg00028.html solves the issued. Best regards Heinrich