From debian-user Mon Jan 08 21:19:40 2024 From: Rainer Dorsch Date: Mon, 08 Jan 2024 21:19:40 +0000 To: debian-user Subject: Re: serial-getty@ttyS0.service does not start Message-Id: <2943087.u8IUKq1HFI () h370> X-MARC-Message: https://marc.info/?l=debian-user&m=170474875114202 Hi Michael, thanks for your quick reply. Am Sonntag, 7. Januar 2024, 15:06:22 CET schrieb Michael Biebl: > Am 07.01.24 um 14:45 schrieb Rainer Dorsch: >=20 > > Hello, > >=20 > > I tried to start a serial console on ttyS0, but when I try to start the > > serial-getty service, it does not return: >=20 >=20 > Looks like the service is waiting for the device to appear. > Do you have a /dev/ttyS0 device? I get kernel messages through that device on the serial interface using=20 console=3DttyS0,115200n8 as kernel parameter. > Can you show the output of >=20 > ls -la /dev/ttyS0 > systemctl status dev-ttyS0.device > udevadm info /dev/ttyS0 root@master:~# ls -la /dev/ttyS0 crw-rw---- 1 root dialout 4, 64 Jan 8 22:14 /dev/ttyS0 root@master:~# systemctl status dev-ttyS0.device =E2=97=8F dev-ttyS0.device - /dev/ttyS0 Follows: unit currently follows state of sys-devices-pnp0-00:06-tty- ttyS0.device Loaded: loaded Active: active (plugged) since Sun 2024-01-07 14:35:33 CET; 1 day 7h a= go Device: /sys/devices/pnp0/00:06/tty/ttyS0 Jan 07 14:35:33 master systemd[1]: Found device dev-ttyS0.device - /dev/tty= S0. root@master:~# udevadm info /dev/ttyS0 P: /devices/pnp0/00:06/tty/ttyS0 M: ttyS0 R: 0 U: tty D: c 4:64 N: ttyS0 L: 0 E: DEVPATH=3D/devices/pnp0/00:06/tty/ttyS0 E: DEVNAME=3D/dev/ttyS0 E: MAJOR=3D4 E: MINOR=3D64 E: SUBSYSTEM=3Dtty E: USEC_INITIALIZED=3D3388940 E: ID_MM_CANDIDATE=3D1 E: TAGS=3D:systemd: E: CURRENT_TAGS=3D:systemd: root@master:~#=20 Do you see anything suspicious in the output? Thanks Rainer =2D-=20 Rainer Dorsch http://bokomoko.de/