VMware Communities
milty71
Contributor
Contributor

Linux x64 kernel 3.1.0-rc6 vmware kernel modules want build

Hi there,

I'm trying to install Workstation 8 on linux x64 and I'm getting following errors. Kernel version is 3.1.0-rc6.

Thanks!

depends:        vmci
vermagic:       3.1.0-rc6-core2 SMP preempt mod_unload modversions
Stopping VMware services:
   VMware Authentication Daemon                                        done
   VM communication interface socket family                            done
   Virtual machine communication interface                             done
   Virtual machine monitor                                             done
   Blocking file system                                               failed
2011-09-21T16:34:01.837-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.202-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.205-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.208-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.211-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.213-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.215-05:00| vthread-3| I120: Validating path /lib/modules/preferred/build/include for kernel release 3.1.0-rc6-core2
2011-09-21T16:34:06.215-05:00| vthread-3| I120: Failed to find /lib/modules/preferred/build/include/linux/version.h
2011-09-21T16:34:06.215-05:00| vthread-3| I120: Failed version test: /lib/modules/preferred/build/include/linux/version.h not found.
2011-09-21T16:34:06.215-05:00| vthread-3| I120: Validating path /lib/modules/3.1.0-rc6-core2/build/include for kernel release 3.1.0-rc6-core2
2011-09-21T16:34:06.217-05:00| vthread-3| I120: Your GCC version: 4.6
2011-09-21T16:34:06.225-05:00| vthread-3| I120: Your GCC version: 4.6
2011-09-21T16:34:06.242-05:00| vthread-3| I120: Header path /lib/modules/3.1.0-rc6-core2/build/include for kernel release 3.1.0-rc6-core2 is valid.
2011-09-21T16:34:06.269-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.271-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
2011-09-21T16:34:06.274-05:00| vthread-3| I120: Trying to find a suitable PBM set for kernel 3.1.0-rc6-core2.
0 Kudos
7 Replies
matthewls
Enthusiast
Enthusiast

Right. 3.1x won't compile. I tried the lates (3.1rc9), and both the network and the vmci modules failed to compile.

The good news is that 3.06 compiled and runs perfectly.

PS.

But check this link http://weltall.heliohost.org/wordpress/2011/09/29/vmware-workstationplayer-fix-for-linux-3-1/

It claims a patch will work with WS 8.0 too. Will post if I try it.

(updated to correct link)

0 Kudos
mfelker
Expert
Expert

I can confirm that VMware WS 8 installed correctly on kernel 3.1.0-0.rc9.git0.0.fc16.x86_64!

0 Kudos
mfelker
Expert
Expert

Install of VMware  WS on Ubuntu 11.10 with kernel 3.1.0-0301rc9-generic suceeded and Windows 8 VM ran perfectly.  The only problem was that at the end of the install thre was a kernel panic around the USBArbitrator r not being found ini /etc/init.d/rc2.d but after a cold  restart aaand pallying the reference  patch file all was good.  I expect that I'll be able to iinstall WS 8 on openSUSE 12.1 (beta ) with the 3.1 kernel but will   try tomorrow or the next day.  Great  patch!

marty

0 Kudos
Atmegas
Contributor
Contributor

Marty,

I'm an Opensuse user & as such I'd like to know how your test went.  If it went well for you what did you do?  Did you use the patch mentioned in post #6 of this thread?

http://forums.opensuse.org/forums/english/get-technical-help-here/pre-release-beta/466019-12-1-beta-...

Something else?

We're coming up on RC2 in a couple of days & Final in about 2 weeks any ioput would helpful. Thanks!

0 Kudos
mfelker
Expert
Expert

Yes I used the patch for kernel 3.1 that has been posted.  Works on every 3.1 kernel  have tried (Ubuntu 11.10 , Fedora 16  openSUSE12.1).  Install the bundle as usual <sudo ./workstaion8.bundle> I've forgtooten the  version number for 8 - you can look it up (indeed you have to if your're going to install  it!).  It willl claim the installation  is complete (Doesn't say it will run!!) .  Then immediately  install    the3.1 patch (make sure you've installed the latest compiler and headers for the kernel).They  could be called kernel-develop instea of kerenl-headers - no difference. Run WS - accept the EULA  and enter the product key if you've bought it.

That's'- your're set.

Besides editing my speeling (spell check doesn't seem to work for some reason on these forums)  I should add something I discorvef about uninstalling WS if it fails for some reason (or perhapls you've upgdrade).  KB 38 doesn't cover the newer WS version ( 8 at least - pehaps 7) Runninig /usr/bin/vmware-installer -u vmware-wrokstation won't completely do the trick.  Some modules will still be running and can't be deleted because they are in use <permananet>  in lsmod | grep vm*).  You also need to deletre files /var/run/vmware and reboot. I just discovered this recently.

0 Kudos
matthewls
Enthusiast
Enthusiast

The patch I mentioned (http://weltall.heliohost.org/wordpress/2011/09/29/vmware-workstationplayer-fix-for-linux-3-1/) worked perfectly. I'm running VMware workstaiton 8 on 3 Ubuntu 10.10 machines with kernel 3.1 (3.1.0-030100-generic), with linux, winxp64, win7-64, and linux32 and 64  guests.

I had to change the error routine, 'cause the version was rejected incorrectly:

#error()
#{
#    echo "$*. Exiting"
#    exit
#}

0 Kudos
mfelker
Expert
Expert

If using kernel 3,1.x as I suppose you are tdhan I just downloads the WS bundle (made it executable (chmod +x WS8 bundle. Again I'm not specifying the build number but obviously its in the file name. I could (and did) run the installation script using sudo at first but in SUSE only I but found to my annoyance that it brought up the EULA in text mode and you had to scroll down to accept it - easy to pass the yes/no accept question and then you have to start from the top. So I find you can run the .bundle using root itself (su, root passwd) just briefly for this purpose). If you do this you'll need to change the login name to the server from root to your username - it that 's what you want - or another user). If you install from the command line (first option) the login name will default lo your userid - but of course you can change that as well. Then I immediately apply the patch for 3.1 BEFORE trying to run the vmware command. When you run the vmware command or click on the icon WS will run as the script indicates. You'll need to accept the EULA and then WS 8 GUI is fully functionable . Enter your license key if you've bought the product.

0 Kudos