Old 23rd June 2009, 18:41
fed fed is offline
Junior Member
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question Debian Lenny with VMware Server

Hi all,

I'm having troubles installing VMware Server 2.0.1 on a Debian Lenny with Kernel 2.6.26-2-686-bigmem.

I could successfully download vmware and start the install script.

When running vmware-config.pl a message shows up that no pre-built *** modules where found for VMware Server and it has to build the modules.

Using compiler "/usr/bin/gcc-4.1". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.26-2-686-bigmem/build/include]
I'm using gcc-4.1 and also the header files are in /lib/modules/2.6.26-2.686.
Building vmmon, vmci works just fine. While building vsock I get the following error message:

Building the vsock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config5/vsock-only'
make -C /lib/modules/2.6.26-2-686-bigmem/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686-bigmem'
  CC [M]  /tmp/vmware-config5/vsock-only/linux/af_vsock.o
  CC [M]  /tmp/vmware-config5/vsock-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config5/vsock-only/linux/util.o
  CC [M]  /tmp/vmware-config5/vsock-only/linux/vsockAddr.o
  LD [M]  /tmp/vmware-config5/vsock-only/vsock.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config5/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config5/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/tmp/vmware-config5/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/tmp/vmware-config5/vsock-only/vsock.ko] undefined!
  CC      /tmp/vmware-config5/vsock-only/vsock.mod.o
  LD [M]  /tmp/vmware-config5/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686-bigmem'
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-config5/vsock-only'
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config5/vsock.o': -1 Unknown symbol in module
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel.  You may want to
rebuild a kernel based on that directory, or specify another directory.

The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host.  The rest of this software provided by VMware Server is designed to work
independently of this feature.  If you wish to have the VSOCK feature  you can
install the driver by running vmware-config.pl again after making sure that
gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
Does anybody know what went wrong? Any ideas?

uname -r returns the right kernel version. I have no idea what this "slight" difference could be.

Thank you in advance.

Reply With Quote
Sponsored Links
Old 24th June 2009, 15:16
fed fed is offline
Junior Member
Join Date: Jun 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

I finally found a solution for my problem. I had to uninstall an manually delete all vmware related files (like config and /etc/vmware directory).
Then, I installed the vmware server package but did not ran the config script immediately. First I copied the attached patch und ran

patch /usr/bin/vmware-config.pl /path/to/vmware-config.pl.patch
Then I called the normal vmware-config.pl and everything worked well. It took some time to find a working patch but this one was working great. Thanks to its writer
Attached Files
File Type: txt vmware-config.pl.patch.txt (1.1 KB, 1299 views)
Reply With Quote
Old 24th June 2009, 17:01
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 6th December 2009, 14:15
myro myro is offline
Junior Member
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

thank you fed!!!!
now it works!!!

~# lsmod | grep v
vmnet 43460 13
vsock 26032 0
vmci 52904 1 vsock
vmmon 72144 0

Reply With Quote


debian, lenny, vmware, vmware server 2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What can be wrong martin_rudowicz Installation/Configuration 10 1st December 2014 10:13
The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3] w/ RUBY skismatik HOWTO-Related Questions 2 11th April 2009 21:15
Debian Lenny + VMware Server 2 Wizard of Wiring Suggest HOWTO 11 23rd February 2009 04:33
how to install vmware server 1.0.3 on debian SteaK Installation/Configuration 1 10th June 2007 15:35
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01

All times are GMT +2. The time now is 07:12.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.