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

[Xen-devel] Xen debug PV kernel

  • To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • 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?





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



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