[Gllug] Xen kernel build

Mike Brodbelt mike at coruscant.demon.co.uk
Sat Jul 8 19:43:43 UTC 2006

I'm trying to build a kernel for a Xen Dom0 setup, and getting

I download the official kernel source for from
ftp.uk.kernel.org, and then I patch it with a Xen patchset from:-


Having done that, I copy my pre-existing kernel config for the machine
into the top level kernel directory, make menuconfig, and ajust the
subarchitecture to Xen, and set up the appropriate Xen options. Then I
try to build the kernel with make-kpkg, which fails miserably:-

# make-kpkg --append-to-version -xen kernel_image

<stuff snipped>

    if [ "X$uts_ver" != "X2.6.16.19-xen" ]; then              \
                echo "The UTS Release version in include/linux/version.h";                \
        echo "     \"$uts_ver\" ";                                               \
                echo "does not match current version " ;                                  \
                echo "     \"\" " ;                                    \
                echo "Reconfiguring." ;                                                   \
                touch Makefile;                                                           \
             fi;                                                                          \
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make  EXTRAVERSION=.19-xen  ARCH=i386 \
make[1]: Entering directory `/usr/local/src/kernel/linux-'
make[1]: Nothing to be done for `bzImage'.
make[1]: Leaving directory `/usr/local/src/kernel/linux-'

<rest snipped>

Now, why it thinks there's nothing to be done for bzImage I don't know,
but there's certainly no kernel that actually gets compiled there....

Any ideas appreciated....


Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list