* kdb does not support XEN?
@ 2010-12-21 3:47 qihao.xi
2010-12-21 9:18 ` qihao.xi
2010-12-22 2:37 ` Todd Deshane
0 siblings, 2 replies; 5+ messages in thread
From: qihao.xi @ 2010-12-21 3:47 UTC (permalink / raw)
To: xen-devel
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!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kdb does not support XEN?
2010-12-21 3:47 kdb does not support XEN? qihao.xi
@ 2010-12-21 9:18 ` qihao.xi
2010-12-22 2:37 ` Todd Deshane
1 sibling, 0 replies; 5+ messages in thread
From: qihao.xi @ 2010-12-21 9:18 UTC (permalink / raw)
To: xen-devel
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!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kdb does not support XEN?
2010-12-21 3:47 kdb does not support XEN? qihao.xi
2010-12-21 9:18 ` qihao.xi
@ 2010-12-22 2:37 ` Todd Deshane
2010-12-22 4:02 ` qihao.xi
1 sibling, 1 reply; 5+ messages in thread
From: Todd Deshane @ 2010-12-22 2:37 UTC (permalink / raw)
To: qihao.xi; +Cc: xen-devel
On Mon, Dec 20, 2010 at 10:47 PM, qihao.xi <qiho.xi@gmail.com> 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.
Thanks,
Todd
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kdb does not support XEN?
2010-12-22 2:37 ` Todd Deshane
@ 2010-12-22 4:02 ` qihao.xi
2010-12-27 23:26 ` Mukesh Rathor
0 siblings, 1 reply; 5+ messages in thread
From: qihao.xi @ 2010-12-22 4:02 UTC (permalink / raw)
To: Todd Deshane; +Cc: xen-devel
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@gmail.com> 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!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kdb does not support XEN?
2010-12-22 4:02 ` qihao.xi
@ 2010-12-27 23:26 ` Mukesh Rathor
0 siblings, 0 replies; 5+ messages in thread
From: Mukesh Rathor @ 2010-12-27 23:26 UTC (permalink / raw)
To: qihao.xi; +Cc: Todd Deshane, xen-devel
On Wed, 22 Dec 2010 12:02:04 +0800
"qihao.xi" <qiho.xi@gmail.com> wrote:
> 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@gmail.com> 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!
http://xenbits.xensource.com/ext/debuggers.hg?file/926cc93296dd/xen/kdb/README
is totally independent of kdb patches in linux. It has nothing to do
with linux kdb. You'll not need to kdb patches in linux to use it. It
is a xen built-in debugger that will let you debug xen or domains. Take
a look at the README.
thanks
Mukesh
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-12-27 23:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21 3:47 kdb does not support XEN? qihao.xi
2010-12-21 9:18 ` qihao.xi
2010-12-22 2:37 ` Todd Deshane
2010-12-22 4:02 ` qihao.xi
2010-12-27 23:26 ` Mukesh Rathor
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.