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

[Xen-devel] Xen debug PV kernel

To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Xen debug PV kernel
From: "Jayaraman, Bhaskar" <Bhaskar.Jayaraman@xxxxxxx>
Date: Fri, 10 Oct 2008 19:13:35 +0800
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Fri, 10 Oct 2008 04:14:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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
Thread-index: AckqyTzbmDdDHW5AQO6WqMt81+IHPg==
Thread-topic: Xen debug PV kernel

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.

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
<Prev in Thread] Current Thread [Next in Thread>