From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J9UAF-0005tm-88 for mharc-grub-devel@gnu.org; Mon, 31 Dec 2007 18:35:23 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9UAC-0005pp-Tl for grub-devel@gnu.org; Mon, 31 Dec 2007 18:35:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9UAA-0005mc-PP for grub-devel@gnu.org; Mon, 31 Dec 2007 18:35:19 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9UAA-0005mA-Hy for grub-devel@gnu.org; Mon, 31 Dec 2007 18:35:18 -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 1J9UAA-0000qK-G4 for grub-devel@gnu.org; Mon, 31 Dec 2007 18:35:18 -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 1J9UA7-0001Jm-LH; Tue, 01 Jan 2008 00:35:16 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1J9U9j-0001nf-S4; Tue, 01 Jan 2008 00:34:51 +0100 Date: Tue, 1 Jan 2008 00:34:51 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071231233451.GA6782@thorin> References: <20071231031229.1ilqcnpcwkc0oww8@webmail.spamcop.net> <1199090700.15525.17.camel@peder.flower> <1199140655.7332.15.camel@dv> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1199140655.7332.15.camel@dv> 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: Mon, 31 Dec 2007 23:35:21 -0000 On Mon, Dec 31, 2007 at 05:37:35PM -0500, Pavel Roskin wrote: > > On Mon, 2007-12-31 at 09:45 +0100, Jan Nieuwenhuizen wrote: > > Pavel Roskin writes: > > > > > However, GRUB starts in the rescue mode, > > > and I cannot do anything in that mode. > > > > In rescue mode, type > > > > insmod normal > > normal > > > > That will print the error why the menu is not started, because > > this should have been automatic, or else it will starts the menu. > > Oh well, that PowerMac G4 won't work at all anymore (looks like a > hardware failure, there is no video output), so I'm trying it on > PowerMAC G3 (Blue&White). > > I copied grub.cfg and kernel.elf to the root of the HFS boot partition > hd:2. I entered openfirmware on startup by holding Alt-Mac-O-F. I used > "dir hd:2,\" to check that kernel.elf is there. Then I loaded it with > "boot hd:2,\kernel.elf". That's what I got: > > grub rescue> insmod normal > error: unknown device > grub rescue> normal > unknown command `normal' > Try `help' for usage > grub rescue> lsmod > Name Ref Count Dependencies > grub rescue> set > prefix=(ultra0,2) > root=ultra0,2 > grub rescue> ls > (ide0/disk) DISK-LABEL: read of block0 failed > (cd) DISK-LABEL: read of block0 failed > (zip) (ide1/disk) (hd) (utltra0) > > My guess is kernel.elf doesn't include the necessary code. It's about > 60k long. Sounds like "DISK-LABEL: read of block0 failed" is printed by the firmware and not by GRUB. Also, device enumeration is the same for all devices, so the fact that it only appears for some of them hints at a firmware bug. What happens if you set debug=disk ? -- 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 /.)