VMware Communities
Ytphoid
Contributor
Contributor

Installing Workstation 9 on OpenSUSE 12.2 issues

Hello Everybody,

I am running into a huge problem making VMware Workstation 9 work on OpenSUSE 12.2.

I am have a Lenovo Thinkpad E430. When I run vmware at the prompt, it  tells me that am missing "headers" and yet, I feel that I have installed  them.

A "uname -r" reveals the following:

3.4.6-2.10-desktop

A "rpm -qa | grep kernel" shows:

kernel-desktop-3.4.6-2.10.1.x86_64
kernel-xen-devel-3.4.28-2.20.1.x86_64
kernel-source-vanilla-3.4.28-2.20.1.noarch
kernel-syms-3.4.28-2.20.1.x86_64
kernel-source-3.4.28-2.20.1.noarch
kernel-devel-3.4.28-2.20.1.noarch
kernel-desktop-devel-3.4.28-2.20.1.x86_64
kernel-default-devel-3.4.28-2.20.1.x86_64
kernel-firmware-20120719git-2.6.1.noarch

When I run a "vmware-modconfig --console --install-all", I get:

Failed to setup build environment

This is what my "/tmp/vmware-root/vmware-modconfig-7666.log" reads:

2013-02-11T16:30:07.603+03:00| vthread-3| I120: Log for VMware  Workstation pid=2304 version=9.0.1 build=build-894247 option=Release
2013-02-11T16:30:07.603+03:00| vthread-3| I120: The process is 64-bit.
2013-02-11T16:30:07.603+03:00| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2013-02-11T16:30:07.603+03:00| vthread-3| I120: Host is Linux 3.4.6-2.10-desktop openSUSE 12.2 (x86_64)
2013-02-11T16:30:07.574+03:00| vthread-3| I120: Msg_Reset:
2013-02-11T16:30:07.574+03:00| vthread-3| I120:  [msg.dictionary.load.openFailed] Cannot open file  "/usr/lib/vmware/settings": No such file or directory.
2013-02-11T16:30:07.574+03:00| vthread-3| I120: ----------------------------------------
2013-02-11T16:30:07.574+03:00| vthread-3| I120: PREF Optional  preferences file not found at /usr/lib/vmware/settings. Using default  values.
2013-02-11T16:30:07.602+03:00| vthread-3| I120: Msg_Reset:
2013-02-11T16:30:07.602+03:00| vthread-3| I120:  [msg.dictionary.load.openFailed] Cannot open file  "/root/.vmware/config": No such file or directory.
2013-02-11T16:30:07.602+03:00| vthread-3| I120: ----------------------------------------
2013-02-11T16:30:07.602+03:00| vthread-3| I120: PREF Optional  preferences file not found at /root/.vmware/config. Using default  values.
2013-02-11T16:30:07.602+03:00| vthread-3| I120: Msg_Reset:
2013-02-11T16:30:07.602+03:00| vthread-3| I120:  [msg.dictionary.load.openFailed] Cannot open file  "/root/.vmware/preferences": No such file or directory.
2013-02-11T16:30:07.602+03:00| vthread-3| I120: ----------------------------------------
2013-02-11T16:30:07.602+03:00| vthread-3| I120: PREF Failed to load user preferences.
2013-02-11T16:30:07.603+03:00| vthread-3| W110: Logging to /tmp/vmware-root/vmware-modconfig-2304.log
2013-02-11T16:30:07.624+03:00| vthread-3| I120: System distribution is SuSE
2013-02-11T16:30:07.624+03:00| vthread-3| I120: System version is 12.2
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Reading in info for the vmmon module.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Reading in info for the vmnet module.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Reading in info for the vmblock module.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Reading in info for the vmci module.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Reading in info for the vsock module.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Setting vsock to depend on vmci.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Created new pathsHash.
2013-02-11T16:30:07.624+03:00| vthread-3| I120: Invoking modinfo on "vmmon".
2013-02-11T16:30:07.626+03:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2013-02-11T16:30:07.626+03:00| vthread-3| I120: Invoking modinfo on "vmnet".
2013-02-11T16:30:07.628+03:00| vthread-3| I120: "/sbin/modinfo" exited with status 256.
2013-02-11T16:30:07.628+03:00| vthread-3| I120: Invoking modinfo on "vmblock".
2013-02-11T16:30:07.631+03:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
2013-02-11T16:30:07.632+03:00| vthread-3| I120: Invoking modinfo on "vmci".
2013-02-11T16:30:07.634+03:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
2013-02-11T16:30:07.634+03:00| vthread-3| I120: Invoking modinfo on "vsock".
2013-02-11T16:30:07.635+03:00| vthread-3| I120: "/sbin/modinfo" exited with status 0.
2013-02-11T16:30:07.644+03:00| vthread-3| I120: Obtaining info using the running kernel.
2013-02-11T16:30:07.644+03:00| vthread-3| I120: Setting header path for  3.4.6-2.10-desktop to "/lib/modules/3.4.6-2.10-desktop/build/include".
2013-02-11T16:30:07.644+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop/build/include" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:30:07.644+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop/build/include/linux/version.h
2013-02-11T16:30:07.644+03:00| vthread-3| I120: Failed version test:  /lib/modules/3.4.6-2.10-desktop/build/include/linux/version.h not found.
2013-02-11T16:30:07.759+03:00| vthread-3| I120: Kernel header path retrieved from FileEntry:
2013-02-11T16:30:07.759+03:00| vthread-3| I120: Update kernel header path to
2013-02-11T16:30:07.759+03:00| vthread-3| I120: Validating path "" for kernel release "3.4.6-2.10-desktop".
2013-02-11T16:30:07.759+03:00| vthread-3| I120: Failed to find /linux/version.h
2013-02-11T16:30:07.759+03:00| vthread-3| I120: Failed version test: /linux/version.h not found.
2013-02-11T16:30:07.759+03:00| vthread-3| I120: Kernel header path  is invalid.
2013-02-11T16:30:07.760+03:00| vthread-3| I120: Found compiler at "/usr/bin/gcc"
2013-02-11T16:30:07.764+03:00| vthread-3| I120: Got gcc version "4.7".
2013-02-11T16:30:07.764+03:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2013-02-11T16:30:07.764+03:00| vthread-3| I120: Using user supplied compiler "/usr/bin/gcc".
2013-02-11T16:30:07.767+03:00| vthread-3| I120: Got gcc version "4.7".
2013-02-11T16:30:07.767+03:00| vthread-3| I120: The GCC version matches the kernel GCC minor version like a glove.
2013-02-11T16:30:07.771+03:00| vthread-3| I120: Trying to find a suitable PBM set for kernel "3.4.6-2.10-desktop".
2013-02-11T16:30:07.771+03:00| vthread-3| I120: No matching PBM set was found for kernel "3.4.6-2.10-desktop".
2013-02-11T16:30:07.771+03:00| vthread-3| I120: Validating path "" for kernel release "3.4.6-2.10-desktop".
2013-02-11T16:30:07.771+03:00| vthread-3| I120: Failed to find /linux/version.h
2013-02-11T16:30:07.771+03:00| vthread-3| I120: Failed version test: /linux/version.h not found.
2013-02-11T16:30:07.773+03:00| vthread-3| I120: Validating path "" for kernel release "3.4.6-2.10-desktop".
2013-02-11T16:30:07.773+03:00| vthread-3| I120: Failed to find /linux/version.h
2013-02-11T16:30:07.773+03:00| vthread-3| I120: Failed version test: /linux/version.h not found.
2013-02-11T16:34:55.262+03:00| vthread-3| I120: Kernel header path retrieved from FileEntry: /lib/modules/3.4.6-2.10-desktop
2013-02-11T16:34:55.262+03:00| vthread-3| I120: Update kernel header path to /lib/modules/3.4.6-2.10-desktop
2013-02-11T16:34:55.262+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:34:55.263+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop/linux/version.h
2013-02-11T16:34:55.263+03:00| vthread-3| I120: Failed version test: /lib/modules/3.4.6-2.10-desktop/linux/version.h not found.
2013-02-11T16:34:55.263+03:00| vthread-3| I120: Kernel header path /lib/modules/3.4.6-2.10-desktop is invalid.
2013-02-11T16:34:57.928+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:34:57.928+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop/linux/version.h
2013-02-11T16:34:57.928+03:00| vthread-3| I120: Failed version test: /lib/modules/3.4.6-2.10-desktop/linux/version.h not found.
2013-02-11T16:35:01.557+03:00| vthread-3| I120: Kernel header path retrieved from FileEntry: /lib/modules/3.4.6-2.10-desktop/
2013-02-11T16:35:01.557+03:00| vthread-3| I120: Update kernel header path to /lib/modules/3.4.6-2.10-desktop/
2013-02-11T16:35:01.557+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop/" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:35:01.557+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop//linux/version.h
2013-02-11T16:35:01.557+03:00| vthread-3| I120: Failed version test: /lib/modules/3.4.6-2.10-desktop//linux/version.h not found.
2013-02-11T16:35:01.557+03:00| vthread-3| I120: Kernel header path /lib/modules/3.4.6-2.10-desktop/ is invalid.
2013-02-11T16:35:02.547+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop/" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:35:02.547+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop//linux/version.h
2013-02-11T16:35:02.547+03:00| vthread-3| I120: Failed version test: /lib/modules/3.4.6-2.10-desktop//linux/version.h not found.
2013-02-11T16:36:05.357+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop/" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:36:05.357+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop//linux/version.h
2013-02-11T16:36:05.358+03:00| vthread-3| I120: Failed version test: /lib/modules/3.4.6-2.10-desktop//linux/version.h not found.
2013-02-11T16:36:09.992+03:00| vthread-3| I120: Validating path  "/lib/modules/3.4.6-2.10-desktop/" for kernel release  "3.4.6-2.10-desktop".
2013-02-11T16:36:09.992+03:00| vthread-3| I120: Failed to find /lib/modules/3.4.6-2.10-desktop//linux/version.h
2013-02-11T16:36:09.992+03:00| vthread-3| I120: Failed version test: /lib/modules/3.4.6-2.10-desktop//linux/version.h not found.
2013-02-11T16:36:16.746+03:00| vthread-3| I120: Kernel header path retrieved from FileEntry: /usr/src
2013-02-11T16:36:16.747+03:00| vthread-3| I120: Update kernel header path to /usr/src
2013-02-11T16:36:16.747+03:00| vthread-3| I120: Validating path "/usr/src" for kernel release "3.4.6-2.10-desktop".
2013-02-11T16:36:16.747+03:00| vthread-3| I120: Failed to find /usr/src/linux/version.h
2013-02-11T16:36:16.747+03:00| vthread-3| I120: Failed version test: /usr/src/linux/version.h not found.
2013-02-11T16:36:16.747+03:00| vthread-3| I120: Kernel header path /usr/src is invalid.

