Hi Mukesh:
I tried your gdbsx stub but hit a couple errors.
I didn’t find an explanation with google; nor on the xen-devel mailing list yet.
Thought I’d ask ya.
I installed Ubuntu-14.04 Server with OpenXenManager on my Xenon workstation and have
A Xenon blade also with Ubunto-14.04 and OpenXen. Seems to run about the same on both
Machines.
This afternoon I pulled the Xen source with git from
xenbits.xen.org and build it.
The version of gdbsx that I built on my workstation is having problems attaching to Domain-0.
I tried this on the host. Do I need to create a shell to a Domain-0 instance or something?
root@piet-openxen:~#
./gdbsx -c 1 64
ERROR:xg_attach:Unable to pause domain:1
ERROR: failed to attach to domain:1 errno:13
[Permission Denied]
root@piet-openxen:~#
xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 14734 12 r----- 8562.9
New_PV_Driver 1 1023 4 -b---- 50.3
root@piet-openxen:~#
root@piet-openxen-blade:~#
xl pause 1
root@piet-openxen-blade:~#
./gdbsx -a 1 32 9999
ERROR:xg_attach:Unable to pause domain:1
ERROR: failed to attach to domain:1 errno:13
[Permission Denied]
root@piet-openxen-blade:~#
xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 14734 12 r----- 8651.7
New_PV_Driver 1 1023 4 --p--- 242.8
root@piet-openxen-blade:~#
root@piet-openxen-blade:~# ./gdbsx -a 1 32 9999
-d
xg_init:E
xg_init:X:fd:3
xg_attach:E:domid:1
_check_hyp:XENCAPS:xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
ERROR:xg_attach:Unable to pause domain:1
ERROR: failed to attach to domain:1 errno:13
root@piet-openxen-blade:~#
-piet
--
Pete/Piet Delaney
O: +1 408 935-1813
C: +1 408 646-8557
H: +1 408 243-8872
Home Email: piet.delaney@xxxxxxxxx