[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiboot2 and module2 boot issues via GRUB2
- To: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Thu, 1 Apr 2021 20:43:46 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5WTsbL6fVOVHN7q/idb6GJ+u9Mko5Q++oDqeEXsO4sI=; b=i1qgxVGETMoIe3s4cRcEODpvbOwDSnzVbfeJ+GqKwAG6FBfk9RKuiJIa6m8YmeOjO400kbxQFi/MgHk+flGvPFmFanTxBouCvdDrERSnHuTMiYh83X/UfaJZ47tMB8aWOQNC2Bs/KY0qegHLYICn1BMqGK4i+vD1T3BdUBNPA32q/aA3Mj7XHKA3WN2LqN/bREF56+P97rBAqQkqEpGWoPEEM/XtQpU3ctRaoHI6NOSch66UypAkSLmVZl8k61IpD5FwJMKrZijPpvjxn+lR0u7IV9faScPIHjlrddEj/1R1ljri0vIMUpICOFKigcM2L1qDSs1/vCOeK2I+BCrt9A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QTqaZzQIS1lpKDX5TZpGN0IWAQMz3UJ2jBtzEeaV/3p2RtqKvlV8+I4Vh5UbqtCO3HjrnSnqByfKfVHvDCqKd4rXYZqN6sGHA8ZF4nQgzxa8cBSGCh6Z346PipLI9sJ1AObkYcmJkJxOWZynELlFig3KUFDkJRb01l4v/LRPiBBzpb+Ky9kD69EKEYsfhhkvUUSxXUOjZpPiE9gNpgZDetKfZ1VpmzKPfSm7Fd2priKOg+2kH5h8tr/2ZOHSwcfRqcSGGdff73d72gtqA3oUHityhGxNMpzWfo4IE8/8hOu6Y2dsBayWo3tIxwCJ96YXkSRfLw0u27QzMNOGhT9DsQ==
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Roman Shaposhnik <roman@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <grub-devel@xxxxxxx>
- Delivery-date: Thu, 01 Apr 2021 19:44:15 +0000
- Ironport-hdrordr: A9a23:uvAQM66ScUeRPzZZ0wPXwWeEI+orLtY04lQ7vn1ZYSd+NuSFis Gjm+ka3xfoiDAXHEotg8yEJbPoex3h3LZPy800Ma25VAfr/FGpIoZr8Jf4z1TbdBHW3tV2kZ 1te60WMrHNJHBnkMf35xS5Gd48wN+BtJuln/va0m0Fd2FXQotLhj0JbjqzOEtwWQVAGN4dHJ 2T+sJIq1ObCAoqR+68AWQIWPWGmsbCk4jobQVDKxks7gSPij3A0s+ELzGz2BACXzRThYoz6G StqX2E2oyPkdGejiXd2Wja8ohMlLLaq+drKcSQhqEuW07RoymyYoAJYczlgBkUp6WV5E8ugJ 3wpX4bTrlOwlfwWk3wnhf3wQnn118Vmg3f4HuVm2Hqr8C8ZB9SMbs4uatjfhHU61UtsbhHuc ohtQ/p1Os0fGf9tR/w6NTSWxZhmlDcmwtErccpg2FCSoxbUbdNrOUkjTBoOa0dFyH34p1PKp gWMOjg4p9tADanRkzCsnIq6NKhWWlbJGb9fmEy/uaR0zRQgUljyVoZyME1jh47heIAYqgByO LePqtykrZSCucQcKJmHe8EBfC6E2rXXHv3QSyvCGWiMJtCF2PGqpbx7rlwzOa2eKYQxJ93vJ jaSltXuUM7ZkqGM7zO4LR7tjT2BEmtVzXkzc9To7JjvKfnebbtOSqfDHgzjsqJuZwkc4/mcs f2HKgTL+7oLGPoF4oM9Rb5QYNuJX4XV9BQksonWmiJvtnAJuTRx6/mWceWAICoPScvW2v5DH d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1J2MmdAgx+ZcZwOL9Pmffsu+zVyRZuGam2KpzM+ XM1IYsqmT/TQWpQEVmjTvgvJK22PF2HRnLx4KMOZv/FiV0moJOTc7FK/hSjMSQGPWBBSCKVzcP l8WnQCx6uSmrhDFlVquqp0pzDO41uzehPsH9wUDl4Wq5gYVVajEzGsVDd1KaiGKOtGwe7ZqsHy x4E=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 01/04/2021 09:44, Roger Pau Monné 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.
>
> 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.
Concatenating random things which may or may not be initrds is
absolutely not something Xen should do. We don't have enough context to
do it safely/sensibly.
Honestly, I like the idea of supporting something like this generally in
grub. Linux already commonly has initrd preparation prepending an
uncompressed microcode CPIO archive, and I can see a usability advantage
from maintaining the initrd fragments separately.
Looking at the grub manual, this behaviour of the `initrd` command isn't
even documented. Perhaps that should be fixed first, and then maybe
`module2_multi` added too?
~Andrew
|