Skip to contentSkip to conversation

Debugging DomU

DISCUSSION Purav Saraiya 2 participants 3 messages Nov 19, 2005 – Dec 5, 2005

lore
Share & tools
lore
#0 lore raw

I am facing problems with debugging DomU.

I have made changes in the gdt table in the file head.S for Dom U. Because of that the domain is crashing.

For debugging, I followed the steps mentioned in the file /xen-unstable/tools/debugger/gdb/README. I also made changes in the /xen/Rules.mk file and compiled domU with -g C flag.

However, as mentioned in the README file no /var/xen/dump/<Domain-name>.<DomainID>.core file is generated.

Rules.mk file :

verbose     ?= y
debug       ?= y
perfc       ?= n

perfc_arrays?= n
domu_debug ?= y
crash_debug ?= y

Am I missing something?

Thanks for replies.
-Purav

#1 lore raw

domu_debug and crash_debug are mutually exclusive.

Quoted 23 lines · Purav Saraiya

I am facing problems with debugging DomU.

I have made changes in the gdt table in the file head.S for Dom U. Because of that the domain is crashing.

For debugging, I followed the steps mentioned in the file /xen-unstable/tools/debugger/gdb/README. I also made changes in the /xen/Rules.mk file and compiled domU with -g C flag.

However, as mentioned in the README file no /var/xen/dump/<Domain-name>.<DomainID>.core file is generated.

Rules.mk file :

verbose     ?= y
debug       ?= y
perfc       ?= n

perfc_arrays?= n
domu_debug ?= y
crash_debug ?= y

Am I missing something?

Quoted 8 lines

Thanks for replies.
-Purav

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

With the patches I've sent today domu_debug is now a run-time option. Enabling crash_debug will not interfere with domU debugging.

-Kip

Quoted 38 lines · Kip Macy

domu_debug and crash_debug are mutually exclusive.

Quoted 32 lines · Purav Saraiya

I am facing problems with debugging DomU.

I have made changes in the gdt table in the file head.S for Dom U. Because
of that the domain is crashing.

For debugging, I followed the steps mentioned in the file /xen-unstable/tools/debugger/gdb/README. I also made changes in the /xen/Rules.mk file and compiled domU with -g C flag.

However, as mentioned in the README file no /var/xen/dump/<Domain-name>.<DomainID>.core file is generated.

Rules.mk file :

verbose     ?= y
debug       ?= y
perfc       ?= n

perfc_arrays?= n
domu_debug ?= y
crash_debug ?= y

Am I missing something?

Thanks for replies.
-Purav

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel