[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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.18 and patched them on linux-2.6.18-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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.