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

[Xen-devel] 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:08:15 +0530
  • Cc:
  • Delivery-date: Sun, 06 Feb 2011 21:39:08 -0800
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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