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

xen-devel

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

To: "Lily Huang" <ushuanglily@xxxxxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] How to dump xen0 kernel output to a serial console?
From: "Dugger, Donald D" <donald.d.dugger@xxxxxxxxx>
Date: Fri, 30 Jun 2006 14:20:31 -0700
Delivery-date: Fri, 30 Jun 2006 14:22:25 -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: AcacgUkLAHvhY5yYR/OlHh5cO+ziWQACU4LQ
Thread-topic: [Xen-devel] How to dump xen0 kernel output to a serial console?
Lily-
 
Well, the `grub' stanza I use is:
 
title   Xen-ia32 Unstable /dev/sda5
        root (hd0,0)
        kernel /xen-3.0.gz dom0_mem=524288 com1=115200,8n1
console=com1,vga
        module /vmlinuz-2.6-xen0 root=/dev/sda5 ro console=ttyS0,115200
        module /initrd-2.6-xen0
 
Using this, both the output from the Xen hypervisor and the Dom0 Linux
kernel come out on the serial port.  Run a cross over cable from that
port to another machine, run `minicom' to  capture the output and you
can have `minicom' save everything to a file.

--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Donald.D.Dugger@xxxxxxxxx
Ph: (303)440-1368 

 


________________________________

        From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Lily Huang
        Sent: Friday, June 30, 2006 2:10 PM
        To: xen-devel
        Subject: [Xen-devel] How to dump xen0 kernel output to a serial
console?
        
        
        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>