From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JAyUC-0005Zk-7K for mharc-grub-devel@gnu.org; Fri, 04 Jan 2008 21:10:08 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JAyUB-0005Z7-Ch for grub-devel@gnu.org; Fri, 04 Jan 2008 21:10:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JAyU9-0005Xn-M5 for grub-devel@gnu.org; Fri, 04 Jan 2008 21:10:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JAyU9-0005XX-Gb for grub-devel@gnu.org; Fri, 04 Jan 2008 21:10:05 -0500 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 1JAyU9-0002dG-AA for grub-devel@gnu.org; Fri, 04 Jan 2008 21:10:05 -0500 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 04 Jan 2008 21:10:04 -0500 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 7BC9F618FE1 for ; Fri, 4 Jan 2008 21:10:04 -0500 (EST) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <20080104203736.GA9375@thorin> References: <20071231233451.GA6782@thorin> <20080102014604.mokv4nr54w48kcg0@webmail.spamcop.net> <20080102103218.GB4295@thorin> <20080103030917.jl75lsuhkc8gk4w8@webmail.spamcop.net> <20080103121112.GB6169@thorin> <20080103102846.mhnl7v6xw4ksk48k@webmail.spamcop.net> <20080103155734.GA25410@thorin> <20080103112301.a1rs2lyk0oc8wsws@webmail.spamcop.net> <20080104123224.GA6657@thorin> <1199471219.17196.35.camel@dv> <20080104203736.GA9375@thorin> Content-Type: text/plain Date: Fri, 04 Jan 2008 21:10:03 -0500 Message-Id: <1199499004.25368.34.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.12.2 (2.12.2-2.fc8) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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: Sat, 05 Jan 2008 02:10:07 -0000 On Fri, 2008-01-04 at 21:37 +0100, Robert Millan wrote: > If you want to confirm that it's grub-mkimage's fault, you can try booting > kernel.elf directly. In theory it should give you a rescue prompt. That's what it does. And that's what we have been discussing closer to the bottom :-) > > In fact, the image doesn't even survive > > simple objcopy intact. "objcopy grubof.modules grubof.modules1" > > produces a file 208 bytes long. > > What is grubof.modules ? I never heard of it. That's the suggested name for the grub-mkimage output on PowerPC, according to http://grub.enbug.org/TestingOnPowerPC Yes, it's long and misleading. Maybe it should be called grub.elf or something. I'm usually good at inventing new names, but I have no good ideas this time :-) > Wait, that would be EACCES in Linux errno codes. In GRUB, grub_errno > 13 means GRUB_ERR_UNKNOWN_DEVICE (at the time of writing; there isn't a > stable ABI for this afaik). Thanks, that explains something! > If grub_errno was set you should've seen an error message somewhere. It > seems there's something wrong in our error handling. :-/ I agree. > I would really check the GRUB_IEEE1275_FLAG_NO_PARTITION_0 issue. It was just > a guess, but it smells really badly :-) I'll have a look. -- Regards, Pavel Roskin