x2100 and x2200: display serial console and KVM (monitor) output

From: Al Saenz: Foundation Technologies (asaenz@Found-Tech.com)
Date: Mon Aug 13 2007 - 17:25:34 EDT


Hi Managers,

I was wondering if anyone had a setup for the x2100 or x2200 (in relating to
grub and user interface output) that would send output to the serial port and
provide GRUB menu output to the KVM thus allowing someone who hooked up a KVM
to boot a kernel that would display to KVM? I want to display output to the
serial port by default (which I do now) but I want to have the option to boot
the kernel and have output on the KVM if I choose to select a different GRUB
boot option. Right now the GRUB does display to the KVM like I want it.

Right now I have something that half way works.
My x2100 will display the shell to the serial port. If I hook KVM up and have
my laptop console connected I can see my GRUB menu (monitor) but when I select
the option to display my OS to the KVM I just get a blinking cursor (monitor)
and it keeps showing up on my laptop console. I hope I make sense, hard to
explain sometimes.

Here is a sample of my /boot/grub/menu.lst file for the above statement.

Notice the following towards the bottom of my menu.lst
#---------- ADDED BY ME ----------
title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86
root (hd0,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
#---------------------END BOOTADM--------------------

I added that and the menu option does appear in the grub menu during bootup
(monitor) but like I said it continues to go console even though I just have
"kernel /platform/i86pc/multiboot."
The Solaris failsafe will display the OS to the monitor but for some reason
the modification above will not.

I have the following in my eeprom:
console=ttyb

Is that a problem? If I change that I won't have serial console anymore right?
I kind of wanted both or at least default to serial and then have the option
(KVM connected) to select the OS to display to KVM (via GRUB menu). Kind of
like we had with SPARC workstations.

---
# more boot/grub/menu.lst
#pragma ident   "@(#)menu.lst   1.1     05/09/01 SMI"
#
# default menu entry to boot
default 0
#
# menu timeout in second before default OS is booted
# set to -1 to wait for user input
timeout 10
#
# To enable grub serial console to ttya uncomment the following lines
# and comment out the splashimage line below
# WARNING: don't enable grub serial console when BIOS console serial
#       redirection is active!!!
#   serial --unit=0 --speed=9600
#   terminal serial
#
# Uncomment the following line to enable GRUB splashimage on console
splashimage /boot/grub/splash.xpm.gz
#
# To chainload another OS
#
# title Another OS
#       root (hd<disk no>,<partition no>)
#       chainloader +1
#
# To chainload a Solaris release not based on grub
#
# title Solaris 9
#       root (hd<disk no>,<partition no>)
#       chainloader +1
#       makeactive
#
# To load a Solaris instance based on grub
#
# title Solaris <version>
#       root (hd<disk no>,<partition no>,x)     --x = Solaris root slice
#       kernel /platform/i86pc/multiboot
#       module /platform/i86pc/boot_archive
#
# To override Solaris boot args (see kernel(1M)), console device and
# properties set via eeprom(1M) edit the "kernel" line to:
#
#   kernel /platform/i86pc/multiboot <boot-args> -B prop1=val1,prop2=val2,...
#
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Serial Port: Solaris 10 6/06 s10x_u2wos_09a X86
root (hd0,0,a)
kernel /platform/i86pc/multiboot -B console=ttyb
module /platform/i86pc/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY ME ----------
title Keyboard Video Mouse: Solaris 10 6/06 s10x_u2wos_09a X86
root (hd0,0,a)
kernel /platform/i86pc/multiboot
module /platform/i86pc/boot_archive
#---------------------END BOOTADM--------------------
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------
title Solaris failsafe
root (hd0,0,a)
kernel /boot/multiboot kernel/unix -s
module /boot/x86.miniroot-safe
#---------------------END BOOTADM--------------------
#
Thanks
Al
I know it's a lot of information. I will summarize if I solve this with your
help.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:12 EDT