[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: mukesh.rathor@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.