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-devel

Re: [Xen-devel] How to debug Xen and Dom0 driver?

To: <neojia@xxxxxxxxx>
Subject: Re: [Xen-devel] How to debug Xen and Dom0 driver?
From: 于佳耕 <jiageng08@xxxxxxxxxxx>
Date: Fri, 10 Oct 2008 16:25:09 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 10 Oct 2008 01:26:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hi,
 
    I had download the latest kdb patch(kdb-v4.4-2.6.18-rc7-common-1;kdb-v4.4-2.6.18-rc7-x86_64-1) for 2.6.28 and patched them on linux-2.6.28-xen successfully.
 
    When I compiled the kernel (make linux-2.6-xen-build), got lots of errors as below.
 
 
    CC  arch/x86_64/kdb/kdba_bt.o
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c: In function‘kdba_get_stack_info_alternate’:
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: error:‘per_cpu__orig_ist’ undeclared (first use in this function)
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: error: (Each undeclared identifier is reported only once
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: error: for each function it appears in.)
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: warning:type defaults to ‘int’ in declaration of ‘type name’
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: error:invalid type argument of ‘unary *’
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:82: warning:type defaults to ‘int’ in declaration of ‘type name’
    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:82: error:
    invalid type argument of ‘unary *’
    make[5]: *** [arch/x86_64/kdb/kdba_bt.o] Error 1
    make[4]: *** [arch/x86_64/kdb] Error 2
    make[3]: *** [vmlinuz] Error 2
    make[2]: *** [vmlinuz] Error 2
    make[2]: Leaving directory `/root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64'
    make[1]: *** [build] Error 2
    make[1]: Leaving directory `/root/xen-unstable.hg'
    make: *** [linux-2.6-xen-install] Error 2

 
    I had worked on this problem for several days. Any clues to a fix would be much appreciated.   
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel