which hypervisor are you running on? XEN ? or KVM ?

for KVM user, you sholud do: *su -c 'yum install kernel-devel'*
*dmesg | grep kvm* to make sure you're running KVM environment

for XEN user, you should do: *su -c 'yum install kernel-xen-devel'*
*xm info* to make sure you're running XEN environment

I'm so sorry but I have the same problem
>
> knowing that I build Openvswitch with this command line
> ./boot.sh
>
> what is your Open vSwitch version, or you pull it from git tree ?

> ./configure --with-l26=/lib/modules/2.6.18-238.19.1.el5/build/
>
> if you pull the version from the git tree, you should run with the command
--with-linux, but not --with-l26

I suggest you to use /lib/modules/`uname -r`/build, for making sure that it
is compatible to you Linux kernel

> make
> sudo make install
>
> and when I load Openvswitch module I have this error
>
> insmod: error inserting 'datapath/linux-2.6/openvswitch_mod.ko': -1 Invalid
> module format
>
>
see above


> dmesg | tail
>
> if you're running KVM

* dmesg | grep kvm *

you will see two line output

kvm
kvm_intel OR kvm_amd

openvswitch_mod: version magic '2.6.18-238.19.1.el5 SMP mod_unload gcc-4.3'
> should be '2.6.18-164.15.1.el5 SMP mod_unload gcc-4.1'
>
> I think the problem is related to the version of the kernel
> because when I execute uname -r  I have this result
> "2.6.18-164.15.1.el5"
> and when I build openvswitch I use this version "2.6.18-238.19.1.el5"
> because in /lib/modules/2.6.18-164.15.1.el5 we haven't build directory
>
> Thank you in advance
> Best regards
> Marwen
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to