Thomas Duffy writes:
>
> I have read this document before and I went over it just a minute ago as a
> refresher. Still, I cannot find an answer to my problem.
>
> I can get lilo and the kernel to print to the serial port. And I can get
> "getty" to start on the serial lin. But, I cannot get stuff written out
> to console (like the initscritps messages or the logon in single user
> mode) to come out. That is my problem. I want /everything/ to come out
> on the serial line.
>
> The only way I have found to fix this problem is to remove /dev/console
> and re-mknod it as the serial line. I agree this is an ugly hack and if
> you know of a better way, then I would love to hear it. But this hack
> which I normally do does not work under devfs.
>
> -tduffy
>
I have this in my lilo.conf file:
append="console=tty1 console=ttyS1,38400"
And it appears that printk's go to both while anything directed
to /dev/console (like initscripts) go only to the serial port.
I believe reversing the two would change the output to be only
the graphics console.
I also have kdb config'd in, and it too uses the serial port.
Mike
|