console device on s390 systems
A message that is not in the archive (sent off-list or not yet received): 20180814125219.GA2232@osiris
Quoted 20 lines · Heiko Carstens
Quoted 12 lines · Guenter Roeck
Hi,
when booting s390 images in qemu, I notice the following:
/ # cat
/proc/consoles
ttyS1 -W- (EC p ) 4:65
/ # ls/dev/ttyS*
ls:/dev/ttyS*: No such file or directory
/ #
/ # dmesg | grep tty
console [ttyS1] enabledQuoted 3 lines
In reality, the console is at
/dev/ttysclp0.Any idea what is going on ?
This is expected behavior. The sclp vt220 driver provides two types of Linux devices: a console device and a tty device.
Quoted 8 lines
/proc/consolesonly lists console device names as used by the console= kernel parameter. The character device node associated with the console is always/dev/console.tty device nodes are created based on tty devices names. Typically console and tty device names are the same, but in case of the sclp console device driver different names are used for historical reasons.
Interesting. Thanks a lot for the information.
Guenter