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

Re: [Xen-devel] Dumping Xen dom0 kernel output to serial console


  • To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
  • From: "Yung Giang" <yung.giang@xxxxxxxxx>
  • Date: Mon, 14 May 2007 14:53:59 -0400
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 14 May 2007 11:52:23 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=U57t+xRxgH9jEvbldUlDlPNNE+IY9vRQjIWZ1xsCVuz5TipYDkpWIKfaHfFqJq66oBAXRQVN3ctg2ZKdFaP5H7N8IGUULl1TAt4cLqaRm7VkIcsBS/vqgRHCaIHSVrhlVOJZwaRCcemhbu8zXYlWRVPGqJLR2JcJtWmzVI+rN74=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi-
     This problem seems to exist on certain dell 1950 with high serial console baud rate. I have tested serial console baud rate of 19200 bps and lower and it seems to work fine with grub.conf setting below with or with/out these two lines

>serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
>terminal --timeout=10 serial console


-Yung Giang

# $Id: 20grub 13972 2007-05-07 20:55:35Z ygiang $
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,0)
#          kernel /boot/vmlinuz-version ro root=/dev/md0
#          initrd /boot/initrd-version.img
#boot=/dev/sda1
fallback 1
serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1
terminal --timeout=10 serial console

default=0
timeout=5
title Xen 3 / XenLinux 2.6
        root (hd0,0)
        kernel /boot/xen.gz  dom0_mem=768M console=com1 com1=19200,8n1
        module /boot/vmlinuz- 2.6-xen ro root=/dev/md0 console=/dev/tty0 console=ttyS0,19200
        module /boot/initrd-2.6-xen.img
title Xen 3 / XenLinux 2.6
        root (hd1,0)
        kernel /boot/xen.gz dom0_mem=768M console=com1 com1=19200,8n1
        module /boot/vmlinuz-2.6-xen ro root=/dev/md0 console=/dev/tty0 console=ttyS0,19200
        module /boot/initrd-2.6-xen.img
title Red Hat Enterprise Linux AS (2.6.9-22.ELsmp)
        root (hd0,0)
        kernel /boot/vmlinuz- 2.6.9-22.ELsmp ro root=/dev/md0
        initrd /boot/initrd-2.6.9-22.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.6.9-22.EL)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.9-22.EL ro root=/dev/md0
        initrd /boot/initrd-2.6.9-22.EL.img
[root@chokp ~]#





On 5/2/07, Yung Giang <yung.giang@xxxxxxxxx > wrote:
Hi Keir-
       The serial fails to work if I press a key over the serial line and make use of the GRUB menu over serial.

-Yung Giang



 
On 5/2/07, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx > wrote:



On 2/5/07 21:52, "Yung Giang" < yung.giang@xxxxxxxxx> wrote:

         I am having a weird problem with setting dom0 kernel output to the serial console with Xen 3.0.4-1, below is my grub setting. With this setting if I don't enter the grub menu and have the default boot to the first image, everything works fine and I can get output/input to the serial console. The problem is when I enter the grub menu and select the image to boot from, if I select the same one the first image it will not show any serial output and when the machine is up I can't get any serial output or input. Has anyone else seen this problem or have any suggestions on how it can be fix?

So serial fails to work if you press a key over the serial line and make use of the GRUB menu over serial? Or are you using the GRUB menu via VGA?

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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