Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JmV2c-0003q5-TS for mharc-grub-devel@gnu.org; Thu, 17 Apr 2008 10:24:46 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmV2a-0003oS-HI for grub-devel@gnu.org; Thu, 17 Apr 2008 10:24:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmV2Y-0003nM-Pa for grub-devel@gnu.org; Thu, 17 Apr 2008 10:24:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmV2Y-0003nG-GV for grub-devel@gnu.org; Thu, 17 Apr 2008 10:24:42 -0400 Received: from flatline.sindominio.net ([82.144.4.26]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JmV2Y-00080r-2b for grub-devel@gnu.org; Thu, 17 Apr 2008 10:24:42 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by flatline.sindominio.net (Postfix) with ESMTP id B6B5EA159E15 for ; Thu, 17 Apr 2008 16:24:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at sindominio.net Received: from flatline.sindominio.net ([127.0.0.1]) by localhost (flatline.sindominio.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g968V41TDZDD for ; Thu, 17 Apr 2008 16:24:29 +0200 (CEST) Received: from nubol.oskuro.net (unknown [85.52.167.17]) by flatline.sindominio.net (Postfix) with ESMTP id 0F708A159C06 for ; Thu, 17 Apr 2008 16:24:29 +0200 (CEST) Received: by nubol.oskuro.net (Postfix, from userid 1000) id C150B3B0169; Thu, 17 Apr 2008 16:24:29 +0200 (CEST) Date: Thu, 17 Apr 2008 16:24:29 +0200 From: Jordi Mallach To: grub-devel@gnu.org Message-ID: <20080417142429.GA20342@nubol.oskuro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Content-Transfer-Encoding: quoted-printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Regression on powerpc-ieee2375 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 14:24:45 -0000 Hi, I've found some time to try to find out a small time gap where the following bug was introduced. I had a January or early February snapshot of grub installed in my Apple PowerBook. Installing it involves working around some problems, most notably grub-probe not liking that my boot device is called "hd" and not "hd0" in Apple's OpenFirmware. This makes grub-install unusable, although grub-mkdevicemap does write a correct file. To install, I need to copy the mod files to my bootstrap partition manually, create the core image and modify the correctly generated device.map so it reads "(hd0) /dev/hda" instead of "(hd) /dev/hda". After this, update-grub generates a grub.cfg, which I then need to correct back to "hd,X" values, and then I can boot. The other day I installed a recent grub snapshot, version 1.96+20080408-1= , and grub stopped being able to boot Linux. The menu loads correctly, and when an entry gets selected, I get: Booting Debian GNU/Linux, linux 2.6.25-rc8-powerpc (single-user mode) Invalid memory access a t %SRR0: 00139d4 %SRR1: 00003030 load-size=3D= 5a474 adler32=3D50409797 and am dropped to an OF prompt. I've found out the last version that works is 1.96+20080219-2, with latest changelog entry: 2008-02-19 Robert Millan * partmap/gpt.c: Include `'. (grub_gpt_partition_type_empty): Redefine with macro from `'. (gpt_partition_map_iterate): Adjust partition type comparison. [...] The next Debian version available is 20080228-1, with the following changelog entry: 2008-02-28 Robert Millan * conf/i386-linuxbios.rmk (pkglib_MODULES): Add aout.mod. (aout_mod_SOURCES): New variable. (aout_mod_CFLAGS): Likewise. (aout_mod_LDFLAGS): Likewise. * conf/i386-ieee1275.rmk: Likewise. Does anyone have an educated guess of what commit could have broken powerpc? I'm more or less available for testing, when I have the laptop with me, and can be contacted on IRC as well. I mentioned the grub-probe "(hd)" problem back in February, but I don't remember reaching any conclusion on what the correct behaviour should be. I think Pavel suggested that grub translated these unusual device names to add a number between OF and grub, but that's all I can remember. Any help to get grub-probe functional on Apple would be cool. Jordi --=20 Jordi Mallach P=E9rez -- Debian developer http://www.debian.org/ jordi@sindominio.net jordi@debian.org http://www.sindominio.net/ GnuPG public key information available at http://oskuro.net/