Virtual Serial Port And Serial Break - HP Integrated Lights-Out User Manual

Integrated lights-out firmware 1.91
Hide thumbs Also See for Integrated Lights-Out:
Table of Contents

Advertisement

Console/EMS Support tab. Selecting this tab displays the EMS Console tab, which should be set to
Remote. This enables both the Virtual Serial Port and the Windows® EMS Console.
To begin a shell session on the configured UART, the appropriate Linux process must be started. This
process can be started from the shell, but is usually configured in the /etc/inittab file to have the
process available after the kernel has booted.
s0:2345:respawn:/sbin/agetty 115200 ttyS0 vt100
Linux expects the serial port to appear at the standard UART I/O address (0x3F8); however,
LOM_short_name> presents the port at the non-standard address of 0x408. To inform Linux of the
non-standard address, the following command must be used. This command can be placed in the
rc.serial file which is commonly called from /etc/rc.local at system startup.
setserial /dev/ttyS0 uart 16550A port 0x0408 irq 4
Linux requires that the terminal be listed in the /etc/securetty file in order to logon. Add the
following line at the end of this file:
ttyS0
On some BL p-Class systems, the standard UART I/O address (0x3F8) is used when there is no conflict.
On these systems, the setserial command is not required.
Linux End-to-End support
The Virtual Serial Port, by default, uses the I/O address 0x0408 and INTERRUPT 4 for communication.
The Virtual Serial Port is configured and enabled when iLO RBSU is selected and the Virtual Serial Port
feature is enabled. This is a known limitation of the Virtual Serial Port feature for Linux support, as this I/O
address is not a standard supported I/O address. The setserial command can be used to configure
agetty, but the kernel requires rebuilding to support GRUB for booting redirection and kernel redirection.
Full configurability to standard UART I/O addresses are provided in the 1.60 version of the iLO firmware,
but a compatible host system ROM must be used. If the compatible host system ROM is available for the
specific server, then the setserial command does not need to be used, and GRUB booting redirection
will appear on the Virtual Serial Port using the standard kernel.

Virtual Serial Port and serial BREAK

iLO Virtual Serial Port supports serial BREAK. The serial BREAK event can be transmitted to the host system
through the Virtual Serial Port by pressing the Esc Ctrl-B key sequence. This key sequence allows the
Virtual Serial Port applet, telnet, and SSH applications that operate over TCP/IP networks to transmit the
serial BREAK event to the host when using Virtual Serial Port.
iLO serial BREAK supports the Linux operating system feature of Magic SysRq. The Linux kernel supports
the Magic SysRq feature on a console on tty0 through the Alt-SysRq key combination. When the kernel
supports a console on a serial connection, ttyS0 or other, the BREAK event is used to implement Magic
SysRq.
When Magic SysRq is correctly configured:
The console is defined on serial tty (ttyS0 or other) in LILO or GRUB
The appropriate kernel is configured with /proc/sys/kernel/sysrq
The appropriate agetty (or equivalent) is configured for serial tty (ttyS0 or other)
The Esc Ctrl-B sequence will generate a serial BREAK event, which causes the Magic SysRq event. An
additional magic SysRq key after the Esc Ctrl-B sequence is used to select a specific command. Refer to
your Linux documentation for details and security implications of enabling Magic SysRq.
Using iLO 82

Advertisement

Table of Contents
loading

Table of Contents