From: Ian Pratt Subject: Re: How to debug the Xen kernel? Date: Sat, 19 Jun 2004 07:17:54 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: Return-path: In-reply-to: Your message of "Fri, 18 Jun 2004 22:53:00 MDT." Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Xiaofang Chen Cc: xen-devel@lists.sourceforge.net, Ian.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org > Can someone tell me how to debug the kernel in Xen? If you've a second machine, you could use the Xen GDB serial stub. See docs/pdb.txt > I tried to use kdb, but it seems that after I did the patch, the "make > menuconfig" in xenolinux-2.4.26 directory doesn't include the option of > kdb. I'm guessing that you didn't modify the patch so that it patched arch/xen rather than arch/i386? (or use fakei386xen) Since a kernel debugger is very intimately architecture dependent it's unlikely to apply without a fair bit of manual merging. Ian ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND