Mailing List Archive

dmesg printk
I have put a few printk in xen but they do not appear in the xm dmesg.

printk(KERN_ERR "In Exit Handler\n");
and
printk("In Exit handler\n");

any insights

Thank You




Send a FREE SMS to your friend's mobile from Yahoo! Messenger. Get it now at http://in.messenger.yahoo.com/
RE: dmesg printk [ In reply to ]
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of
> Koripella Srinivas
> Sent: 03 May 2007 14:39
> To: xen-devel@lists.xensource.com
> Subject: [Xen-devel] dmesg printk
>
> I have put a few printk in xen but they do not appear in the xm dmesg.

That probably means that your code isn't being executed or you're not
using the modified Xen. Check if the strings are in your actual Xen
kernel (e.g. gzcat /boot/xen.gz|strings| grep "In Exit Handler").

I can assure you that printk's in Xen do come out in "xm dmesg" if you
run the code.

--
Mats
>
> printk(KERN_ERR "In Exit Handler\n");
> and
> printk("In Exit handler\n");
>
> any insights
>
> Thank You
>
>
> ________________________________
>
> Check out what you're missing if you're not on Yahoo!
> Messenger
> <http://us.rd.yahoo.com/mail/in/ymessenger/*http://in.messenge
> r.yahoo.com/>
>



_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
Re: dmesg printk [ In reply to ]
Thanks that helped

----- Original Message ----
From: "Petersson, Mats" <Mats.Petersson@amd.com>
To: Koripella Srinivas <talkwithsrinivas@yahoo.co.in>; xen-devel@lists.xensource.com
Sent: Thursday, 3 May, 2007 7:12:47 PM
Subject: RE: [Xen-devel] dmesg printk



> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of
> Koripella Srinivas
> Sent: 03 May 2007 14:39
> To: xen-devel@lists.xensource.com
> Subject: [Xen-devel] dmesg printk
>
> I have put a few printk in xen but they do not appear in the xm dmesg.

That probably means that your code isn't being executed or you're not
using the modified Xen. Check if the strings are in your actual Xen
kernel (e.g. gzcat /boot/xen.gz|strings| grep "In Exit Handler").

I can assure you that printk's in Xen do come out in "xm dmesg" if you
run the code.

--
Mats
>
> printk(KERN_ERR "In Exit Handler\n");
> and
> printk("In Exit handler\n");
>
> any insights
>
> Thank You
>
>
> ________________________________
>
> Check out what you're missing if you're not on Yahoo!
> Messenger
> <http://us.rd.yahoo.com/mail/in/ymessenger/*http://in.messenge
> r.yahoo.com/>
>









Send a FREE SMS to your friend's mobile from Yahoo! Messenger. Get it now at http://in.messenger.yahoo.com/