From: "Yuan, Jue" Subject: How to show deug info via XENPRINTF? Date: Thu, 24 Aug 2006 16:59:41 +0800 Message-ID: <28772ef10608240159t6fcf63cdlcfff63bd056b7607@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 @ www.yuanjue.net