After upgrading to Workstation v8.0.3 on fully-updated Fedora16/x86_64 I get this
# /usr/bin/vmware-modconfig --console --install-all
[snip]
make: Entering directory `/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/3.3.2-6.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.3.2-6.fc16.x86_64'
CC [M] /tmp/vmware-root/modules/vmnet-only/driver.o
CC [M] /tmp/vmware-root/modules/vmnet-only/userif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/hub.o
CC [M] /tmp/vmware-root/modules/vmnet-only/netif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/bridge.o
CC [M] /tmp/vmware-root/modules/vmnet-only/filter.o
CC [M] /tmp/vmware-root/modules/vmnet-only/procfs.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetEvent.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
/tmp/vmware-root/modules/vmnet-only/userif.c: In function ‘VNetCsumCopyDatagram’:
/tmp/vmware-root/modules/vmnet-only/userif.c:520:3: error: incompatible type for argument 1 of ‘kmap’
include/linux/highmem.h:48:21: note: expected ‘struct page *’ but argument is of type ‘const struct <anonymous>’
/tmp/vmware-root/modules/vmnet-only/userif.c:523:3: error: incompatible type for argument 1 of ‘kunmap’
include/linux/highmem.h:54:20: note: expected ‘struct page *’ but argument is of type ‘const struct <anonymous>’
/tmp/vmware-root/modules/vmnet-only/filter.c:60:16: error: ‘THIS_MODULE’ undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/filter.o] Error 1
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfSetup’:
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: (near initialization for ‘vnetNetifOps.ndo_validate_addr’) [enabled by default]
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.3.2-6.fc16.x86_64'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
Unable to install vmnet
I have the same problem, and would really appreciate some guidence.
Nearly every update breaks this. If I could understand what's going on I could try to build a script to handle it.
Hi swsnyder8
Welcome to the community .
Have you made any changes on config.h .
If no please create that config.h file through below command
touch /usr/src/kernels/`uname -r`-i686/include/linux/config.h.
I'm assuming that was a typo as my system is x86_64, not i686. In any case there is difference in behavior.
# uname -r
3.3.4-1.fc16.x86_64
# touch /usr/src/kernels/3.3.4-1.fc16.x86_64/include/linux/config.h
# /usr/bin/vmware-modconfig --console --install-all
[snip]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/3.3.4-1.fc16.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/kernels/3.3.4-1.fc16.x86_64'
CC [M] /tmp/vmware-root/modules/vmnet-only/driver.o
CC [M] /tmp/vmware-root/modules/vmnet-only/hub.o
CC [M] /tmp/vmware-root/modules/vmnet-only/userif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/netif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/bridge.o
CC [M] /tmp/vmware-root/modules/vmnet-only/filter.o
CC [M] /tmp/vmware-root/modules/vmnet-only/procfs.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetEvent.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
/tmp/vmware-root/modules/vmnet-only/filter.c:60:16: error: ‘THIS_MODULE’ undeclared here (not in a function)
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/filter.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfSetup’:
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: initialization from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: (near initialization for ‘vnetNetifOps.ndo_validate_addr’) [enabled by default]
/tmp/vmware-root/modules/vmnet-only/userif.c: In function ‘VNetCsumCopyDatagram’:
/tmp/vmware-root/modules/vmnet-only/userif.c:520:3: error: incompatible type for argument 1 of ‘kmap’
include/linux/highmem.h:48:21: note: expected ‘struct page *’ but argument is of type ‘const struct <anonymous>’
/tmp/vmware-root/modules/vmnet-only/userif.c:523:3: error: incompatible type for argument 1 of ‘kunmap’
include/linux/highmem.h:54:20: note: expected ‘struct page *’ but argument is of type ‘const struct <anonymous>’
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Error 1
make[2]: *** [/tmp/vmware-root/modules/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.3.4-1.fc16.x86_64'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
Unable to install vmnet
Hi, All:
Firstly, I has the same error , but after I modify patch-modules_3.2.0.sh ( only change vmreqver from 8.0.2 to 8.0.3 and plreqver from 4.0.2 to 4.0.3 ) and also done this command touch /usr/src/kernels/`uname-r`-i686/include/linux/config.h
then re-run /usr/bin/vmware-modconfig --console --install-all
What is the next step should I do ?
Here is log
===============================================
I am having this same error on 3.2.8-1-ARCH. touch/usr/src/linux-3.2.8-1-ARCH/include/linux/config.h did not solve this issue.
I am out of the office and will be back tomorrow morning 09:00Hrs. I will not have any access to email. In my absence please contact support on 0845 223 6010 or email support, csp@softbrands.com.
I have run into the exact same situation, have Fedora 16 and upgraded this morning to 8.0.3 and now it doesn't work.
Previously resolved this - also had issues when upgrading to 8.0.2 which was resolved by a custom patch....not sure if a new patch is around somewhere?
This old patch i'm referring to is here: http://communities.vmware.com/message/2018721
Nick
+1 - same problem here building the vmnet module. Arch 3.3.4-2
I always regret saying yes to the Workstation updates, you'd think I'd learn by now. I've been using it since version 5 and I don't think I've ever had an update go cleanly.
See http://matthewcasperson.blogspot.com.au/2012/05/vmware-workstation-803-fix-for-fedora.html for a copy of vmnet.tar that works with Fedora 16.
Got this working!
Found that the new vmnet.tar was required as well as the instructions to edit the old patch file to use the new versions (8.0.2 -> 8.0.3 & 4.0.2 -> 4.0.3) by hand and remove the ./patched folder was the key.
I've done all those steps, and having the exact same problem :smileycry:...
Can you please expand the exact steps you've performed ??
I copy the vmnet.tar (from the post), edited the script, and I didn't find the "patched" directory (maybe it is because I've installed VMware 8.0.3 on a fresh OS, and not upgrading from 8.0.2 ?).
Can you please try to remember what else have you done ??
Thanks,
Arik.
nwurster wrote:
Got this working!
Found that the new vmnet.tar was required as well as the instructions to edit the old patch file to use the new versions (8.0.2 -> 8.0.3 & 4.0.2 -> 4.0.3) by hand and remove the ./patched folder was the key.
After all the steps applied, make sure to restart vmware by:
vmware restart
* run as root and/or sudo if necessary
Hope that helps!
Worked beautifully. Thanks!
Please Explane step by step as am facing the same problem and am new in linuxe and am runnin fedora 16 so please please i need help
Hello all,
Attached is a revised patch to support VMWare player 4.0.4, as well as Debain and Ubuntu and also, to exec from any CWD.
Also, if detection of header location does not succeed, one can pass the sources dir as the first argument.
Like so:
# /home/jess/downloads/patch-modules_3.3.4.sh /usr/src/linux-headers-3.2.0-2-amd64
Enjoy.
May the source be with you,
Jess Portnoy