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

Re: [Xen-devel] kdb does not support XEN?

To: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-devel] kdb does not support XEN?
From: "qihao.xi" <qiho.xi@xxxxxxxxx>
Date: Wed, 22 Dec 2010 12:02:04 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Dec 2010 20:03:08 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Avv0ngVh4Ce9ihJszXTKtrVnh96q4uC0pw3ASDSKchw=; b=S8VqLED2X2F7gtnNuYWFKFGMhUpfqe+jwYYQvcc77Tkkw4zRUs3/kYAMhkkeG8QHp8 htk2zJN5SCGdjkiFf+wkX9bgdbjJt1du8pql+FtJo7GFwhdFJuzGJhuVDWrn3lOpusB3 I0i1Kkxm0qaoSnwk9UOwl4N4t8rwB5y2z8Ct0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:content-transfer-encoding :in-reply-to:user-agent; b=NYaTdvZs1BdfTBt35nbrQux6nnwJBQki5SPB1HKICEIlA8S3vuHLuZPqzATWDBPwsn ZI/TcoFsLyqmkwZFj1QOjo0soXzURQ81rRIriTySEgsnBdYeTXjOL42aIw6gv26imC/H 3q3WJqPRIeG6VamZl1I44EYOAwJ3G2DgltCew=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikhOqsSU-ik=a139DhP_xgUUHg9H8M8UcbB-e-T@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: <20101221034659.GA3307@qxi> <AANLkTikhOqsSU-ik=a139DhP_xgUUHg9H8M8UcbB-e-T@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Tue, Dec 21, 2010 at 09:37:15PM -0500, Todd Deshane wrote:
>On Mon, Dec 20, 2010 at 10:47 PM, qihao.xi <qiho.xi@xxxxxxxxx> 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!
>>
>
>Looks like there is a version for Xen:
>
>http://xen.markmail.org/search/?q=gdbsx+dom0#query:gdbsx%20dom0+page:3+mid:j6vtz7mdlrwqdyjp+state:results
>
>http://xenbits.xensource.com/ext/debuggers.hg?file/926cc93296dd/xen/kdb/README
>
>Hope that helps.

In fact, I want to debug the modules against "/boot/vmlinuz". Not the 
"boot/xen.gz"
When XEN installing with ISO, it first load xen.gz,then load vmlinuz,load my 
driver to check disk.
It hanged at "Checking for existing products...". This is my scsi driver 
problem.

LABEL install
        KERNEL mboot.c32
        APPEND /boot/xen.gz dom0_mem=1024M com1=115200,8n1 console=com1,vga --- 
/boot/vmlinuz xencons=hvc console=ttyS0,115200 extramodules=my_scsi --- 
/install.img

I got vmlinuz's kernel source from XS5.6 source ISO image. It already include 
kdb patch.
But it disable XEN to ue kdb.  I can need build xen.gdb to debug vmlinuz? I'm a 
newbie for XEN.
Any suggestion is appreciated.  Thanks!





_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>