From: =?gb2312?B?09q80bj7?= Subject: Re: How to debug Xen and Dom0 driver? Date: Fri, 10 Oct 2008 16:25:09 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0013174330==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: neojia@gmail.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 这是一封 MIME 格式的多方邮件。 --===============0013174330== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0157_01C92AF4.C31C04F0" 这是一封 MIME 格式的多方邮件。 ------=_NextPart_000_0157_01C92AF4.C31C04F0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable 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=A1=AEkdba_get_stack_info_alternate=A1=AF: = /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: = error:=A1=AEper_cpu__orig_ist=A1=AF 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 =A1=AEint=A1=AF in declaration of =A1=AEtype = name=A1=AF = /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:67: = error:invalid type argument of =A1=AEunary *=A1=AF = /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:82: = warning:type defaults to =A1=AEint=A1=AF in declaration of =A1=AEtype = name=A1=AF = /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:82: = error: invalid type argument of =A1=AEunary *=A1=AF 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 =20 I had worked on this problem for several days. Any clues to a fix = would be much appreciated. ------=_NextPart_000_0157_01C92AF4.C31C04F0 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
hi,
 
    I had download the latest = kdb=20 patch(kdb-v4.4-2.6.18-rc7-common-1;kdb-v4.4-2.6.18-rc7-x86_64-1) for = 2.6.28=20 and patched them on linux-2.6.28-xen=20 successfully.
 
    When I compiled the kernel = (make=20 linux-2.6-xen-build), got lots of errors as below.
 
 
    CC  arch/x86_64/kdb/kdba_bt.o<= BR>    /root/xen-unstable.hg/linux-2.6.18-xen.hg/arch= /x86_64/kdb/kdba_bt.c:=20 In=20 function=A1=AEkdba_get_stack_info_alternate=A1=AF:
   &= nbsp;/root/xen-unstable.hg/linux-2.6.18-xen.hg/arch/x86_64/kdb/kdba_bt.c:= 67:=20 error:=A1=AEper_cpu__orig_ist=A1=AF undeclared (first use in this=20 function)
    /root/xen-unstable.hg/linux-2.6.18-x= en.hg/arch/x86_64/kdb/kdba_bt.c:67:=20 error: (Each undeclared identifier is reported only=20 once
    /root/xen-unstable.hg/linux-2.6.18-xen.hg= /arch/x86_64/kdb/kdba_bt.c:67:=20 error: for each function it appears=20 in.)
    /root/xen-unstable.hg/linux-2.6.18-xen.hg= /arch/x86_64/kdb/kdba_bt.c:67:=20 warning:type defaults to =A1=AEint=A1=AF in declaration of =A1=AEtype=20 name=A1=AF
    /root/xen-unstable.hg/linux-2.6.18-= xen.hg/arch/x86_64/kdb/kdba_bt.c:67:=20 error:invalid type argument of =A1=AEunary=20 *=A1=AF
    /root/xen-unstable.hg/linux-2.6.18-xen= .hg/arch/x86_64/kdb/kdba_bt.c:82:=20 warning:type defaults to =A1=AEint=A1=AF in declaration of =A1=AEtype=20 name=A1=AF
    /root/xen-unstable.hg/linux-2.6.18-= xen.hg/arch/x86_64/kdb/kdba_bt.c:82:=20 error:
    invalid type argument of =A1=AEunary=20 *=A1=AF
    make[5]: *** = [arch/x86_64/kdb/kdba_bt.o] Error=20 1
    make[4]: *** [arch/x86_64/kdb] Error=20 2
    make[3]: *** [vmlinuz] Error=20 2
    make[2]: *** [vmlinuz] Error=20 2
    make[2]: Leaving directory=20 `/root/xen-unstable.hg/build-linux-2.6.18-xen_x86_64'
  &nbs= p; make[1]:=20 *** [build] Error 2
    make[1]: Leaving = directory=20 `/root/xen-unstable.hg'
    make: ***=20 [linux-2.6-xen-install] Error 2
 
    I had worked on this problem = for=20 several days. Any clues to a fix would be much=20 appreciated.   
------=_NextPart_000_0157_01C92AF4.C31C04F0-- --===============0013174330== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0013174330==--