[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
nowhere.....

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

https://alioth.debian.org/project/showfiles.php?group_id=30894

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 "     \"2.6.16.19-xen\" " ;                                    \
                echo "Reconfiguring." ;                                                   \
                touch Makefile;                                                           \
             fi;                                                                          \
fi
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make  EXTRAVERSION=.19-xen  ARCH=i386 \
                     bzImage
make[1]: Entering directory `/usr/local/src/kernel/linux-2.6.16.19'
make[1]: Nothing to be done for `bzImage'.
make[1]: Leaving directory `/usr/local/src/kernel/linux-2.6.16.19'

<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....

Mike

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list