From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XxfUB-0006kw-QP for mharc-grub-devel@gnu.org; Sun, 07 Dec 2014 12:19:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxfU1-0006hQ-Ss for grub-devel@gnu.org; Sun, 07 Dec 2014 12:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxfTv-0001xO-0U for grub-devel@gnu.org; Sun, 07 Dec 2014 12:18:57 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:35831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxfTu-0001xK-Od for grub-devel@gnu.org; Sun, 07 Dec 2014 12:18:50 -0500 Received: by mail-wi0-f176.google.com with SMTP id ex7so2808858wid.9 for ; Sun, 07 Dec 2014 09:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=WaQn+5SQNK1FrlbBWva1XdkHjHVCTOZXg7nT0zzJnrk=; b=l5AUSpKtUmfpwpi4C2K3X0/BaYrtlB0PYs58ysAdmmfrUeesjO4mlwEt399X2zE201 w2+v5ac+eBfOOgFhFMyzS51fKuB41slSmhzprx9k5WwlAhFTIcf0xHpg+dWvMRhCLcnB Mj3bEUIcnkZMnf6TcTfhHmpeOxf4BIs5sFuPT9CaqIhvnK+3fySZVjRTL57h/cfTD8QU D7c1PQCCSOCJsm4G9WG1jkLtF8O2nNYLDdbC3lGlpH+wAICP7m0ZqyW8tdF4QNxSD+c1 YKR4aRgSEKfXbuBcRUZcwHKndnoEDAlq6ejXjch+//q8vXyK1gqWGRgFlVKbSuQhxUgW dBEQ== X-Received: by 10.180.198.52 with SMTP id iz20mr18636499wic.60.1417972730218; Sun, 07 Dec 2014 09:18:50 -0800 (PST) Received: from [192.168.42.216] (130-226.197-178.cust.bluewin.ch. [178.197.226.130]) by mx.google.com with ESMTPSA id bs2sm36122043wjc.43.2014.12.07.09.18.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 07 Dec 2014 09:18:48 -0800 (PST) Message-ID: <54848BF7.5030907@gmail.com> Date: Sun, 07 Dec 2014 18:18:47 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [PATCH] grub-install: Include all decompressor modules in pvxen core image. References: <1417163614-22703-1-git-send-email-ijc@hellion.org.uk> <20141128200952.31d2c6be@opensuse.site> <1417195555.23604.69.camel@hellion.org.uk> <20141130143101.0bb4298e@opensuse.site> <1417348279.2372.20.camel@hellion.org.uk> <1417354463.2372.27.camel@hellion.org.uk> In-Reply-To: <1417354463.2372.27.camel@hellion.org.uk> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HFJJeoavSBG9vAVfdlmQajnFsREURgXPT" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::230 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2014 17:19:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HFJJeoavSBG9vAVfdlmQajnFsREURgXPT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 30.11.2014 14:34, Ian Campbell wrote: > On Sun, 2014-11-30 at 11:51 +0000, Ian Campbell wrote: >> On Sun, 2014-11-30 at 14:31 +0300, Andrei Borzenkov wrote: >>> if [ x$grub_platform =3D xxen ]; then >>> insmod xzio >>> fi >> >> I think that could work. >=20 > Indeed it does, so how about this instead of the patch at the start of > the thread? >=20 This should probably have been autoloaded. Can you send me privately a kernel you use, so I can reproduce your tests? >>>From f4199776eca80dfad4e9378a01ddb5866face3d7 Mon Sep 17 00:00:00 2001 > From: Ian Campbell > Date: Sun, 30 Nov 2014 12:12:52 +0000 > Subject: [PATCH] Arrange to insmod xzio when booting a kernel as a Xen = guest >=20 > This is needed in case the Linux kernel is compiled with CONFIG_KERNEL_= XZ > rather than CONFIG_KERNEL_GZ (gzio is already loaded by grub.cfg). >=20 > Signed-off-by: Ian Campbell >=20 > Patch-Name: insmod-xzio-on-xen.patch > --- > util/grub.d/10_linux.in | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in > index 79fa03a..86e35f2 100644 > --- a/util/grub.d/10_linux.in > +++ b/util/grub.d/10_linux.in > @@ -150,6 +150,7 @@ linux_entry () > fi > =20 > echo " insmod gzio" | sed "s/^/$submenu_indentation/" > + echo " if [ x\$grub_platform =3D xxen ]; then insmod xzio; insmod lz= opio; fi" | sed "s/^/$submenu_indentation/" > =20 > if [ x$dirname =3D x/ ]; then > if [ -z "${prepare_root_cache}" ]; then >=20 --HFJJeoavSBG9vAVfdlmQajnFsREURgXPT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iF4EAREKAAYFAlSEi/cACgkQmBXlbbo5nOvOigD/U+UJHWfaO3drQ5WtRIIcsLK/ GAXqVxHSDcY03reg/GIA/156XTsnAwlyI0DlZtNNQP5KJNiQANF4x0rxjjVDCNIc =Mg9r -----END PGP SIGNATURE----- --HFJJeoavSBG9vAVfdlmQajnFsREURgXPT--