similar to: How to debug a kernel module in domain 0?

Displaying 20 results from an estimated 40000 matches similar to: "How to debug a kernel module in domain 0?"

2005 Oct 11
1
gdbserver-xen crash with core file
Hi, gdbserver-xen coredump after i step through a few lines of code. build dom0 with debug_domu. Enable debuginfo and frame pointer for dom U and attach the domu with gdbserver . In gdb put breakpoint at say sys_open and after going through few lines of code gdbserver-xen coredumps. The resulting core file has the below stack $gdb /usr/local/bin/gdbserver-xen ./core GNU gdb 6.3-debian
2005 Jul 21
1
how to dump calling stack in Xen?
I am trying to dump calling stack in Xen in my codes instead of using kgdb like tools. oprofile seems to be one possibility. While oprofile is already included in kernel 2.6.11, I don''t see this option when I do "make ARCH=xen menuconfig". Actually I always see the call stack dump after I crash the kernel. So I think there are some codes in kernel that can dump the stack
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?
2013 Apr 30
2
【Problem】 about using gdbsx to debug guest linux VM
I run a centos6.2 guest VM in xen4.1.2, the id of centos-domU is 22. 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
2007 Jan 26
0
gdbserver-xen/gdb over linux kernel running on hvmloader?
Hello, I need to test a linux device driver. I am wondering whether it''s possible to run the kernel with the new driver on hvmloader? Is it possible to run gdb/gdbserver-xen against? Has anyone done this? Any pointer will be greatly appreciated! Thanks, Test. --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail
2007 Sep 25
2
FW: Xen Kernel Debug Tools
>This is pretty surprising. When a domU is actually running, dom0 isn''t >really involved (other than for IO), so its surprising grsec makes a >difference. >Do you get any console output from the guest before it crashes? I''m >wandering if its actually been built incorrectly by the domain builder >running in dom0. I don''t get any output from the guest
2006 Jun 09
1
grant table issue
Hi, I am trying to export a memory page of dom0 to a domU in readonly mode. In dom0, I grant access permission to that domU. In domU, I did HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map, res->nr_pages); All these functions returned successfully. But when I tried to access data in the mapped memory page, all data I got is 0. Is there any restriction that preventing dom0 pages from
2008 Jun 20
0
Processed: old xen bugs
Processing commands for control at bugs.debian.org: > reassign 442380 xen-utils-3.2-1 Bug#442380: xen-utils-3.1-1: reenabled blktap support unusable Warning: Unknown package 'xen-utils-3.1-1' Bug reassigned from package `xen-utils-3.1-1' to `xen-utils-3.2-1'. > reassign 445243 xen-utils-3.2-1 Bug#445243: xen-utils-3.1: qemu-dm should be built with alsa support to avoid
2019 Mar 07
2
Xen-kernel: Update to 4.14 or 4.19?
On 3/7/19 10:30 AM, Akemi Yagi wrote: > On Thu, Mar 7, 2019 at 9:42 AM George Dunlap <dunlapg at umich.edu> wrote: >> >> Hey all, >> >> We've been on 4.9 for some time now, and while it's still supported, I >> think it's time to start thinking about upgrading, and I'd like input >> from the community about which version to move up to.
2015 Aug 21
0
Processed: closing 396556
Processing commands for control at bugs.debian.org: > close 396556 Bug #396556 [src:xen] Please build gdbserver-xen in the xen-utils package Marked Bug as done > forcemerge 446114 396556 Bug #446114 {Done: Ian Campbell <ijc at debian.org>} [src:xen] xen-utils-3.1-1: build gdbserver Bug #396556 {Done: Ian Campbell <ijc at debian.org>} [src:xen] Please build gdbserver-xen in the
2014 Dec 19
0
WARNING: No module xenblk found for kernel
On 12/19/2014 03:52 PM, Dave Stevens wrote: > what you say makes sense, but leaves me with two problems - what to do > and how did this happen? You never mentioned if this is for a dom0 or domu, if it's a domu is it a pv or hvm domain and does it use pvgrub, pygrub or does it boot directly to a kernel on the dom0? Also paste the output of this command from the affected domain: rpm -q
2014 Dec 21
1
WARNING: No module xenblk found for kernel
On Fri, 2014-12-19 at 16:21 +1300, Peter wrote: > On 12/19/2014 03:52 PM, Dave Stevens wrote: > > what you say makes sense, but leaves me with two problems - what to do > > and how did this happen? > > You never mentioned if this is for a dom0 or domu, if it's a domu is it > a pv or hvm domain and does it use pvgrub, pygrub or does it boot > directly to a kernel on
2019 Mar 07
0
Xen-kernel: Update to 4.14 or 4.19?
On Thu, Mar 7, 2019 at 1:42 PM Sarah Newman <srn at prgmr.com> wrote: > On 3/7/19 10:30 AM, Akemi Yagi wrote: > > On Thu, Mar 7, 2019 at 9:42 AM George Dunlap <dunlapg at umich.edu> wrote: > >> > >> Hey all, > >> > >> We've been on 4.9 for some time now, and while it's still supported, I > >> think it's time to start
2019 Mar 07
4
Xen-kernel: Update to 4.14 or 4.19?
Hey all, We've been on 4.9 for some time now, and while it's still supported, I think it's time to start thinking about upgrading, and I'd like input from the community about which version to move up to. 4.19 has been out for almost 5 months now. It will include PVH domU support, and PVH dom0 support in what _is believed_ to be the final form; so when the Virt SIG moves to a
2007 Oct 02
2
Tainted kernel module?
Hello, Some time ago, I noticed that whilst I had upgraded to Xen 3.1 (kernel 2.6.18-xen), I''d forgot to upgrade the paravirt DomU .cfg kernels from 2.6.16-xen to reflect this. So, I upgraded the DomU kernels & ran into issues with mounting devices, and the ext3 module not being available. After a bit of faffing about, I managed to sort this out and load the ext3 module.
2019 Mar 07
0
Xen-kernel: Update to 4.14 or 4.19?
On Thu, Mar 7, 2019 at 9:42 AM George Dunlap <dunlapg at umich.edu> wrote: > > Hey all, > > We've been on 4.9 for some time now, and while it's still supported, I > think it's time to start thinking about upgrading, and I'd like input > from the community about which version to move up to. > > 4.19 has been out for almost 5 months now. It will include
2009 Aug 06
0
How to use windbg to debug XEN windows XP domainU under Suse 10sp2?
I found this article on http://wiki.xensource.com/xenwiki/XenWindowsGplPv, but windbg display com8 reconnect forever. AND RxBytes always 0. Thank you Using the windows debugger under Xen Set up Dom0 1. Change/add the serial line to your Windows DomU config to say serial=''pty'' 2. Add a line to /etc/services that says ''windbg_domU 4440/tcp''.
2007 Oct 10
0
Bug#446114: xen-utils-3.1-1: build gdbserver
Package: xen-utils-3.1-1 Version: 3.1.0-2 Severity: normal Hi, With HVM, Xen now has a way to gdb the kernel of a domain by running a gdbserver, available in tools/debugger/gdb. It would be useful to build it. Samuel -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
2016 Mar 22
2
samba 4.4rcx WINS nsswitch module
[root at mems ~]# valgrind --leak-check=full --show-leak-kinds=all -v ping google.com ==3135== Memcheck, a memory error detector ==3135== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==3135== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info ==3135== Command: ping google.com ==3135== --3135-- Valgrind options: --3135-- --leak-check=full --3135--
2006 Apr 19
4
[PATCH] avoid injection of missed timer interrupts while debugging a guest
Hi Keir, Ian, Today if we stop the guest for debugging using the gdbserver and then continue with the guest execution the PIT finds that the time has gone ahead and it missed to inject so many timer ticks, and it tries to inject all of those one by one. So after the gdb continue command the guest just handles the timer interrupts for a long time before it can do anything else. This patch