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] Xen debug PV kernel

To: "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx>
Subject: Re: [Xen-devel] Xen debug PV kernel
From: Neo Jia <neojia@xxxxxxxxx>
Date: Fri, 10 Oct 2008 08:37:54 -0700
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 10 Oct 2008 08:38:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:x-mailer:mime-version:subject:date:cc; bh=Xb+A/irC+1YiTkbB0Q1xi0N5sKZoxKpQoJuAwygVpZ4=; b=JIfWQbtc7lMzlb8y1RBt4Sw55CZ5BVwpEVQCARy29MujWDmOQM5MHJaQ1H+6Bc4hjX CzMGLXMel3J9xSIXErf97BtMogjyx538EPr9BHTUTFB2qcZT+g2pmCRFLIRWX4U+TmQZ hW8Lgy8uLBDVU3EznvLG5iEg4g7tvqk9zs4lg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type:x-mailer :mime-version:subject:date:cc; b=UcRf/yUvEKtNkk8Yjyop4/O9ANXvGRNx1M+NisSxrB2YJJc8DAPLCSyUyNnkHzNPEb e+txjGUAzuqQtHCrX8x6MnQta44zxFHCY0ak5LPURlC5JH1+bX13Q2p5PtCNwO2lv7Cz +dQErARIwLcQseD786cuPvmnMAarQdPu/9yIQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7F0FB2108857B5449321AEA91CF47903185B17EED0@xxxxxxxxxxxxxxxxx>
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>
References: <7F0FB2108857B5449321AEA91CF47903185B17EED0@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx


---------
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

On Oct 10, 2008, at 4:13 AM, "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx> wrote:

Hi I’m trying to compile a PV kernel with debug info so I can use it with utilities like crash. I do a “make menuconfig” and enable the “compile kernel with debug info” within “kernel hacking”, within the “xen-3.3.0/linux-2.6.18-xen.hg” directory. Then a make within the same directory which builds the kernel successfully.


Try make distclean then toto Xen-3.3.0 do a make prep-kernels, then u can change the .config, but don't make anything there. Go to the top die again, do a make all.

Thanks,
Neo

Next I do a make in xen-3.3.0/ directory but this fails with the following error each time I try so can someone tell me how to build a debug kernel for xen?

 

Regards,

Bhaskar.

====================================================================================

make -C /home/user/xen-3.3.0/linux-2.6.18-xen.hg O=/home/user/xen-3.3.0/build-linux-2.6.18-xen_x86_64 modules

  Using /home/user/xen-3.3.0/linux-2.6.18-xen.hg as source for kernel

  /home/user/xen-3.3.0/linux-2.6.18-xen.hg is not clean, please run 'make mrproper'

  in the '/home/user/xen-3.3.0/linux-2.6.18-xen.hg' directory.

make[5]: *** [prepare3] Error 1

make[4]: *** [modules] Error 2

make[3]: *** [modules] Error 2

make[3]: Leaving directory `/home/user/xen-3.3.0/build-linux-2.6.18-xen_x86_64'

make[2]: *** [build] Error 1

make[2]: Leaving directory `/home/user/xen-3.3.0'

make[1]: *** [linux-2.6-xen-install] Error 2

make[1]: Leaving directory `/home/user/xen-3.3.0'

make: *** [install-kernels] Error 1

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>