Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I5PZo-0000fy-Lv for mharc-grub-devel@gnu.org; Mon, 02 Jul 2007 13:20:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5PZn-0000fS-Tz for grub-devel@gnu.org; Mon, 02 Jul 2007 13:20:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5PZm-0000es-EP for grub-devel@gnu.org; Mon, 02 Jul 2007 13:20:39 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5PZm-0000ee-8c for grub-devel@gnu.org; Mon, 02 Jul 2007 13:20:38 -0400 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 1I5PZl-0001Gi-03; Mon, 02 Jul 2007 13:20:37 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1I5PZj-0003jW-8c; Mon, 02 Jul 2007 19:20:36 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1I5PbF-0005YP-8I; Mon, 02 Jul 2007 19:22:09 +0200 Date: Mon, 2 Jul 2007 19:22:09 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070702172209.GB20920@aragorn> References: <20070702081709.GA14970@aragorn> <20070702124849.GA15786@coresystems.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070702124849.GA15786@coresystems.de> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Genre and OS details not recognized. Cc: jordi@gnu.org Subject: Re: PowerMac hack breaks Efika 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, 02 Jul 2007 17:20:40 -0000 On Mon, Jul 02, 2007 at 02:48:49PM +0200, Stefan Reinauer wrote: > * Robert Millan [070702 10:17]: > > The following lines in grub_ofconsole_init(): > > > > /* The latest PowerMacs don't actually initialize the screen for us, so we > > * use this trick to re-open the output device. */ > > grub_ieee1275_interpret ("output-device output", 0); > > > > break Efika (SmartFirmware) and possibly other implementations. After this > > command is run, all console output is supressed. > > > I'm not sure why (found that via regression test), but on Efika the > > output-device is screen (/pci@80000000/display@10). > > Can you examine the output property of the /chosen node and see what its > original vallue is? I'm not sure if this is what you want: (I'm pretty new to OF) ok cd /chosen ok .properties name "chosen" stdin 0x7C5F0E8 (130412776) stdout 0x7C5F038 (130412600) bootpath "" bootargs "" memory 0x7C54E28 (130371112) mmu 0x7C55818 (130373656) > > I suppose the right fix would be to check for PowerMacs before running this, > > but I'm not sure how. Any ideas? > > There's some property in the / or /cpu or /openprom noe that can be > used. Don't have a ppc machine from Apple here right now. I don't either, but Jordi Mallach does. I'm CCing him. > Why does Apple Powerbook need this? No idea (other than the C comment above). Maybe Hollis can explain. > What's their default output device? According to Jordi, output-device is set to "screen". -- Robert Millan My spam trap is honeypot@aybabtu.com. Note: this address is only intended for spam harvesters. Writing to it will get you added to my black list.