Re: Atari bootstrap
On Wed, 4 Aug 2004, Andreas Schwab wrote:
> Petr Stehlik <firstname.lastname@example.org> writes:
> > Andreas and Stephen, I understand from your words that the unability to
> > open an initial console is something fatal. But I keep getting this
> > message everytime I boot the Woody's root.bin (which continues to
> > operate normally, it seems).
> I have no idea why you get the message. The last time I tried booting my
> TT with a ramdisk I didn't see the message and everything worked normally.
> > What does it mean when the /dev/console cannot be open?
> The message is printed in init/main.c:init(), just before /sbin/init is
> executed, and means that fds 0/1/2 remain closed. But since booting
> continues normally, someone apparently succeeds to open the console
> sometime later. Without any information about why it fails initially I
> see no way to explain the message.
And usually our next question is: What does `ls -l /dev/console' say on the
root file system?
/dev/console used to be (many years ago) a symbolic link to the real console
device, while in recent (read: anything but prehistoric) systems it's a
character device node with major 5 and minor 1.
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- email@example.com
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds