From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mukesh Rathor Subject: Re: gdbsx - xg_attach:Unable to pause domain:1; failed to attach to domain:1 errno:13 Date: Tue, 26 Aug 2014 15:47:44 -0700 Message-ID: <20140826154744.2f155cbc@mantra.us.oracle.com> References: <6b706237be98403ea1b620d91dca71f7@BY2PR04MB173.namprd04.prod.outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <6b706237be98403ea1b620d91dca71f7@BY2PR04MB173.namprd04.prod.outlook.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Pete Delaney Cc: "piet.delaney@gmail.com" , Elaine Huang , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 26 Aug 2014 02:14:30 +0000 Pete Delaney 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