Displaying 19 results from an estimated 19 matches for "gdbsx".
2010 Aug 31
1
gdbsx defines own _domctl_hcall instead of using libxc?
Hi Mukesh,
I was auditing uses of set_xen_guest_handle for correctness when I
noticed that gdbsx (specifically tools/debugger/gdbsx/xg/xg_main.c)
defines its own _domctl_hcall and associated helpers instead of using
libxc.
Is there any particular reason for that?
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensourc...
2012 Aug 20
0
Re: gdbsx bug : fail on a breakpoint
...and am very busy
with PVH and preparing for xen summit, so need some time to debug and
fix it.
thanks,
mukesh
PS: please cc xen-devel on all such issues.
On Mon, 20 Aug 2012 07:46:45 +0000
"Gao, Ping" <Ping.Gao@amd.com> wrote:
> Hi Mukesh,
>
> Is any progress on this gdbsx issue reported by Andras? I'm interest
> to take use of the gdbsx but suffer the problem seems the same.
>
> Description:
>
> Set gdbsx to debug a HVM kernel module, fail to set a
> breakpoint.
>
> Kernel :
> konrad/xen.git<http://git.kernel.org/...
2013 Apr 30
2
【Problem】 about using gdbsx to debug guest linux VM
....
The info of dom0 is:
2.6.32-131.21.1.el6.xendom0.x86_64 #1 SMP Tue Dec 13 18:09:29 EST 2011
x86_64 x86_64 x86_64 GNU/Linux
Centos-domU:
2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 x86_64
x86_64 GNU/Linux
At dom0, I went like this:
[malei@xentest-4-1 Tue Apr 30 ~]$ sudo gdbsx -a 22 64 9999
Listening on port 9999
Remote debugging from host 172.16.1.122
(After that, I found the vm became paused, but next, I should run gdb on
centos-domU,
so I set the vm to be unpaused by xl unpause 22)
Then, at centos-domU, I went like this:
(gdb) set verbose on
(gdb) set print pretty...
2015 Jan 09
1
Bug#774979: xen-utils-4.4: missing gdbsx
Package: xen-utils-4.4
Version: 4.4.1-6
Severity: normal
Dear Maintainer,
The xen-utils-4.4 package in jessie is missing the gdbsx binary. This is
useful to have when one wishes to debug Xen domains, and complicated to
obtain if one does not have it ready.
The same package on at least Ubuntu 14.04.1 LTS does contain this
binary, in /usr/lib/xen-4.4/bin. However, if you have no objections I
would prefer that the binary (or a...
2009 Nov 24
2
Guest debugging fails for 32bit, works for 64bit
I''ve followed the instructions in tools/debugger/gdb/README for
building and using gdbserver-xen. While playing around with debugging
a running guest or dissecting a core file, I''ve discovered that using
it with a 32-bit PV domU fails but it works fine on the same guest if
it''s booted with a 64-bit kernel. Is this a known limitation, or am I
doing something incorrectly?
2009 Feb 26
6
Re: Questions on gdbsx
yujiageng734 wrote:
> Hi,
>
> I am trying to use your gdbsx. But I don''t know how to make a 32bit
> dom0 running on 64bit hypervisor. Can you explain this for me? I''m
> extremely grateful to you.
Hmm.. good question. I don''t know, it''s always done for me here. One
option would be to just download OVM from edeli...
2013 Jul 09
1
set the eflags.tf of VM
hi,all
has anyone set the eflags.TF of vm?
I want to introdeuce a VM into single-step by setting the eflags.TF
of vm, then I disassemble the bytes at RIP to figure out what''s going on .
I have set the trap flag ,but I didn''t achieve what I want. First, I
only get hlt,mov, rdtsc, clts, in, out . Second, the VM always crash.
does anyone have experience and give
2012 Jan 27
4
[PATCH] Tools: build tests
...shell ocamlopt -v > /dev/null 2>&1 && echo "y" || echo "n")
diff -r 2c6ff08e8b5b -r 7d62108a8936 tools/Makefile
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -45,6 +45,7 @@ SUBDIRS-y += remus
SUBDIRS-$(CONFIG_X86) += xenpaging
SUBDIRS-$(CONFIG_X86) += debugger/gdbsx
SUBDIRS-$(CONFIG_X86) += debugger/kdd
+SUBDIRS-$(CONFIG_TESTS) += tests
# These don''t cross-compile
ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
diff -r 2c6ff08e8b5b -r 7d62108a8936 tools/tests/Makefile
--- /dev/null
+++ b/tools/tests/Makefile
@@ -0,0 +1,20 @@
+XEN_ROOT = $(CURDIR)/....
2009 Jan 31
2
Re: Debugging Xen via serial console
Hi,
kdb: to debug xen hypervisor, could also debug guests
gdbsx: to debug PV/HVM linux guests
The tree is : http://xenbits.xensource.com/ext/debuggers.hg
See README-dbg. You''ll need to setup serial access for kdb.
Thanks,
Mukesh
>
> Hi Dan,
>
> I''m currently using your version of ssplitd as it is. I haven''t tried...
2012 Jan 16
13
[PATCH v10 0/7] build upstream qemu and seabios by default
Hi all,
this is the tenth version of the patch series to introduce upstream qemu
and seabios in the xen-unstable build system.
Changes to v9:
- rename QEMU_UPSTREAM_TAG to QEMU_UPSTREAM_REVISION: we are going to
use it with a branch name by default;
- set QEMU_UPSTREAM_REVISION to "master" by default;
- set SEABIOS_UPSTREAM_URL to git://xenbits.xen.org/seabios.git by
default;
- add
2008 Jul 18
0
Re:GDB and 32-bit guests on 64-bit Xen (Phil Winterfield (winterfi))
An alternative is gdbsx.
checkout: http://xenbits.xensource.com/ext/debuggers.hg
see README-dbg.
-mr
> Has anyone been successful in connecting gdb to a 32-bit guest while it
> is running on a 64 bit hypervisor? I have a 32-bit guest that must run
> on a 64-bit hypervisor in order to use the Vt-d and Vmdq fe...
2017 Jan 25
2
Feedback on merge of Xen-4.8.0
...ommon but am not sure how one would make a
safe transition there. Maybe together we can work something out.
Other than that, there are two (and maybe a haf) things that might be beneficial
for Debian:
1. Users have noticed with Ubuntu's Xen-4.7 (still true with 4.8) that some
tools (mainly gdbsx, but also some flask-* commands) are missing from the
xen-utils-4.x package. This is because those end up outside the libexec
path. The attached diff fixes this (a bit hackish) by simply copying all
those into usr/lib/xen-$(VERSION)/bin/
2. Splitting up xen.init. Initially driven by syste...
2012 Nov 29
14
Mem_event API and MEM_EVENT_REASON_SINGLESTEP
Hello,
I''m interested in using the mem_event API (or it''s LibVMI wrapper), but
I''m interested in capturing write events anywhere in a domU guest''s
memory, _and_ not just once for each page write, but every time a page
is being written to.
To this end, I''ve looked at the xen-access.c example, where at first all
the pages are being monitored:
2010 Mar 03
5
[PATCH, PV-GRUB DOC] Add details to PV-GRUB documentation
Add a couple of documentation details about PV-GRUB support
- the menu.lst content can be passed as a ramdisk.
- virtual partitions are not supported.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
diff -r b8d2a4134a68 stubdom/README
--- a/stubdom/README Wed Mar 03 17:41:58 2010 +0000
+++ b/stubdom/README Wed Mar 03 20:42:53 2010 +0100
@@ -52,11 +52,17 @@
extra =
2018 Oct 11
2
xen_4.11.1~pre.20180911.5acdd26fdc+dfsg-2_multi.changes ACCEPTED into unstable, unstable
...ities are now provided in /usr/bin which were
previously only available buried in /usr/lib/xen-<version>:
xen-detect xenalyze xencons xencov_split xen-cpuid
(version-wrapped, where necessary).
- Likewise very many utilities and daemons in /usr/sbin:
gdbsx xen-bugtool xen-ringwatch xen-tmem-list-parse
xenmon xenpmd flask-* xen-kdd xen-diag xen-hptool
xen-hvmcrash xen-hvmctx xen-livepatch xen-lowmemd
xen-mfndump xenbaked xenconsoled xencov xenlockprof
xenstored xenwatchdogd
- xend and xm are long gone,...
2012 Mar 23
10
[hybrid] : mmap pfn space...
Hi Ian/Stefano,
So, I''m back to using pfn space from maxphysaddr below. Stefano, you
suggested ballooning, but that would be just too slow. There are lot of
pages to be mapped, 4k at a time during guest creation, and I am afraid
ballooning and hypercalls to populate EPT will be pretty slow.
OTOH, there is tons of address space available between max-physaddr and
max pfn in dom0. Stefano,
2010 Dec 03
10
Kernel DomU 2.6.36.1 dont boot PVonHVM
Hi all,
I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront,
xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04
and I try with ubuntu 10.10.
In boot I receive error "Cannot find a root partition /dev/xvda2" and a
prompt (initramfs) appear.
In dmesg (initramfs) appear:
blkfront: xvda: barriers enabled (tag)
xvda: xvda1
vbd vbd-51712: 16
2010 Dec 03
10
Kernel DomU 2.6.36.1 dont boot PVonHVM
Hi all,
I try to use kernel 2.6.36.1 in HVM but building the drivers xen-blkfront,
xenfs, platform-pci. I used Xen 4.0.2-rc1-pre and a DomU is a ubuntu 10.04
and I try with ubuntu 10.10.
In boot I receive error "Cannot find a root partition /dev/xvda2" and a
prompt (initramfs) appear.
In dmesg (initramfs) appear:
blkfront: xvda: barriers enabled (tag)
xvda: xvda1
vbd vbd-51712: 16
2020 Jul 18
25
[PATCH 00/12] Bunch of patches for cross-compilatio + RP4
Initially out there as #965245.
I strongly prefer to build ARM64 packages on non-ARM systems. Something
about my main build machine having twice the cores and twice the clock
speed. As such after many builds I've managed to generate a set of
patches which appear to mostly function to get functioning cross-builds
of Xen.
These are NOT a 100% solution. Some packaging hacks were needed. In