Paul Arthur
2009-Nov-24 23:43 UTC
[Xen-users] 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? -- But soft you, the fair Ophelia: Ope not thy ponderous and marble jaws, But get thee to a nunnery -- go! -- Mark "The Bard" Twain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Paul Arthur
2009-Nov-25 00:37 UTC
[Xen-users] Re: Guest debugging fails for 32bit, works for 64bit
On 2009-11-24, Paul Arthur <flowerysong00@yahoo.com> wrote:> 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?Also, do you have any suggestions for doing forensics on a failed/crashed guest? -- It''s not stalking if you''re polite --Tokezo Hime on RPGnet _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mukesh Rathor
2009-Nov-25 19:22 UTC
Re: [Xen-users] Guest debugging fails for 32bit, works for 64bit
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Paul > Arthur Sent: Tuesday, November 24, 2009 6:43 PM To: > xen-users@lists.xensource.com Subject: [Xen-users] 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? >I think it''s a known limitation. I remember running into it very long ago. Anyways, gdbsx is now merged into xen. It can be used to debug any guests. Please try it out: tools/debugger/gdbsx/README. You''d have to build hypervisor with gdbsx support first, make gdbsx=y, and boot with it. Please cc me in followups as I''m not subscribed to this list. thanks, Mukesh _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users