[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Debug event_channel.c
On Tue, 2011-09-27 at 12:36 +0100, Daniel Castro wrote: > On Tue, Sep 27, 2011 at 8:33 PM, Andrew Cooper > <andrew.cooper3@xxxxxxxxxx> wrote: > > On 27/09/11 12:09, Daniel Castro wrote: > >> Hello All, > >> > >> I am trying to debug event_channel.c for this I have filled the > >> functions with gdprintk(XENLOG_WARNING, "..."); yet the messages are > >> not displayed on dmesg or /var/log/xen. Where could they be printed? > >> or should I use a different function? > >> > >> In grub I have loglvl=all to print all messages... > >> > >> Thanks for the answer, > >> > >> Daniel > >> > > > > gdprintk only gets set with guest debugging enabled. ( guest_loglvl on > > the command line ) > > > > My suggestion would be to just use regular printks and look at the > > serial log. > > How can can I look at the serial log from dom0? 'xl dmesg' (or using a serial cable of course ;-)) You can also add XENCONSOLED_TRACE=hv in /etc/sysconfig/xencommons (or the equivalent on your distro, the effect should be to add --log=hv to the xenconsoled command line). Then the xen console will be logged under /var/log/xen somewhere. Ian. > > > > > -- > > Andrew Cooper - Dom0 Kernel Engineer, Citrix XenServer > > T: +44 (0)1223 225 900, http://www.citrix.com > > > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@xxxxxxxxxxxxxxxxxxx > > http://lists.xensource.com/xen-devel > > > > > _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |