]> git.baikalelectronics.ru Git - kernel.git/commit
s390/sclp_vt220: fix console name to match device
authorValentin Vidic <vvidic@valentin-vidic.from.hr>
Tue, 27 Apr 2021 19:40:10 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Jun 2021 15:06:59 +0000 (17:06 +0200)
commit8983794ecd294765d524ff56d5ce0d8cc471ce1c
treed1477423e1af0f3d6cdfc62a53fc9350d0bd18ac
parent029ab6f3e8b115e3ce9c38241ddd4730fdd37f95
s390/sclp_vt220: fix console name to match device

Console name reported in /proc/consoles:

  ttyS1                -W- (EC p  )    4:65

does not match the char device name:

  crw--w----    1 root     root        4,  65 May 17 12:18 /dev/ttysclp0

so debian-installer inside a QEMU s390x instance gets confused and fails
to start with the following error:

  steal-ctty: No such file or directory

Signed-off-by: Valentin Vidic <vvidic@valentin-vidic.from.hr>
Link: https://lore.kernel.org/r/20210427194010.9330-1-vvidic@valentin-vidic.from.hr
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/setup.c
drivers/s390/char/sclp_vt220.c