WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: pdb and Re: [Xen-devel] gdb server outdated?

To: Tim Newsham <newsham@xxxxxxxx>
Subject: Re: pdb and Re: [Xen-devel] gdb server outdated?
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Wed, 31 Aug 2005 13:43:02 -0700
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 31 Aug 2005 20:41:02 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=AEiZb3mMR+AEPKhoF80tYAGC+VKsmNAisdCCim/Ol2SqJqSUrJGlrlzwcgL28edRSaSmwyKxKMcfvxSD8HBRmQ91Jz1FBi1+Br/B92wkOmtppj+xG4t1iHnkgV+ad2niVb/Jx8uG4l5v78Nq9+L8y+o27/2mkExfMNzxQzXsiQA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.BSI.4.61.0508311036520.4319@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <Pine.BSI.4.61.0508311006480.4319@xxxxxxxxxxxxxxxxx> <Pine.BSI.4.61.0508311036520.4319@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxx> wrote:
> Sources from this week give me:
> [root@cirrus root]# uname -a
> Linux cirrus.x0d.com 2.6.12-xen0 #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
> 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?

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 = 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]

This with a freshly built libxendbug and pdb.

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>