From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1I5LKv-0003pf-E2 for mharc-grub-devel@gnu.org; Mon, 02 Jul 2007 08:49:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I5LKs-0003le-Vc for grub-devel@gnu.org; Mon, 02 Jul 2007 08:48:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I5LKs-0003jh-5K for grub-devel@gnu.org; Mon, 02 Jul 2007 08:48:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I5LKs-0003jC-02 for grub-devel@gnu.org; Mon, 02 Jul 2007 08:48:58 -0400 Received: from khepri.openbios.org ([80.190.231.112]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I5LKr-0005zs-IP for grub-devel@gnu.org; Mon, 02 Jul 2007 08:48:57 -0400 Received: from stepan by khepri.openbios.org with local (Exim 4.67) (envelope-from ) id 1I5LKj-0005rg-Td; Mon, 02 Jul 2007 14:48:49 +0200 Date: Mon, 2 Jul 2007 14:48:49 +0200 From: Stefan Reinauer To: The development of GRUB 2 Bcc: parag@codegen.com Message-ID: <20070702124849.GA15786@coresystems.de> References: <20070702081709.GA14970@aragorn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070702081709.GA14970@aragorn> X-Operating-System: Linux 2.6.22-rc2-git7-43-default on an x86_64 User-Agent: Mutt/1.5.15 (2007-04-06) X-Duff: Orig. Duff, Duff Lite, Duff Dry, Duff Dark, Raspberry Duff, Lady Duff, Red Duff, Tartar Control Duff X-detected-kernel: Linux 2.6 (newer, 3) Cc: 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 12:48:59 -0000 * 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 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. Why does Apple Powerbook need this? What's their default output device? Stefan -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: info@coresystems.de • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866