[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Problem Installing Debian Testng/Jessie VMware Tools



Here is my original message:

I have installed Debian Testing/Jessie on my 64 bit Laptop in VMware Player
v- 6.0.1-1379776.  vmhgfs failed the build process.  The relevant portion of
the build log is (complete log is attached):

Using 2.6.x kernel buildInstalling VMware Tools.
make: Entering directory `/tmp/modconfig-YbqXQN/vmhgfs-only'
/usr/bin/make -C /lib/modules/3.13-1-amd64/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
         MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.13-1-amd64'
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.o
/tmp/modconfig-YbqXQN/vmhgfs-only/file.c: In function 'HgfsOpen':
/tmp/modconfig-YbqXQN/vmhgfs-only/file.c:685:27: error: incompatible type
for argument 3 of 'HgfsSetUidGid'
                           current_fsuid(), current_fsgid());
                           ^
In file included from /tmp/modconfig-YbqXQN/vmhgfs-only/file.c:46:0:
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.h:92:6: note: expected 'uid_t' but
argument is of type 'kuid_t'
void HgfsSetUidGid(struct inode *parent,
      ^
/tmp/modconfig-YbqXQN/vmhgfs-only/file.c:685:27: error: incompatible type
for argument 4 of 'HgfsSetUidGid'
                           current_fsuid(), current_fsgid());
                           ^
In file included from /tmp/modconfig-YbqXQN/vmhgfs-only/file.c:46:0:
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.h:92:6: note: expected 'gid_t' but
argument is of type 'kgid_t'
void HgfsSetUidGid(struct inode *parent,
      ^
make[4]: *** [/tmp/modconfig-YbqXQN/vmhgfs-only/file.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.o
/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.c: In function
'HgfsInitSuperInfo':
/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.c:234:15: error: incompatible
types when assigning to type 'uid_t' from type 'kuid_t'
       si->uid = current_uid();
               ^
/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.c:240:15: error: incompatible
types when assigning to type 'gid_t' from type 'kgid_t'
       si->gid = current_gid();
               ^
make[4]: *** [/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.o] Error 1
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c: In function
'HgfsChangeFileAttributes':
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:680:20: error: incompatible types
when assigning to type 'kuid_t' from type 'uid_t'
       inode->i_uid = si->uid;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:682:20: error: incompatible types
when assigning to type 'kuid_t' from type 'uint32'
       inode->i_uid = attr->userId;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:685:20: error: incompatible types
when assigning to type 'kgid_t' from type 'gid_t'
       inode->i_gid = si->gid;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:687:20: error: incompatible types
when assigning to type 'kgid_t' from type 'uint32'
       inode->i_gid = attr->groupId;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c: In function 'HgfsSetUidGid':
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:1663:21: error: incompatible
types when assigning to type 'kuid_t' from type 'uid_t'
    setUidGid.ia_uid = uid;
                     ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:1671:24: error: incompatible
types when assigning to type 'kgid_t' from type 'gid_t'
       setUidGid.ia_gid = gid;
                        ^
make[4]: *** [/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.o] Error 1
make[3]: *** [_module_/tmp/modconfig-YbqXQN/vmhgfs-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13-1-amd64'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/modconfig-YbqXQN/vmhgfs-only'

I have no idea as to what te problem might be.  Any assistance will be much
appreciated.

Thanks in advance.

Stephen P. Molnar, Ph.D.                                    Life is a fuzzy
set
Foundation for Chemistry                                   Stochastic and
multivariate
www.FoundationForChemistry.com
(614)312-7528 (c)
Skype:  smolnar1


-----Original Message-----
From: Jerry Stuckle [mailto:jstuckle@attglobal.net] 
Sent: Sunday, April 06, 2014 8:57 PM
To: debian-user@lists.debian.org
Subject: Re: Problem Installing Debian Testng/Jessie VMware Tools

On 4/6/2014 4:03 PM, Mr Queue wrote:
> On Sun, 6 Apr 2014 15:11:57 -0400
> "Stephen P. Molnar" <s.molnar@sbcglobal.net> wrote:
>
>> Any assistance will be much appreciated.
>
> Seems to be a kernel problem.
>
> http://bit.ly/1hvDrs0
>
>

What is a kernel problem?

Please copy ALL of the applicable information when replying.  Many of us
don't have previous messages available.

Jerry


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive: [🔎] 5341F7CD.8060006@attglobal.net">https://lists.debian.org/[🔎] 5341F7CD.8060006@attglobal.net
Script started on Fri Apr  4 15:31:30 2014
]0;computation@inga: ~/Downloads/vmware-tools-distribcomputation@inga:~/Downloads/vmware-tools-distrib$ sudo ./vmware-install.pl
[sudo] password for computation: 
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files? 
[/usr/bin] 

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 
[/etc] 

What is the directory that contains the init scripts? 
[/etc/init.d] 

In which directory do you want to install the daemon files? 
[/usr/sbin] 

In which directory do you want to install the library files? 
[/usr/lib/vmware-tools] 

The path "/usr/lib/vmware-tools" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

In which directory do you want to install the documentation files? 
[/usr/share/doc/vmware-tools] 

The path "/usr/share/doc/vmware-tools" does not exist currently. This program 
is going to create it, including needed parent directories. Is this what you 
want? [yes] 

The installation of VMware Tools 9.6.1 build-1378637 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by 
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
this program to invoke the command for you now? [yes] 

Initializing...

Use of uninitialized value $subLevel in split at /usr/bin/vmware-config-tools.pl line 4299.
Use of uninitialized value $subLevel in concatenation (.) or string at /usr/bin/vmware-config-tools.pl line 4300.
Argument "13-1-amd64" isn't numeric in multiplication (*) at /usr/bin/vmware-config-tools.pl line 3892.
Use of uninitialized value $subLevel in addition (+) at /usr/bin/vmware-config-tools.pl line 3892.

Making sure services for VMware Tools are stopped.

Stopping VMware Tools services in the virtual machine:
   Guest operating system daemon: done
   Unmounting HGFS shares: done
   Guest filesystem driver: done
Stopping Thinprint services in the virtual machine:
   Stopping Virtual Printing daemon: done


update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: Service cups has to be enabled to start service vmware-tools-thinprint
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
WARNING: The installer initially used the 'udpate-rc.d' to setup the 
vmware-tools service.  That command cannot be found.  Please re-install the 
'sysv-rc' package.  This script will now attempt to manually setup the 
vmware-tools service.The module vmci has already been installed on this system by another installer 
or package and will not be modified by this installer.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer.

The module vmxnet3 has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module pvscsi has already been installed on this system by another 
installer or package and will not be modified by this installer.

The module vmmemctl has already been installed on this system by another 
installer or package and will not be modified by this installer.

The VMware Host-Guest Filesystem allows for shared folders between the host OS 
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish 
to enable this feature? [yes] 


Before you can compile modules, you need to have the following installed... 

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no] 

Searching for a valid kernel header path...
Detected the kernel headers at "/lib/modules/3.13-1-amd64/build/include".
The path "/lib/modules/3.13-1-amd64/build/include" appears to be a valid path 
to the 3.13-1-amd64 kernel headers.
Would you like to change it? [no] 

Using 2.6.x kernel build system.
make: Entering directory `/tmp/modconfig-YbqXQN/vmhgfs-only'
/usr/bin/make -C /lib/modules/3.13-1-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
	  MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-headers-3.13-1-amd64'
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/backdoor.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/cpName.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/dir.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/dentry.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/file.o
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.o
/tmp/modconfig-YbqXQN/vmhgfs-only/file.c: In function 'HgfsOpen':
/tmp/modconfig-YbqXQN/vmhgfs-only/file.c:685:27: error: incompatible type for argument 3 of 'HgfsSetUidGid'
                           current_fsuid(), current_fsgid());
                           ^
In file included from /tmp/modconfig-YbqXQN/vmhgfs-only/file.c:46:0:
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.h:92:6: note: expected 'uid_t' but argument is of type 'kuid_t'
 void HgfsSetUidGid(struct inode *parent,
      ^
/tmp/modconfig-YbqXQN/vmhgfs-only/file.c:685:27: error: incompatible type for argument 4 of 'HgfsSetUidGid'
                           current_fsuid(), current_fsgid());
                           ^
In file included from /tmp/modconfig-YbqXQN/vmhgfs-only/file.c:46:0:
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.h:92:6: note: expected 'gid_t' but argument is of type 'kgid_t'
 void HgfsSetUidGid(struct inode *parent,
      ^
make[4]: *** [/tmp/modconfig-YbqXQN/vmhgfs-only/file.o] Error 1
make[4]: *** Waiting for unfinished jobs....
  CC [M]  /tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.o
/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.c: In function 'HgfsInitSuperInfo':
/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.c:234:15: error: incompatible types when assigning to type 'uid_t' from type 'kuid_t'
       si->uid = current_uid();
               ^
/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.c:240:15: error: incompatible types when assigning to type 'gid_t' from type 'kgid_t'
       si->gid = current_gid();
               ^
make[4]: *** [/tmp/modconfig-YbqXQN/vmhgfs-only/filesystem.o] Error 1
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c: In function 'HgfsChangeFileAttributes':
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:680:20: error: incompatible types when assigning to type 'kuid_t' from type 'uid_t'
       inode->i_uid = si->uid;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:682:20: error: incompatible types when assigning to type 'kuid_t' from type 'uint32'
       inode->i_uid = attr->userId;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:685:20: error: incompatible types when assigning to type 'kgid_t' from type 'gid_t'
       inode->i_gid = si->gid;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:687:20: error: incompatible types when assigning to type 'kgid_t' from type 'uint32'
       inode->i_gid = attr->groupId;
                    ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c: In function 'HgfsSetUidGid':
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:1663:21: error: incompatible types when assigning to type 'kuid_t' from type 'uid_t'
    setUidGid.ia_uid = uid;
                     ^
/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.c:1671:24: error: incompatible types when assigning to type 'kgid_t' from type 'gid_t'
       setUidGid.ia_gid = gid;
                        ^
make[4]: *** [/tmp/modconfig-YbqXQN/vmhgfs-only/fsutil.o] Error 1
make[3]: *** [_module_/tmp/modconfig-YbqXQN/vmhgfs-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13-1-amd64'
make: *** [vmhgfs.ko] Error 2
make: Leaving directory `/tmp/modconfig-YbqXQN/vmhgfs-only'

The filesystem driver (vmhgfs module) is used only for the shared folder 
feature. The rest of the software provided by VMware Tools is designed to work 
independently of this feature.

If you wish to have the shared folders feature, 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 ] 

The vmxnet driver is no longer supported on kernels 3.3 and greater. Please 
upgrade to a newer virtual NIC. (e.g., vmxnet3 or e1000e)

The vmblock enables dragging or copying files between host and guest in a 
Fusion or Workstation virtual environment.  Do you wish to enable this feature?
[yes] 

VMware automatic kernel modules enables automatic building and installation of
VMware kernel modules at boot that are not already present. This feature can be

enabled/disabled by re-running vmware-config-tools.pl.

Would you like to enable VMware automatic kernel modules?
[no] 



Detected X server version 1.15.0



Distribution provided drivers for Xorg X server are used.

Skipping X configuration because X drivers are not included.

Creating a new initrd boot image for the kernel.
update-initramfs: Generating /boot/initrd.img-3.13-1-amd64
   Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
   Switching to guest configuration: done
   Blocking file system: done
   Guest operating system daemon: done
   Starting Virtual Printing daemon: done
The configuration of VMware Tools 9.6.1 build-1378637 for Linux for this 
running kernel completed successfully.

You must restart your X session before any mouse or graphics changes take 
effect.

You can now run VMware Tools by invoking "/usr/bin/vmware-toolbox-cmd" from the
command line.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and 
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.

Enjoy,

--the VMware team

Found VMware Tools CDROM mounted at /media/cdrom0. Ejecting device /dev/sr0 ...

]0;computation@inga: ~/Downloads/vmware-tools-distribcomputation@inga:~/Downloads/vmware-tools-distrib$ exit

Script done on Fri Apr  4 15:33:19 2014

Reply to: