When configuring the kernel set the following configuration parameters:
Figure 10-5. Kernel configuration for serial console using make menuconfig
Character devices ---> [*] Virtual terminal [*] Support for console on virtual terminal <*> Standard/generic (8250/16550 and compatible UARTs) serial support [*] Support for console on serial port |
This should set the following configuration parameters in /usr/src/linux/.config.
Figure 10-6. Kernel configuration for serial console using .config
CONFIG_VT=y CONFIG_VT_CONSOLE=y CONFIG_SERIAL=y CONFIG_SERIAL_CONSOLE=y |
You should also configure the kernel without the magic SysRq key, as described in Section 9.9.