VMware Communities
DingoTaz
Enthusiast
Enthusiast
Jump to solution

Fedora 21 Still hangs/slow to start and stop

Just installed vmware 11.1 update.

Please address this VERY ANNOYING issue vmware. Reported here by several people nearly 3 months ago that Fedora 21 hangs for minutes when shutting down, takes minutes to load and hangs when logging out. Nobody from VMware has even bothered requesting information. This software is NOT FIT for the purposes for which it was sold. Your support for this product is a disgrace. I am close to asking for a refund. Please fix your software. I am happy to provide further information.

Also, with latest updates on fedora 21, vmtools does not compile anymore for folder sharing with host operating system. Doesnt bother me too much i dont use this feature.

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 "/bin/gcc".

The path "/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.18.7-200.fc21.x86_64/build/include".

The path "/lib/modules/3.18.7-200.fc21.x86_64/build/include" appears to be a

valid path to the 3.18.7-200.fc21.x86_64 kernel headers.

Would you like to change it? [no]

make: Entering directory '/tmp/modconfig-YRzDmh/vmhgfs-only'

Using kernel build system.

/bin/make -C /lib/modules/3.18.7-200.fc21.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

  MODULEBUILDDIR= modules

make[1]: Entering directory '/usr/src/kernels/3.18.7-200.fc21.x86_64'

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/message.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/dir.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/rpcout.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/hgfsUtil.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/cpName.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/request.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/module.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/link.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/bdhandler.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/transport.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/inode.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/file.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/super.o

  CC [M]  /tmp/modconfig-YRzDmh/vmhgfs-only/stubs.o

In file included from include/linux/list.h:8:0,

                 from include/linux/preempt.h:10,

                 from include/linux/spinlock.h:50,

                 from include/linux/mmzone.h:7,

                 from include/linux/gfp.h:5,

                 from include/linux/mm.h:9,

                 from include/linux/pagemap.h:7,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:29:

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c: In function ‘HgfsPermission’:

include/linux/kernel.h:796:27: error: ‘struct dentry’ has no member named ‘d_alias’

  const typeof( ((type *)0)->member ) *__mptr = (ptr); \

                           ^

include/linux/list.h:688:40: note: in expansion of macro ‘container_of’

#define hlist_entry(ptr, type, member) container_of(ptr,type,member)

                                        ^

include/linux/list.h:699:15: note: in expansion of macro ‘hlist_entry’

     ____ptr ? hlist_entry(____ptr, type, member) : NULL; \

               ^

include/linux/list.h:709:13: note: in expansion of macro ‘hlist_entry_safe’

  for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\

             ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

include/linux/kernel.h:796:48: warning: initialization from incompatible pointer type

  const typeof( ((type *)0)->member ) *__mptr = (ptr); \

                                                ^

include/linux/list.h:688:40: note: in expansion of macro ‘container_of’

#define hlist_entry(ptr, type, member) container_of(ptr,type,member)

                                        ^

include/linux/list.h:699:15: note: in expansion of macro ‘hlist_entry’

     ____ptr ? hlist_entry(____ptr, type, member) : NULL; \

               ^

include/linux/list.h:709:13: note: in expansion of macro ‘hlist_entry_safe’

  for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\

             ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

In file included from include/linux/compiler-gcc.h:106:0,

                 from include/linux/compiler.h:54,

                 from include/uapi/linux/stddef.h:1,

                 from include/linux/stddef.h:4,

                 from ./include/uapi/linux/posix_types.h:4,

                 from include/uapi/linux/types.h:13,

                 from include/linux/types.h:5,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/./shared/driver-config.h:71,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:26:

include/linux/compiler-gcc4.h:14:34: error: ‘struct dentry’ has no member named ‘d_alias’

#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)

                                  ^

include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’

#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)

                               ^

include/linux/kernel.h:797:29: note: in expansion of macro ‘offsetof’

  (type *)( (char *)__mptr - offsetof(type,member) );})

                             ^

include/linux/list.h:688:40: note: in expansion of macro ‘container_of’

#define hlist_entry(ptr, type, member) container_of(ptr,type,member)

                                        ^

include/linux/list.h:699:15: note: in expansion of macro ‘hlist_entry’

     ____ptr ? hlist_entry(____ptr, type, member) : NULL; \

               ^

include/linux/list.h:709:13: note: in expansion of macro ‘hlist_entry_safe’

  for (pos = hlist_entry_safe((head)->first, typeof(*(pos)), member);\

             ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

In file included from include/linux/preempt.h:10:0,

                 from include/linux/spinlock.h:50,

                 from include/linux/mmzone.h:7,

                 from include/linux/gfp.h:5,

                 from include/linux/mm.h:9,

                 from include/linux/pagemap.h:7,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:29:

include/linux/list.h:711:35: error: ‘struct dentry’ has no member named ‘d_alias’

       pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))

                                   ^

include/linux/list.h:698:12: note: in definition of macro ‘hlist_entry_safe’

  ({ typeof(ptr) ____ptr = (ptr); \

            ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

include/linux/list.h:711:35: error: ‘struct dentry’ has no member named ‘d_alias’

       pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))

                                   ^

include/linux/list.h:698:28: note: in definition of macro ‘hlist_entry_safe’

  ({ typeof(ptr) ____ptr = (ptr); \

                            ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

In file included from include/linux/list.h:8:0,

                 from include/linux/preempt.h:10,

                 from include/linux/spinlock.h:50,

                 from include/linux/mmzone.h:7,

                 from include/linux/gfp.h:5,

                 from include/linux/mm.h:9,

                 from include/linux/pagemap.h:7,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:29:

include/linux/kernel.h:796:27: error: ‘struct dentry’ has no member named ‘d_alias’

  const typeof( ((type *)0)->member ) *__mptr = (ptr); \

                           ^

include/linux/list.h:688:40: note: in expansion of macro ‘container_of’

#define hlist_entry(ptr, type, member) container_of(ptr,type,member)

                                        ^

include/linux/list.h:699:15: note: in expansion of macro ‘hlist_entry’

     ____ptr ? hlist_entry(____ptr, type, member) : NULL; \

               ^

include/linux/list.h:711:13: note: in expansion of macro ‘hlist_entry_safe’

       pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))

             ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

include/linux/kernel.h:796:48: warning: initialization makes pointer from integer without a cast

  const typeof( ((type *)0)->member ) *__mptr = (ptr); \

                                                ^

include/linux/list.h:688:40: note: in expansion of macro ‘container_of’

#define hlist_entry(ptr, type, member) container_of(ptr,type,member)

                                        ^

include/linux/list.h:699:15: note: in expansion of macro ‘hlist_entry’

     ____ptr ? hlist_entry(____ptr, type, member) : NULL; \

               ^

include/linux/list.h:711:13: note: in expansion of macro ‘hlist_entry_safe’

       pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))

             ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

In file included from include/linux/compiler-gcc.h:106:0,

                 from include/linux/compiler.h:54,

                 from include/uapi/linux/stddef.h:1,

                 from include/linux/stddef.h:4,

                 from ./include/uapi/linux/posix_types.h:4,

                 from include/uapi/linux/types.h:13,

                 from include/linux/types.h:5,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/./shared/driver-config.h:71,

                 from /tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:26:

include/linux/compiler-gcc4.h:14:34: error: ‘struct dentry’ has no member named ‘d_alias’

#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)

                                  ^

include/linux/stddef.h:17:31: note: in expansion of macro ‘__compiler_offsetof’

#define offsetof(TYPE,MEMBER) __compiler_offsetof(TYPE,MEMBER)

                               ^

include/linux/kernel.h:797:29: note: in expansion of macro ‘offsetof’

  (type *)( (char *)__mptr - offsetof(type,member) );})

                             ^

include/linux/list.h:688:40: note: in expansion of macro ‘container_of’

#define hlist_entry(ptr, type, member) container_of(ptr,type,member)

                                        ^

include/linux/list.h:699:15: note: in expansion of macro ‘hlist_entry’

     ____ptr ? hlist_entry(____ptr, type, member) : NULL; \

               ^

include/linux/list.h:711:13: note: in expansion of macro ‘hlist_entry_safe’

       pos = hlist_entry_safe((pos)->member.next, typeof(*(pos)), member))

             ^

/tmp/modconfig-YRzDmh/vmhgfs-only/inode.c:1920:7: note: in expansion of macro ‘hlist_for_each_entry’

       hlist_for_each_entry(dentry,

       ^

scripts/Makefile.build:257: recipe for target '/tmp/modconfig-YRzDmh/vmhgfs-only/inode.o' failed

make[2]: *** [/tmp/modconfig-YRzDmh/vmhgfs-only/inode.o] Error 1

make[2]: *** Waiting for unfinished jobs....

Makefile:1385: recipe for target '_module_/tmp/modconfig-YRzDmh/vmhgfs-only' failed

make[1]: *** [_module_/tmp/modconfig-YRzDmh/vmhgfs-only] Error 2

make[1]: Leaving directory '/usr/src/kernels/3.18.7-200.fc21.x86_64'

Makefile:120: recipe for target 'vmhgfs.ko' failed

make: *** [vmhgfs.ko] Error 2

make: Leaving directory '/tmp/modconfig-YRzDmh/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)

0 Kudos
1 Solution

Accepted Solutions
DingoTaz
Enthusiast
Enthusiast
Jump to solution

Thanks again to NO HELP from VMWare, I have resolved this issue totally Smiley Happy

Fedora now shutsdown properly and quickly from gnome 3 and logging out works properly.

I still have a delay on start-up (I think VMWare is compiling the image every time it starts up which I'm not sure it's supposed to, but i'll check that option in the vmtools compile later).

OK. To fix this problem guys - it's time consuming - hope i got the steps right:
1. TAKE A SNAPSHOT of your existing VM.

2. Goto VMware guest GL driver - you have to install the latest VMWare graphics driver

3.git from the git source via git protocol wouldn't work for me (hung on 99%). Create a base folder first.

   mkdir new-vmware-driver

   cd new-vmware-driver

  git clone http://anongit.freedesktop.org/git/mesa/mesa.git

  git clone http://anongit.freedesktop.org/git/mesa/vmwgfx.git

  git clone http://anongit.freedesktop.org/git/mesa/drm.git

  git clone http://anongit.freedesktop.org/git/xorg/driver/xf86-video-vmware

4. install dependencies

  pip install mako

  yum install libudev-devel

  yum install expat-devel gcc-c++ libstdc++-devel

5. copy and paste all the install commands from the website (http://www.mesa3d.org/vmware-guest.html)

My Notes got a bit hazy here:

Fedora 21:    sudo rm /lib/modules/`uname -r`/kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko*

                     Actual filename is “vmwgfx.ko.xz”

After running all the installs, on the final one, I got some errors about a private key missing and unable to ustat a folder because it didn’t exist. Ignored these.

6. find / -name "vmwgfx.ko*" -print

7. Copy the file from whereever it is to the kernel folder it came from with same name.

8. Did the other commands from the webpage e.g. modprobe

9. Restart computer

Smiley Happy

No idea what happens when next kernel update comes along though. Good luck guys and feel free to add notes/pointers below so others don't get frustrated for MONTHS AND MONTHS without ANY HELP from VMWare on this issue.

View solution in original post

0 Kudos
2 Replies
DingoTaz
Enthusiast
Enthusiast
Jump to solution

Thanks again to NO HELP from VMWare, I have resolved this issue totally Smiley Happy

Fedora now shutsdown properly and quickly from gnome 3 and logging out works properly.

I still have a delay on start-up (I think VMWare is compiling the image every time it starts up which I'm not sure it's supposed to, but i'll check that option in the vmtools compile later).

OK. To fix this problem guys - it's time consuming - hope i got the steps right:
1. TAKE A SNAPSHOT of your existing VM.

2. Goto VMware guest GL driver - you have to install the latest VMWare graphics driver

3.git from the git source via git protocol wouldn't work for me (hung on 99%). Create a base folder first.

   mkdir new-vmware-driver

   cd new-vmware-driver

  git clone http://anongit.freedesktop.org/git/mesa/mesa.git

  git clone http://anongit.freedesktop.org/git/mesa/vmwgfx.git

  git clone http://anongit.freedesktop.org/git/mesa/drm.git

  git clone http://anongit.freedesktop.org/git/xorg/driver/xf86-video-vmware

4. install dependencies

  pip install mako

  yum install libudev-devel

  yum install expat-devel gcc-c++ libstdc++-devel

5. copy and paste all the install commands from the website (http://www.mesa3d.org/vmware-guest.html)

My Notes got a bit hazy here:

Fedora 21:    sudo rm /lib/modules/`uname -r`/kernel/drivers/gpu/drm/vmwgfx/vmwgfx.ko*

                     Actual filename is “vmwgfx.ko.xz”

After running all the installs, on the final one, I got some errors about a private key missing and unable to ustat a folder because it didn’t exist. Ignored these.

6. find / -name "vmwgfx.ko*" -print

7. Copy the file from whereever it is to the kernel folder it came from with same name.

8. Did the other commands from the webpage e.g. modprobe

9. Restart computer

Smiley Happy

No idea what happens when next kernel update comes along though. Good luck guys and feel free to add notes/pointers below so others don't get frustrated for MONTHS AND MONTHS without ANY HELP from VMWare on this issue.

0 Kudos
ScottOrtel
Contributor
Contributor
Jump to solution

Switching to LightDM also fixed this for me.  I shouldn't have to do that, but it seems like a decent workaround for now.  It seems like the problem with with the gnome display manager and not the desktop.  I think that it was hanging when going back to the greeter screen.

The additional problem that I am having is that the Gnome3 hot corners do not work for me no matter what I do, full screen or not.  Gnome3 is kind of a pain without it, especially the top-left.  I'm am using Fedora 21 on a Windows 8.1 host on Workstation 11.  Any thoughts anybody?

0 Kudos