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] Re: Issues while using kdb to debug Xen

To: mukesh.rathor@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: Issues while using kdb to debug Xen
From: Daniel J Mathew <danieljmathew@xxxxxxxxx>
Date: Mon, 7 Feb 2011 11:38:41 +0530
Cc:
Delivery-date: Sun, 06 Feb 2011 22:09:29 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=EVWoqJNl2ZDZp3P6Yy76MRh2WVEhFq5T4nwQuSv1AUM=; b=x18XXHQPhTxzOaOUpVED5SGj8jF1b8UyLsc5BIMcHNoDo4EQjN7PlsT5rzIo/cG+i6 OFRjz/C5e8QC2K9XbVVw3A3HG0JsEXKNM53ODvG3uwei6XcZcAe7S4QNL3hjAMFsjwLw 4D5wmbymymcJMJ5gThciNrk26Ni8JF53Ycnjo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=AFQi4efWdmeehqow6yM0p+PQHN1Y6ms2nKbRlMRuAriZR0VKEaJQ7npYrWfdigzf5B ZUmd5eeYUi3cxiqgZtPCcvnMXrW3ptPkQIWWGUNA+VZvb4vZHoa6moeXhvLj0+f+ohOP Iy7Ob45DrY2Uofvp+tJclLU3P9bfNGShjXNt0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTim0iWbYFyk3UWzrL65ix-TgOvB4rW4Ep7A+Qgn8@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/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>
References: <AANLkTim0iWbYFyk3UWzrL65ix-TgOvB4rW4Ep7A+Qgn8@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
This was fixed after a re-install of tools and xen. Now I'm also able to enter xkdb.

Thank you!

--
Daniel J Mathew
Research Associate
Indian Institute of Technology Delhi
www.cse.iitd.ernet.in/~mathew



On Mon, Feb 7, 2011 at 11:08 AM, Daniel J Mathew <danieljmathew@xxxxxxxxx> wrote:
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

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