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

[Xen-devel] Issues while using kdb to debug Xen

To: mukesh.rathor@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Issues while using kdb to debug Xen
From: Daniel J Mathew <danieljmathew@xxxxxxxxx>
Date: Mon, 7 Feb 2011 11:08:15 +0530
Cc:
Delivery-date: Sun, 06 Feb 2011 21:39:08 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=y57tCGiKCZBg0JhsulP4y2bnhu7UaSNk/0nL38yCjkE=; b=TW3xvZJMDd7BisUDOZIKyCNC7kCSMFidGtRVfHvRTN9H5t7Qslt8aac2jI/yQL3HAR XaACzltxrw2lTTTlSoKT7Xturqr+MFBg8f0fb+PQw7cIet66qU/JjLjgbCOR8NNLFORI rk265eJ2IQvf91sVDFfE5l1MEytXBpXuA6vDY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dwrAZvpErtCwLIo2pPVZsHT6ccjSuMM8ITSyobzWTR3xXEOT8wDhr0yBgVYt561eny OA6dfGkbeMj77vfyLepeIzq7hE9XVMV8alxePgd1juSFUTO3nCjPysRTV9me/R95RiXD HEvb+MN1ihm2hniZJjRsd96dKT7NTi1ziQ10Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I have been trying to debug Xen using kdb. However, I am unable to successfully boot dom0 after compiling and installing kdb.

Software/hardware config: Base distribution - Debian Lenny (64-bit) on a Dell desktop (Optiplex 780) with a serial cable to another machine. Xen 4.0.1 (without kdb) works fine.

Here are the steps I followed to set up Xen-unstable with kdb.
1. Cloned code from http://xenbits.xensource.com/ext/debuggers.hg and did a make world. dom0 kernel: 2.6.32.27.
2. make install-xen, make install-tools, make install-kernels, update-initramfs -c -v -k 2.6.32.27
3. Reboot
4. The machine starts and serial output comes fine on the 2nd machine. I have attached the serial log.
About 5 seconds after the last message is printed to console, the machine powers off. I did not try to break into kdb using Ctrl+\; just wanted to see if dom0 boots fine, first of all.

GRUB config:
root (hd0,0)
kernel /boot/xen.gz loglvl=all guest_loglvl=all com1=34800,8n1 console=com1
module /boot/vmlinuz-2.6.32.27 root=UUID=.... ro console=hvc0 earlyprintk=xen nomodeset
module /boot/initrd.img-2.6.32.27

Can you please let me know what could be causing this issue, and what I can do to get around it?

Thanks,
Daniel.
--
Daniel J Mathew | IIT Delhi

Attachment: xen-unstable4.cap
Description: application/cap

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