WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Dumping Xen dom0 kernel output to serial console
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
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=bsdhZKaZvRSj0e2wUoaw+v0BMMG8SC24FdqQvOkqaBKvZin6t6XDnQqMZIKKhDYbf3SBQeAeJikwp0JTggOaTSzUULPI9hVOpDwhcD8Os9Ff/o0SdAJq0UiLmI3jNlMOyrxo6FOfX6gvJdSGNTJC4dYZ1qAFYyZhGWAghcMz5lI=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <80eeb900705021545h62cbedc3m4aa8cd4a94f670a2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <80eeb900705021352q3662b27fg8a98827969be34c3@xxxxxxxxxxxxxx> <C25ECC04.6C38%Keir.Fraser@xxxxxxxxxxxx> <80eeb900705021545h62cbedc3m4aa8cd4a94f670a2@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>