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

serial-getty@ttyS0.service does not start



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 
root@master:~# systemctl start serial-getty@ttyS0.service  

Printing kernel messages on the same console works flawless:

rd@master:~$ cat /proc/cmdline 
BOOT_IMAGE=/vmlinuz-6.1.0-17-amd64 root=/dev/mapper/master--vg-root ro 
console=tty0 console=ttyS0,115200n8 quiet
rd@master:~$ 

Any hint or idea why the serial console is not working is welcome.

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/



Reply to: