You are not logged in.

#1 2007-08-27 12:38:10

saa_1973
Member
Registered: 2007-08-27
Posts: 7

vmware-tools does not install in 2.6.22 dont panic arch guest os

Dear All,

I get the following error while compiling the vmware tools in guest arch linux 2.6.22-ck dont panic (vmware workstation 5.5.3). Though the output shows the vmhgfs module is able to load but I do not get my shared folder directory in the /mnt/hgfs. What is the work around.
------------------------------------------------------------------------------------------------------------------
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Guest filesystem driver: done
Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". 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.22-ck/build/include]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmhgfs-only'
make -C /lib/modules/2.6.22-ck/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22-ck'
CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
CC [M] /tmp/vmware-config0/vmhgfs-only/dev.o
CC [M] /tmp/vmware-config0/vmhgfs-only/driver.o
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-config0/vmhgfs-only/main.o
CC [M] /tmp/vmware-config0/vmhgfs-only/staticEscape.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22-ck'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.

pcnet32 29828 0
Unloading pcnet32 module

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmxnet-only'
make -C /lib/modules/2.6.22-ck/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.22-ck'
CC [M] /tmp/vmware-config0/vmxnet-only/vmxnet.o
/tmp/vmware-config0/vmxnet-only/vmxnet.c: In function 'vmxnet_open':
/tmp/vmware-config0/vmxnet-only/vmxnet.c:674: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:66)
/tmp/vmware-config0/vmxnet-only/vmxnet.c: In function 'vmxnet_netpoll':
/tmp/vmware-config0/vmxnet-only/vmxnet.c:1058: error: too many arguments to function 'vmxnet_interrupt'
make[2]: *** [/tmp/vmware-config0/vmxnet-only/vmxnet.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmxnet-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22-ck'
make: *** [vmxnet.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmxnet-only'
Unable to build the vmxnet module.

The fast network device driver (vmxnet module) is used only for our fast
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can install the driver
by running vmware-config-tools.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.
[ Press Enter key to continue ]

------------------------------------------------------------------------------------------------------------------

Thanks in advance.


saa_1973.

Offline

#2 2007-08-28 07:32:48

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: vmware-tools does not install in 2.6.22 dont panic arch guest os

Did you use the guide on the Wiki?


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2007-08-28 09:31:57

saa_1973
Member
Registered: 2007-08-27
Posts: 7

Re: vmware-tools does not install in 2.6.22 dont panic arch guest os

I have followed the wiki guide but the guide is for VMWare Workstation 5.5.2 build-29772 and kernel 2.6.17-3.
Yesterday tested the same on WS 6 but no success. Are the kernel-devel packages available for arch linux. I can try again after installing the same.

Offline

#4 2007-08-28 10:58:27

saa_1973
Member
Registered: 2007-08-27
Posts: 7

Re: vmware-tools does not install in 2.6.22 dont panic arch guest os

how do we install kernel-source, kernel-devel packages in arch linux. This is required it seems to compile the vmware-tools as mentions in posts of other linux distros.

Offline

#5 2007-08-28 11:38:20

newgargamel
Member
From: PL, CZ
Registered: 2005-08-28
Posts: 156

Re: vmware-tools does not install in 2.6.22 dont panic arch guest os

I have installed vmplayer with custom kernel 2.6.22 and no problems so far. If you are using ck kernel you should have required kernel source files already installed (you don't need everything, just few files) so no need for any devel package.

Offline

#6 2007-08-28 15:37:47

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,387

Re: vmware-tools does not install in 2.6.22 dont panic arch guest os

You shouldn't need the kernel sources, just point vmware tools to the right location :

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.22-ck/build/include]
Replace with usr/src/linux-2.6.22-ck/include/

If you still get this error /tmp/vmware-config0/vmxnet-only/vmxnet.c:1058: error: too many arguments to function 'vmxnet_interrupt'

see vmware tools 5.5.3, linux 2.6.19, vmxnet compile fix

as mentioned at the bottom of the wiki page.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2007-08-31 12:00:51

saa_1973
Member
Registered: 2007-08-27
Posts: 7

Re: vmware-tools does not install in 2.6.22 dont panic arch guest os

Thanks for your posts. I will give this a try and get back with the results.

Offline

Board footer

Powered by FluxBB