Rainer Dorsch <m...@bokomoko.de> writes: > Hello, > > I tried to start a serial console on ttyS0, but when I try to start the > serial-getty service, it does not return: > > root@master:~# systemctl status serial-getty@ttyS0.service > ○ serial-getty@ttyS0.service - Serial Getty on ttyS0 > Loaded: loaded (/lib/systemd/system/serial-getty@.service; enabled; > preset: enabled) > Active: inactive (dead) > Docs: man:agetty(8) > man:systemd-getty-generator(8) > https://0pointer.de/blog/projects/serial-console.html
The only strange thing to me is that name serial-getty@ttyS0.service since I have just serial-getty@ttyS0.service - Serial Getty on ttyS0 But I guess it doesn't really matter. > root@master:~# systemctl start serial-getty@ttyS0.service Does it start when you do that? Any messages? Has it ever worked? What kind of hardware is it? I had quite some issues finding a PCIe card with a serial port that works in Linux but the third or fourth card was the charm. Both console messages and running agetty on it just worked. Doesn't work for Grub though.