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

Re: [Xen-users] Some help for a newbie



Please use reply-all or reply-to-list or your mail programs equivalent function. I am only a few weeks into Xen myself. The truely talented people are subscribed to the list, not at my house.

Robert Hulme wrote:
My understanding is, after tweaking a kernel's .config file, you should
run make dist.

OK :-)

Now I get this:
debian:~/xen-2.0-testing/linux-2.6.11-xen0# cd ..
debian:~/xen-2.0-testing# make dist
make -C xen install
make[1]: Entering directory `/root/xen-2.0-testing/xen'
rm -f include/xen/banner.h include/xen/compile.h drivers/char/console.o
make -C arch/x86 delete-unfresh-files
make[2]: Entering directory `/root/xen-2.0-testing/xen/arch/x86'
# nothing
make[2]: Leaving directory `/root/xen-2.0-testing/xen/arch/x86'
make include/xen/compile.h
make[2]: Entering directory `/root/xen-2.0-testing/xen'
tools/figlet/figlet -d tools/figlet Xen 2.0-testing > include/xen/banner.h.new
__ __ ____ ___ _ _ _ \ \/ /___ _ __ |___ \ / _ \ | |_ ___ ___| |_(_)_ __ __ _ \ // _ \ '_ \ __) || | | |__| __/ _ \/ __| __| | '_ \ / _` |
  /  \  __/ | | |  / __/ | |_| |__| ||  __/\__ \ |_| | | | | (_| |
 /_/\_\___|_| |_| |_____(_)___/    \__\___||___/\__|_|_| |_|\__, |
|___/ make[2]: Leaving directory `/root/xen-2.0-testing/xen'
[ -e include/asm ] || ln -sf asm-x86 include/asm
make -C arch/x86 asm-offsets.s
make[2]: Entering directory `/root/xen-2.0-testing/xen/arch/x86'
make[2]: `asm-offsets.s' is up to date.
make[2]: Leaving directory `/root/xen-2.0-testing/xen/arch/x86'
make include/asm-x86/asm-offsets.h
make[2]: Entering directory `/root/xen-2.0-testing/xen'
make[2]: `include/asm-x86/asm-offsets.h' is up to date.
make[2]: Leaving directory `/root/xen-2.0-testing/xen'
make -C common
make[2]: Entering directory `/root/xen-2.0-testing/xen/common'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/root/xen-2.0-testing/xen/common'
make -C drivers
make[2]: Entering directory `/root/xen-2.0-testing/xen/drivers'
make -C char
make[3]: Entering directory `/root/xen-2.0-testing/xen/drivers/char'
gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
-iwithprefix include -Wall -Werror -pipe
-I/root/xen-2.0-testing/xen/include -Wno-pointer-arith
-Wredundant-decls -O3 -fomit-frame-pointer -msoft-float -m32
-march=i686 -DNDEBUG -c console.c -o console.o
ld -m elf_i386  -r -o driver.o  console.o serial.o
make[3]: Leaving directory `/root/xen-2.0-testing/xen/drivers/char'
make -C acpi
make[3]: Entering directory `/root/xen-2.0-testing/xen/drivers/acpi'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/xen-2.0-testing/xen/drivers/acpi'
make -C pci
make[3]: Entering directory `/root/xen-2.0-testing/xen/drivers/pci'
make[3]: Nothing to be done for `default'.
make[3]: Leaving directory `/root/xen-2.0-testing/xen/drivers/pci'
make[2]: Leaving directory `/root/xen-2.0-testing/xen/drivers'
make -C arch/x86
make[2]: Entering directory `/root/xen-2.0-testing/xen/arch/x86'
ld -m elf_i386  -T x86_32/xen.lds -N \
    boot/x86_32.o /root/xen-2.0-testing/xen/common/common.o
/root/xen-2.0-testing/xen/drivers/char/driver.o
/root/xen-2.0-testing/xen/drivers/acpi/driver.o
/root/xen-2.0-testing/xen/drivers/pci/driver.o
/root/xen-2.0-testing/xen/arch/x86/arch.o -o
/root/xen-2.0-testing/xen/xen-syms
./boot/mkelf32 /root/xen-2.0-testing/xen/xen-syms
/root/xen-2.0-testing/xen/xen 0x100000
make[2]: Leaving directory `/root/xen-2.0-testing/xen/arch/x86'
gzip -f -9 < /root/xen-2.0-testing/xen/xen >
/root/xen-2.0-testing/xen/xen.gz.new
mv /root/xen-2.0-testing/xen/xen.gz.new /root/xen-2.0-testing/xen/xen.gz
[ -d /root/xen-2.0-testing/dist/install/boot ] || install -d -m0755
/root/xen-2.0-testing/dist/install/boot
install -m0644 /root/xen-2.0-testing/xen/xen.gz
/root/xen-2.0-testing/dist/install/boot/xen-2.0-testing.gz
ln -f -s xen-2.0-testing.gz /root/xen-2.0-testing/dist/install/boot/xen-2.0.gz
ln -f -s xen-2.0-testing.gz /root/xen-2.0-testing/dist/install/boot/xen-2.gz
ln -f -s xen-2.0-testing.gz /root/xen-2.0-testing/dist/install/boot/xen.gz
install -m0644 /root/xen-2.0-testing/xen/xen-syms
/root/xen-2.0-testing/dist/install/boot/xen-2.0-testing-syms
[ -d /root/xen-2.0-testing/dist/install/usr/include/xen/io ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/usr/include/xen/io
install -m0644 include/public/*.h
/root/xen-2.0-testing/dist/install/usr/include/xen
install -m0644 include/public/io/*.h
/root/xen-2.0-testing/dist/install/usr/include/xen/io
install -m0644 include/public/COPYING
/root/xen-2.0-testing/dist/install/usr/include/xen
make[1]: Leaving directory `/root/xen-2.0-testing/xen'
make -C tools install
make[1]: Entering directory `/root/xen-2.0-testing/tools'
make -C check
make[2]: Entering directory `/root/xen-2.0-testing/tools/check'
./chk build
make[2]: Leaving directory `/root/xen-2.0-testing/tools/check'
make[2]: Entering directory `/root/xen-2.0-testing/tools/libxutil'
make libxutil.so  libxutil.so.2.0 libxutil.so.2.0.0 libxutil.a
make[3]: Entering directory `/root/xen-2.0-testing/tools/libxutil'
make[3]: `libxutil.so' is up to date.
make[3]: `libxutil.so.2.0' is up to date.
make[3]: `libxutil.so.2.0.0' is up to date.
make[3]: `libxutil.a' is up to date.
make[3]: Leaving directory `/root/xen-2.0-testing/tools/libxutil'
[ -d /root/xen-2.0-testing/dist/install/usr/lib ] || install -d -m0755
-p /root/xen-2.0-testing/dist/install/usr/lib
install -m0755 libxutil.so.2.0.0 /root/xen-2.0-testing/dist/install/usr/lib
install -m0644 libxutil.a /root/xen-2.0-testing/dist/install/usr/lib
ln -sf libxutil.so.2.0.0
/root/xen-2.0-testing/dist/install/usr/lib/libxutil.so.2.0
ln -sf libxutil.so.2.0 /root/xen-2.0-testing/dist/install/usr/lib/libxutil.so
make[2]: Leaving directory `/root/xen-2.0-testing/tools/libxutil'
make[2]: Entering directory `/root/xen-2.0-testing/tools/libxc'
[ -e xen/linux ] || mkdir -p xen/linux
[ -e xen/io ]    || mkdir -p xen/io
( cd xen >/dev/null ; \
  ln -sf ../../../xen/include/public/*.h . )
( cd xen/io >/dev/null ; \
   ln -sf ../../../../xen/include/public/io/*.h . )
( cd xen/linux >/dev/null ; \
  ln -sf ../../../../linux-2.6.11-xen-sparse/include/asm-xen/linux-public/*.h
. )
make libxc.a libxc.so libxc.so.2.0 libxc.so.2.0.0
make[3]: Entering directory `/root/xen-2.0-testing/tools/libxc'
make[3]: `libxc.a' is up to date.
make[3]: `libxc.so' is up to date.
make[3]: `libxc.so.2.0' is up to date.
make[3]: `libxc.so.2.0.0' is up to date.
make[3]: Leaving directory `/root/xen-2.0-testing/tools/libxc'
[ -d /root/xen-2.0-testing/dist/install/usr/lib ] || install -d -m0755
/root/xen-2.0-testing/dist/install/usr/lib
[ -d /root/xen-2.0-testing/dist/install/usr/include ] || install -d
-m0755 /root/xen-2.0-testing/dist/install/usr/include
install -m0755 libxc.so.2.0.0 /root/xen-2.0-testing/dist/install/usr/lib
install -m0644 libxc.a /root/xen-2.0-testing/dist/install/usr/lib
ln -sf libxc.so.2.0.0 /root/xen-2.0-testing/dist/install/usr/lib/libxc.so.2.0
ln -sf libxc.so.2.0 /root/xen-2.0-testing/dist/install/usr/lib/libxc.so
install -m0644 xc.h /root/xen-2.0-testing/dist/install/usr/include
make[2]: Leaving directory `/root/xen-2.0-testing/tools/libxc'
make[2]: Entering directory `/root/xen-2.0-testing/tools/misc'
make -C miniterm
make[3]: Entering directory `/root/xen-2.0-testing/tools/misc/miniterm'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/xen-2.0-testing/tools/misc/miniterm'
[ -d /root/xen-2.0-testing/dist/install/usr/bin ] || install -d -m0755
/root/xen-2.0-testing/dist/install/usr/bin
[ -d /root/xen-2.0-testing/dist/install/usr/sbin ] || install -d
-m0755 /root/xen-2.0-testing/dist/install/usr/sbin
install -m0755 xenperf xencons /root/xen-2.0-testing/dist/install/usr/bin
install -m0755 netfix xm xend xensv xenperf
/root/xen-2.0-testing/dist/install/usr/sbin
make[2]: Leaving directory `/root/xen-2.0-testing/tools/misc'
make[2]: Entering directory `/root/xen-2.0-testing/tools/examples'
[ -d /root/xen-2.0-testing/dist/install/etc/init.d ] || install -d
-m0755 /root/xen-2.0-testing/dist/install/etc/init.d
install -m0755 init.d/xend /root/xen-2.0-testing/dist/install/etc/init.d
install -m0755 init.d/xendomains /root/xen-2.0-testing/dist/install/etc/init.d
[ -d /root/xen-2.0-testing/dist/install/etc/xen ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/etc/xen
[ -d /root/xen-2.0-testing/dist/install/etc/xen/auto ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/etc/xen/auto
for i in xend-config.sxp xmexample1  xmexample2; \
    do [ -a /root/xen-2.0-testing/dist/install/etc/xen/$i ] || \
    install -m0644 $i /root/xen-2.0-testing/dist/install/etc/xen; \
done
[ -d /root/xen-2.0-testing/dist/install/etc/xen/scripts ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/etc/xen/scripts
for i in network vif-bridge network-route vif-route block-file block-enbd; \
    do [ -a /root/xen-2.0-testing/dist/install/etc/xen/scripts/$i ] || \
    install -m0755 $i /root/xen-2.0-testing/dist/install/etc/xen/scripts; \
done
make[2]: Leaving directory `/root/xen-2.0-testing/tools/examples'
make[2]: Entering directory `/root/xen-2.0-testing/tools/xentrace'
[ -d /root/xen-2.0-testing/dist/install/usr/bin ] || install -d -m0755
/root/xen-2.0-testing/dist/install/usr/bin
[ -d /root/xen-2.0-testing/dist/install/usr/share/man/man1 ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/usr/share/man/man1
[ -d /root/xen-2.0-testing/dist/install/usr/share/man/man8 ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/usr/share/man/man8
install -m0755 xentrace xentrace_format
/root/xen-2.0-testing/dist/install/usr/bin
install -m0644 xentrace_format.1
/root/xen-2.0-testing/dist/install/usr/share/man/man1
install -m0644 xentrace.8 /root/xen-2.0-testing/dist/install/usr/share/man/man8
make[2]: Leaving directory `/root/xen-2.0-testing/tools/xentrace'
make[2]: Entering directory `/root/xen-2.0-testing/tools/python'
CFLAGS="-m32 -march=i686" python setup.py install
--home="/root/xen-2.0-testing/dist/install/usr"
running install
running build
running build_py
running build_ext
running install_lib
make[2]: Leaving directory `/root/xen-2.0-testing/tools/python'
make[2]: Entering directory `/root/xen-2.0-testing/tools/xfrd'
[ -d /root/xen-2.0-testing/dist/install/usr/sbin ] || \
        install -d -m0755 /root/xen-2.0-testing/dist/install/usr/sbin
install -m0755 xfrd /root/xen-2.0-testing/dist/install/usr/sbin
make[2]: Leaving directory `/root/xen-2.0-testing/tools/xfrd'
make[1]: Leaving directory `/root/xen-2.0-testing/tools'
for i in  linux-2.6-xen0   linux-2.6-xenU  ; do make $i-build || exit 1; done
make[1]: Entering directory `/root/xen-2.0-testing'
make -f buildconfigs/mk.linux-2.6-xen0 build
make[2]: Entering directory `/root/xen-2.0-testing'
if grep "^CONFIG_MODULES=" linux-2.6.11-xen0/.config ; then \
    make -C linux-2.6.11-xen0 ARCH=xen modules ; \
    make -C linux-2.6.11-xen0 ARCH=xen
INSTALL_MOD_PATH=/root/xen-2.0-testing/dist/install modules_install ;
\
fi
CONFIG_MODULES=y
make[3]: Entering directory `/root/xen-2.0-testing/linux-2.6.11-xen0'
  CHK     include/linux/version.h
  CHK     include/asm-xen/asm_offsets.h
/bin/sh: line 1: arch//kernel/asm-offsets.s: No such file or directory
  UPD     include/asm-xen/asm_offsets.h
mv: cannot stat `include/asm-xen/asm_offsets.h.tmp': No such file or directory
make[3]: *** [include/asm-xen/asm_offsets.h] Error 1
make[3]: Leaving directory `/root/xen-2.0-testing/linux-2.6.11-xen0'
make[3]: Entering directory `/root/xen-2.0-testing/linux-2.6.11-xen0'
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b
/root/xen-2.0-testing/dist/install -r 2.6.11-xen0; fi
make[3]: Leaving directory `/root/xen-2.0-testing/linux-2.6.11-xen0'
make -C linux-2.6.11-xen0 ARCH=xen
INSTALL_PATH=/root/xen-2.0-testing/dist/install install
make[3]: Entering directory `/root/xen-2.0-testing/linux-2.6.11-xen0'
  CHK     include/linux/version.h
  CHK     include/asm-xen/asm_offsets.h
/bin/sh: line 1: arch//kernel/asm-offsets.s: No such file or directory
  UPD     include/asm-xen/asm_offsets.h
mv: cannot stat `include/asm-xen/asm_offsets.h.tmp': No such file or directory
make[3]: *** [include/asm-xen/asm_offsets.h] Error 1
make[3]: Leaving directory `/root/xen-2.0-testing/linux-2.6.11-xen0'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/root/xen-2.0-testing'
make[1]: *** [linux-2.6-xen0-build] Error 2
make[1]: Leaving directory `/root/xen-2.0-testing'
make: *** [kernels] Error 1


Which looks to me to be the same error :-(

I thought perhaps the higher level Makefile would define some missing magic to correct your problem.

--
Andrew Thompson
http://aktzero.com/

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

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