В Mon, 09 Mar 2015 10:52:52 +0100
Per Jessen
Andrei Borzenkov wrote:
В Mon, 09 Mar 2015 08:47:20 +0100 Per Jessen
пишет: Have checked, the kernel messages only go to the currently active console, not to every one. I have determined that I can control the messages by changing /proc/sys/kernel/printk, but I still don't know how to direct them to just one console (and always the same one).
Try passing console=tty1 on kernel command line.
Just tried it, didn't work - the messages still appear on the currently active/visible console. Did something change in this respect? I don't have reason to work on the physical console very much, but I don't remember this behaviour from older systems (this one is 13.1).
For all I remember kernel always printed messages on currently opened foreground tty by default. To change it use /usr/sbin/klogconsole -r n where n is tty number. May be it could be integrated in systemd (this is single ioctl after all). -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org