[lkml]   [2001]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: serial console slow
In article <9sha2j$l5l$>,
H. Peter Anvin <> wrote:
>I have had much better luck talking to /dev/console in userland.
>IMNSHO this should *always* work; anything else is broken.
>/dev/console currently *IS* broken to some degree, multi-console
>hasn't worked properly for a long time, and you don't get job control
>running of it because it isn't a tty, but I think it's a lot less
>broken than things like the above...

You don't have job control on /dev/console because it will never
become a controlling tty automatically. But if you make it your
controlling tty with the right ioctl() you'll have job control.

In fact the latest sysvinit does this for process spawned from
the 'sysinit', 'bootwait' and 'wait' type lines in /etc/inittab
and that works fine.

>(And dammit, I really would like to see console=tty0 console=ttyS0 to
>actually give me both consoles -- in userland *and* in the kernel...)

That would be extremely c00l ;)

"Only two things are infinite, the universe and human stupidity,
and I'm not sure about the former" -- Albert Einstein.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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