From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZogM-0003jj-Tq for qemu-devel@nongnu.org; Tue, 26 Jan 2010 11:54:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZogJ-0003eM-0n for qemu-devel@nongnu.org; Tue, 26 Jan 2010 11:54:26 -0500 Received: from [199.232.76.173] (port=32981 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZogI-0003e1-HV for qemu-devel@nongnu.org; Tue, 26 Jan 2010 11:54:22 -0500 Received: from mail-iw0-f188.google.com ([209.85.223.188]:33454) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZogH-0005gK-WE for qemu-devel@nongnu.org; Tue, 26 Jan 2010 11:54:22 -0500 Received: by iwn26 with SMTP id 26so4971884iwn.14 for ; Tue, 26 Jan 2010 08:54:20 -0800 (PST) Message-ID: <4B5F1E39.1000909@codemonkey.ws> Date: Tue, 26 Jan 2010 10:54:17 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] CONFIG_FB_CIRRUS for Linux guests References: <4B5EFFBC.8020703@siemens.com> In-Reply-To: <4B5EFFBC.8020703@siemens.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Marcelo Tosatti , qemu-devel On 01/26/2010 08:44 AM, Jan Kiszka wrote: > Hi, > > just received some Linux guest kernel that refuses to properly use its > framebuffer console under QEMU (probably any version, tried down to some > 0.10.x). It turned out that it has CONFIG_FB_CIRRUS enabled and fails to > initialize the display when this is actually used. Anyone came across > this before or has some idea what goes wrong? > Looks like it worked at some point: commit ca896ef389fc44c7a673d1bd2b94823e28da37a1 Author: aurel32 Date: Thu May 8 12:21:27 2008 +0000 cirrusfb: proper "Attribute Controller Toggle Readback" register behaviour (Marcelo Tosatti) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4386 c046a42c-6fe2-441c The cirrusfb Linux driver uses the toggle readback register to determine whether to flip 0xC30 to data/address mode. Without proper implementation the VGA mode will be erroneously set to blank resulting in crashes when starting BITBLT. 3d4h index 24h (R): Attribute Controller Toggle Readback Register bit 7 If set the Attribute Controller will next access a data register, if clear it'll access the index register Signed-off-by: Marcelo Tosatti Regards, Anthony Liguori > Jan > >