[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] gdbsx - xg_attach:Unable to pause domain:1; failed to attach to domain:1 errno:13
Hi Mukesh: > Hmm... I just tried and it worked for me, so things are ok it seems on latest xen/linux. > The errno EPERM indicates something might not be properly setup. > Are you able to run other xen commands like xl list, etc? > I see you are running as root, are you running gdbsx on dom0? Gdbsx runs on dom0, which I believe is the same as running on the host when it's booting for Xen support in the grub selection. On the host the Xen commands are available as I showed in my initial email, I used the "xl list" and "xl pause" commands: > 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 I was running as root on the host/dom0. Wondering if the host kernel has to be configured to support gdb attaching with gdbsx. Sorry about the reply exchange layout; I can' only run outlook here at work. I like the thunderbird reply scheme much more. -piet -- Pete/Piet Delaney O: +1 408 935-1813 C: +1 408 646-8557 H: +1 408 243-8872 Home Email: piet.delaney@xxxxxxxxx -----Original Message----- From: Mukesh Rathor [mailto:mukesh.rathor@xxxxxxxxxx] Sent: Tuesday, August 26, 2014 3:48 PM To: Pete Delaney Cc: xen-devel@xxxxxxxxxxxxx; piet.delaney@xxxxxxxxx; Elaine Huang Subject: Re: gdbsx - xg_attach:Unable to pause domain:1; failed to attach to domain:1 errno:13 On Tue, 26 Aug 2014 02:14:30 +0000 Pete Delaney <pdelaney@xxxxxxxxxxxxxxx> wrote: > 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? gdbsx runs on dom0 and attaches to a domU. > 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] Hmm... I just tried and it worked for me, so things are ok it seems on latest xen/linux. The errno EPERM indicates something might not be properly setup. Are you able to run other xen commands like xl list, etc? I see you are running as root, are you running gdbsx on dom0? Mukesh _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |