From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DaAcd-00031s-Tj for qemu-devel@nongnu.org; Mon, 23 May 2005 06:57:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DaAcX-0002yK-Ha for qemu-devel@nongnu.org; Mon, 23 May 2005 06:57:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaAcW-0002qe-Bi for qemu-devel@nongnu.org; Mon, 23 May 2005 06:57:16 -0400 Received: from [63.228.1.57] (helo=gate.crashing.org) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DaAgC-00030n-Eh for qemu-devel@nongnu.org; Mon, 23 May 2005 07:01:04 -0400 Subject: Re: [Qemu-devel] booting linux 2.6 in qemu-system-ppc From: Benjamin Herrenschmidt In-Reply-To: <1116845275.15980.96.camel@rapid> References: <1116115668.25230.1.camel@localhost> <1116159184.12010.88.camel@rapid> <1116808312.20084.14.camel@gaston> <1116845275.15980.96.camel@rapid> Content-Type: text/plain Date: Mon, 23 May 2005 20:51:02 +1000 Message-Id: <1116845462.5124.1.camel@gaston> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "J. Mayer" Cc: Johannes Berg , qemu-devel@nongnu.org On Mon, 2005-05-23 at 12:47 +0200, J. Mayer wrote: > On Mon, 2005-05-23 at 10:31 +1000, Benjamin Herrenschmidt wrote: > > > console=ttyS0 console=tty0 > > > Note that the Open-Firmware frame-buffer support is broken in many 2.6 > > > kernels (I mean on real Macs) > > > > How so ? > > Well, there have been many issues with frame-buffer in 2.6, not only on > Mac platform. > With Open-Firmware frame buffer, I remember the first 2.6 kernels had no > fb output at all. > Then came kernels that could display a Tux penguin in psychadelic > colors, I guess it was drawing in 16 bits mode when the OF frame-buffer > is 15 bits. > This has been solved in more recent kernels. I don't remember in which > version it was fixed (but I think around 2.6.5 or 2.6.6). > I can easily reproduce this on my Ibook and on my Apple Network Server, > which means it's not a hardware-dependant bug (Ibook 2 has an ATI > graphic card, ANS is cirrus-logic) nor it's specific to some OF version > (ANS one is really old...). > > There is now another bug with qemu: with recent 2.6 kernels, the > frame-buffer is recognized and console is working but it only draws > characters black on black background, even if I send escape sequences to > change the drawing color. Note that the penguin is well drawn, in those > cases. > If you have an idea of what can cause this, I'd be glad to know it ;-) I would say the palette isn't set properly ... Ben.