All of lore.kernel.org
 help / color / mirror / Atom feed
* gdb server outdated?
@ 2005-08-31 20:07 Tim Newsham
  2005-08-31 20:37 ` pdb and " Tim Newsham
  0 siblings, 1 reply; 5+ messages in thread
From: Tim Newsham @ 2005-08-31 20:07 UTC (permalink / raw)
  To: 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?

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* pdb and Re: gdb server outdated?
  2005-08-31 20:07 gdb server outdated? Tim Newsham
@ 2005-08-31 20:37 ` Tim Newsham
  2005-08-31 20:43   ` Kip Macy
  2005-08-31 20:49   ` Tim Newsham
  0 siblings, 2 replies; 5+ messages in thread
From: Tim Newsham @ 2005-08-31 20:37 UTC (permalink / raw)
  To: 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pdb and Re: gdb server outdated?
  2005-08-31 20:37 ` pdb and " Tim Newsham
@ 2005-08-31 20:43   ` Kip Macy
       [not found]     ` <Pine.BSI.4.61.0508311050190.4319@malasada.lava.net>
  2005-08-31 20:49   ` Tim Newsham
  1 sibling, 1 reply; 5+ messages in thread
From: Kip Macy @ 2005-08-31 20:43 UTC (permalink / raw)
  To: Tim Newsham; +Cc: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 1402 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 1915 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pdb and Re: gdb server outdated?
  2005-08-31 20:37 ` pdb and " Tim Newsham
  2005-08-31 20:43   ` Kip Macy
@ 2005-08-31 20:49   ` Tim Newsham
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Newsham @ 2005-08-31 20:49 UTC (permalink / raw)
  To: 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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: pdb and Re: gdb server outdated?
       [not found]     ` <Pine.BSI.4.61.0508311050190.4319@malasada.lava.net>
@ 2005-08-31 20:58       ` Kip Macy
  0 siblings, 0 replies; 5+ messages in thread
From: Kip Macy @ 2005-08-31 20:58 UTC (permalink / raw)
  To: Tim Newsham, xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 650 bytes --]

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/
>

[-- Attachment #1.2: Type: text/html, Size: 1077 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-31 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-31 20:07 gdb server outdated? Tim Newsham
2005-08-31 20:37 ` pdb and " Tim Newsham
2005-08-31 20:43   ` Kip Macy
     [not found]     ` <Pine.BSI.4.61.0508311050190.4319@malasada.lava.net>
2005-08-31 20:58       ` Kip Macy
2005-08-31 20:49   ` Tim Newsham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.