This shows that the headers cannot be found. However, I just don't  know where to point vmware to look for the headers. I have been  struggling with this problem since yesterday. Tried troubleshooting and  nothing has worked. Am desperate to make it work

Thanx in advance.

0 Kudos
3 Replies
mfelker
Expert
Expert

You should use the YaST software management module l and search for "kernel'.  You will find the -devel files there for your kernel.  Unfortuantely even if you do  install the headers  (you may have  done so already) VMware won't find them even though they are there.  If you lookk at the directory in Dolphin  you will see .h files but they will be greyed out.  I haven't found a solution for this - it seems to be a kernel problem although VirtualBox has no problem compiling.

Good luck

0 Kudos
Ytphoid
Contributor
Contributor

Thank you for the reply,

I was able to figure it out with help from this post.

https://bugzilla.novell.com/show_bug.cgi?id=795837

I discovered that I had the following in my /lib/modules directory -  3.4.28-2.20-default, 3.4.28-2.20-desktop and 3.4.6-2.10-desktop,  3.4.6-2.10-default. My kernel was trying to read headers from  3.4.6-2.10-default and yet the headers (version.h) were in  3.4.28-2.20-default. So, I just deleted 3.4.6-2.10-desktop, 3.4.6-2.10-default directories, run vmware again.

I hope this will help someone else in need.

0 Kudos
mfelker
Expert
Expert

Thanks for digging this out! I never thought the problem might be with the Nvidia driver. This might apply to Fedora as well. It will take me a day or two to set this up (as you know playing with video on any OS - including Windows - is a somewhat risky business.

Marty

0 Kudos