OpenVZ Forum


Home » General » Support » Unable to load kernel module
Unable to load kernel module [message #37425] Tue, 08 September 2009 16:38 Go to previous message
siraj is currently offline  siraj
Messages: 6
Registered: July 2009
Junior Member

Hi


I am using ubuntu 8.04 with kernel 2.6.24 server. The NIC (Intel PRO/1000 quad port PT server adapter) is working properly here and shows all four Interfaces.The driver modules are also loaded correctly
#lsmod | grep e1000
output:
e1000
e1000e

But when i installed openvz virtualization setup . openvz uses a kernel based on kernel 2.6.18. In openvz environment this NIC is not detected.
#uname -r
2.6.18-14-ovz-amd-smp
#lsmod | grep e1000
output:
e1000
here it only showed e1000. And e1000e did not exists which was required driver for this card,i installed it explicitly. it installed successfull and e1000e.ko had been created. Now when i tried to load this module.It threw an error.

#modprobe e1000e

---------------------
output:
e1000e: version magic '2.6.18-14-ovz-amd64-smp SMP mod_unload gcc-4.2' should be '2.6.18-14-ovz-amd64-smp SMP mod_unload gcc-4.1'
FATAL:Error inserting e1000e (/lib/modules/2.6.18-14-ovz-amd64-smp/kernel/drivers/net/e10 00e/e1000e.ko): Invalid module format
-----------------------------------------
gcc information: (the following gcc packages are installed on my machine)
#dpkg --get-selections |grep gcc
gcc install
gcc-3.4 install
gcc-3.4-base install
gcc-4.1 install
gcc-4.2 install
gcc-4.2-base install
libgcc1 install
-----------------------------------------

Can any body suggest how to handle this problem.

Thanks & Regards
Siraj Rathore
 
Read Message
Read Message
Read Message
Previous Topic: vmguarpages != oomguarpages ?
Next Topic: [solved] ip tunnel add error in ve
Goto Forum:
  


Current Time: Mon Sep 02 07:24:46 GMT 2024

Total time taken to generate the page: 0.05223 seconds