Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Integrity Essentials Foundation Pack for Linux User's Guide: HP Smart Setup:HP Support Pack > Appendix A Configuring and Using a Serial Console

Using a Serial Console

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Although you might have set up a serial console in the EFI boot manager, Linux defaults to a VGA console. If no VGA device is present, console output is directed to a stub device (for example, not visible.) To specify a serial console, you must pass the console= parameter to the kernel. This can either be done as an extra parameter to the kernel or by means of the parameter append=line in elilo.conf. For example:

Manual Boot Option   ------------------  fs0:\> elilo linux "console=ttyS0" 
     ELILO boot: linux console=ttyS0 

     Automatic via elilo.conf
     ------------------------
     append="console=ttyS0" 
IMPORTANT: Exactly one UART must be selected in the EFI Console-In/Out tables for a serial console to work. The UART selected in this table is ttyS0.

The format of the console parameter is as follows:

console=ttySn[,spb] 

n = Serial line 

where:

s

= Speed

Example: 9600, 19200, 38400, 57600, 115200 (9600 is the default if no speed is specified. 115200 is the maximum for HP UART.)

p

= Parity

Example: n (no parity, typical case)

b

= Bit Encoding.

Example: 7, 8 (8 is the typical case).

For a 115200 baud console, the following syntax is used:

console=ttyS0,115200n8
NOTE: If you are using a Linux distribution that uses kernel revision 2.6.10 or later (Post RHEL4 or SLES9), this method of specifying a console will not work. For more information on serial ports with these kernels, see the Linux Cross Reference website:

http://lxr.linux.no/source/Documentation/ia64/serial.txt

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2007, 2008 Hewlett-Packard Development Company, L.P.