From: Sandesh Subject: Re: Re: Exporting symbols from hypervisor Date: Wed, 11 Jun 2008 18:39:24 +0530 Message-ID: <1213189764.6399.21.camel@ec4t16cg-1518809> References: <17749116.post@talk.nabble.com> <4cac40570806100338o3c900afam4693f3c981c5a336@mail.gmail.com> <1213096883.12366.8.camel@ec4t16cg-1518809> <1213099175.12366.14.camel@ec4t16cg-1518809> <93109948-B9E9-443B-BB3A-9D3C1C84B16B@cam.ac.uk> <1213167503.6399.3.camel@ec4t16cg-1518809> <1213176321.6399.13.camel@ec4t16cg-1518809> <691B164E-B1BF-4092-9E47-E927BC0BA110@cam.ac.uk> <1213180293.6399.17.camel@ec4t16cg-1518809> <248DE020-D9E6-4E17-97BB-FE0FA474CD5B@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <248DE020-D9E6-4E17-97BB-FE0FA474CD5B@cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Grzegorz =?UTF-8?Q?Mi=C5=82o=C5=9B?= Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, 2008-06-11 at 11:24 +0100, Grzegorz Mi=C5=82o=C5=9B wrote: > >>>>> > >>>> You just need to add > >>>> do_domctl definition to a header file. Or define it wherever you > >>>> need > >>>> with 'extern'. > >>> no acutally i need to debug do_domctl instruction by instruction > >>> using > >>> kdb, and kdb dosent recognize the it, so i thought of exporting it. > >> > >> I've never used kdb to debug Xen. Are you using http://xenbits.xensourc= e.com/ext/debuggers.hg? this is only for 64bit hypervisor!!! its not compiling on 32bit machine. Is there any way i can get it working for 32bit? > > no...!! is it the debugger present under tools/debugger/gdb?? but i > > guess its only to debug domU kernels. Will it allow me to break at > > hypercall functions like do_domctl?? > > No it will not. It's not for debugging the hypervisor. > > Cheers > Gr(z)egor(z) > > > > > > >> > >> Cheers > >> Gr(z)egor(z) > >> > >> BTW: Can you reply to the list, not me personally? It'd make it > >> easier > >> for me to reply. > >>> > >>>> > >>>> Cheers > >>>> Gr(z)egor(z) > >>>>> > >>>>> Sorry to bother you again and again. > >>>>> > >>>>> Thanks very much. > >>>>> Sandesh > >>>>> > >>>>> On Tue, 2008-06-10 at 14:52 +0100, Grzegorz Mi=C5=82o=C5=9B wrote: > >>>>>>>> I did really mean: > >>>>>>>> xm dmesg > >>>>>>> ok xm dmesg is showing the stuff. > >>>>>>> thanks for the info. > >>>>>>> Does this mean that the printk's print it to the xenstore?? > >>>>>> > >>>>>> I don't think it is stored in xenstore itself, but yes, it is > >>>>>> buffered > >>>>>> in Dom0. > >>>>>>>>> > >>>>>>>> Xen can be configured to output it's messages on the serial > >>>>>>>> line, > >>>>>>>> and > >>>>>>>> it also puts it in a buffer (console ring) for Dom0's > >>>>>>>> attention, xm > >>>>>>>> dmesg should print all the hypervisors output. > >>>>>>> how to enable this??? > >>>>>>> by default it does'nt print it on the serial console. > >>>>>> > >>>>>> add the following command line options to your xen configuration > >>>>>> (bootloader config): > >>>>>> com1=3D115200,8n1 console=3Dcom1,tty > >>>>>> > >>>>>> Cheers > >>>>>> Gr(z)egor(z) > >>>>> > >>>>> > >>>>> Please do not print this email unless it is absolutely necessary. > >>>>> > >>>>> The information contained in this electronic message and any > >>>>> attachments to this message are intended for the exclusive use of > >>>>> the addressee(s) and may contain proprietary, confidential or > >>>>> privileged information. If you are not the intended recipient, you > >>>>> should not disseminate, distribute or copy this e-mail. Please > >>>>> notify the sender immediately and destroy all copies of this > >>>>> message > >>>>> and any attachments. > >>>>> > >>>>> WARNING: Computer viruses can be transmitted via email. The > >>>>> recipient should check this email and any attachments for the > >>>>> presence of viruses. The company accepts no liability for any > >>>>> damage > >>>>> caused by any virus transmitted by this email. > >>>>> > >>>>> www.wipro.com > >>>> > >>>> > >>>> _______________________________________________ > >>>> Xen-devel mailing list > >>>> Xen-devel@lists.xensource.com > >>>> http://lists.xensource.com/xen-devel > >>> > >>> > >>> Please do not print this email unless it is absolutely necessary. > >>> > >>> The information contained in this electronic message and any > >>> attachments to this message are intended for the exclusive use of > >>> the addressee(s) and may contain proprietary, confidential or > >>> privileged information. If you are not the intended recipient, you > >>> should not disseminate, distribute or copy this e-mail. Please > >>> notify the sender immediately and destroy all copies of this message > >>> and any attachments. > >>> > >>> WARNING: Computer viruses can be transmitted via email. The > >>> recipient should check this email and any attachments for the > >>> presence of viruses. The company accepts no liability for any damage > >>> caused by any virus transmitted by this email. > >>> > >>> www.wipro.com > >> > > > > > > Please do not print this email unless it is absolutely necessary. > > > > The information contained in this electronic message and any > > attachments to this message are intended for the exclusive use of > > the addressee(s) and may contain proprietary, confidential or > > privileged information. If you are not the intended recipient, you > > should not disseminate, distribute or copy this e-mail. Please > > notify the sender immediately and destroy all copies of this message > > and any attachments. > > > > WARNING: Computer viruses can be transmitted via email. The > > recipient should check this email and any attachments for the > > presence of viruses. The company accepts no liability for any damage > > caused by any virus transmitted by this email. > > > > www.wipro.com > Please do not print this email unless it is absolutely necessary. =0A= =0A= The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and may= contain proprietary, confidential or privileged information. If you are not= the intended recipient, you should not disseminate, distribute or copy this= e-mail. Please notify the sender immediately and destroy all copies of this= message and any attachments. =0A= =0A= WARNING: Computer viruses can be transmitted via email. The recipient should= check this email and any attachments for the presence of viruses. The compa= ny accepts no liability for any damage caused by any virus transmitted by th= is email. =0A= =0A= www.wipro.com