From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E5CBC433DB for ; Tue, 30 Mar 2021 18:29:41 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A673D619C1 for ; Tue, 30 Mar 2021 18:29:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A673D619C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=zededa.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.103650.197694 (Exim 4.92) (envelope-from ) id 1lRJ6r-0006xm-Uo; Tue, 30 Mar 2021 18:29:01 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 103650.197694; Tue, 30 Mar 2021 18:29:01 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lRJ6r-0006xf-Rm; Tue, 30 Mar 2021 18:29:01 +0000 Received: by outflank-mailman (input) for mailman id 103650; Tue, 30 Mar 2021 18:28:59 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lRJ6p-0006xa-Mv for xen-devel@lists.xenproject.org; Tue, 30 Mar 2021 18:28:59 +0000 Received: from mail-qv1-xf32.google.com (unknown [2607:f8b0:4864:20::f32]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id bf1fcd9c-9de4-4f6e-814b-cb76e67bc9fa; Tue, 30 Mar 2021 18:28:58 +0000 (UTC) Received: by mail-qv1-xf32.google.com with SMTP id x27so8661459qvd.2 for ; Tue, 30 Mar 2021 11:28:58 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: bf1fcd9c-9de4-4f6e-814b-cb76e67bc9fa DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zededa.com; s=google; h=mime-version:from:date:message-id:subject:to; bh=lGfHpDwA5adg4O1hCUW5AZ5ID+ShkkhzHGarXjuElwU=; b=dGo84S8bHxvj0OeaCD2okzWM3u9dhUpNXxN+XP8yGj//tn+IJjrRAgRRjUvoqrSHxi h/CU34psLfzRDLnPN+n1g6HdX13MKrZKS+lof6P6g+Jf6elwwYZYtryRgACfwafmQ1hw Hsr0GRH/f1k9zUOqFknTiNW89aBsUhOWGx6B25CsH7lbWlveSX0NnigXrdwYcm33So61 exWYHNUnFjQyPwC1omGBSqMVn/dI/5NOr+pXDwesrJplfmK1ddR/vbe3gn2EzTmOawaH zatebMytGrUwqNi3NYaz73mpWQwRJj8qULhITvC4pMXmSxLF7yuWulZkhO4avafDNvSK g1ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lGfHpDwA5adg4O1hCUW5AZ5ID+ShkkhzHGarXjuElwU=; b=fdY+ljPX5HMkNR97Hp867XD/3RjkCHvYTaP5gXmAse6Tq02bljR16lLT0S66zVNtaP ZlgHY9QOE3iORWW9AY4OuHLNkxEBTOTcLXbtKglVjWBDharTUgOtihOGaxWhY5LGCJFm ORE6F2DkLbCw3+QYBIE2LRfNIEjgNg7Bhe3kQgBmVbPtxHDhuTMjFaZoQsb403f6tJP8 ZoZjlcZ7W2cJTtmGTJZXdPE1g1kqAghgT+j3xu/r59INE6SZM93UNzstYK2xnitJU5kv NUWVNwfytPBySSXcRxbdrLZFOiyOODL7fX0O3y1lxjQ50rKskiZbZ6PD6q/RrmZSN9YE 33GQ== X-Gm-Message-State: AOAM530Tuon7KtyHAGbKEW8iobXL8qPXItUUQEBUbtw7icXJ0C1PV0AJ Gt/sRWORCrGvzfLyqPSJDTPRrHgc37FH7QMVrndTRrBnUuyW8K9A X-Google-Smtp-Source: ABdhPJxqoySOLWxKbvthlCvsjfDMQqJ27e0UnI78mcfZDJN2LS8noQ6wI/20QqcM8JsOVY+hRpmizPgGKpP8NtdhdRU= X-Received: by 2002:a0c:9ad7:: with SMTP id k23mr31617571qvf.52.1617128938005; Tue, 30 Mar 2021 11:28:58 -0700 (PDT) MIME-Version: 1.0 From: Roman Shaposhnik Date: Tue, 30 Mar 2021 11:28:49 -0700 Message-ID: Subject: multiboot2 and module2 boot issues via GRUB2 To: Xen-devel Content-Type: multipart/alternative; boundary="000000000000e7fd2405bec52bb0" --000000000000e7fd2405bec52bb0 Content-Type: text/plain; charset="UTF-8" Hi! seems like I've run into an issue with multiboot2 and module2 commands that I can't quite explain. Since it may be something super simply and silly -- I wanted to reach out here before I do a GRUB/Xen/LK source deepdive. So here's the deal: whenever I boot straight up Linux kernel I can do the following sequence of commands: linux /kernel initrd foo.cpio.gz bar.cpio.gz and have linux kernel effectively stack content of bar.cpio.gz on top of foo.cpio.gz and present a unified initramfs that way. I'm trying to replicate it with Xen, but: multiboot2 /boot/xen.gz module2 /kernel module2 foo.cpio.gz module2 bar.cpio.gz only seems to be picking up foo.cpio.gz Has anyone run into this issue before? Thanks, Roman. --000000000000e7fd2405bec52bb0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi!

seems like I&#= 39;ve run into an issue with multiboot2=C2=A0and module2
commands= that I can't quite explain. Since it may be something
super = simply and silly -- I wanted to reach out here before I do
a GRUB= /Xen/LK source deepdive.

So here's the deal: w= henever I boot straight up Linux kernel
I can do the following se= quence of commands:
=C2=A0 =C2=A0linux /kernel
=C2=A0 = =C2=A0initrd foo.cpio.gz bar.cpio.gz
and have linux kernel effect= ively stack content of bar.cpio.gz
on top of foo.cpio.gz and pres= ent a unified initramfs that way.

I'm trying t= o replicate it with Xen, but:
=C2=A0 =C2=A0 =C2=A0multiboot2 /boo= t/xen.gz
=C2=A0 =C2=A0 =C2=A0module2 /kernel
=C2=A0= =C2=A0 =C2=A0module2 foo.cpio.gz
=C2=A0 =C2=A0 =C2=A0module2 bar= .cpio.gz
only seems to be picking up foo.cpio.gz

Has anyone run into this=C2=A0issue before?

Thanks,
Roman.
--000000000000e7fd2405bec52bb0--