Skip to contentSkip to conversation

console device on s390 systems

DISCUSSION Guenter Roeck 1 participant 1 message Aug 14, 2018 1 message not in the archive s390

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20180814125219.GA2232@osiris

#1 lore raw
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] enabled

Quoted 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/consoles only 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