* missing /dev/tty0
@ 2005-10-28 9:46 Louis Lai
2005-10-28 9:46 ` Louis Lai
2005-10-28 10:26 ` Yoann Allain
0 siblings, 2 replies; 6+ messages in thread
From: Louis Lai @ 2005-10-28 9:46 UTC (permalink / raw)
To: linuxconsole-dev, linux-mips
Hi all,
I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
start up properly but the tty0 doesn't exist under /dev. I have already
enable the virtual console during kernel configuration. is it something
configure not properly for the kernel?? Anyone can help??
Thanks in advance,
Louis
^ permalink raw reply [flat|nested] 6+ messages in thread
* missing /dev/tty0
2005-10-28 9:46 missing /dev/tty0 Louis Lai
@ 2005-10-28 9:46 ` Louis Lai
2005-10-28 10:26 ` Yoann Allain
1 sibling, 0 replies; 6+ messages in thread
From: Louis Lai @ 2005-10-28 9:46 UTC (permalink / raw)
To: linuxconsole-dev, linux-mips
Hi all,
I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
start up properly but the tty0 doesn't exist under /dev. I have already
enable the virtual console during kernel configuration. is it something
configure not properly for the kernel?? Anyone can help??
Thanks in advance,
Louis
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: missing /dev/tty0
2005-10-28 9:46 missing /dev/tty0 Louis Lai
2005-10-28 9:46 ` Louis Lai
@ 2005-10-28 10:26 ` Yoann Allain
2005-10-28 10:43 ` Louis Lai
1 sibling, 1 reply; 6+ messages in thread
From: Yoann Allain @ 2005-10-28 10:26 UTC (permalink / raw)
To: Louis Lai; +Cc: linuxconsole-dev, linux-mips
Louis Lai a écrit :
>Hi all,
>
>I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
>start up properly but the tty0 doesn't exist under /dev. I have already
>enable the virtual console during kernel configuration. is it something
>configure not properly for the kernel?? Anyone can help??
>
>Thanks in advance,
>Louis
>
>
>
Hi Louis,
The problem is that you didn't create the special file /dev/tty0. Create
it with the mknod command :
# mknod /dev/tty0 c 4 0
Then put the good rights, for example:
# chmod 640 /dev/tty0
That should do it...
Yoann
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: missing /dev/tty0
2005-10-28 10:26 ` Yoann Allain
@ 2005-10-28 10:43 ` Louis Lai
2005-10-28 10:43 ` Louis Lai
2005-10-28 12:23 ` Yoann Allain
0 siblings, 2 replies; 6+ messages in thread
From: Louis Lai @ 2005-10-28 10:43 UTC (permalink / raw)
To: Yoann Allain; +Cc: linuxconsole-dev, linux-mips
Hi 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-----
From: Yoann Allain [mailto:yallain@avilinks.com]
Sent: Friday, October 28, 2005 6:27 PM
To: Louis Lai
Cc: linuxconsole-dev@lists.sourceforge.net; linux-mips@linux-mips.org
Subject: Re: missing /dev/tty0
Louis Lai a écrit :
>Hi all,
>
>I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
>start up properly but the tty0 doesn't exist under /dev. I have already
>enable the virtual console during kernel configuration. is it something
>configure not properly for the kernel?? Anyone can help??
>
>Thanks in advance,
>Louis
>
>
>
Hi Louis,
The problem is that you didn't create the special file /dev/tty0. Create
it with the mknod command :
# mknod /dev/tty0 c 4 0
Then put the good rights, for example:
# chmod 640 /dev/tty0
That should do it...
Yoann
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: missing /dev/tty0
2005-10-28 10:43 ` Louis Lai
@ 2005-10-28 10:43 ` Louis Lai
2005-10-28 12:23 ` Yoann Allain
1 sibling, 0 replies; 6+ messages in thread
From: Louis Lai @ 2005-10-28 10:43 UTC (permalink / raw)
To: Yoann Allain; +Cc: linuxconsole-dev, linux-mips
Hi 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-----
From: Yoann Allain [mailto:yallain@avilinks.com]
Sent: Friday, October 28, 2005 6:27 PM
To: Louis Lai
Cc: linuxconsole-dev@lists.sourceforge.net; linux-mips@linux-mips.org
Subject: Re: missing /dev/tty0
Louis Lai a écrit :
>Hi all,
>
>I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
>start up properly but the tty0 doesn't exist under /dev. I have already
>enable the virtual console during kernel configuration. is it something
>configure not properly for the kernel?? Anyone can help??
>
>Thanks in advance,
>Louis
>
>
>
Hi Louis,
The problem is that you didn't create the special file /dev/tty0. Create
it with the mknod command :
# mknod /dev/tty0 c 4 0
Then put the good rights, for example:
# chmod 640 /dev/tty0
That should do it...
Yoann
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: missing /dev/tty0
2005-10-28 10:43 ` Louis Lai
2005-10-28 10:43 ` Louis Lai
@ 2005-10-28 12:23 ` Yoann Allain
1 sibling, 0 replies; 6+ messages in thread
From: Yoann Allain @ 2005-10-28 12:23 UTC (permalink / raw)
To: Louis Lai; +Cc: linuxconsole-dev, linux-mips
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
...
$
You wrote about virtual consoles: in this case you should have
CONFIG_VT=y in .config file.
Or at least you should something like this at the output of
$ grep CONFIG_SERIAL_CONSOLE /where-your-kernel-sources-are/.config
CONFIG_SERIAL_CONSOLE=y
$
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
Louis Lai a écrit :
>Hi 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-----
>From: Yoann Allain [mailto:yallain@avilinks.com]
>Sent: Friday, October 28, 2005 6:27 PM
>To: Louis Lai
>Cc: linuxconsole-dev@lists.sourceforge.net; linux-mips@linux-mips.org
>Subject: Re: missing /dev/tty0
>
>
>Louis Lai a écrit :
>
>
>
>>Hi all,
>>
>>I am using a 2.4.30 kernel for my MIPS embedded processor. The kernel can
>>start up properly but the tty0 doesn't exist under /dev. I have already
>>enable the virtual console during kernel configuration. is it something
>>configure not properly for the kernel?? Anyone can help??
>>
>>Thanks in advance,
>>Louis
>>
>>
>>
>>
>>
>Hi Louis,
>
>The problem is that you didn't create the special file /dev/tty0. Create
>it with the mknod command :
># mknod /dev/tty0 c 4 0
>Then put the good rights, for example:
># chmod 640 /dev/tty0
>That should do it...
>
> Yoann
>
>
>
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-28 12:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 9:46 missing /dev/tty0 Louis Lai
2005-10-28 9:46 ` Louis Lai
2005-10-28 10:26 ` Yoann Allain
2005-10-28 10:43 ` Louis Lai
2005-10-28 10:43 ` Louis Lai
2005-10-28 12:23 ` Yoann Allain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox