All of lore.kernel.org
 help / color / mirror / Atom feed
* how to enable kdb for xen
@ 2015-12-16  6:57 quizyjones
  2015-12-16  8:08 ` quizyjones
  0 siblings, 1 reply; 12+ messages in thread
From: quizyjones @ 2015-12-16  6:57 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 460 bytes --]

I tried to debug xen use kdb. After compiling xen with debug=y, is there any further steps I should take? I can get console outputs start with:        Xen 4.4.1        (XEN) Xen version 4.4.1 (root@) (gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14        .....But I can't step into the boot procedure.  The kdb seems not built in and there is no kdb folder in /tools/debugger. How can I build xen-4.4.1/xen-4.4.6 with kdb?

 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 824 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-16  6:57 how to enable kdb for xen quizyjones
@ 2015-12-16  8:08 ` quizyjones
  2015-12-16 14:30   ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 12+ messages in thread
From: quizyjones @ 2015-12-16  8:08 UTC (permalink / raw)
  To: xen-devel; +Cc: tim


[-- Attachment #1.1: Type: text/plain, Size: 895 bytes --]

The version embedded with kdb only updates to 4.1.0. How can I use it with xen 4.6?  Or is there any other debuggers which can step in Xen?

From: quizy_jones@outlook.com
To: xen-devel@lists.xen.org
Date: Wed, 16 Dec 2015 06:57:02 +0000
Subject: [Xen-devel] how to enable kdb for xen




I tried to debug xen use kdb. After compiling xen with debug=y, is there any further steps I should take? I can get console outputs start with:        Xen 4.4.1        (XEN) Xen version 4.4.1 (root@) (gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14        .....But I can't step into the boot procedure.  The kdb seems not built in and there is no kdb folder in /tools/debugger. How can I build xen-4.4.1/xen-4.4.6 with kdb?

 		 	   		  

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 1547 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-16  8:08 ` quizyjones
@ 2015-12-16 14:30   ` Konrad Rzeszutek Wilk
  2015-12-16 14:42     ` Elena Ufimtseva
  0 siblings, 1 reply; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-12-16 14:30 UTC (permalink / raw)
  To: quizyjones, xen-devel, Elena Ufimtseva; +Cc: tim

On December 16, 2015 3:08:04 AM EST, quizyjones <quizy_jones@outlook.com> wrote:
>The version embedded with kdb only updates to 4.1.0. How can I use it
>with xen 4.6?  Or is there any other debuggers which can step in Xen?

CCing Elena who poked at it some point. Not sure if she got it ported over though.
>
>From: quizy_jones@outlook.com
>To: xen-devel@lists.xen.org
>Date: Wed, 16 Dec 2015 06:57:02 +0000
>Subject: [Xen-devel] how to enable kdb for xen
>
>
>
>
>I tried to debug xen use kdb. After compiling xen with debug=y, is
>there any further steps I should take? I can get console outputs start
>with:        Xen 4.4.1        (XEN) Xen version 4.4.1 (root@) (gcc
>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14       
>.....But I can't step into the boot procedure.  The kdb seems not built
>in and there is no kdb folder in /tools/debugger. How can I build
>xen-4.4.1/xen-4.4.6 with kdb?
>
> 		 	   		  
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xen.org
>http://lists.xen.org/xen-devel 		 	   		  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xen.org
>http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-16 14:30   ` Konrad Rzeszutek Wilk
@ 2015-12-16 14:42     ` Elena Ufimtseva
  2015-12-17  1:38       ` quizyjones
  2015-12-19  4:24       ` quizyjones
  0 siblings, 2 replies; 12+ messages in thread
From: Elena Ufimtseva @ 2015-12-16 14:42 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: Elena Ufimtseva, quizyjones, tim, xen-devel

On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
<konrad.wilk@oracle.com> wrote:
> On December 16, 2015 3:08:04 AM EST, quizyjones <quizy_jones@outlook.com> wrote:
>>The version embedded with kdb only updates to 4.1.0. How can I use it
>>with xen 4.6?  Or is there any other debuggers which can step in Xen?
>
> CCing Elena who poked at it some point. Not sure if she got it ported over though.
>>
>>From: quizy_jones@outlook.com
>>To: xen-devel@lists.xen.org
>>Date: Wed, 16 Dec 2015 06:57:02 +0000
>>Subject: [Xen-devel] how to enable kdb for xen
>>
>>
>>
>>
>>I tried to debug xen use kdb. After compiling xen with debug=y, is
>>there any further steps I should take? I can get console outputs start
>>with:        Xen 4.4.1        (XEN) Xen version 4.4.1 (root@) (gcc
>>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
>>.....But I can't step into the boot procedure.  The kdb seems not built
>>in and there is no kdb folder in /tools/debugger. How can I build
>>xen-4.4.1/xen-4.4.6 with kdb?

Hey!
If I recall correctly, I did try to port kdb. Let me find out what
happened there.

Elena

>>
>>
>>
>>_______________________________________________
>>Xen-devel mailing list
>>Xen-devel@lists.xen.org
>>http://lists.xen.org/xen-devel
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>Xen-devel mailing list
>>Xen-devel@lists.xen.org
>>http://lists.xen.org/xen-devel
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel



-- 
Elena

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-16 14:42     ` Elena Ufimtseva
@ 2015-12-17  1:38       ` quizyjones
  2015-12-19  4:24       ` quizyjones
  1 sibling, 0 replies; 12+ messages in thread
From: quizyjones @ 2015-12-17  1:38 UTC (permalink / raw)
  To: Elena Ufimtseva, Konrad Rzeszutek Wilk; +Cc: Elena Ufimtseva, tim, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2107 bytes --]

Thanks a lot and looking forward to that.

> Date: Wed, 16 Dec 2015 09:42:47 -0500
> Subject: Re: [Xen-devel] how to enable kdb for xen
> From: ufimtseva@gmail.com
> To: konrad.wilk@oracle.com
> CC: quizy_jones@outlook.com; xen-devel@lists.xen.org; elena.ufimtseva@oracle.com; tim@xen.org
> 
> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com> wrote:
> > On December 16, 2015 3:08:04 AM EST, quizyjones <quizy_jones@outlook.com> wrote:
> >>The version embedded with kdb only updates to 4.1.0. How can I use it
> >>with xen 4.6?  Or is there any other debuggers which can step in Xen?
> >
> > CCing Elena who poked at it some point. Not sure if she got it ported over though.
> >>
> >>From: quizy_jones@outlook.com
> >>To: xen-devel@lists.xen.org
> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
> >>Subject: [Xen-devel] how to enable kdb for xen
> >>
> >>
> >>
> >>
> >>I tried to debug xen use kdb. After compiling xen with debug=y, is
> >>there any further steps I should take? I can get console outputs start
> >>with:        Xen 4.4.1        (XEN) Xen version 4.4.1 (root@) (gcc
> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
> >>.....But I can't step into the boot procedure.  The kdb seems not built
> >>in and there is no kdb folder in /tools/debugger. How can I build
> >>xen-4.4.1/xen-4.4.6 with kdb?
> 
> Hey!
> If I recall correctly, I did try to port kdb. Let me find out what
> happened there.
> 
> Elena
> 
> >>
> >>
> >>
> >>_______________________________________________
> >>Xen-devel mailing list
> >>Xen-devel@lists.xen.org
> >>http://lists.xen.org/xen-devel
> >>
> >>------------------------------------------------------------------------
> >>
> >>_______________________________________________
> >>Xen-devel mailing list
> >>Xen-devel@lists.xen.org
> >>http://lists.xen.org/xen-devel
> >
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> 
> 
> 
> -- 
> Elena
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 2884 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-16 14:42     ` Elena Ufimtseva
  2015-12-17  1:38       ` quizyjones
@ 2015-12-19  4:24       ` quizyjones
  2015-12-19  4:58         ` Elena Ufimtseva
  1 sibling, 1 reply; 12+ messages in thread
From: quizyjones @ 2015-12-19  4:24 UTC (permalink / raw)
  To: Elena Ufimtseva, Konrad Rzeszutek Wilk; +Cc: Elena Ufimtseva, tim, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 2230 bytes --]

Is there any progress?

> Date: Wed, 16 Dec 2015 09:42:47 -0500
> From: ufimtseva@gmail.com
> To: konrad.wilk@oracle.com
> CC: elena.ufimtseva@oracle.com; quizy_jones@outlook.com; tim@xen.org; xen-devel@lists.xen.org
> Subject: Re: [Xen-devel] how to enable kdb for xen
> 
> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
> <konrad.wilk@oracle.com> wrote:
> > On December 16, 2015 3:08:04 AM EST, quizyjones <quizy_jones@outlook.com> wrote:
> >>The version embedded with kdb only updates to 4.1.0. How can I use it
> >>with xen 4.6?  Or is there any other debuggers which can step in Xen?
> >
> > CCing Elena who poked at it some point. Not sure if she got it ported over though.
> >>
> >>From: quizy_jones@outlook.com
> >>To: xen-devel@lists.xen.org
> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
> >>Subject: [Xen-devel] how to enable kdb for xen
> >>
> >>
> >>
> >>
> >>I tried to debug xen use kdb. After compiling xen with debug=y, is
> >>there any further steps I should take? I can get console outputs start
> >>with:        Xen 4.4.1        (XEN) Xen version 4.4.1 (root@) (gcc
> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
> >>.....But I can't step into the boot procedure.  The kdb seems not built
> >>in and there is no kdb folder in /tools/debugger. How can I build
> >>xen-4.4.1/xen-4.4.6 with kdb?
> 
> Hey!
> If I recall correctly, I did try to port kdb. Let me find out what
> happened there.
> 
> Elena
> 
> >>
> >>
> >>
> >>_______________________________________________
> >>Xen-devel mailing list
> >>Xen-devel@lists.xen.org
> >>http://lists.xen.org/xen-devel
> >>
> >>------------------------------------------------------------------------
> >>
> >>_______________________________________________
> >>Xen-devel mailing list
> >>Xen-devel@lists.xen.org
> >>http://lists.xen.org/xen-devel
> >
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xen.org
> > http://lists.xen.org/xen-devel
> 
> 
> 
> -- 
> Elena
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 3032 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-19  4:24       ` quizyjones
@ 2015-12-19  4:58         ` Elena Ufimtseva
  2015-12-24  2:36           ` quizyjones
  2015-12-24 16:26           ` Doug Goldstein
  0 siblings, 2 replies; 12+ messages in thread
From: Elena Ufimtseva @ 2015-12-19  4:58 UTC (permalink / raw)
  To: quizyjones; +Cc: Elena Ufimtseva, xen-devel, tim

On Fri, Dec 18, 2015 at 11:24 PM, quizyjones <quizy_jones@outlook.com> wrote:
> Is there any progress?

Hey

I did look into this and I could not find the trace of what I have
done before. So I decided to ytu and port it to current version from
this Mukesh patch:
http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
It looks like it applied without major issues, but I have not tested
it yet, but its in my plan for next week.

Elena

>
>> Date: Wed, 16 Dec 2015 09:42:47 -0500
>> From: ufimtseva@gmail.com
>> To: konrad.wilk@oracle.com
>> CC: elena.ufimtseva@oracle.com; quizy_jones@outlook.com; tim@xen.org;
>> xen-devel@lists.xen.org
>> Subject: Re: [Xen-devel] how to enable kdb for xen
>
>>
>> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
>> <konrad.wilk@oracle.com> wrote:
>> > On December 16, 2015 3:08:04 AM EST, quizyjones
>> > <quizy_jones@outlook.com> wrote:
>> >>The version embedded with kdb only updates to 4.1.0. How can I use it
>> >>with xen 4.6? Or is there any other debuggers which can step in Xen?
>> >
>> > CCing Elena who poked at it some point. Not sure if she got it ported
>> > over though.
>> >>
>> >>From: quizy_jones@outlook.com
>> >>To: xen-devel@lists.xen.org
>> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
>> >>Subject: [Xen-devel] how to enable kdb for xen
>> >>
>> >>
>> >>
>> >>
>> >>I tried to debug xen use kdb. After compiling xen with debug=y, is
>> >>there any further steps I should take? I can get console outputs start
>> >>with: Xen 4.4.1 (XEN) Xen version 4.4.1 (root@) (gcc
>> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
>> >>.....But I can't step into the boot procedure. The kdb seems not built
>> >>in and there is no kdb folder in /tools/debugger. How can I build
>> >>xen-4.4.1/xen-4.4.6 with kdb?
>>
>> Hey!
>> If I recall correctly, I did try to port kdb. Let me find out what
>> happened there.
>>
>> Elena
>>
>> >>
>> >>
>> >>
>> >>_______________________________________________
>> >>Xen-devel mailing list
>> >>Xen-devel@lists.xen.org
>> >>http://lists.xen.org/xen-devel
>> >>
>> >>------------------------------------------------------------------------
>> >>
>> >>_______________________________________________
>> >>Xen-devel mailing list
>> >>Xen-devel@lists.xen.org
>> >>http://lists.xen.org/xen-devel
>> >
>> >
>> >
>> > _______________________________________________
>> > Xen-devel mailing list
>> > Xen-devel@lists.xen.org
>> > http://lists.xen.org/xen-devel
>>
>>
>>
>> --
>> Elena
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xen.org
>> http://lists.xen.org/xen-devel



-- 
Elena

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-19  4:58         ` Elena Ufimtseva
@ 2015-12-24  2:36           ` quizyjones
  2015-12-24  3:35             ` quizyjones
  2015-12-26 11:55             ` Konrad Rzeszutek Wilk
  2015-12-24 16:26           ` Doug Goldstein
  1 sibling, 2 replies; 12+ messages in thread
From: quizyjones @ 2015-12-24  2:36 UTC (permalink / raw)
  To: Elena Ufimtseva; +Cc: Elena Ufimtseva, xen-devel, tim


[-- Attachment #1.1: Type: text/plain, Size: 3503 bytes --]

Hi, Elena. I tried to patch xen-4.4.1 with the patches at http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html. However, after the patching, when I make with kdb=y, it would interrupt for error: 'struct domain' has no member named 'is_paused_by_controller'. Does the patch really work with xen-4.4?

> Date: Fri, 18 Dec 2015 23:58:52 -0500
> Subject: Re: [Xen-devel] how to enable kdb for xen
> From: ufimtseva@gmail.com
> To: quizy_jones@outlook.com
> CC: konrad.wilk@oracle.com; elena.ufimtseva@oracle.com; tim@xen.org; xen-devel@lists.xen.org
> 
> On Fri, Dec 18, 2015 at 11:24 PM, quizyjones <quizy_jones@outlook.com> wrote:
> > Is there any progress?
> 
> Hey
> 
> I did look into this and I could not find the trace of what I have
> done before. So I decided to ytu and port it to current version from
> this Mukesh patch:
> http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
> It looks like it applied without major issues, but I have not tested
> it yet, but its in my plan for next week.
> 
> Elena
> 
> >
> >> Date: Wed, 16 Dec 2015 09:42:47 -0500
> >> From: ufimtseva@gmail.com
> >> To: konrad.wilk@oracle.com
> >> CC: elena.ufimtseva@oracle.com; quizy_jones@outlook.com; tim@xen.org;
> >> xen-devel@lists.xen.org
> >> Subject: Re: [Xen-devel] how to enable kdb for xen
> >
> >>
> >> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
> >> <konrad.wilk@oracle.com> wrote:
> >> > On December 16, 2015 3:08:04 AM EST, quizyjones
> >> > <quizy_jones@outlook.com> wrote:
> >> >>The version embedded with kdb only updates to 4.1.0. How can I use it
> >> >>with xen 4.6? Or is there any other debuggers which can step in Xen?
> >> >
> >> > CCing Elena who poked at it some point. Not sure if she got it ported
> >> > over though.
> >> >>
> >> >>From: quizy_jones@outlook.com
> >> >>To: xen-devel@lists.xen.org
> >> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
> >> >>Subject: [Xen-devel] how to enable kdb for xen
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>I tried to debug xen use kdb. After compiling xen with debug=y, is
> >> >>there any further steps I should take? I can get console outputs start
> >> >>with: Xen 4.4.1 (XEN) Xen version 4.4.1 (root@) (gcc
> >> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
> >> >>.....But I can't step into the boot procedure. The kdb seems not built
> >> >>in and there is no kdb folder in /tools/debugger. How can I build
> >> >>xen-4.4.1/xen-4.4.6 with kdb?
> >>
> >> Hey!
> >> If I recall correctly, I did try to port kdb. Let me find out what
> >> happened there.
> >>
> >> Elena
> >>
> >> >>
> >> >>
> >> >>
> >> >>_______________________________________________
> >> >>Xen-devel mailing list
> >> >>Xen-devel@lists.xen.org
> >> >>http://lists.xen.org/xen-devel
> >> >>
> >> >>------------------------------------------------------------------------
> >> >>
> >> >>_______________________________________________
> >> >>Xen-devel mailing list
> >> >>Xen-devel@lists.xen.org
> >> >>http://lists.xen.org/xen-devel
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Xen-devel mailing list
> >> > Xen-devel@lists.xen.org
> >> > http://lists.xen.org/xen-devel
> >>
> >>
> >>
> >> --
> >> Elena
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@lists.xen.org
> >> http://lists.xen.org/xen-devel
> 
> 
> 
> -- 
> Elena
 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 4998 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-24  2:36           ` quizyjones
@ 2015-12-24  3:35             ` quizyjones
  2015-12-26 11:55             ` Konrad Rzeszutek Wilk
  1 sibling, 0 replies; 12+ messages in thread
From: quizyjones @ 2015-12-24  3:35 UTC (permalink / raw)
  To: Elena Ufimtseva; +Cc: Elena Ufimtseva, tim, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 5738 bytes --]

Besides of that, even when I compile the debuggers.hg version of xen-4.1.0 at http://xenbits.xensource.com/ext/debuggers.hg, it will interrupt for:
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/john/debuggers.hg/xen/include  -I/home/john/debuggers.hg/xen/include/asm-x86/mach-generic -I/home/john/debuggers.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DXEN_KDB_CONFIG -MMD -MF .cpupool.o.d -c cpupool.c -o cpupool.ocpupool.c: In function ‘cpupool_add_domain’:cpupool.c:331:9: error: variable ‘n_dom’ set but not used [-Werror=unused-but-set-variable]     int n_dom;         ^cpupool.c: In function ‘cpupool_rm_domain’:cpupool.c:356:9: error: variable ‘n_dom’ set but not used [-Werror=unused-but-set-variable]     int n_dom;         ^cpupool.c:355:9: error: variable ‘cpupool_id’ set but not used [-Werror=unused-but-set-variable]     int cpupool_id;         ^cc1: all warnings being treated as errorsmake[4]: *** [cpupool.o] Error 1make[4]: Leaving directory `/home/john/debuggers.hg/xen/common'make[3]: *** [/home/john/debuggers.hg/xen/common/built_in.o] Error 2make[3]: Leaving directory `/home/john/debuggers.hg/xen/arch/x86'make[2]: *** [/home/john/debuggers.hg/xen/xen] Error 2make[2]: Leaving directory `/home/john/debuggers.hg/xen'make[1]: *** [install] Error 2make[1]: Leaving directory `/home/john/debuggers.hg/xen'make: *** [install-xen] Error 2
Actually, the variables are all used in the function, I don't know why this happens. After removing -Werror option in Makefile, it still happens.
From: quizy_jones@outlook.com
To: ufimtseva@gmail.com
Date: Thu, 24 Dec 2015 02:36:34 +0000
CC: elena.ufimtseva@oracle.com; xen-devel@lists.xen.org; tim@xen.org
Subject: Re: [Xen-devel] how to enable kdb for xen




Hi, Elena. I tried to patch xen-4.4.1 with the patches at http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html. However, after the patching, when I make with kdb=y, it would interrupt for error: 'struct domain' has no member named 'is_paused_by_controller'. Does the patch really work with xen-4.4?

> Date: Fri, 18 Dec 2015 23:58:52 -0500
> Subject: Re: [Xen-devel] how to enable kdb for xen
> From: ufimtseva@gmail.com
> To: quizy_jones@outlook.com
> CC: konrad.wilk@oracle.com; elena.ufimtseva@oracle.com; tim@xen.org; xen-devel@lists.xen.org
> 
> On Fri, Dec 18, 2015 at 11:24 PM, quizyjones <quizy_jones@outlook.com> wrote:
> > Is there any progress?
> 
> Hey
> 
> I did look into this and I could not find the trace of what I have
> done before. So I decided to ytu and port it to current version from
> this Mukesh patch:
> http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
> It looks like it applied without major issues, but I have not tested
> it yet, but its in my plan for next week.
> 
> Elena
> 
> >
> >> Date: Wed, 16 Dec 2015 09:42:47 -0500
> >> From: ufimtseva@gmail.com
> >> To: konrad.wilk@oracle.com
> >> CC: elena.ufimtseva@oracle.com; quizy_jones@outlook.com; tim@xen.org;
> >> xen-devel@lists.xen.org
> >> Subject: Re: [Xen-devel] how to enable kdb for xen
> >
> >>
> >> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
> >> <konrad.wilk@oracle.com> wrote:
> >> > On December 16, 2015 3:08:04 AM EST, quizyjones
> >> > <quizy_jones@outlook.com> wrote:
> >> >>The version embedded with kdb only updates to 4.1.0. How can I use it
> >> >>with xen 4.6? Or is there any other debuggers which can step in Xen?
> >> >
> >> > CCing Elena who poked at it some point. Not sure if she got it ported
> >> > over though.
> >> >>
> >> >>From: quizy_jones@outlook.com
> >> >>To: xen-devel@lists.xen.org
> >> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
> >> >>Subject: [Xen-devel] how to enable kdb for xen
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>I tried to debug xen use kdb. After compiling xen with debug=y, is
> >> >>there any further steps I should take? I can get console outputs start
> >> >>with: Xen 4.4.1 (XEN) Xen version 4.4.1 (root@) (gcc
> >> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
> >> >>.....But I can't step into the boot procedure. The kdb seems not built
> >> >>in and there is no kdb folder in /tools/debugger. How can I build
> >> >>xen-4.4.1/xen-4.4.6 with kdb?
> >>
> >> Hey!
> >> If I recall correctly, I did try to port kdb. Let me find out what
> >> happened there.
> >>
> >> Elena
> >>
> >> >>
> >> >>
> >> >>
> >> >>_______________________________________________
> >> >>Xen-devel mailing list
> >> >>Xen-devel@lists.xen.org
> >> >>http://lists.xen.org/xen-devel
> >> >>
> >> >>------------------------------------------------------------------------
> >> >>
> >> >>_______________________________________________
> >> >>Xen-devel mailing list
> >> >>Xen-devel@lists.xen.org
> >> >>http://lists.xen.org/xen-devel
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Xen-devel mailing list
> >> > Xen-devel@lists.xen.org
> >> > http://lists.xen.org/xen-devel
> >>
> >>
> >>
> >> --
> >> Elena
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@lists.xen.org
> >> http://lists.xen.org/xen-devel
> 
> 
> 
> -- 
> Elena
 		 	   		  

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 8085 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-19  4:58         ` Elena Ufimtseva
  2015-12-24  2:36           ` quizyjones
@ 2015-12-24 16:26           ` Doug Goldstein
  1 sibling, 0 replies; 12+ messages in thread
From: Doug Goldstein @ 2015-12-24 16:26 UTC (permalink / raw)
  To: Elena Ufimtseva, quizyjones; +Cc: Elena Ufimtseva, tim, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 713 bytes --]

On 12/18/15 10:58 PM, Elena Ufimtseva wrote:
> On Fri, Dec 18, 2015 at 11:24 PM, quizyjones <quizy_jones@outlook.com> wrote:
>> Is there any progress?
> 
> Hey
> 
> I did look into this and I could not find the trace of what I have
> done before. So I decided to ytu and port it to current version from
> this Mukesh patch:
> http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
> It looks like it applied without major issues, but I have not tested
> it yet, but its in my plan for next week.
> 
> Elena

Elena,

When you port this over to staging please change the command line
'kdb=y' to a Kconfig option if you plan on it landing in staging.

Thanks.
-- 
Doug Goldstein


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-24  2:36           ` quizyjones
  2015-12-24  3:35             ` quizyjones
@ 2015-12-26 11:55             ` Konrad Rzeszutek Wilk
  2015-12-28  3:09               ` quizyjones
  1 sibling, 1 reply; 12+ messages in thread
From: Konrad Rzeszutek Wilk @ 2015-12-26 11:55 UTC (permalink / raw)
  To: quizyjones, Elena Ufimtseva; +Cc: Elena Ufimtseva, tim, xen-devel

On December 23, 2015 9:36:34 PM EST, quizyjones <quizy_jones@outlook.com> wrote:
>Hi, Elena. I tried to patch xen-4.4.1 with the patches at
>http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html.
>However, after the patching, when I make with kdb=y, it would interrupt
>for error: 'struct domain' has no member named
>'is_paused_by_controller'. Does the patch really work with xen-4.4?
>

You would have to figure that out by yourself.

Did it work with 4.6 as you asked for?

>> Date: Fri, 18 Dec 2015 23:58:52 -0500
>> Subject: Re: [Xen-devel] how to enable kdb for xen
>> From: ufimtseva@gmail.com
>> To: quizy_jones@outlook.com
>> CC: konrad.wilk@oracle.com; elena.ufimtseva@oracle.com; tim@xen.org;
>xen-devel@lists.xen.org
>> 
>> On Fri, Dec 18, 2015 at 11:24 PM, quizyjones
><quizy_jones@outlook.com> wrote:
>> > Is there any progress?
>> 
>> Hey
>> 
>> I did look into this and I could not find the trace of what I have
>> done before. So I decided to ytu and port it to current version from
>> this Mukesh patch:
>> http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
>> It looks like it applied without major issues, but I have not tested
>> it yet, but its in my plan for next week.
>> 
>> Elena
>> 
>> >
>> >> Date: Wed, 16 Dec 2015 09:42:47 -0500
>> >> From: ufimtseva@gmail.com
>> >> To: konrad.wilk@oracle.com
>> >> CC: elena.ufimtseva@oracle.com; quizy_jones@outlook.com;
>tim@xen.org;
>> >> xen-devel@lists.xen.org
>> >> Subject: Re: [Xen-devel] how to enable kdb for xen
>> >
>> >>
>> >> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
>> >> <konrad.wilk@oracle.com> wrote:
>> >> > On December 16, 2015 3:08:04 AM EST, quizyjones
>> >> > <quizy_jones@outlook.com> wrote:
>> >> >>The version embedded with kdb only updates to 4.1.0. How can I
>use it
>> >> >>with xen 4.6? Or is there any other debuggers which can step in
>Xen?
>> >> >
>> >> > CCing Elena who poked at it some point. Not sure if she got it
>ported
>> >> > over though.
>> >> >>
>> >> >>From: quizy_jones@outlook.com
>> >> >>To: xen-devel@lists.xen.org
>> >> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
>> >> >>Subject: [Xen-devel] how to enable kdb for xen
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>I tried to debug xen use kdb. After compiling xen with debug=y,
>is
>> >> >>there any further steps I should take? I can get console outputs
>start
>> >> >>with: Xen 4.4.1 (XEN) Xen version 4.4.1 (root@) (gcc
>> >> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
>> >> >>.....But I can't step into the boot procedure. The kdb seems not
>built
>> >> >>in and there is no kdb folder in /tools/debugger. How can I
>build
>> >> >>xen-4.4.1/xen-4.4.6 with kdb?
>> >>
>> >> Hey!
>> >> If I recall correctly, I did try to port kdb. Let me find out what
>> >> happened there.
>> >>
>> >> Elena
>> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >>_______________________________________________
>> >> >>Xen-devel mailing list
>> >> >>Xen-devel@lists.xen.org
>> >> >>http://lists.xen.org/xen-devel
>> >> >>
>> >>
>>>------------------------------------------------------------------------
>> >> >>
>> >> >>_______________________________________________
>> >> >>Xen-devel mailing list
>> >> >>Xen-devel@lists.xen.org
>> >> >>http://lists.xen.org/xen-devel
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > Xen-devel mailing list
>> >> > Xen-devel@lists.xen.org
>> >> > http://lists.xen.org/xen-devel
>> >>
>> >>
>> >>
>> >> --
>> >> Elena
>> >>
>> >> _______________________________________________
>> >> Xen-devel mailing list
>> >> Xen-devel@lists.xen.org
>> >> http://lists.xen.org/xen-devel
>> 
>> 
>> 
>> -- 
>> Elena
> 		 	   		  

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: how to enable kdb for xen
  2015-12-26 11:55             ` Konrad Rzeszutek Wilk
@ 2015-12-28  3:09               ` quizyjones
  0 siblings, 0 replies; 12+ messages in thread
From: quizyjones @ 2015-12-28  3:09 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk, Elena Ufimtseva; +Cc: Elena Ufimtseva, tim, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 3783 bytes --]

No, it won't work on neither 4.4 nor 4.6


> Did it work with 4.6 as you asked for?
> 
> >> Date: Fri, 18 Dec 2015 23:58:52 -0500
> >> Subject: Re: [Xen-devel] how to enable kdb for xen
> >> From: ufimtseva@gmail.com
> >> To: quizy_jones@outlook.com
> >> CC: konrad.wilk@oracle.com; elena.ufimtseva@oracle.com; tim@xen.org;
> >xen-devel@lists.xen.org
> >> 
> >> On Fri, Dec 18, 2015 at 11:24 PM, quizyjones
> ><quizy_jones@outlook.com> wrote:
> >> > Is there any progress?
> >> 
> >> Hey
> >> 
> >> I did look into this and I could not find the trace of what I have
> >> done before. So I decided to ytu and port it to current version from
> >> this Mukesh patch:
> >> http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
> >> It looks like it applied without major issues, but I have not tested
> >> it yet, but its in my plan for next week.
> >> 
> >> Elena
> >> 
> >> >
> >> >> Date: Wed, 16 Dec 2015 09:42:47 -0500
> >> >> From: ufimtseva@gmail.com
> >> >> To: konrad.wilk@oracle.com
> >> >> CC: elena.ufimtseva@oracle.com; quizy_jones@outlook.com;
> >tim@xen.org;
> >> >> xen-devel@lists.xen.org
> >> >> Subject: Re: [Xen-devel] how to enable kdb for xen
> >> >
> >> >>
> >> >> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
> >> >> <konrad.wilk@oracle.com> wrote:
> >> >> > On December 16, 2015 3:08:04 AM EST, quizyjones
> >> >> > <quizy_jones@outlook.com> wrote:
> >> >> >>The version embedded with kdb only updates to 4.1.0. How can I
> >use it
> >> >> >>with xen 4.6? Or is there any other debuggers which can step in
> >Xen?
> >> >> >
> >> >> > CCing Elena who poked at it some point. Not sure if she got it
> >ported
> >> >> > over though.
> >> >> >>
> >> >> >>From: quizy_jones@outlook.com
> >> >> >>To: xen-devel@lists.xen.org
> >> >> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
> >> >> >>Subject: [Xen-devel] how to enable kdb for xen
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>I tried to debug xen use kdb. After compiling xen with debug=y,
> >is
> >> >> >>there any further steps I should take? I can get console outputs
> >start
> >> >> >>with: Xen 4.4.1 (XEN) Xen version 4.4.1 (root@) (gcc
> >> >> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
> >> >> >>.....But I can't step into the boot procedure. The kdb seems not
> >built
> >> >> >>in and there is no kdb folder in /tools/debugger. How can I
> >build
> >> >> >>xen-4.4.1/xen-4.4.6 with kdb?
> >> >>
> >> >> Hey!
> >> >> If I recall correctly, I did try to port kdb. Let me find out what
> >> >> happened there.
> >> >>
> >> >> Elena
> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>_______________________________________________
> >> >> >>Xen-devel mailing list
> >> >> >>Xen-devel@lists.xen.org
> >> >> >>http://lists.xen.org/xen-devel
> >> >> >>
> >> >>
> >>>------------------------------------------------------------------------
> >> >> >>
> >> >> >>_______________________________________________
> >> >> >>Xen-devel mailing list
> >> >> >>Xen-devel@lists.xen.org
> >> >> >>http://lists.xen.org/xen-devel
> >> >> >
> >> >> >
> >> >> >
> >> >> > _______________________________________________
> >> >> > Xen-devel mailing list
> >> >> > Xen-devel@lists.xen.org
> >> >> > http://lists.xen.org/xen-devel
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Elena
> >> >>
> >> >> _______________________________________________
> >> >> Xen-devel mailing list
> >> >> Xen-devel@lists.xen.org
> >> >> http://lists.xen.org/xen-devel
> >> 
> >> 
> >> 
> >> -- 
> >> Elena
> > 		 	   		  
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 6015 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-12-28  3:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-16  6:57 how to enable kdb for xen quizyjones
2015-12-16  8:08 ` quizyjones
2015-12-16 14:30   ` Konrad Rzeszutek Wilk
2015-12-16 14:42     ` Elena Ufimtseva
2015-12-17  1:38       ` quizyjones
2015-12-19  4:24       ` quizyjones
2015-12-19  4:58         ` Elena Ufimtseva
2015-12-24  2:36           ` quizyjones
2015-12-24  3:35             ` quizyjones
2015-12-26 11:55             ` Konrad Rzeszutek Wilk
2015-12-28  3:09               ` quizyjones
2015-12-24 16:26           ` Doug Goldstein

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.