From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XY83U-0007up-FD for mharc-grub-devel@gnu.org; Sun, 28 Sep 2014 02:34:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XY83N-0007u3-2t for grub-devel@gnu.org; Sun, 28 Sep 2014 02:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XY83H-0000yI-DI for grub-devel@gnu.org; Sun, 28 Sep 2014 02:33:53 -0400 Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:48892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XY83H-0000y4-5T for grub-devel@gnu.org; Sun, 28 Sep 2014 02:33:47 -0400 Received: by mail-lb0-f170.google.com with SMTP id n15so4664119lbi.1 for ; Sat, 27 Sep 2014 23:33:40 -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=L43C5bI2vUJR4iyauDLcHLueWgIkibsH7wecdsfEeSw=; b=krT56h1DG/p0VV0yIN7TzhfS1eTTAD05jO0KN8bXU5dohvICm5ClW5A5x1GMXIAERi zzUmNjvNBmOcNhpfxqFt9LIydN5Z7wqtebInQrIWekgRZxGbbivKYJkjOHtOIy3hKqdN 1Et+U7p7l7hL3S58Z5FY89YeSkYq7Nlq6wMazi8fZS7iwu735vYGpvGpXFAzkIApvQJR S2klKFoDR+gqouthI0CkRO+a2O4XOhb1MUl7tEB16s8PUOj16KWLU563o2b3S5zu+6pu twb8K+f9sTYGxn1CJwdkM2ETnoRIGw1j8gu/cif4g2Fnsp1noGXfte5DtK9YfY2gbsTV WC/g== X-Received: by 10.112.62.200 with SMTP id a8mr29061341lbs.34.1411886020858; Sat, 27 Sep 2014 23:33:40 -0700 (PDT) Received: from opensuse.site (ppp94-29-94-89.pppoe.spdop.ru. [94.29.94.89]) by mx.google.com with ESMTPSA id ug7sm3497782lac.48.2014.09.27.23.33.39 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Sep 2014 23:33:39 -0700 (PDT) Date: Sun, 28 Sep 2014 10:33:38 +0400 From: Andrei Borzenkov To: Andrei Borzenkov Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :) Message-ID: <20140928103338.19f2977b@opensuse.site> In-Reply-To: <20140927094204.673868ce@opensuse.site> 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> <20140927094204.673868ce@opensuse.site> 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::22a Cc: The development of GNU GRUB , Dinar Valeev , 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: Sun, 28 Sep 2014 06:33:58 -0000 =D0=92 Sat, 27 Sep 2014 09:42:04 +0400 Andrei Borzenkov =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > =D0=92 Fri, 04 Apr 2014 20:24:58 +0200 > Dinar Valeev =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >=20 > > 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 do= nt 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= GNU/Linux 3.0.0, BuildID[sha1]=3D4a9b7759e1c41a2b2de9f4d33bc179186bf04f8f,= stripped > > > > > bor@opensuse:/tmp/binaries> file usr/lib/grub2/powerpc-ieee1275/k= ernel.exec > > > > > usr/lib/grub2/powerpc-ieee1275/kernel.exec: ELF 32-bit MSB execut= able, PowerPC or cisco 4500, version 1 (SYSV), statically linked, not strip= ped > > > > > bor@opensuse:/tmp/binaries>=20 > > > >=20 > > > > I know Dinar had attempted and abondoned the work, because it did n= ot work for him. > > > >=20 > > > > As of now that thing is not there anymore...if you look at openSUSE= :Factory:PowerPC/grub2 > > >=20 > > > What do you mean? openSUSE:Factory:PowerPC/grub2 does not exist becau= se > > > openSUSE:Factory:PowerPC links to openSUSE:Factory and pulls everythi= ng > > > 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 >=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. >=20 > I can access all other filesystems I tried which makes me believe it is > btrfs issue. And this was even fixed in GIT at the same time this discussion was active :) I added patch to our RPM.