Description of problem:
Currently, it is not possible to have both a serial console and a physical
console on tty1 at the same time.
This is very useful in the situation where you have a machine in a colo facility
with console redirection to ttyS0, but are unable to access the serial console
and have to rely on a third party at the physical console to be your eyes and
It would be really really really useful to be able to have console=ttyS0,9600
console=tty1 and have simultaneous display of kernel output to both the serial
line and the physical console of the machine.
If there is some way that this can already be done then it is not terribly
obvious how to enable it as I've spent a fair ammount of time trying to make
A little elaboration on this... the kernel output is sent to both, but the
processes following init only send their output to the last entered "console="
arg of the kernel. It would be nice if they wrote to both.
The kernel will happily do dual console output, so I think this is more of an
Init seems to only output to the last console specified on the command line.
It would be swell if it could support tty0 and a serial port. :)
A proper kernel boot argument list and a clever use of tee (needs to be copied
to /bin/tee) will produce the desired behavior. Only noteworthy restriction is
that the console capable of input before any gettys are running will be limited
to one or the other console based on the order they are specified on the command
Still a problem with current distros ?
Closing, no response.
Can you provide the required changed to the init scripts in order for init
output to go to all consoles specified as arguments to the kernel on boot?
I don't think this is possible as it currently stands in init.
Well... in that case, feel free to just close this. It's not a critical thing
... I just didn't know if it was something we could easily accomodate.
Otherwise, perhaps consider this as a request for enhancement.