[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (mostly) SOLVED (was Re: Serial console w/ Debian: only partial output?



According to Ralf G. R. Bergs:
> Ok, now that I corrected /dev/console and started a getty on /dev/ttyS0 my 
> setup is working almost as intended with one exception: If I include
> 
>   append="console=tty0 console=ttyS0,9600"
> 
> in my lilo.conf EVERYTHING that one would expect gets output to the serial 
> console, BUT there's a lot of stuff missing on the VGA console. If I 

That's right. That's how it is supposed to work.

> reverse the two "console" statements above, the output changes accordingly 
> (everything appears on the VGA console, but only a subset appears on the 
> serial console.)

Yes. The _kernel_ logs to both consoles, but whatever opens /dev/console
connects to just _one_ console.

> The problem seems to be related to kernel logging (klogd), since klogd 
> doesn't log ALL messages to syslogd either (there are the SAME lines 
> missing in /var/log/kern.log as in the cases described above.)

klogd only logs kernel messages, it doesn't log what is written
to /dev/console as those are not kernel messages.

Mike.
-- 
Indifference will certainly be the downfall of mankind, but who cares?


Reply to: