More VMWare problems in Fedora
- January 22nd, 2007
- Write comment
Oh another Kernel update another VMWare problem, great. When you upgrade to 2.6.19, you get the following error
/tmp/vmware-config2/vmnet-only/userif.c: In function ‘VNetCopyDatagramToUser’:After a bit of hunting on LWN, I found that CHECKSUM_HW has been remove from 2.6.19 and replaced with CHECKSUM_PARTIAL. Fortunately, Robin Kearney at usefulthings.org.uk has provided a patch.
/tmp/vmware-config2/vmnet-only/userif.c:629: error: ‘CHECKSUM_HW’ undeclared (first use in this function)
/tmp/vmware-config2/vmnet-only/userif.c:629: error: (Each undeclared identifier is reported only once
/tmp/vmware-config2/vmnet-only/userif.c:629: error: for each function it appears in.)
make[2]: *** [/tmp/vmware-config2/vmnet-only/userif.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmnet-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2895.fc6-i686'
make: *** [vmnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmnet-only'
Unable to build the vmnet module.
It’s a little more complicated than the usual fixes, at the patched files are within a tarball, but you should be able to cut and paste from below.
As root:
cd /tmp
wget http://usefulthings.org.uk/wp-content/uploads/vmnet-only-2.6.19.patch
cd /usr/lib/vmware/modules/source/
cp vmnet.tar vmnet.tar.orig
tar xf vmnet.tar
patch -p0 < /tmp/vmnet-only-2.6.19.patch
tar cf vmnet.tar vmnet-only
vmware-config.pl -d
Wahoo!