From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YlU4u-0001DY-KP for mharc-grub-devel@gnu.org; Thu, 23 Apr 2015 23:14:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlU4s-0001DN-5a for grub-devel@gnu.org; Thu, 23 Apr 2015 23:14:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlU4n-0004vV-5d for grub-devel@gnu.org; Thu, 23 Apr 2015 23:14:54 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:35042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlU4m-0004vJ-T2 for grub-devel@gnu.org; Thu, 23 Apr 2015 23:14:49 -0400 Received: by lbbuc2 with SMTP id uc2so27037258lbb.2 for ; Thu, 23 Apr 2015 20:14:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=VGq3K9t3kwL2AesCKmNx+vyeTMUMIo3tVNHL18DpoBA=; b=whe+IbvCow8fzV5flu3NZloxUcEIOAtDfaLk1fCOVNPwvym6P5qttSUxCGgmoJ82v3 ZhuwisbfXf7hXp9I5nlLA0EcftIC/ms6y1FCk+3FtyFPga21v7agWSs4bmOL2cIZIbiJ CGJGvK4tMKqPd3ICZJO1T2k84bB4bXF7/B7U8/YATlKqqR4/Xhcesnx1VEAFV9DUud5S oiChcdth6DR0c58XSUx1C75ed25cDKzdfMUNqZ4VaFnxurn6JlxFCGB9C3flntSpHAk1 UAjgtljB11ol5Fe/UGHt3lwMG5LThmMNebSVgWJp9/XlLAl/qs5/A4hkogqoNXDKdOHb reYA== X-Received: by 10.112.160.41 with SMTP id xh9mr2954020lbb.96.1429845287614; Thu, 23 Apr 2015 20:14:47 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id n10sm2272618laa.40.2015.04.23.20.14.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Apr 2015 20:14:46 -0700 (PDT) Date: Fri, 24 Apr 2015 06:14:43 +0300 From: Andrei Borzenkov To: "H. Peter Anvin" Subject: Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO Message-ID: <20150424061443.3d80329c@opensuse.site> In-Reply-To: <55396F5E.7090303@zytor.com> References: <55396F5E.7090303@zytor.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22f Cc: grub-devel@gnu.org, David Shaw , syslinux@zytor.com 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: Fri, 24 Apr 2015 03:14:55 -0000 =D0=92 Thu, 23 Apr 2015 15:17:02 -0700 "H. Peter Anvin" =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 04/23/2015 07:23 AM, David Shaw via Syslinux wrote: > >=20 > > I'm not sure if this is related to the problem, but note the length > > in the "Ramdisk" line from grub legacy is one byte shorter than the > > length from grub2. Also note that the length given in the "gzip > > image" line is shifted one byte to the left in the grub legacy > > version (i.e. it's exactly 0x100 times larger). > >=20 >=20 > That would definitely break using a compressed ramdisk. It does not break for kernel. What makes is so different in case of syslinux? > And yes, this > is why the length is wrong. >=20 > This would be a Grub2 bug. >=20 > -hpa >=20 >=20