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 1DxXoF-0004nY-Bk for garchives@archives.gentoo.org; Tue, 26 Jul 2005 22:21:59 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6QMKqxh007436; Tue, 26 Jul 2005 22:20:52 GMT Received: from cubo.math.ist.utl.pt (cubo.math.ist.utl.pt [193.136.196.1]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6QMHLxS030445 for ; Tue, 26 Jul 2005 22:17:21 GMT Received: from weber.math.ist.utl.pt (weber.math.ist.utl.pt [193.136.196.172]) by cubo.math.ist.utl.pt (8.13.1/8.13.1) with ESMTP id j6QMHX2G020867 for ; Tue, 26 Jul 2005 23:17:33 +0100 Received: from weber.math.ist.utl.pt (localhost.localdomain [127.0.0.1]) by weber.math.ist.utl.pt (8.13.1/8.13.1) with ESMTP id j6QMHXWP001086 for ; Tue, 26 Jul 2005 23:17:33 +0100 Received: from localhost (jalmeida@localhost) by weber.math.ist.utl.pt (8.13.1/8.13.1/Submit) with ESMTP id j6QMHXSQ001083 for ; Tue, 26 Jul 2005 23:17:33 +0100 X-Authentication-Warning: weber.math.ist.utl.pt: jalmeida owned process doing -bs Date: Tue, 26 Jul 2005 23:17:33 +0100 (WEST) From: Jorge Almeida To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] dummy console In-Reply-To: <42E68722.6020806@asmallpond.org> Message-ID: References: <42E53231.2090704@asmallpond.org> <42E68722.6020806@asmallpond.org> 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 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Archives-Salt: 66ba1c75-0f4e-4e10-bb53-961a5ee964bc X-Archives-Hash: 47a6b537dce0157b2ea995b9bc6daf9e On Tue, 26 Jul 2005, Richard Fish wrote: >>> Oh, and also, FRAMEBUFFER_CONSOLE should be =y >>> Well, that made it! :) > > 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 > Thank you for the explanation. > Cheers, Jorge -- gentoo-user@gentoo.org mailing list