From mboxrd@z Thu Jan 1 00:00:00 1970 From: "qihao.xi" Subject: Re: kdb does not support XEN? Date: Tue, 21 Dec 2010 17:18:23 +0800 Message-ID: <20101221091820.GA3911@qxi> References: <20101221034659.GA3307@qxi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20101221034659.GA3307@qxi> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Dec 21, 2010 at 11:47:01AM +0800, qihao.xi wrote: >Hi all, > >I want to debug Dom0 driver when installing XEN SERVER5.6 ISO. >The XS5.6 kernel is 2.6.27.42-0.1.1 I downloaded "kdb-v4.4-2.6.27-rc8-common-1.1" and >"kdb-v4.4-2.6.27-rc8-x86-1". After patching, kdb configure does not >appear. > >I found the below: ># cat arch/x86/Kconfig.debug|grep -A10 KDB >config KDB > bool "Built-in Kernel Debugger support" > depends on DEBUG_KERNEL && !XEN > >This mean kdb does not support XEN? If yes, how to debug Dom0 driver? >Thanks! > I unpack the XS5.6 source code "linux-2.6.27.42-0.1.1.xs5.6.0.44.111158". In "linux-2.6.27.42-0.1.1.xs5.6.0.44.111158/arch/x86/Kconfig.debug" config KDB bool "Built-in Kernel Debugger support" depends on DEBUG_KERNEL && !XEN Why disable XEN? I should use unstable kernel to debug? How to get it? Any suggestion is appreciated. Thanks!