Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JmZPq-0008IT-24 for mharc-grub-devel@gnu.org; Thu, 17 Apr 2008 15:05:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmZPn-0008Go-Jd for grub-devel@gnu.org; Thu, 17 Apr 2008 15:04:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmZPk-0008ES-4d for grub-devel@gnu.org; Thu, 17 Apr 2008 15:04:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmZPj-0008EF-Vx for grub-devel@gnu.org; Thu, 17 Apr 2008 15:04:56 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1JmZPh-0006TR-Ra for grub-devel@gnu.org; Thu, 17 Apr 2008 15:04:54 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 17 Apr 2008 15:04:41 -0400 Received: from [192.168.1.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id D25E5619058 for ; Thu, 17 Apr 2008 15:04:40 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080417142429.GA20342@nubol.oskuro.net> References: <20080417142429.GA20342@nubol.oskuro.net> Content-Type: text/plain Date: Thu, 17 Apr 2008 15:04:40 -0400 Message-Id: <1208459080.27241.18.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-4.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: 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 19:05:00 -0000 On Thu, 2008-04-17 at 16:24 +0200, Jordi Mallach wrote: > 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=5a474 adler32=50409797 I suspect this change: * kern/elf.c (grub_elf32_load): Get the physical address after the hook function is called, so that it's possible to change it inside the hook. It's just because it involves ELF files, and PowerPC kernels are ELF files. You may want to use the git clone of the repository for bisection: git://repo.or.cz/grub2.git That commit is 3e29769b6e7d9dce668e719f87fd3508bdef3bcf > I've found out the last version that works is 1.96+20080219-2, with > latest changelog entry: > > > 2008-02-19 Robert Millan That's 53094f1fa0d674e155fe137eff5c8b6a4f7d33d2 > The next Debian version available is 20080228-1, with the following > changelog entry: > > 2008-02-28 Robert Millan That's 3532b06122258d8551b7e7f37cd03c0c5d3633c8 Happy bisecting :-) > 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. Actually, I would prefer that we retire device.map and use BIOS/firmware data, relative paths and labels whenever possible. That should work for the absolute majority of the users. Sophisticated cross-device installs should provide the needed mappings on the command line. But I don't think I have ever suggested that publicly. -- Regards, Pavel Roskin