# How to get IMPI SOL (Serial console Over LAN) work # MB: SuperMicro X8DAH+-F => Winbond WPCM450 BMC # no need to mangle GRUB menu (/rpool/boot/grub/menu.lst) anymore. # usually one will find something like append boot params to the kernel line # -B console=ttyb,ttyb-mode="9600,8,n,1,-",input-device=ttyb,output-device=ttyb # or something like # serial [--unit={0|1|2|3}|--port={0x3f8|0x2f8|0x3e8|0x2e8}] # --speed=9600 --word=8 --parity=no --stop=1 # just add appropriate params to your /boot/solaris/bootenv.rc using eeprom # ignore 'Default /boot/grub/menu.lst entry is not controlled by bootadm.' msg eeprom console=ttyc eeprom ttyc-mode='115200,8,n,1,-' eeprom ttyc-rts-dtr-off='false' eeprom ttyc-ignore-cd='true' # depending on the speed we will use, we need to make sure, that an # appropriate entry exists in /etc/ttydefs (see ttydefs(4), sttydefs(1M), termio(7I) ). # Since there is none for 115200 we add one labeled as 'console6': sttydefs -a console6 -i '115200 hupcl opost onlcr ofill' -f '115200' # Usually that would be sufficient, however since # http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/i86pc/boot/boot_console.c # http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/i86pc/io/consplat.c # http://src.illumos.org/source/xref/illumos-gate/usr/src/cmd/boot/bootadm/bootadm_hyper.c # accepts only ttya or ttyb as valid tty, ttyc doesn't get hooked up to # /dev/console. However, we can workaround this shortcoming by assign a virtual # terminal (VT) to ttyc (thanx a lot to irc://#illumos/bdha for digging this # detail out :)). This way we have not access to the system console, but at # least access to the system via a serial line. # In this example we assign the vt6 to /dev/ttyc. svccfg -s svc:/system/console-login:vt6 setprop ttymon/device = /dev/ttyc svccfg -s svc:/system/console-login:vt6 setprop ttymon/label = console6 svccfg -s svc:/system/console-login:vt6 setprop ttymon/terminal_type = vt100 # if vtdaemon is not yet installed on your system (gets removed when upgrading # from S11X -> S11), install virtual-console: pkg install virtual-console # if vtdaemon is not yet enabled: svcadm enable vtdaemon:default svcadm refresh console-login:vt6 svcadm enable console-login:vt6 # otherwise svcadm refresh console-login:vt6 svcadm restart console-login:vt6 # Optional: Per default root is allowed to login on the system console, only. # To be able to login as user root on the vt6, one needs to comment out the # following line in /etc/default/login CONSOLE=/dev/console # Make sure, the settings in the BIOS are correct as well # To circumvent fastreboot and get directly into the BIOS we use 'reboot -p' # However, in this case we need to update the boot archive manually ('init 6' # does it autopmatically but uses per default fastreboot): bootadm update-archive reboot -p # BIOS: # - as usual press DEL to get into the BIOS # - go to Advanced | Remote Access Configuration # adjust your settings: e.g.: Advanced ******************************************************************************** * Advanced - Remote Access Configuration * Select Remote Access * * *************************************************** * type. * * Remote Access [Enabled] * * * * * * Serial port number [COM3 *] * * * Base Address, IRQ [3E8h, 5] * * * Serial Port Mode [115200 8,n,1] * * * Flow Control [None] * * * Redirection After BIOS POST [Always] * * * Terminal Type [VT100] * * * VT-UTF8 Combo Key Support [Enabled] * * * Sredir Memory Display Delay [No Delay] * * * * ****:Move * * * Enter:Select * * * F10:Save * * * ESC:Exit * * * F1:General Help * * * F8:Fail-Safe Defaults* * * F9:Optimized Defaults* ******************************************************************************** v02.67 (C)Copyright 1985-2009, American Megatrends, Inc.