From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1lRtAx-0000wV-RN for mharc-grub-devel@gnu.org; Thu, 01 Apr 2021 04:59:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRtAv-0000vG-1g for grub-devel@gnu.org; Thu, 01 Apr 2021 04:59:37 -0400 Received: from 3.mo69.mail-out.ovh.net ([188.165.52.203]:32819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRtAr-0001iW-G1 for grub-devel@gnu.org; Thu, 01 Apr 2021 04:59:36 -0400 Received: from player714.ha.ovh.net (unknown [10.109.138.54]) by mo69.mail-out.ovh.net (Postfix) with ESMTP id 65CB4AF387 for ; Thu, 1 Apr 2021 10:59:23 +0200 (CEST) Received: from 3mdeb.com (231.85-237-190.tkchopin.pl [85.237.190.231]) (Authenticated sender: krystian.hebel@3mdeb.com) by player714.ha.ovh.net (Postfix) with ESMTPSA id D64991C99BF2C for ; Thu, 1 Apr 2021 08:59:22 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G0061f8d25b5-e8a4-4882-b9cd-c821e1f1c6d2, 546C606D26E8B5630638B3CC085B274DCC8FA9C7) smtp.auth=krystian.hebel@3mdeb.com X-OVh-ClientIp: 85.237.190.231 Subject: Re: multiboot2 and module2 boot issues via GRUB2 To: grub-devel@gnu.org References: <23baec07-a3ae-949a-a1fb-09100efd53e5@citrix.com> From: Krystian Hebel Message-ID: Date: Thu, 1 Apr 2021 10:59:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Ovh-Tracer-Id: 10046123397553445773 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrudeigedgtdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefmrhihshhtihgrnhcujfgvsggvlhcuoehkrhihshhtihgrnhdrhhgvsggvlhesfehmuggvsgdrtghomheqnecuggftrfgrthhtvghrnhepgfetgeekkeevtdekueetiedtteeukeeffeeltdehfffhuddvgfduueehkeevhfegnecuffhomhgrihhnpeefmhguvggsrdgtohhmpdhgnhhurdhorhhgnecukfhppedtrddtrddtrddtpdekhedrvdefjedrudeltddrvdefudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehplhgrhigvrhejudegrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepkhhrhihsthhirghnrdhhvggsvghlseefmhguvggsrdgtohhmpdhrtghpthhtohepghhruhgsqdguvghvvghlsehgnhhurdhorhhg Received-SPF: pass client-ip=188.165.52.203; envelope-from=krystian.hebel@3mdeb.com; helo=3.mo69.mail-out.ovh.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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: Thu, 01 Apr 2021 08:59:37 -0000 On 01.04.2021 10:44, Roger Pau Monné via Grub-devel wrote: > On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: >> On 01.04.2021 03:06, Roman Shaposhnik wrote: >>> And the obvious next question: is my EVE usecase esoteric enough that >>> I should just go ahead and do a custom GRUB patch or is there a more >>> general interest in this? >> Not sure if it ought to be a grub patch - the issue could as well >> be dealt with in Xen, by concatenating modules to form a monolithic >> initrd. > I would rather have it done in the loader than Xen, mostly because > it's a Linux boot specific format, and hence I don't think Xen should > have any knowledge about it. Keep in mind that loader is loading Xen, using multiboot2 which is kind of generic boot protocol, not Linux with its specific protocol. There may be other multiboot2 kernels that depend on modules being _not_ concatenated, such change would most likely break those. Best regards, -- Krystian Hebel Firmware Engineer https://3mdeb.com | @3mdeb_com > If it turns out to be impossible to implement on the loader side we > should consider doing it in Xen, but that's not my first option. > > Thanks, Roger. > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel