OpenVZ Forum


Home » General » Support » Intel e1000e driver for 2.6.18-ovz
Intel e1000e driver for 2.6.18-ovz [message #39530] Thu, 06 May 2010 14:41 Go to next message
maxh is currently offline  maxh
Messages: 21
Registered: March 2009
Location: Germany
Junior Member
Hi guys. I heard that the standard e1000e driver from the 2.6.18 kernel has some problems. So i downloaded the newest and the 2nd-newest driver from Intel.com and installed the header-files for Thorstens Kernel.

Both intel-versions fail during compilation like this:
server02:/usr/src/e1000e-1.1.2.1a/src# make install
make -C /usr/src/linux SUBDIRS=/usr/src/e1000e-1.1.2.1a/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-20-ovz-amd64'

  WARNING: Symbol version dump /usr/src/linux-headers-2.6.18-20-ovz-amd64/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /usr/src/e1000e-1.1.2.1a/src/netdev.o
In file included from /usr/src/e1000e-1.1.2.1a/src/e1000.h:39,
                 from /usr/src/e1000e-1.1.2.1a/src/netdev.c:51:
/usr/src/e1000e-1.1.2.1a/src/kcompat.h:1411: error: redefinition of typedef âirq_handler_tâ
include/linux/interrupt.h:67: error: previous declaration of âirq_handler_tâ was here
make[2]: *** [/usr/src/e1000e-1.1.2.1a/src/netdev.o] Fehler 1
make[1]: *** [_module_/usr/src/e1000e-1.1.2.1a/src] Fehler 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-20-ovz-amd64'
make: *** [default] Fehler 2


I have the feeling that there's some problem with the kcompat.h
I wanted to compile the 2.6.18 myself and it stopped due to the exact same file. That's why I used the kernel
by Thorsten Schifferdecker <tsd@debian.systs.org> http://download.openvz.org/debian-systs

Any idea how to fix that?

Thank you!
Re: Intel e1000e driver for 2.6.18-ovz [message #39538 is a reply to message #39530] Fri, 07 May 2010 12:59 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

as you may notice the compiler complains about redefinition of irq_handler_t. This type has already been defined in include/linux/interrupt.h but the driver contains redundant definition in /usr/src/e1000e-1.1.2.1a/src/kcompat.h. So you have properly avoid such a coincidence.
Look carefully why kcompat.h contains such a definition. It might be "#ifdef" constructions or something else.
Previous Topic: Process Ids
Next Topic: (NAT Internet for containers) in a container
Goto Forum:
  


Current Time: Mon Jul 15 17:28:47 GMT 2024

Total time taken to generate the page: 0.02415 seconds