Hello,
While building xen from the repo, I get the following error message.Its not
allowing to boot my dom0 kernel. All module loads attempted from the 
initrd is discarded with a ''invalid module format'' message.
Please help me. How do I fix it ?
[root@localhost xen-3.2-testing.hg]# make linux-2.6-xen-install -j8
make -f buildconfigs/mk.linux-2.6-xen build
make[1]: Entering directory `/kernels/xen-source/xen-3.2-testing.hg''
if grep "^CONFIG_MODULES=" build-linux-2.6.18-xen_x86_32/.config ;
then \
            make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 modules || exit 
1 ; \
            make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_MOD_PATH=/ 
modules_install ; \
        fi
CONFIG_MODULES=y
make[2]: Entering directory 
`/kernels/xen-source/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_32''
make -C /kernels/xen-source/xen-3.2-testing.hg/linux-2.6.18-xen.hg 
O=/kernels/xen-source/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_32 
modules
  
GEN    
/kernels/xen-source/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_32/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  Using /kernels/xen-source/xen-3.2-testing.hg/linux-2.6.18-xen.hg as source 
for kernel
include2/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or 
directory
-- 
Warm Regards,
Balaji Rao
Dept. of Mechanical Engineering
NITK
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Hi Balaji, On Thu, May 8, 2008 at 4:42 AM, Balaji Rao <balajirrao@gmail.com> wrote:> Hello, > > While building xen from the repo, I get the following error message.Its not > allowing to boot my dom0 kernel. All module loads attempted from the > initrd is discarded with a ''invalid module format'' message. > > Please help me. How do I fix it ? >I think you just need to move the linux-2.6.18-xen.hg outside of the xen-3.2-testing.hg directory. Regards, Todd> [root@localhost xen-3.2-testing.hg]# make linux-2.6-xen-install -j8 > make -f buildconfigs/mk.linux-2.6-xen build > make[1]: Entering directory `/kernels/xen-source/xen-3.2-testing.hg'' > if grep "^CONFIG_MODULES=" build-linux-2.6.18-xen_x86_32/.config ; then \ > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 modules || exit > 1 ; \ > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_MOD_PATH=/ > modules_install ; \ > fi > CONFIG_MODULES=y > make[2]: Entering directory > `/kernels/xen-source/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_32'' > make -C /kernels/xen-source/xen-3.2-testing.hg/linux-2.6.18-xen.hg > O=/kernels/xen-source/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_32 > modules > > GEN /kernels/xen-source/xen-3.2-testing.hg/build-linux-2.6.18-xen_x86_32/Makefile > CHK include/linux/version.h > CHK include/linux/utsrelease.h > Using /kernels/xen-source/xen-3.2-testing.hg/linux-2.6.18-xen.hg as source > for kernel > include2/asm/byteorder.h:5:28: error: linux/compiler.h: No such file or > directory > > -- > Warm Regards, > > Balaji Rao > Dept. of Mechanical Engineering > NITK > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, do something like this (from http://lists.xensource.com/archives/html/xen-users/2008-01/msg00699.html ): yum install hgsvn yum install dev86 mkdir tmp cd tmp hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz tar xfvz xen-3.2.1.tar.gz cd xen-3.2.1 make prep-kernels cp -av /boot/config-my-old-config build-linux-2.6.18-xen_x86_64/.config make -j7 dist make -j7 linux-2.6-xen-build make -j7 install make linux-2.6-xen-install depmod 2.6.18.8-xen mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen regards Danny _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users