From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JA0u8-0007da-1M for mharc-grub-devel@gnu.org; Wed, 02 Jan 2008 05:32:56 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JA0u6-0007dT-1b for grub-devel@gnu.org; Wed, 02 Jan 2008 05:32:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JA0u4-0007cn-E6 for grub-devel@gnu.org; Wed, 02 Jan 2008 05:32:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JA0u4-0007ck-7z for grub-devel@gnu.org; Wed, 02 Jan 2008 05:32:52 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JA0u3-00082w-Rs for grub-devel@gnu.org; Wed, 02 Jan 2008 05:32:52 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JA0ty-0004TI-GO; Wed, 02 Jan 2008 11:32:50 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JA0tW-0001KJ-Rg; Wed, 02 Jan 2008 11:32:18 +0100 Date: Wed, 2 Jan 2008 11:32:18 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080102103218.GB4295@thorin> References: <20071231031229.1ilqcnpcwkc0oww8@webmail.spamcop.net> <1199090700.15525.17.camel@peder.flower> <1199140655.7332.15.camel@dv> <20071231233451.GA6782@thorin> <20080102014604.mokv4nr54w48kcg0@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080102014604.mokv4nr54w48kcg0@webmail.spamcop.net> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Jan Nieuwenhuizen Subject: Re: Testing on PowerMac G4 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: Wed, 02 Jan 2008 10:32:54 -0000 On Wed, Jan 02, 2008 at 01:46:04AM -0500, Pavel Roskin wrote: > Quoting Robert Millan : > > >>My guess is kernel.elf doesn't include the necessary code. It's about > >>60k long. > > Now I'm sure about that. Unfortunately, grub-mkimage produces images > that the OpenFirmware fails to load with "CLAIM failed" (even with > just one short module). Indeed, bad things started with the first > commit on 2007-02-21. I'm afraid I won't be able to figure it out > without Hollis. It can mostly be solved by analizing/testing the regression diff. In August I sent an updated version that might be helpful: http://lists.gnu.org/archive/html/grub-devel/2007-08/msg00031.html just take the grub-mkimage.c part of it and try to revert it on CVS HEAD, that would confirm it's a grub-mkimage problem. Then apply the hunks selectively untill you find the exact change that broke it. And finally it's just a matter of "looking hard" at that hunk untill it's coerced to reveal the problem :-) This seems to affect many powermac users. I'd have gone through the bug myself, but I don't have access to the hardware. > (Not to put any pressure of anyone, but GNU ChangeLog shows its age > here - the detailed changes are described, but the motivation behind > the whole patch is not, yet the details can be recovered with the > version control, whereas the motivation has to be guessed) Full ack. But, you didn't mention any alternative. > Both ide0/disk and cd refer to the CD-ROM. The messages are not shown > if there is a CD in the drive. > > >What happens if you set debug=disk ? > > Typing from another monitor, sorry for possible typos. > > disk/ieee1275/ofdisk.c:65: Opening `ide1/disk:0'. > disk/ieee1275/ofdisk.c:74: Opened `ide1/disk:0' as handle 0xff9d1c00. > kern/disk.c:299: Opening `ide1/disk' failed. > kern/disk.c:312: Closing `ide1/disk'. This seems to be contradictory. If OF returned a handle, why does the open fail ? Looks like GRUB doesn't like something but isn't telling you what. I'd investigate that part; at the least it can mean our error handling isn't good enough. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)