[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Can't redirect the boot message by SOL


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Tats Shibata <ts@xxxxxxxx>
  • Date: Sun, 12 Jun 2011 02:14:43 +0900
  • Delivery-date: Sat, 11 Jun 2011 10:16:12 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi all,

I'm setting up SOL (Serial-over-LAN) but can't see OS boot message -- GRUB and 
login prompt are OK. Could anyone please tell me how to use SOL?

http://wiki.xensource.com/xenwiki/XenSerialConsole says to set xencons=ttySX, 
but all messages after GRUB are disappeared when setting xencons=ttyS2 because 
dmsg and setserial can't find out ttyS*.

[root@charlie ~]# dmesg | grep ttyS
Bootdata ok (command line is ro root=/dev/vg_dom0/lv_root xencons=ttyS2 
console=ttyS2)
Kernel command line: ro root=/dev/vg_dom0/lv_root xencons=ttyS2 console=ttyS2
Xen virtual console successfully installed as ttyS2
[root@charlie ~]# setserial -g /dev/ttyS*
/dev/ttyS0: No such device or address
/dev/ttyS1: No such device or address
Cannot get serial info: Invalid argument
/dev/ttyS3: No such device or address

When setting xencons=off, I can see GRUB and login prompt via SOL but (XEN) 
message is not shown on all devices (via SOL and console monitor) and OS boot 
message is shown on console monitor only.

[root@charlie ~]# dmesg | grep ttyS
Bootdata ok (command line is ro root=/dev/vg_dom0/lv_root xencons=off 
console=ttyS2)
Kernel command line: ro root=/dev/vg_dom0/lv_root xencons=off console=ttyS2
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial8250: ttyS2 at I/O 0x3e8 (irq = 5) is a 16550A
00:06: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:07: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS2 at I/O 0x3e8 (irq = 5) is a 16550A
[root@charlie ~]# setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 5
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

-----

Motherboard: Supermicro X7SPA-HF-D525
BIOS: AMI 02.67
BMC: Nuvoton WPCM450

OS: Scientific Linux SL release 5.5 (Boron)
Kernel: 2.6.18-238.12.1.el5xen
Xen: xen-3.0.3-120.el5_6.2.x86_64
SOL viewer: Supermicro IPMI View 2.7.21
            Supermicro SMC IPMI Tool 1.8.1
            ipmitool 1.8.11

-----
BIOS > Advanced > Remote Access Configuration

Remote Access [Enabled]
Serial port number [COM3]
  Base Address, IRQ [3E8h, 5]
Serial Port Mode [19200 8,n,1]
Flow Control [None]
Redirection After BIOS POST [Always]
Terminal Type [VT100]
VT-UTF8 Combo Kye Support [Enabled]
Sredir Memory Display Delay [No Delay]

-----
/boot/grub/grub.conf

default=0
timeout=5
#splashimage=(hd0,0)/grub/splash.xpm.gz
serial --unit=2 --speed=19200 --word=8 --parity=no --stop=1
terminal --timeout=5 serial console
hiddenmenu
title Scientific Linux SL (2.6.18-238.12.1.el5xen) [test]
        root (hd0,0)
        kernel /xen.gz-2.6.18-238.12.1.el5 console=tty0 console=com3 
com3=19200,8n1
        module /vmlinuz-2.6.18-238.12.1.el5xen ro root=/dev/vg_dom0/lv_root 
xencons=off console=ttyS2
        module /initrd-2.6.18-238.12.1.el5xen.img

-----

* The below message is shown via SOL and console monitor

GRUB Loading stage2...
Press any key to continue.

* The below message is shown via SOL and console monitor

  Booting 'Scientific Linux SL (2.6.18-238.12.1.el5xen) [test]'
root (hd0,0)
 Filesystem type is ext2fs, partition type 0xfd
kernel /xen.gz-2.6.18-238.12.1.el5 console=tty1 console=com3 com3=19200,8n1
   [Multiboot-elf, <0x100000:0xed5c8:0x165a38>, shtab=0x353078, entry=0x100000]
module /vmlinuz-2.6.18-238.12.1.el5xen ro root=/dev/vg_dom0/lv_root xencons=off
 console=ttyS2
   [Multiboot-module @ 0x354000, 0x9d7fc8 bytes]
module /initrd-2.6.18-238.12.1.el5xen.img
   [Multiboot-module @ 0xd2c000, 0x85b600 bytes]

* (XEN) message is NOT shown via SOL and console monitor

* The below message is shown via CONSOLE MONITOR ONLY with xencons=off

INIT: version 2.86 booting
                Welcome to Scientific Linux SL
                Press 'I' to enter interactive startup.
<snip>

* The below message is shown via SOL and console monitor with xencons=off

Scientific Linux SL release 5.5 (Boron)
Kernel 2.6.18-238.12.1.el5xen on an x86_64

charlie.rewse.jp login: 

-----

Thanks,
Tats
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.