CentOS Bug Tracker
CentOS Website

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003977 [CentOS-5] CentOS-5-Plus minor always 2009-11-03 19:13 2009-11-05 15:22
Reporter toracat View Status public  
Assigned To
Priority normal Resolution not fixable  
Status resolved   Product Version 5.4
Summary 0003977: VMWare Modules fail to build on latest Centos Plus kernel
Description Originally reported in the CentOS forum:

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=23040&forum=37 [^]

We are seeing a build failure of the VMWare modules with kernel-2.6.18-164.2.1.el5.plus.x86_64

make[1]: Entering directory `/usr/src/kernels/2.6.18-164.2.1.el5.plus-x86_64'
CC [M] /tmp/vmware-config2/vmnet-only/driver.o
CC [M] /tmp/vmware-config2/vmnet-only/hub.o
CC [M] /tmp/vmware-config2/vmnet-only/userif.o
CC [M] /tmp/vmware-config2/vmnet-only/netif.o
In file included from /tmp/vmware-config2/vmnet-only/netif.c:47:
/tmp/vmware-config2/vmnet-only/compat_netdevice.h:273: error: redefinition of ‘struct napi_struct’
make[2]: *** [/tmp/vmware-config2/vmnet-only/netif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-164.2.1.el5.plus-x86_64'
make: *** [vmnet.ko] Error 2

Building with the plain kernel-2.6.18-164.2.1.el5.x86_64 works fine.

This happens for me on VMWare 6.5.3 or VMware-server-2.0.1.
Additional Information I can reproduce the problem. VMware Server 1.0.x does not have this issue.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010259)
toracat (developer)
2009-11-03 19:22

As seen in a followup comment in the referenced forum thread, there is a patched version of vmnet.tar offered by a VMware community member.

http://communities.vmware.com/servlet/JiveServlet/download/1402806-30733/vmnet.tar.gz [^]

The compat_netdevice.h file defines 'napi_struct' and the patched version has this block commented out.

In CentOS, this is defined in include/linux/netdevice.h. It is possible that one (or more) of the kernel drivers enabled in the cplus kernel has a call to this file ?? Infiniband is a candidate.
(0010281)
toracat (developer)
2009-11-04 16:12

Tried the latest (soon to be released) cplus kernel 2.6.18-164.6.1 and encountered the same error.
(0010296)
toracat (developer)
2009-11-05 15:21

There isn't much that can be done as far as the cplus kernel is concerned. A workaround is to use the patched vmnet.tar.

The relevant post in the vmware forum is:

http://communities.vmware.com/message/1372156#1372156 [^]

Get the vmnet.tar file provided in that thread and replace the existing file in /usr/lib/vmware/modules/source/ (after saving the original).

Marking this report "resolved" for now. If there is a new development, that can still be posted here.

- Issue History
Date Modified Username Field Change
2009-11-03 19:13 toracat New Issue
2009-11-03 19:13 toracat Assigned To => kbsingh@karan.org
2009-11-03 19:22 toracat Note Added: 0010259
2009-11-03 19:22 toracat Assigned To kbsingh@karan.org => toracat
2009-11-03 19:22 toracat Status new => acknowledged
2009-11-04 16:12 toracat Note Added: 0010281
2009-11-05 15:21 toracat Note Added: 0010296
2009-11-05 15:22 toracat Status acknowledged => resolved
2009-11-05 15:22 toracat Resolution open => not fixable


Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker