Re: [systemd-devel] Help getting serial console working again after upgrade to systemd?
It was 2013-07-10 śro 20:26, when Dmt Ops wrote: Hey all, I'm starting upgrades to old production servers to newer 64-bit Linux that runs systemd = v195. Serial consoles are always my 1st step. Before upgrade it worked great. After upgrade, with the new systemd-based config, I'm not having much luck so far. I configured the grub conf: serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1 terminal --timeout=3 serial console title PRODUCTION root (hd0,0) kernel /vmlinuz root=/dev/sd1a noresume showopts x11failsafe vga=0x31a console=tty0 console=com1,vga initrd /initrd According to kernel-parameters.txt[1] (it's for 3.10 but I assume there hasn't been any changes in this area for quite some time) you have to use ttyS0 instead of com1. Neither serial-console.txt[2] mentions com[1-4] to be a proper name for a serial port. [1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/kernel-parameters.txt?id=v3.10#n560 [2] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/serial-console.txt?id=v3.10 -- Łukasz Stelmach Samsung RD Institute Poland Samsung Electronics ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Help getting serial console working again after upgrade to systemd?
On Wed, 10.07.13 11:26, Dmt Ops (ops...@gmail.com) wrote: Hey all, I'm starting upgrades to old production servers to newer 64-bit Linux that runs systemd = v195. Serial consoles are always my 1st step. Before upgrade it worked great. After upgrade, with the new systemd-based config, I'm not having much luck so far. Note that systemd will actually automatically spawn a serial getty on the serial port kernel logging is directed to. Normally you should not need to do anything. I configured the grub conf: serial --unit=0 --speed=57600 --word=8 --parity=no --stop=1 terminal --timeout=3 serial console title PRODUCTION root (hd0,0) kernel /vmlinuz root=/dev/sd1a noresume showopts x11failsafe vga=0x31a console=tty0 console=com1,vga That doesn't look right. With that setup I get nothing out the serial port. I probably have the grub cmd line wrong for using with systemd. I could use some help getting this untangled. Maybe the baud rate isn't right? Note that serial-getty@.service will try to reuse whatever was initialized by the kernel, hence make sure to configure the right parameters on the kernel console and you should be fine. Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel