1 .\" $NetBSD: console.4,v 1.10 2006/09/06 16:47:00 rpaulo Exp $
8 .Nd i386 console interface
10 .Cd options CONSDEVNAME=string
11 .Cd options CONADDR=integer
12 .Cd options CONSPEED=integer
13 .Cd options CONS_OVERRIDE
14 .Cd options CONMODE=integer
20 messages and accesses to the
22 character special device in user mode.
23 It is attached to a hardware interface at boot time controlled by options
24 in the kernel configuration file, or information passed by the boot loader.
28 or newer select their console device from a compiled-in list,
29 and then pass their choice of console device and console parameters to
36 bootblock command allows changing the console device on-the-fly.
38 The kernel will use the same console device as the
39 bootblock; no special kernel configuration is required.
42 the bootblock's choice of console, or to use a serial kernel console
43 with older bootblocks, you must specify kernel config-file options to
44 override the information passed by the bootblock.
45 The current option choices are:
47 .It - the standard PC keyboard and display
53 .It - standard PC serial ports
60 .Em kernel configuration
63 .It Cd options CONSDEVNAME=string
64 specifies the name of the console device. Valid values are
66 for the pc keyboard / display (default)
70 .It Cd options CONADDR=integer
71 sets the base address for the serial console port (default: 0x3f8).
72 .It Cd options CONSPEED=integer
73 sets the baudrate for the serial console (default: 9600).
74 .It Cd options CONS_OVERRIDE
75 causes console information passed by the bootloader to be ignored and
76 the settings specified by the three options above (or the defaults) to be
77 used. Default behaviour is to use the settings from the bootloader if
78 present, and to use option / default values only if no information was
80 .It Cd options CONMODE=integer
81 allows to specify terminal control flags. The argument is a
85 for details. Default is
86 .Li (CREAD | CS8 | HUPCL)
88 This option takes always effect, because mode settings are not passed
92 .Bl -tag -width /dev/console
94 .It Pa /sys/arch/i386/conf/CONFIG
97 .Cd options CONSDEVNAME=\&"\e"com\e"\&",CONADDR=0x2f8,CONSPEED=57600
104 The console device is chosen early in system startup regardless
105 if the specified driver / device is present in the system configuration file.
106 If the driver asked for by the bootloader or
107 .Dq Cd options CONSDEVNAME
108 is not configured into the system, a panic is caused. Because there is
109 no console device, no explaining message will be printed.
110 If the driver is present, but the specific device instance not, kernel
111 printf will work, but