I'm so sorry but I have the same problem

knowing that I build Openvswitch with this command line
./boot.sh
./configure --with-l26=/lib/modules/2.6.18-238.19.1.el5/build/
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

dmesg | tail

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
2011/7/20 沒 <[email protected]>

> Hi~ I'm a Open vSwitch user with CentOS too.
>
> Here is the solution for you, execute the following command:
>
> *su -c 'yum install kernel-xen-devel'*
>
> After that, your problem should be solved, no reboot is required.
>
> Just follow the instruction described in INSTALL.Linux as normal...
>
> : )
>
>
>
> _______________________________________________
> discuss mailing list
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to