I have a new openSUSE 12.3 installation and I just installed VMware workstation 9.0.1 and it won’t load because it can’t find the kernel headers. I beleive that the problem may be that it is looking for 3.7.10-1.1 and my kernel version is 3.7.10-1.16 but I don’t know what to do about it. I have done a lot of searching on the web for this problem and have installed the kernel-source, kernel-syms, gcc and make modules as suggested in one post, but it didn’t fix the problem. Someone else suggested that I might have installed the wrong versions, so I checked and I had installed 3.7.10-1.16. I had the option of installing 3.7.10-1.1.1 which was as close as I could get to 3.7.10-1.1, so I tried that but again it didn’t work. Does anyone have any other suggestions?
nlgootee wrote:
>
> I have a new openSUSE 12.3 installation and I just installed VMware
> workstation 9.0.1 and it won’t load because it can’t find the kernel
> headers. I beleive that the problem may be that it is looking for
> 3.7.10-1.1 and my kernel version is 3.7.10-1.16 but I don’t know what to
> do about it. I have done a lot of searching on the web for this problem
> and have installed the kernel-source, kernel-syms, gcc and make modules
> as suggested in one post, but it didn’t fix the problem. Someone else
> suggested that I might have installed the wrong versions, so I checked
> and I had installed 3.7.10-1.16. I had the option of installing
> 3.7.10-1.1.1 which was as close as I could get to 3.7.10-1.1, so I tried
> that but again it didn’t work. Does anyone have any other suggestions?
>
>
Shouldn’t you install devel packages like kernel-desktop-devel ?
–
GNOME 3.6.2
openSUSE Release 12.3 (Dartmouth) 64-bit
Kernel Linux 3.7.10-1.16-desktop
Yes, I installed that one too.
Open YaST / Software / Software Management - Select the View Button on the top left and pick Patterns. Now, you will see several Patterns listed and you want to select:
Development
[X] Base Development
[X] Linux Kernel Development
[X] C/C++ Development
Then Press the Accept button on the bottom right and allow these applications to install.
Thank You,
That didn’t solve the problem, but it did move things along. VMware still couldn’t find the headers but I noticed that some new folders were created that were needed to try some other solutions that I found yesterday that wouldn’t run when I tried them. This is a line of code that I had to modify slightly to conform to my path, but after I ran it, VMware apparently could find the headers.
sudo ln -s /usr/src/linux-3.7.10-1.1-obj/i586/desktop/include/generated/uapi/linux /usr/src/linux-3.7.10-1.1-obj/i586/desktop/include/
Then when I tried to run VMware workstation I got this message:
“Before you can run VMware,several modules must be compiled and loaded into the running kernel.”
When I click the install button, I get this:
Cannot execute command’
“"/usr/bin/vmware-modconfig’"–
icon=‘"vmware-workstation’"–
appname=‘"VMware’"”
/usr/bin/vmware-modconfig’ is a file with the following in it. It does not have the words icon or appname, so I am at a loss.
#!/usr/bin/env bash
Copyright 2005-2008 VMware, Inc. All rights reserved.
Wrapper for the real binary. Ensure that the binary will find all
the shared libraries it needs. If a shared library is not available
from any of the standard system-wide locations, we provide it from
the location where the VMware software is installed.
set -e
ETCDIR=/etc/vmware
. $ETCDIR/bootstrap
VMISETCDIR=/etc/vmware-installer
. $VMISETCDIR/bootstrap
libdir=“$LIBDIR”/vmware
export VMWARE_INSTALLER
args=“”
uiType=“”
useConsole=0
Process the Args first and look for --console. If its there,
then remove it and set uiType=-console
for i in “$@”; do
if “$i” = ‘–console’ ]; then
useConsole=1
else
args=“$args $i”
fi
done
if -z “$DISPLAY” ] || “$useConsole” = 1 ]; then
uiType=“-console”
else
args=“–launcher=$0 $args”
fi
RHEL doesn’t include /sbin in PATH when su’ed which is needed for modinfo
XXX: check for it before adding it
export PATH=“/sbin:${PATH}”
exec “$libdir”/bin/vmware-modconfig$uiType $args
So the file you mention may not be marked as executable since it looks like a script. You can use your file manager, located the file, right click on the file and check its properties and see if it is set as executable. I do not use VMWARE myslef and don’t know much about how it works. I am inclined to think you need to reinstall it again perhaps and to make sure you are following the installtion guide correctly. In all cases, a VMWARE forum is the best place to ask for help about VMWARE problems, as this seems to be.
Thank You,
Thanks again for the help that you did give me. I did a search for a vmware patch and found a link that looked like it had what I need, but when I went there I got: VMware Community platform, including VMTN, is temporarily unavailable. I am really starting to believe that VMware workstation is a POS but unfortunately I don’t have a choice about using it. The person who talked my boss into using it in the first place is out sick, so I have been trying to figure it out for myself.
As for this error:
Cannot execute command'
"\"/usr/bin/vmware-modconfig'\"--
icon='\"vmware-workstation'\"--
appname='\"VMware'\""
It will not be resolved by by making the script executable. If you do and try to run it you it will likely fail with “Icon name must be set.”
The solution is to just run vmware as root, which will then build and install the kernel modules. Then exit and run it as a normal user.
Yep, it’s that dump.
It also won’t build against newer kernels (newer than 3.7 I think?)
For these and other reasons, I typically use VirtualBox instead.
That worked! Thank you very much. I wish we used VirtualBox, we used to but our new IT guy decided that we needed to change.
vmware-9.0.2 ( The OP used 9.0.1 due to some unknown reason) builds fine against 3.7.10.
For (re)building the kernel modules I 'am usually using vmware-modconfig --console --install-all ( as root) .
It may have been 3.9 which it would not build against, sorry it was a few weeks back on another system.
I’ve found running vmware-modconfig as root results in “missing icon”, but perhaps the --console switch resolves this? If so that would be a bit nicer than having to run it as root to launch the module builder.
9.0.2 also builds fine against 3.10 for me and I also had no problems with 3.9, 9.0.1 is too old for 12.3 because it isn’t aware of the move of version.h, which happened with kernel 3.7.
I now have VMware installed and have created a vm but when I try to load it, I get a screen that asks for a valid license key but it won’t let me enter it. I have tried starting it as root, but with the same result. Was this something that should have been entered during the install?
How does one go about this for VMWare Player? I am a home user. I have a similar error to the one above.
For vmware workstation, I logged in as root and then started the workstation. Then I shut it down and logged in as myself. I don’t know if it will work the same for the player.
Yep, it worked the same. You just type:
su vmplayer
It will automatically start up (after you type in root password) and do it’s thing. After it’s done setting itself up, just run it as normal.