From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XXkm2-0007ZD-1t for mharc-grub-devel@gnu.org; Sat, 27 Sep 2014 01:42:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXklv-0007Ye-42 for grub-devel@gnu.org; Sat, 27 Sep 2014 01:42:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXklp-0004o4-DZ for grub-devel@gnu.org; Sat, 27 Sep 2014 01:42:19 -0400 Received: from mail-lb0-x22b.google.com ([2a00:1450:4010:c04::22b]:51526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXklp-0004nf-5K for grub-devel@gnu.org; Sat, 27 Sep 2014 01:42:13 -0400 Received: by mail-lb0-f171.google.com with SMTP id l4so15521588lbv.16 for ; Fri, 26 Sep 2014 22:42:06 -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=w/bIu1rYWNVmg/19lLsxjTyFqGFzHyv1BH6dOyxKbPc=; b=RblQu32flvCEjccDqkqFXzU8x72Icguf3AlJEjQsrOFN4qBAM68lRrMEaqDHlO5+5D nTWubuoFZvbw4Q66miVfNIvH5jef0Rc9+Mj7gnuGFBuIxCOKo2fKtpyPz8AG3ZcxhzGH H5/V7A+t2qq9cZmhC2LugQbVGhmLmVgj74YjU+aRWkdIsGi9ACJYMQ/+OF2JNlR+HJDG WIQNY1lyz14nvlIyN25OGmz8JPaSSplrROas8vlW1Y4fnZOuxeERgUMxhslspj8RMD1D v+J9OWgsZrBW/pejqwVvx1JG9LwGaXDJL+kFlbh5lJ5eVfgsNzGs7tDatNrP5gsmkqpt RlkA== X-Received: by 10.112.171.229 with SMTP id ax5mr16696792lbc.25.1411796526806; Fri, 26 Sep 2014 22:42:06 -0700 (PDT) Received: from opensuse.site (ppp94-29-94-89.pppoe.spdop.ru. [94.29.94.89]) by mx.google.com with ESMTPSA id li3sm2562196lab.25.2014.09.26.22.42.05 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Sep 2014 22:42:05 -0700 (PDT) Date: Sat, 27 Sep 2014 09:42:04 +0400 From: Andrei Borzenkov To: Dinar Valeev Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :) Message-ID: <20140927094204.673868ce@opensuse.site> In-Reply-To: <1396635898.2170.12.camel@petersburg.suse.cz> References: <20140401214945.209b4894@opensuse.site> <533B1FF2.9040503@gmail.com> <20140403173336.GA16534@ram.oc3035372033.ibm.com> <20140403215356.1b953172@opensuse.site> <20140403183705.GK29218@ram.oc3035372033.ibm.com> <20140403230329.06d61900@opensuse.site> <20140403192657.GM29218@ram.oc3035372033.ibm.com> <20140403235446.2c69a649@opensuse.site> <20140403203222.GO29218@ram.oc3035372033.ibm.com> <20140404062851.1228cd3b@opensuse.site> <20140404174735.GB16534@ram.oc3035372033.ibm.com> <20140404221744.1ac39311@opensuse.site> <1396635898.2170.12.camel@petersburg.suse.cz> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.23; 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::22b Cc: The development of GNU GRUB , linuxram@us.ibm.com, pfsmorigo@br.ibm.com, phcoder@gmail.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: Sat, 27 Sep 2014 05:42:24 -0000 =D0=92 Fri, 04 Apr 2014 20:24:58 +0200 Dinar Valeev =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Fri, 2014-04-04 at 22:17 +0400, Andrey Borzenkov wrote: > > =D0=92 Fri, 4 Apr 2014 10:47:35 -0700 > > Ram Pai =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >=20 > > > On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote: > > > > =D0=92 Thu, 3 Apr 2014 13:32:22 -0700 > > > > Ram Pai =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > > >=20 > > > > >=20 > > > > > They generate a 32bit BE grub binary on a LE system? No. I dont= think > > > > > so. Because the cross-compile tool chain is not enabled do so. > > > > >=20 > > > >=20 > > > > bor@opensuse:/tmp/binaries> file usr/bin/grub2-mkimage > > > > usr/bin/grub2-mkimage: ELF 64-bit LSB executable, 64-bit PowerPC or= cisco 7500, version 1 (SYSV), dynamically linked (uses shared libs), for G= NU/Linux 3.0.0, BuildID[sha1]=3D4a9b7759e1c41a2b2de9f4d33bc179186bf04f8f, s= tripped > > > > bor@opensuse:/tmp/binaries> file usr/lib/grub2/powerpc-ieee1275/ker= nel.exec > > > > usr/lib/grub2/powerpc-ieee1275/kernel.exec: ELF 32-bit MSB executab= le, PowerPC or cisco 4500, version 1 (SYSV), statically linked, not stripped > > > > bor@opensuse:/tmp/binaries>=20 > > >=20 > > > I know Dinar had attempted and abondoned the work, because it did not= work for him. > > >=20 > > > As of now that thing is not there anymore...if you look at openSUSE:F= actory:PowerPC/grub2 > >=20 > > What do you mean? openSUSE:Factory:PowerPC/grub2 does not exist because > > openSUSE:Factory:PowerPC links to openSUSE:Factory and pulls everything > > not explicitly defined from there. And openSUSE:Factory itself gets > > updates from Base:System. > >=20 > > Cc'ing to clear confusion :) >=20 > Right, my mistake. I recall a message message with 64bit LE patches. But > seems that came from somewhere else. >=20 > Long story short. With 32Bit BE stage one I had several issues like > accessing btrfs and booting from media. I gave up on my hack, and now > use proposed patches (64Bit LE). >=20 > I'll submit it to Base:System. >=20 It does not look like it has anything to do with these patches. I cannot access btrfs on PPC BE as well - using packages from Factory ppc and ppc64. It sounds like there is missing endian conversion somewhere in btrfs code and using LE platform simply masks it off. I can access all other filesystems I tried which makes me believe it is btrfs issue.