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? Tim Newsham http://www.lava.net/~newsham/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> 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@lists.xensource.com http://lists.xensource.com/xen-devel
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 <http://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 <http://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@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
>> 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]Excuse the noise. This last bit was me mistakenly running pdb in a non-xen kernel. The actual output should be: (gdb) maint packet x context = domain 1 0 sending: "x context = domain 1 0" (pdb) attach domain [1.0] Dom0 operation failed -- need to rebuild the user-space tool set? (pdb) attach error! [127.0.0.1:58156] x context = domain 1 0 -> "E01" received: "E01" The end result is the same. Tim Newsham http://www.lava.net/~newsham/ _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Brainoops - sorry for responding too soon. I''m busy trying to integrate xenbus into FreeBSD. -Kip On 8/31/05, Tim Newsham <newsham@lava.net> wrote:> > On Wed, 31 Aug 2005, Kip Macy wrote: > > I don''t know about PDB, but you''ll see the permissions problem if > > gdbserver-xen is not run as root. > > Hi kip, all commands were run as root (as indicated in the command > prompt). This setup used to work fine until a recent upgrade. > I had to rebuild the vm-tools chain I am using due to recent > changes relating to libxc. I imagine this is a related issue. > > > -Kip > > Tim Newsham > http://www.lava.net/~newsham/ >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel