WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] How to show deug info via XENPRINTF?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to show deug info via XENPRINTF?
From: "Yuan, Jue" <yuanjue02@xxxxxxxxx>
Date: Thu, 24 Aug 2006 16:31:37 +0800
Delivery-date: Thu, 24 Aug 2006 02:49:52 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:organization:to:subject:user-agent:mime-version:content-disposition:date:content-type:content-transfer-encoding:message-id; b=Ux9sSrOJQtNCybQ7UFikWQ24g8vsQoYf2Z2vuH97AwrNIfSRxVco3+V0NCZN/dvRkvYLaBulxE+NJV+/TXryq80va9b13RNTYVa6l+6BTRbScS7tjdSt7tqQ0hjLEUW3Xm7y67maiw4QdUzNvXZhzcyzsqjYcvW78LgUY2YjXWs=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Institute of Computing Technology, CAS, China
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.3
Hi all.

I am trying to debug a kernel that I built, and I hope I could see some debug 
info printing out via XENPRINTF. I use it in the source code of kernel like:

XENPRINTF("nr_pages: %ld shared_info: 0x%lx flags: 0x%lx pt_base: 0x%lx "
                  "mod_start: 0x%lx mod_len: 0x%lx\n",
                  xen_start_info->nr_pages, xen_start_info->shared_info, 
                  xen_start_info->flags, xen_start_info->pt_base, 
                  xen_start_info->mod_start, xen_start_info->mod_len);

But it doesn't print anything out when start this kernel as domU. I think I 
must miss something here.

Any ideas about how to do it? Thanks in advance :-)

PS: I am using xen-3.0.2-2

-- 
Best Regards
Yuan, Jue @ http://www.yuanjue.net

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>