You should something like that at the output of
$ ls -l /dev/tty?
crw--w---- 1 root root 4, 0 2005-03-19 20:36 /dev/tty0
crw-rw---- 1 root tty 4, 1 2005-10-24 18:24 /dev/tty1
crw-rw---- 1 root tty 4, 2 2005-10-24 18:24 /dev/tty2
=2E..
$
You wrote about virtual consoles: in this case you should have=20
CONFIG_VT=3Dy in .config file.
Or at least you should something like this at the output of=20
$ grep CONFIG_SERIAL_CONSOLE /where-your-kernel-sources-are/.config
CONFIG_SERIAL_CONSOLE=3Dy
$
But be aware of:
"If you don't have a VGA card installed and you say Y here, the
kernel will automatically use the first serial line, /dev/ttyS0, as
system console."
This is from HELP command in menuconfig...
I'll hope this will help...
Yoann
Post by Louis LaiHi Yoann,
Thanks for your reply!!
i can create the device file but i still not able to open it.
When i open /dev/tty0, i got "No such device".
Any ideas??
Thanks again,
Louis
-----Original Message-----
Sent: Friday, October 28, 2005 6:27 PM
To: Louis Lai
Subject: Re: missing /dev/tty0
=20
Post by Louis LaiHi all,
I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel=
can
Post by Louis LaiPost by Louis Laistart up properly but the tty0 doesn't exist under /dev. I have alrea=
dy
Post by Louis LaiPost by Louis Laienable the virtual console during kernel configuration. is it somethi=
ng
Post by Louis LaiPost by Louis Laiconfigure not properly for the kernel?? Anyone can help??
Thanks in advance,
Louis
=20
Hi Louis,
The problem is that you didn't create the special file /dev/tty0. Crea=
te
Post by Louis Lai# mknod /dev/tty0 c 4 0
# chmod 640 /dev/tty0
That should do it...
Yoann
=20