From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kZVBc-0003s7-VL for mharc-grub-devel@gnu.org; Mon, 02 Nov 2020 03:27:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZVBa-0003qB-T5 for grub-devel@gnu.org; Mon, 02 Nov 2020 03:27:30 -0500 Received: from mail.bitfolk.com ([2001:ba8:1f1:f019::25]:37539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kZVBX-0001LK-1f for grub-devel@gnu.org; Mon, 02 Nov 2020 03:27:30 -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=tEYfmXPmRVgqPfU5GN3g52IznyJoncFA9nQQDlZYbVQ=; b=j7/xisa0YHzVzyhUnzHApTFx/g+NrzZYJs56xxDYQxE+CzWEarfBGHEFNxQDR6XniR8JOT5XXYfNiS4qAwmLXiAL4gzAP7dKGCbq9gR9VAGZj0DIqL3vJnJcoRxFXi18P3LKVAs9q/3ZIePoJiEfZb4rBmMaSzFW+frClQ4pY0y1d9WRlxvaW6Ctp44yAv+4cZewrwxnaSCP+UlQEiiwc8LYaqRQCS712pY5H7yQXyKSEb0c9v5wZNYcMI9991dYN3Vs2yjZ6xo8RRIZ9RBB0MW2t5166Soqi1o6/o2hjNS2vRnhUlM5Et2RnN7ZT5Mi+RPPoDoR5bJEJUf2CS2Dag==; Received: from andy by mail.bitfolk.com with local (Exim 4.84_2) (envelope-from ) id 1kZVBT-0007Ha-8E; Mon, 02 Nov 2020 08:27:23 +0000 Date: Mon, 2 Nov 2020 08:27:23 +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: <20201102082723.GO16003@bitfolk.com> References: <20201102062258.GN16003@bitfolk.com> <5b764199-29de-70ef-ea68-971737caaa70@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5b764199-29de-70ef-ea68-971737caaa70@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 08:27:31 -0000 Hi Jürgen, On Mon, Nov 02, 2020 at 08:43:24AM +0100, Jürgen Groß wrote: > On 02.11.20 07:22, Andy Smith wrote: > >I therefore can only conclude that PVH grub doesn't like kernels > >with no compression. Is that expected? > > Can you boot the decompressed kernel on bare metal or in an HVM > domain using grub? Oh that's interesting. The decompressed kernel doesn't boot bare metal either (same message). 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? Thanks, Andy