€•yiŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ./translations/zh_CN/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/zh_TW/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/it_IT/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/ja_JP/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/ko_KR/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/pt_BR/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/sp_SP/admin-guide/serial-console”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒtarget”“”)”}”(hŒ.. _serial_console:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œserial-console”uh1hµh´Khhh²hh³ŒH/var/lib/git/docbuild/linux/Documentation/admin-guide/serial-console.rst”ubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒLinux Serial Console”h]”hŒLinux Serial Console”…””}”(hhËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÉhhÆh²hh³hÃh´KubhŒ paragraph”“”)”}”(hŒºTo use a serial port as console you need to compile the support into your kernel - by default it is not compiled in. For PC style serial ports it's the config option next to menu option:”h]”hŒ¼To use a serial port as console you need to compile the support into your kernel - by default it is not compiled in. For PC style serial ports it’s the config option next to menu option:”…””}”(hhÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhÚ)”}”(hŒ—:menuselection:`Character devices --> Serial drivers --> 8250/16550 and compatible serial support --> Console on 8250/16550 and compatible serial port`”h]”hŒinline”“”)”}”(hŒ†Character devices ‣ Serial drivers ‣ 8250/16550 and compatible serial support ‣ Console on 8250/16550 and compatible serial port”h]”hŒ†Character devices ‣ Serial drivers ‣ 8250/16550 and compatible serial support ‣ Console on 8250/16550 and compatible serial port”…””}”(hhïh²hh³Nh´Nubah}”(h]”h ]”Œ menuselection”ah"]”h$]”h&]”Œrawtext”hëuh1híhhéubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K hhÆh²hubhÚ)”}”(hŒDYou must compile serial support into the kernel and not as a module.”h]”hŒDYou must compile serial support into the kernel and not as a module.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K hhÆh²hubhÚ)”}”(hŒ£It is possible to specify multiple devices for console output. You can define a new kernel command line option to select which device(s) to use for console output.”h]”hŒ£It is possible to specify multiple devices for console output. You can define a new kernel command line option to select which device(s) to use for console output.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhÚ)”}”(hŒThe format of this option is::”h]”hŒThe format of this option is:”…””}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KhhÆh²hubhŒ literal_block”“”)”}”(hXconsole=device,options device: tty0 for the foreground virtual console ttyX for any other virtual console ttySx for a serial port lp0 for the first parallel port ttyUSB0 for the first USB serial device options: depend on the driver. For the serial port this defines the baudrate/parity/bits/flow control of the port, in the format BBBBPNF, where BBBB is the speed, P is parity (n/o/e), N is number of bits, and F is flow control ('r' for RTS). Default is 9600n8. The maximum baudrate is 115200.”h]”hXconsole=device,options device: tty0 for the foreground virtual console ttyX for any other virtual console ttySx for a serial port lp0 for the first parallel port ttyUSB0 for the first USB serial device options: depend on the driver. For the serial port this defines the baudrate/parity/bits/flow control of the port, in the format BBBBPNF, where BBBB is the speed, P is parity (n/o/e), N is number of bits, and F is flow control ('r' for RTS). Default is 9600n8. The maximum baudrate is 115200.”…””}”hj1sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1j/h³hÃh´KhhÆh²hubhÚ)”}”(hŒEYou can specify multiple console= options on the kernel command line.”h]”hŒEYou can specify multiple console= options on the kernel command line.”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K#hhÆh²hubhÚ)”}”(hŒÝThe behavior is well defined when each device type is mentioned only once. In this case, the output will appear on all requested consoles. And the last device will be used when you open ``/dev/console``. So, for example::”h]”(hŒºThe behavior is well defined when each device type is mentioned only once. In this case, the output will appear on all requested consoles. And the last device will be used when you open ”…””}”(hjOh²hh³Nh´NubhŒliteral”“”)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hjYh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjOubhŒ. So, for example:”…””}”(hjOh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K%hhÆh²hubj0)”}”(hŒconsole=ttyS1,9600 console=tty0”h]”hŒconsole=ttyS1,9600 console=tty0”…””}”hjqsbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´K*hhÆh²hubhÚ)”}”(hŒÈdefines that opening ``/dev/console`` will get you the current foreground virtual console, and kernel messages will appear on both the VGA console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.”h]”(hŒdefines that opening ”…””}”(hjh²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjubhŒ£ will get you the current foreground virtual console, and kernel messages will appear on both the VGA console and the 2nd serial port (ttyS1 or COM2) at 9600 baud.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K,hhÆh²hubhÚ)”}”(hŒ‚The behavior is more complicated when the same device type is defined more times. In this case, there are the following two rules:”h]”hŒ‚The behavior is more complicated when the same device type is defined more times. In this case, there are the following two rules:”…””}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K0hhÆh²hubhŒenumerated_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒFThe output will appear only on the first device of each defined type. ”h]”hÚ)”}”(hŒEThe output will appear only on the first device of each defined type.”h]”hŒEThe output will appear only on the first device of each defined type.”…””}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K3hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hj¯h²hh³hÃh´Nubj³)”}”(hX:``/dev/console`` will be associated with the first registered device. Where the registration order depends on how kernel initializes various subsystems. This rule is used also when the last console= parameter is not used for other reasons. For example, because of a typo or because the hardware is not available. ”h]”(hÚ)”}”(hŒ˜``/dev/console`` will be associated with the first registered device. Where the registration order depends on how kernel initializes various subsystems.”h]”(jX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjÐubhŒˆ will be associated with the first registered device. Where the registration order depends on how kernel initializes various subsystems.”…””}”(hjÐh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K5hjÌubhÚ)”}”(hŒŸThis rule is used also when the last console= parameter is not used for other reasons. For example, because of a typo or because the hardware is not available.”h]”hŒŸThis rule is used also when the last console= parameter is not used for other reasons. For example, because of a typo or because the hardware is not available.”…””}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K9hjÌubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj¯h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œenumtype”Œarabic”Œprefix”hŒsuffix”Œ.”uh1j­hhÆh²hh³hÃh´K3ubhÚ)”}”(hŒcThe result might be surprising. For example, the following two command lines have the same result::”h]”hŒbThe result might be surprising. For example, the following two command lines have the same result:”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K=hhÆh²hubj0)”}”(hŒYconsole=ttyS1,9600 console=tty0 console=tty1 console=tty0 console=ttyS1,9600 console=tty1”h]”hŒYconsole=ttyS1,9600 console=tty0 console=tty1 console=tty0 console=ttyS1,9600 console=tty1”…””}”hjsbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´K@hhÆh²hubhÚ)”}”(hXThe kernel messages are printed only on ``tty0`` and ``ttyS1``. And ``/dev/console`` gets associated with ``tty0``. It is because kernel tries to register graphical consoles before serial ones. It does it because of the default behavior when no console device is specified, see below.”h]”(hŒ(The kernel messages are printed only on ”…””}”(hj'h²hh³Nh´NubjX)”}”(hŒ``tty0``”h]”hŒtty0”…””}”(hj/h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj'ubhŒ and ”…””}”(hj'h²hh³Nh´NubjX)”}”(hŒ ``ttyS1``”h]”hŒttyS1”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj'ubhŒ. And ”…””}”(hj'h²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hjSh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj'ubhŒ gets associated with ”…””}”(hj'h²hh³Nh´NubjX)”}”(hŒ``tty0``”h]”hŒtty0”…””}”(hjeh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj'ubhŒª. It is because kernel tries to register graphical consoles before serial ones. It does it because of the default behavior when no console device is specified, see below.”…””}”(hj'h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KChhÆh²hubhÚ)”}”(hŒµNote that the last ``console=tty1`` parameter still makes a difference. The kernel command line is used also by systemd. It would use the last defined ``tty1`` as the login console.”h]”(hŒNote that the last ”…””}”(hj}h²hh³Nh´NubjX)”}”(hŒ``console=tty1``”h]”hŒ console=tty1”…””}”(hj…h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj}ubhŒt parameter still makes a difference. The kernel command line is used also by systemd. It would use the last defined ”…””}”(hj}h²hh³Nh´NubjX)”}”(hŒ``tty1``”h]”hŒtty1”…””}”(hj—h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj}ubhŒ as the login console.”…””}”(hj}h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KIhhÆh²hubhÚ)”}”(hX¬If no console device is specified, the first device found capable of acting as a system console will be used. At this time, the system first looks for a VGA card and then for a serial port. So if you don't have a VGA card in your system the first serial port will automatically become the console, unless the kernel is configured with the CONFIG_NULL_TTY_DEFAULT_CONSOLE option, then it will default to using the ttynull device.”h]”hX®If no console device is specified, the first device found capable of acting as a system console will be used. At this time, the system first looks for a VGA card and then for a serial port. So if you don’t have a VGA card in your system the first serial port will automatically become the console, unless the kernel is configured with the CONFIG_NULL_TTY_DEFAULT_CONSOLE option, then it will default to using the ttynull device.”…””}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KMhhÆh²hubhÚ)”}”(hŒxYou will need to create a new device to use ``/dev/console``. The official ``/dev/console`` is now character device 5,1.”h]”(hŒ,You will need to create a new device to use ”…””}”(hj½h²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj½ubhŒ. The official ”…””}”(hj½h²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hj×h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj½ubhŒ is now character device 5,1.”…””}”(hj½h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KUhhÆh²hubhÚ)”}”(hŒ{(You can also use a network device as a console. See ``Documentation/networking/netconsole.rst`` for information on that.)”h]”(hŒ6(You can also use a network device as a console. See ”…””}”(hjïh²hh³Nh´NubjX)”}”(hŒ+``Documentation/networking/netconsole.rst``”h]”hŒ'Documentation/networking/netconsole.rst”…””}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjïubhŒ for information on that.)”…””}”(hjïh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KXhhÆh²hubhÚ)”}”(hŒjHere's an example that will use ``/dev/ttyS1`` (COM2) as the console. Replace the sample values as needed.”h]”(hŒ"Here’s an example that will use ”…””}”(hjh²hh³Nh´NubjX)”}”(hŒ``/dev/ttyS1``”h]”hŒ /dev/ttyS1”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjubhŒ< (COM2) as the console. Replace the sample values as needed.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K[hhÆh²hubj®)”}”(hhh]”(j³)”}”(hŒ«Create ``/dev/console`` (real console) and ``/dev/tty0`` (master virtual console):: cd /dev rm -f console tty0 mknod -m 622 console c 5 1 mknod -m 622 tty0 c 4 0 ”h]”(hÚ)”}”(hŒSCreate ``/dev/console`` (real console) and ``/dev/tty0`` (master virtual console)::”h]”(hŒCreate ”…””}”(hj6h²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hj>h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj6ubhŒ (real console) and ”…””}”(hj6h²hh³Nh´NubjX)”}”(hŒ ``/dev/tty0``”h]”hŒ /dev/tty0”…””}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj6ubhŒ (master virtual console):”…””}”(hj6h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K^hj2ubj0)”}”(hŒMcd /dev rm -f console tty0 mknod -m 622 console c 5 1 mknod -m 622 tty0 c 4 0”h]”hŒMcd /dev rm -f console tty0 mknod -m 622 console c 5 1 mknod -m 622 tty0 c 4 0”…””}”hjhsbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´Kahj2ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubj³)”}”(hŒÌLILO can also take input from a serial device. This is a very useful option. To tell LILO to use the serial port: In lilo.conf (global section):: serial = 1,9600n8 (ttyS1, 9600 bd, no parity, 8 bits) ”h]”(hÚ)”}”(hŒ‘LILO can also take input from a serial device. This is a very useful option. To tell LILO to use the serial port: In lilo.conf (global section)::”h]”hŒLILO can also take input from a serial device. This is a very useful option. To tell LILO to use the serial port: In lilo.conf (global section):”…””}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kfhj|ubj0)”}”(hŒ6serial = 1,9600n8 (ttyS1, 9600 bd, no parity, 8 bits)”h]”hŒ6serial = 1,9600n8 (ttyS1, 9600 bd, no parity, 8 bits)”…””}”hjŽsbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´Kjhj|ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubj³)”}”(hŒrAdjust to kernel flags for the new kernel, again in lilo.conf (kernel section):: append = "console=ttyS1,9600" ”h]”(hÚ)”}”(hŒPAdjust to kernel flags for the new kernel, again in lilo.conf (kernel section)::”h]”hŒOAdjust to kernel flags for the new kernel, again in lilo.conf (kernel section):”…””}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Klhj¢ubj0)”}”(hŒappend = "console=ttyS1,9600"”h]”hŒappend = "console=ttyS1,9600"”…””}”hj´sbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´Kohj¢ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubj³)”}”(hŒûMake sure a getty runs on the serial port so that you can login to it once the system is done booting. This is done by adding a line like this to ``/etc/inittab`` (exact syntax depends on your getty):: S1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 ”h]”(hÚ)”}”(hŒÉMake sure a getty runs on the serial port so that you can login to it once the system is done booting. This is done by adding a line like this to ``/etc/inittab`` (exact syntax depends on your getty)::”h]”(hŒ’Make sure a getty runs on the serial port so that you can login to it once the system is done booting. This is done by adding a line like this to ”…””}”(hjÌh²hh³Nh´NubjX)”}”(hŒ``/etc/inittab``”h]”hŒ /etc/inittab”…””}”(hjÔh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjÌubhŒ& (exact syntax depends on your getty):”…””}”(hjÌh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KqhjÈubj0)”}”(hŒ-S1:23:respawn:/sbin/getty -L ttyS1 9600 vt100”h]”hŒ-S1:23:respawn:/sbin/getty -L ttyS1 9600 vt100”…””}”hjìsbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´KuhjÈubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubj³)”}”(hXInit and ``/etc/ioctl.save`` Sysvinit remembers its stty settings in a file in ``/etc``, called ``/etc/ioctl.save``. REMOVE THIS FILE before using the serial console for the first time, because otherwise init will probably set the baudrate to 38400 (baudrate of the virtual console). ”h]”(hÚ)”}”(hŒInit and ``/etc/ioctl.save``”h]”(hŒ Init and ”…””}”(hjh²hh³Nh´NubjX)”}”(hŒ``/etc/ioctl.save``”h]”hŒ/etc/ioctl.save”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´KwhjubhÚ)”}”(hŒþSysvinit remembers its stty settings in a file in ``/etc``, called ``/etc/ioctl.save``. REMOVE THIS FILE before using the serial console for the first time, because otherwise init will probably set the baudrate to 38400 (baudrate of the virtual console).”h]”(hŒ2Sysvinit remembers its stty settings in a file in ”…””}”(hj h²hh³Nh´NubjX)”}”(hŒ``/etc``”h]”hŒ/etc”…””}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj ubhŒ , called ”…””}”(hj h²hh³Nh´NubjX)”}”(hŒ``/etc/ioctl.save``”h]”hŒ/etc/ioctl.save”…””}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj ubhŒ¨. REMOVE THIS FILE before using the serial console for the first time, because otherwise init will probably set the baudrate to 38400 (baudrate of the virtual console).”…””}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Kyhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubj³)”}”(hX‡``/dev/console`` and X Programs that want to do something with the virtual console usually open ``/dev/console``. If you have created the new ``/dev/console`` device, and your console is NOT the virtual console some programs will fail. Those are programs that want to access the VT interface, and use ``/dev/console instead of /dev/tty0``. Some of those programs are:: Xfree86, svgalib, gpm, SVGATextMode It should be fixed in modern versions of these programs though. Note that if you boot without a ``console=`` option (or with ``console=/dev/tty0``), ``/dev/console`` is the same as ``/dev/tty0``. In that case everything will still work. ”h]”(hÚ)”}”(hXp``/dev/console`` and X Programs that want to do something with the virtual console usually open ``/dev/console``. If you have created the new ``/dev/console`` device, and your console is NOT the virtual console some programs will fail. Those are programs that want to access the VT interface, and use ``/dev/console instead of /dev/tty0``. Some of those programs are::”h]”(jX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hj`h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj\ubhŒP and X Programs that want to do something with the virtual console usually open ”…””}”(hj\h²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hjrh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj\ubhŒ. If you have created the new ”…””}”(hj\h²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hj„h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj\ubhŒ device, and your console is NOT the virtual console some programs will fail. Those are programs that want to access the VT interface, and use ”…””}”(hj\h²hh³Nh´NubjX)”}”(hŒ%``/dev/console instead of /dev/tty0``”h]”hŒ!/dev/console instead of /dev/tty0”…””}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhj\ubhŒ. Some of those programs are:”…””}”(hj\h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K~hjXubj0)”}”(hŒ#Xfree86, svgalib, gpm, SVGATextMode”h]”hŒ#Xfree86, svgalib, gpm, SVGATextMode”…””}”hj®sbah}”(h]”h ]”h"]”h$]”h&]”j?j@uh1j/h³hÃh´K…hjXubhÚ)”}”(hŒ?It should be fixed in modern versions of these programs though.”h]”hŒ?It should be fixed in modern versions of these programs though.”…””}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K‡hjXubhÚ)”}”(hŒ¬Note that if you boot without a ``console=`` option (or with ``console=/dev/tty0``), ``/dev/console`` is the same as ``/dev/tty0``. In that case everything will still work.”h]”(hŒ Note that if you boot without a ”…””}”(hjÊh²hh³Nh´NubjX)”}”(hŒ ``console=``”h]”hŒconsole=”…””}”(hjÒh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjÊubhŒ option (or with ”…””}”(hjÊh²hh³Nh´NubjX)”}”(hŒ``console=/dev/tty0``”h]”hŒconsole=/dev/tty0”…””}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjÊubhŒ), ”…””}”(hjÊh²hh³Nh´NubjX)”}”(hŒ``/dev/console``”h]”hŒ /dev/console”…””}”(hjöh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjÊubhŒ is the same as ”…””}”(hjÊh²hh³Nh´NubjX)”}”(hŒ ``/dev/tty0``”h]”hŒ /dev/tty0”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jWhjÊubhŒ*. In that case everything will still work.”…””}”(hjÊh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K‰hjXubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubj³)”}”(hŒ¸Thanks Thanks to Geert Uytterhoeven for porting the patches from 2.1.4x to 2.1.6x for taking care of the integration of these patches into m68k, ppc and alpha. ”h]”(hÚ)”}”(hŒThanks”h]”hŒThanks”…””}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khj&ubhÚ)”}”(hŒ¯Thanks to Geert Uytterhoeven for porting the patches from 2.1.4x to 2.1.6x for taking care of the integration of these patches into m68k, ppc and alpha.”h]”(hŒThanks to Geert Uytterhoeven <”…””}”(hj8h²hh³Nh´NubhŒ reference”“”)”}”(hŒgeert@linux-m68k.org”h]”hŒgeert@linux-m68k.org”…””}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:geert@linux-m68k.org”uh1j@hj8ubhŒ}> for porting the patches from 2.1.4x to 2.1.6x for taking care of the integration of these patches into m68k, ppc and alpha.”…””}”(hj8h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´Khj&ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j²hj/h²hh³hÃh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jjjhj j uh1j­hhÆh²hh³hÃh´K^ubhÚ)”}”(hŒ8Miquel van Smoorenburg , 11-Jun-2000”h]”(hŒMiquel van Smoorenburg <”…””}”(hjhh²hh³Nh´NubjA)”}”(hŒmiquels@cistron.nl”h]”hŒmiquels@cistron.nl”…””}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:miquels@cistron.nl”uh1j@hjhubhŒ>, 11-Jun-2000”…””}”(hjhh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÙh³hÃh´K“hhÆh²hubeh}”(h]”(Œlinux-serial-console”hÂeh ]”h"]”(Œlinux serial console”Œserial_console”eh$]”h&]”uh1hÄhhh²hh³hÃh´KŒexpect_referenced_by_name”}”jh·sŒexpect_referenced_by_id”}”hÂh·subeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÃuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÉNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jºŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÃŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÂ]”h·asŒnameids”}”(jhÂjjŒuŒ nametypes”}”(jˆj‰uh}”(hÂhÆjŒhÆuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hÚ)”}”(hhh]”hŒ4Hyperlink target "serial-console" is not referenced.”…””}”hj$sbah}”(h]”h ]”h"]”h$]”h&]”uh1hÙhj!ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÃŒline”Kuh1jubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.