From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: Re: pdb and Re: gdb server outdated? Date: Wed, 31 Aug 2005 13:43:02 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0093715670==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Newsham Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0093715670== Content-Type: multipart/alternative; boundary="----=_Part_9069_6962314.1125520982279" ------=_Part_9069_6962314.1125520982279 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't know about PDB, but you'll see the permissions problem if=20 gdbserver-xen is not run as root. -Kip On 8/31/05, Tim Newsham wrote: >=20 > > Sources from this week give me: > > [root@cirrus root]# uname -a > > Linux cirrus.x0d.com 2.6.12-xen0 #1 Mon Aug 29= =20 > 10:04:03 HST 2005 i686 i686 > > i386 GNU/Linux > > [root@cirrus root]# gdbserver-xen 127.0.0.1:9999 --attach 1 > > Dom0 operation failed -- need to rebuild the user-space tool set? > > dom0 op failed: Permission denied > > Cannot attach to domain 1: Permission denied (13) > > > > I did a clean rebulid of gdbserver-xen. Are the sources out of sync > > with the xen 'visor? >=20 > I gave pdb a whilr for good measure and it is similarly not working: > [root@cirrus libxendebug]# pdb 9999 > ERROR: Could not obtain handle on privileged command interface (2 =3D No > such file or directory) > (pdb) error opening xc interface: 2 (No such file or directory) > ERROR: do_evtchn_op: HYPERVISOR_event_channel_op failed: -1 > (pdb) evtchn_bind_virq error! > failure: [evtchn_bind_virq error] >=20 > This with a freshly built libxendbug and pdb. >=20 > Tim Newsham > http://www.lava.net/~newsham/ >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > ------=_Part_9069_6962314.1125520982279 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I don't know about PDB, but you'll see the permissions problem if gdbserver= -xen is not run as root.

    -Kip

On 8/31/05,= Tim Newsham <newsham@lava.net> wrote:
> Sources from this week give me:
> [root@cirrus root]# uname -a> Linux cirrus.x0d.com 2.6.12-xe= n0 #1 Mon Aug 29 10:04:03 HST 2005 i686 i686
> i386 GNU/Linux
>= [ root@cirrus root]# gdbserver-xen 127.0.0.= 1:9999 --attach 1
> Dom0 operation failed -- need to rebuild the = user-space tool set?
> dom0 op failed: Permission denied
> Cann= ot attach to domain 1: Permission denied (13)
>
> I did a clean rebulid of gdbserver-xen.  Are the= sources out of sync
> with the xen 'visor?

I gave pdb a whilr= for good measure and it is similarly not working:
[root@cirrus libxende= bug]# pdb 9999
ERROR: Could not obtain handle on privileged command interface (2 =3D N= o
such file or directory)
(pdb) error opening xc interface: 2 (No suc= h file or directory)
ERROR: do_evtchn_op: HYPERVISOR_event_channel_op fa= iled: -1
(pdb) evtchn_bind_virq error!
failure: [evtchn_bind_virq error]
<= br>This with a freshly built libxendbug and pdb.

Tim Newsham
http://www.lava.net/~newsham/

_______________________________________________
Xen-devel mailing li= st
Xen-devel@lists.xens= ource.com
http://li= sts.xensource.com/xen-devel

------=_Part_9069_6962314.1125520982279-- --===============0093715670== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0093715670==--