Bug 746428

Summary: vmware workstation 8 vmnet kernel module
Product: [Fedora] Fedora Reporter: Clement <spyworldxp>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, nhorman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-17 12:52:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
error message
none
Patch File none

Description Clement 2011-10-15 17:38:05 UTC
Kernel Version: 3.1.0-0.rc9.git0.0.fc16.i686.PAE

2011-10-16T01:24:59.173+08:00| vthread-3| I120: Building module vmnet.
2011-10-16T01:24:59.174+08:00| vthread-3| I120: Extracting the sources of the vmnet module.
2011-10-16T01:24:59.184+08:00| vthread-3| I120: Building module with command: /usr/bin/make -j -C /tmp/vmware-root/modules/vmnet-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.1.0-0.rc9.git0.0.fc16.i686.PAE/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6.1
2011-10-16T01:25:01.916+08:00| vthread-3| I120: Failed to compile module vmnet!
2011-10-16T01:25:01.924+08:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-0.rc9.git0.0.fc16.i686.PAE.
2011-10-16T01:25:01.924+08:00| vthread-3| I120: Validating path /lib/modules/3.1.0-0.rc9.git0.0.fc16.i686.PAE/build/include for kernel release 3.1.0-0.rc9.git0.0.fc16.i686.PAE
2011-10-16T01:25:01.947+08:00| vthread-3| I120: Your GCC version: 4.6
------------------------------------------------------

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/3.1.0-0.rc9.git0.0.fc16.i686.PAE/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.1.0-0.rc9.git0.0.fc16.i686.PAE'
  CC [M]  /tmp/vmware-root/modules/vmnet-only/netif.o
  CC [M]  /tmp/vmware-root/modules/vmnet-only/bridge.o
In file included from /tmp/vmware-root/modules/vmnet-only/netif.c:43:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: warning: "alloc_netdev" redefined [enabled by default]
include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: warning: "alloc_etherdev" redefined [enabled by default]
include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfSetup’:
/tmp/vmware-root/modules/vmnet-only/netif.c:149:7: error: ‘struct net_device’ has no member named ‘init’
/tmp/vmware-root/modules/vmnet-only/netif.c:150:7: error: ‘struct net_device’ has no member named ‘open’
/tmp/vmware-root/modules/vmnet-only/netif.c:151:7: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tmp/vmware-root/modules/vmnet-only/netif.c:152:7: error: ‘struct net_device’ has no member named ‘stop’
/tmp/vmware-root/modules/vmnet-only/netif.c:153:7: error: ‘struct net_device’ has no member named ‘get_stats’
/tmp/vmware-root/modules/vmnet-only/netif.c:154:7: error: ‘struct net_device’ has no member named ‘set_mac_address’
/tmp/vmware-root/modules/vmnet-only/netif.c:155:7: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfNetDeviceToNetIf’:
/tmp/vmware-root/modules/vmnet-only/netif.c:196:14: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIf_Create’:
/tmp/vmware-root/modules/vmnet-only/netif.c:311:4: error: implicit declaration of function ‘compat_alloc_netdev’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/netif.c:311:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/vmware-root/modules/vmnet-only/netif.c:316:7: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfReceive’:
/tmp/vmware-root/modules/vmnet-only/netif.c:397:4: warning: passing argument 1 of ‘netif_running’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetifOpen’:
/tmp/vmware-root/modules/vmnet-only/netif.c:477:4: warning: passing argument 1 of ‘netif_start_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetifClose’:
/tmp/vmware-root/modules/vmnet-only/netif.c:525:4: warning: passing argument 1 of ‘netif_stop_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:236:1: warning: control reaches end of non-void function [-Wreturn-type]
cc1: some warnings being treated as errors

make[2]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/vmware-root/modules/vmnet-only/bridge.c:51:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: warning: "alloc_netdev" redefined [enabled by default]
include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: warning: "alloc_etherdev" redefined [enabled by default]
include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ [-Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
cc1: some warnings being treated as errors

make[2]: *** [/tmp/vmware-root/modules/vmnet-only/bridge.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.1.0-0.rc9.git0.0.fc16.i686.PAE'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'

Comment 1 Clement 2011-10-15 17:40:20 UTC
Created attachment 528336 [details]
error message

Comment 2 Clement 2011-10-16 05:17:03 UTC
Created attachment 528363 [details]
Patch File

Comment 3 Neil Horman 2011-10-17 12:52:04 UTC
This isn't our bug to fix, you'll have to file an issue with vmware to make changes to their code.