From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] dummy console
Date: Tue, 26 Jul 2005 20:55:30 +0200 [thread overview]
Message-ID: <42E68722.6020806@asmallpond.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0507252227370.18791@weber.math.ist.utl.pt>
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
next prev parent reply other threads:[~2005-07-26 18:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-25 11:29 [gentoo-user] dummy console Jorge Almeida
2005-07-25 18:39 ` Richard Fish
2005-07-25 21:27 ` Jorge Almeida
2005-07-25 18:40 ` Richard Fish
2005-07-25 21:30 ` Jorge Almeida
2005-07-26 18:55 ` Richard Fish [this message]
2005-07-26 22:17 ` Jorge Almeida
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42E68722.6020806@asmallpond.org \
--to=bigfish@asmallpond.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox