From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kZVxm-0004TK-J9 for mharc-grub-devel@gnu.org; Mon, 02 Nov 2020 04:17:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZVxk-0004Qz-JX for grub-devel@gnu.org; Mon, 02 Nov 2020 04:17:16 -0500 Received: from mail.bitfolk.com ([2001:ba8:1f1:f019::25]:54412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZVxi-0003ZC-1e for grub-devel@gnu.org; Mon, 02 Nov 2020 04:17:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bitfolk.com; s=alpha; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=SNQ8DoL+W8XmNfEeNkFvW7opyHJ7bceOAP8GTs+jHPU=; b=Optjl2UuB9ckUNGiKkNLZwAVMSNTbsgE2UD00VIO7/c7L6ilYJyaWkti5auNfVK9/qJASWO7V65GsatW8slkAxVHpIKsPmNjm89sOSCTjOaB6MTZu/Co54L7E7OtDEEAULQxAGUjGJRwqx3c78Ao6aNPRqbpu/pge4RS9MM0SaeNN5ysrhMVAO6l5AgkhtLAHA+tf5VJZb+ZjWtMM+/usMUbJxNIcdQ90uiHmUPicSniDnN/hn3bfBdV+re7+f7zg9iGODUuEnZnWESh4kVuHup5NowP8ZrNtgJa+gZCma+IK1La/ce1NLOcyqGpNzuooPDy3jGjsRg9vIDjmHGkvg==; Received: from andy by mail.bitfolk.com with local (Exim 4.84_2) (envelope-from ) id 1kZVxf-0001IK-2B; Mon, 02 Nov 2020 09:17:11 +0000 Date: Mon, 2 Nov 2020 09:17:10 +0000 From: Andy Smith To: =?iso-8859-1?Q?J=FCrgen_Gro=DF?= Cc: The development of GNU GRUB , xen-users Subject: Re: Grub xen_pvh platform does not seem to support uncompressed kernels Message-ID: <20201102091710.GQ16003@bitfolk.com> References: <20201102062258.GN16003@bitfolk.com> <5b764199-29de-70ef-ea68-971737caaa70@suse.com> <20201102082723.GO16003@bitfolk.com> <36bff1d3-59e0-3098-d7c9-bc64e7bcf490@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <36bff1d3-59e0-3098-d7c9-bc64e7bcf490@suse.com> OpenPGP: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc X-URL: http://strugglers.net/wiki/User:Andy User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: andy@strugglers.net X-SA-Exim-Scanned: No (on mail.bitfolk.com); SAEximRunCond expanded to false Received-SPF: none client-ip=2001:ba8:1f1:f019::25; envelope-from=andy@strugglers.net; helo=mail.bitfolk.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=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: Mon, 02 Nov 2020 09:17:16 -0000 Hi, On Mon, Nov 02, 2020 at 09:43:06AM +0100, Jürgen Groß wrote: > On 02.11.20 09:27, Andy Smith wrote: > >The decompressed kernel is generated like this: > > > ># extract-vmlinux /boot/vmlinuz-5.4.0-52-generic > /boot/vmlinuz-5.4.0-52-generic-decompressed > > > >The decompressed kernel does boot when presented to the hypervisor > >directly, i.e. no grub, directly listed in guest config file. > > > >I don't have an HVM test setup right now so am unable to test that, > >but I suppose we can assume it will fail as the problem is in the > >standard grub loading functions. > > > >So, is this a bug? Grub should be able to boot uncompressed kernels, > >shouldn't it? > > As long as the boot entry code is included in this kernel, yes. I actually think now that the output of extract-vmlinux lacks something and I further suspect that if I would use a vmlinux file from within a kernel build tree it would be fine. In which case this is not an issue for grub or xen, and only for those of us employing hacks based around extract-vmlinux. Apologies for the distraction! Thanks, Andy