lkml.org 
[lkml]   [2004]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Boot failure, 2.6.10-rc2
>Hi.  When booting 2.6.10-rc2, I get
>Warning: unable to open an initial console
>(and the boot process then stalls).
>
>My system has the following already configured:
>crw------- 1 bob root 5, 1 Nov 16 10:10 /dev/console

Are you sure /dev/console exists when the kernel boots?
(It is thy duty to ask this...)

I wonder, because there is no configurator (menuconfig) option to en-/disable
the driver for /dev/console -- it's *always* in. In 2.6.8, and I have not seen
any changes to drivers/char/tty_io.c:tty_init() - where it is added - in
further kernels yet.

>My kernel configuration includes the following:
>CONFIG_UNIX98_PTYS=y
>CONFIG_LEGACY_PTYS=y
>CONFIG_LEGACY_PTY_COUNT=256

Initial console has nothing to do with ptys.
The console driver will always be compiled in, it is not wrapped into any
#if..#endif in drivers/char/tty_io.c.
But to be on the safe side, enable:

CONFIG_VT=y
CONFIG_VT_CONSOLE=y

>I have appended console=/sbin/bash to the kernel boot line (which does
>not meet with success).

The one that takes a program is init=, but that will probably also not work
because you ain't got no console.

As I read from kernel/printk.c, the console= parameter seems to set up a
-serial line-, also see Documentation/serial-console.txt and
kernel-parameters.txt.

>If it makes any difference, my system is FC3. Is there anything special
>I have to do to udev (or a particular version I have to get in order to
>start a console after the kernel is loaded (and the memory is freed
>after it's shuffled from himem to lomem)?

How, after all, did you run into this error? Directly after upgrading (if
applicable)?



Jan Engelhardt
--
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:0.045 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site