From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DxUbm-0005Rk-LK for garchives@archives.gentoo.org; Tue, 26 Jul 2005 18:56:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6QItsfL009474; Tue, 26 Jul 2005 18:55:54 GMT Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6QIqNBk031788 for ; Tue, 26 Jul 2005 18:52:24 GMT Received: (qmail 80530 invoked from network); 26 Jul 2005 18:52:33 -0000 Received: from unknown (HELO ?192.168.50.105?) (richard?j?fish@212.180.33.26 with plain) by smtp012.mail.yahoo.com with SMTP; 26 Jul 2005 18:52:33 -0000 Message-ID: <42E68722.6020806@asmallpond.org> Date: Tue, 26 Jul 2005 20:55:30 +0200 From: Richard Fish User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050723) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dummy console References: <42E53231.2090704@asmallpond.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 57acc142-2970-47ba-93a7-d8e304a46b03 X-Archives-Hash: e1cdec33a410bdc8745bce4e1820cb4f Jorge Almeida wrote: > On Mon, 25 Jul 2005, Richard Fish wrote: > >> >> >> Jorge Almeida wrote: >> >>> I upgraded from kernel 2.6.11 (gentoo-sources r4) to 2.6.12 (r6), and >>> lost my framebuffer console. No console whatsoever, actually, but xdm >>> starts OK. Checking .config, I see >>> # Console display driver support >>> # >>> CONFIG_VGA_CONSOLE=y >>> CONFIG_DUMMY_CONSOLE=y >>> CONFIG_FRAMEBUFFER_CONSOLE=m >> >> >> >> Oh, and also, FRAMEBUFFER_CONSOLE should be =y >> > Will try that (only tomorrow night, I can't access my home box until > then). > Still, what about the "dummy" thing? The configurator doesn't give a > chance. Is it OK like this? > Seems ok (I have the same thing). Looking at the Kconfig file in drivers/video/console, I find: config VGA_CONSOLE bool "VGA text console" if EMBEDDED || !X86 depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC32 && !SPARC64 && !M68K && !PARISC default y [...] Which means that VGA_CONSOLE is only configurable if you are doing an EMBEDDED or non-x86 configuration. For normal x86 builds, VGA_CONSOLE will always be available, since it defaults to 'y' Later on, we find: config DUMMY_CONSOLE bool depends on PROM_CONSOLE!=y || VGA_CONSOLE!=y || SGI_NEWPORT_CONSOLE!=y default y There seems to be a bit of a hole in the logic here, becuase PROM_CONSOLE is only configurable if you are on SPARC, and SGI_NEWPORT_CONSOLE is only configurable if you are on an SGI. So on x86, you are guaranteed both that VGA_CONSOLE will be =y, which means the middle conditional fails, but both of the other conditionals are true, so the whole statement is true. So you will get DUMMY_CONSOLE, and you will not have a chance to configure it since there is no title after the "bool". -Richard -- gentoo-user@gentoo.org mailing list