Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1kZVQm-0001BR-Bn for mharc-grub-devel@gnu.org; Mon, 02 Nov 2020 03:43:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZVQl-0001BJ-5c for grub-devel@gnu.org; Mon, 02 Nov 2020 03:43:11 -0500 Received: from mx2.suse.de ([195.135.220.15]:40610) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZVQj-0007Di-DF for grub-devel@gnu.org; Mon, 02 Nov 2020 03:43:10 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1604306587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aoGO0TFJ51xb04N8NbTVQBOyVQ+URR88mrn01hl8xw4=; b=YNuE2fK7jwFbTL8GH1FmdTdCaxyuKkCAYjqGdRKKLweH1o5E+Atm+AsIZhQBIJFYvJ6LxS 7+j08SKNKGT8TFO4eqWO2ms9ErIj1oCwL5GjCkF0ZPgWU/GI7dcLUwYG1jPde++t35zhA1 Wb4uhPGO8a2RXRaO9scC8+3Xdj3fcH4= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 53AB5AE85; Mon, 2 Nov 2020 08:43:07 +0000 (UTC) Subject: Re: Grub xen_pvh platform does not seem to support uncompressed kernels To: Andy Smith Cc: The development of GNU GRUB , xen-users References: <20201102062258.GN16003@bitfolk.com> <5b764199-29de-70ef-ea68-971737caaa70@suse.com> <20201102082723.GO16003@bitfolk.com> From: =?UTF-8?B?SsO8cmdlbiBHcm/Dnw==?= Message-ID: <36bff1d3-59e0-3098-d7c9-bc64e7bcf490@suse.com> Date: Mon, 2 Nov 2020 09:43:06 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201102082723.GO16003@bitfolk.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=195.135.220.15; envelope-from=jgross@suse.com; helo=mx2.suse.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/02 00:21:37 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x (no timestamps) [generic] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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: Mon, 02 Nov 2020 08:43:11 -0000 On 02.11.20 09:27, Andy Smith wrote: > 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? As long as the boot entry code is included in this kernel, yes. Juergen