From: cm ko Subject: Looking for advice/help on debugging a module in a live kernel Date: Sat, 27 Jan 2007 16:43:00 -0800 (PST) Message-ID: <594023.80865.qm@web62003.mail.re1.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0064208117==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0064208117== Content-Type: multipart/alternative; boundary="0-6426377-1169944980=:80865" --0-6426377-1169944980=:80865 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello all,=0AI am new to Xen and would appreciate any help I can get. I am= working on a block device driver and I would like to be able to symbolical= ly debug the module. (via break points, etc.)=0A=0AI am a little bit confus= ed on a couple of things and hoping someone can help me out.=0A=0A1) It app= ears that I have two choices - either paravirtualized or fully virtualized.= Do anyone have suggestions on how to determine which way to go? At the m= oment, I am thinking using full virtualization and load my driver into the = kernel running on the guest machine. Am I off on this?=0A=0A2) if I choose= fully virtualized option, is it possible to attach debbuger on the live ke= rnel running on the guest machine? Does it mean that hvmloader has to be r= ecompiled with -g option?=0A=0A3) if I choose paravirtulaized kernel, which= kernel should I install my module? Kernel for Dom0 or DomU?=0A4) Where ca= n I find the media for operating system for paravirtualized virtual system?= =0A=0AThanks in advance for you help,=0A=0ACM=0A=0A=0A=0A=0A =0A___________= _________________________________________________________________________= =0AAny questions? Get answers on any topic at www.Answers.yahoo.com. Try i= t now. --0-6426377-1169944980=:80865 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello all,
I am new to Xen and would appreciate any= help I can get.  I am working on a block device driver and I would li= ke to be able to symbolically debug the module. (via break points, etc.)
I am a little bit confused on a couple of things and hoping someone ca= n help me out.

1) It appears that I have two choices - either paravi= rtualized or fully virtualized.  Do anyone have suggestions on how to = determine which way to go?  At the moment, I am thinking using full vi= rtualization and load my driver into the kernel running on the guest machin= e.  Am I off on this?

2) if I choose fully virtualized option, = is it possible to attach debbuger on the live kernel running on the guest m= achine?  Does it mean that hvmloader has to be recompiled with -g opti= on?

3) if I choose paravirtulaized kernel, which kernel should I install my module?&= nbsp; Kernel for Dom0 or DomU?
4) Where can I find the media for operati= ng system for paravirtualized virtual system?

Thanks in advance for = you help,

CM

=0A=0A
It's here! Your n= ew message!
Get=0A new email alerts with t= he free Yahoo! Toolbar. --0-6426377-1169944980=:80865-- --===============0064208117== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0064208117==--