Are you running as a root user? You need to run this as root.
On 5/20/06, Eriberto <eriberto@eriberto.pro.br>
wrote:>
> Hello all,
>
> I downloaded the linux-2.6.16.16.tar.bz2 (www.kernel.org) and
> xen-3.0.2-src.tgz. I tried on Debian:
>
> # tar -xvzf xen-3.0.2-src.tgz
> # tar -xvjf linux-2.6.16.16.tar.bz2
> # cd xen-3.0.2-2
> # mkbuildtree ../../linux-2.6.16.16
> # cd ../../linux-2.6.16.16
> # make menuconfig (I made a basic configuration)
> # make-kpkg --append-to-version=-686-xen --revision=1.0 -us -uc
> kernel_image
>
> However near of the compilation end, I received the messages:
>
>
> ---------------------------------------------------------
> if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F
> System.map -b /usr/src/linux-2.6.16.16/debian/tmp-image -r
> 2.6.16.16-686-xen-xen0; fi
> make[2]: Leaving directory `/usr/src/linux-2.6.16.16''
> test ! -e debian/tmp-image/lib/modules/2.6.16.16-686-xen/source
> || \
> mv debian/tmp-image/lib/modules/2.6.16.16-686-xen/source
> ./debian/source-link
> test ! -e debian/tmp-image/lib/modules/2.6.16.16-686-xen/build
> || \
> mv debian/tmp-image/lib/modules/2.6.16.16-686-xen/build
> ./debian/build-link
> depmod -q -FSystem.map -b debian/tmp-image 2.6.16.16-686-xen;
> FATAL: Could not open ''System.map'': No such file or
directory
> make[1]: [real_stamp_image] Erro 1 (ignorado)
> test ! -e ./debian/source-link
> || \
> mv ./debian/source-link
> debian/tmp-image/lib/modules/2.6.16.16-686-xen/source
> test ! -e ./debian/build-link
> || \
> mv ./debian/build-link
> debian/tmp-image/lib/modules/2.6.16.16-686-xen/build
> cp arch/i386/boot/bzImage debian/tmp-image/boot/vmlinuz-2.6.16.16-686-xen
> cp: impossível fazer stat em `arch/i386/boot/bzImage'': Arquivo ou
> diretório não encontrado
> make[1]: ** [real_stamp_image] Erro 1
> make[1]: Leaving directory `/usr/src/linux-2.6.16.16''
> make: ** [kernel-image-deb] Erro 2
> ---------------------------------------------------------
>
>
> Can anybody help me to compile the kernel with Xen3?
>
> Thanks!
>
> Eriberto - Brazil
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users
>
--
Jayesh
------------------------------------------------------------------------
Everything you can imagine is real
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users