Xen 
 
Home About Xen.org Xen Xen Summit Wiki Mailing List Bug Tracker Xen Downloads
 
   
 

xen-devel

RE: [Xen-devel] Re: How to dump xen0 kernel output to a serial console?

To: "Lily Huang" <ushuanglily@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Re: How to dump xen0 kernel output to a serial console?
From: "Kamble, Nitin A" <nitin.a.kamble@xxxxxxxxx>
Date: Fri, 30 Jun 2006 14:22:14 -0700
Delivery-date: Fri, 30 Jun 2006 14:23:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acacis27xFOoetK3T/GoReEgaL+7ZwAADlEA
Thread-topic: [Xen-devel] Re: How to dump xen0 kernel output to a serial console?

I use this in my the grub, and it is working for me. It shows both Xen & dom0 console output on the serial port.

 

serial --unit=0 --speed=115200 --parity=no --stop=1

terminal --timeout=10 serial console

 

title Xen64

        root (hd0,2)

        kernel /boot/xen.gz com1=115200,8n1 sync_console

        module /boot/vmlinuz-2.6-xen root=/dev/sda3 ro console=ttyS0,115200n8 console=tty

        module /boot/initrd-2.6-xen.img

 

Thanks & Regards,

Nitin

-----------------------------------------------------------------------------------

Open Source Technology Center, Intel Corp


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Lily Huang
Sent: Friday, June 30, 2006 2:18 PM
To: xen-devel
Subject: [Xen-devel] Re: How to dump xen0 kernel output to a serial console?

 

Below is my grub setting:

--------------------------------------------------------------------------
serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1
#terminal --timeout=5 serial console

title Xen-unstable  / XenLinux 2.6
        root (hd0,0)
        kernel /boot/xen.gz dom0_mem=512000 console=vga com1=115200,8n1 sync_console
        module /boot/vmlinuz-2.6-xen0 root=/dev/hda1 ro console=tty0 console=ttyS0
--------------------------------------------------------------------------
If I enable the "terminal --timeout=5 serial console", I can see the grub interface from the console, but after I chose the boot option,
I didn't further console dump out.

What's wrong with my setting? Help! Please!

lily


On 6/30/06, Lily Huang <ushuanglily@xxxxxxxxx> wrote:

Hello,

I am running into xen0 crash. Every time xen0 crashes, it will dump some error messages. Unfortunately, before I can read the details, the system already restarted. Is there anyway to dump the error message to a different serial console?

How to debug xen0? I mean, xen0, not xen itself.

Please give me some ideas or direct me to the right place to read the documentation.

Many thanks!


lily

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>