VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 19 Replies Last post: Aug 14, 2009 3:25 PM by rahvee   Go to original post
Click to view starfear's profile Lurker 4 posts since
Oct 30, 2007
Resolve for 2.6.27.7 vmware-server2 :

remove from /tmp all /tmp/vmware-config* if exist.

rm -rf /tmp/vmware-config*

In vmware-config.pl, in "sub build_module" :

##### string 4123 ############# INSERT

if ($name eq 'vsock') {
system('ln -sf /tmp/vmware-config1/vmci-only/Module.symvers /tmp/vmware-config2/vsock-only');
print wrap ('My code');
}

######### BEFORE

print wrap('Building the ' . $name . ' module.' . "\n\n", 0);
if (system(shell_string($gHelper{'make'}) . ' -C '
. shell_string($build_dir . '/' . $name . '-only')
. ' auto-build ' . (($gSystem{'smp'} eq 'yes') ? 'SUPPORT_SMP=1 '
: '')
. (($gOption{'kernel_version'} ne '')?
shell_string('VM_UNAME=' . $gOption{'kernel_version'}) . ' ':'')
. shell_string('HEADER_DIR=' . db_get_answer('HEADER_DIR')) . ' '
. shell_string('CC=' . $gHelper{'gcc'}) . ' '
. shell_string('GREP=' . $gHelper{'grep'}) . ' '
. shell_string('IS_GCC_3='
. (($gSystem{'gcc_version'} =~ /^3\./) ? 'yes' : 'no')))) {
print wrap('Unable to build the ' . $name . ' module.' . "\n\n", 0);
return 'no';
}

if ($gOption{'kernel_version'} eq '')
{

## Don't use the force flag: the module is supposed to perfectly load

if (try_module($name, $build_dir . '/' . $name . '.o', 0, 1)) {
print wrap('The ' . $name . ' module loads perfectly into the running kernel.'
. "\n\n", 0);

######## COMMENT NEXT LINE
######## remove_tmp_dir($build_dir);
######## END

After vmware-config.pl you can:
rm -rf /tmp/vmware-config*
Click to view jmsvmware's profile Lurker 1 posts since
Nov 28, 2008

Yes starfear, your fix did the trick in Ibex 32bit. I didn't notice any difference in funtionality before and after this fix though, everything seems to be just fine as it did before also.


Click to view thierrybo's profile Lurker 2 posts since
Jul 18, 2007
This issue has been solved, see http://ubuntuforums.org/showthread.php?t=975084&page=2 , there is sa patch for build 122956
Click to view rahvee's profile Novice 5 posts since
Oct 26, 2008

You have to use ubuntu server, not ubuntu desktop. See here:

http://www.vmware.com/resources/compatibility/search.php?deviceCategory=software
(I found this by going to vmware.com. Click on Resources --> Compatibility guides. and finally "View the Guest/Host OS tab on the VMWare Compatibility Guide")

Search for: VMWare Server, 2.0.1, Partner Canonical, Host OS, Linux:
Results: Ubuntu Server (not desktop)

Click to view rahvee's profile Novice 5 posts since
Oct 26, 2008

You have to use ubuntu server, not ubuntu desktop. See here:

http://www.vmware.com/resources/compatibility/search.php?deviceCategory=software
(I found this by going to vmware.com. Click on Resources -->
Compatibility guides. and finally "View the Guest/Host OS tab on the
VMWare Compatibility Guide")

Search for: VMWare Server, 2.0.1, Partner Canonical, Host OS, Linux:
Results: Ubuntu Server (not desktop)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities