LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-08-2014, 04:24 AM   #1
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Stretch
Posts: 928

Rep: Reputation: 80
VMPlayer 3.1.6 - can't compile modules


I used to have VMPlayer 3.1.4 on Lubuntu and it worked fine for more than a year. I just migrated to Debian 7.7 and installed VMPlayer 3.1.6. I have to use an old version because VMPlayer 4.0 and later does not support 32-bit machines. It supports 32-bit systems, but the processor has to be 64-bit, which I don't have. 4.0 and later flat out refuse to install on my machine.

Anyway, 3.1.6 installed, but then it has to compile the modules to work, which it cannot do for some reason. I have installed build-essential, but something else is not working. The log file contains this:

Code:
Nov 07 23:29:47.214: app-3076605632| Log for VMware Workstation pid=21609 version=7.1.6 build=build-744570 option=Release
Nov 07 23:29:47.214: app-3076605632| The process is 32-bit.
Nov 07 23:29:47.214: app-3076605632| Host codepage=UTF-8 encoding=UTF-8
Nov 07 23:29:47.214: app-3076605632| Logging to /tmp/vmware-root/setup-21609.log
Nov 07 23:29:47.417: app-3076605632| modconf query interface initialized
Nov 07 23:29:47.419: app-3076605632| modconf library initialized
Nov 07 23:29:47.494: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.494: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.499: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.499: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:47.515: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.516: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.520: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.520: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:47.553: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.553: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.562: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.562: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:47.657: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.657: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.662: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.662: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:47.682: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.682: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.687: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.687: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:47.819: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.831: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.842: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.853: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.865: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.907: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.918: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.930: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.941: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.952: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:47.963: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.963: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.968: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.968: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:47.988: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:47.988: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:47.994: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:47.994: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:48.136: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.149: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.161: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.173: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.185: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.196: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:48.196: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:48.201: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:48.201: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:48.224: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:48.224: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:48.229: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:48.229: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:48.391: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.403: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.414: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.425: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:48.437: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:49.001: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 07 23:29:49.002: app-3076605632| Building module vmmon.
Nov 07 23:29:49.002: app-3076605632| Extracting the sources of the vmmon module.
Nov 07 23:29:49.032: app-3076605632| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-4-686-pae/build/include CC=/usr/bin/gcc-4.6 GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
Nov 07 23:29:53.190: app-3076605632| Failed to compile module vmmon!
 
Old 11-08-2014, 05:24 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,332

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Code:
Nov 07 23:29:48.224: app-3076605632| Your GCC version: 4.7
Nov 07 23:29:48.224: app-3076605632| Searching for GCC 4.6.
Nov 07 23:29:48.229: app-3076605632| Kernel compiled with: GCC 4.6
Nov 07 23:29:48.229: app-3076605632| Your GCC version: 4.6
Nov 07 23:29:48.391: app-3076605632| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
I don't like either of those errors. Google the one about PBM sets. The only PBM I know of is a picture format.

If you compiled your kernel on gcc-4.6 and are now using gcc-4.7, best to back up the config, run make mrproper and rebuild the kernel & modules. Install them, and then build your module.
 
Old 11-08-2014, 06:45 AM   #3
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Stretch
Posts: 928

Original Poster
Rep: Reputation: 80
I didn't compile this kernel, it's the stock kernel that ships with Debian Wheezy. I also used the stock kernel with Lubuntu.
 
Old 11-08-2014, 09:19 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,332

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Your stock kernel seems to have been compiled with gcc-4.6

You are now trying to compile an extra module, and it can only find gcc-4.7. That's the problem.

I suggested recompiling your kernel just to get it done with your compiler, and then build your module once you are running on that new kernel. The choice is entirely yours.
 
Old 11-08-2014, 10:01 AM   #5
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Stretch
Posts: 928

Original Poster
Rep: Reputation: 80
Recompiling the kernel is a nightmare I am definitely not willing to go through. I don't quite believe that VMWare would release a version that required everyone to recompile their kernel when 3.1.6 was released. There must be some other way.

I uninstalled gcc-4.7. I already had gcc-4.6. I retried it and got pretty much the very same error:

Nov 08 13:57:23.333: app-3076646592| Log for VMware Workstation pid=505 version=7.1.6 build=build-744570 option=Release
Nov 08 13:57:23.333: app-3076646592| The process is 32-bit.
Nov 08 13:57:23.333: app-3076646592| Host codepage=UTF-8 encoding=UTF-8
Nov 08 13:57:23.333: app-3076646592| Logging to /tmp/vmware-root/setup-505.log
Nov 08 13:57:23.580: app-3076646592| modconf query interface initialized
Nov 08 13:57:23.588: app-3076646592| modconf library initialized
Nov 08 13:57:23.659: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:23.684: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:23.684: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:23.704: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:23.712: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:23.712: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:23.984: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:23.992: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:23.992: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:24.100: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:24.105: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:24.106: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:24.121: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:24.126: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:24.126: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:25.515: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.531: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.542: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.554: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.565: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.610: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.622: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.633: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.645: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.656: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.662: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:25.667: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:25.668: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:25.683: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:25.688: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:25.688: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:25.827: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.839: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.851: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.862: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.874: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:25.879: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:25.884: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:25.884: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:25.900: app-3076646592| Searching for GCC 4.6.
Nov 08 13:57:25.905: app-3076646592| Kernel compiled with: GCC 4.6
Nov 08 13:57:25.905: app-3076646592| Your GCC version: 4.6
Nov 08 13:57:26.068: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:26.080: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:26.092: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:26.103: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:26.115: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:26.875: app-3076646592| Trying to find a suitable PBM set for kernel 3.2.0-4-686-pae.
Nov 08 13:57:26.877: app-3076646592| Building module vmmon.
Nov 08 13:57:26.877: app-3076646592| Extracting the sources of the vmmon module.
Nov 08 13:57:26.927: app-3076646592| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/3.2.0-4-686-pae/build/include CC=/usr/bin/gcc-4.6 GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.6
Nov 08 13:57:33.509: app-3076646592| Failed to compile module vmmon!

See?
 
Old 11-08-2014, 10:48 AM   #6
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Stretch
Posts: 928

Original Poster
Rep: Reputation: 80
Well, after much googling, as usual, I found a patch, not provided by VMWare but by some obscure site, as usual:

http://weltall.heliohost.org/wordpre...l-3-2-and-3-3/

The patch worked very well. VMPlayer 3.1.6 is running. I even ran my virtual machine to make sure it works.

Only one teeny tiny caveat: I edited the patch-modules_3.2.0.sh file and changed the version from 3.1.5 to 3.1.6 in line 8, as instructed by another site, not related to VMWare, as usual.

This is the fourth or fifth time I ever install VMWare stuff. It NEVER worked on the first attempt, I ALWAYS had to rely on some patch provided by some generous third-party. I would love to kiss it good-bye and use VirtualBox, but VB is so horribly slow it's unusable to me.

Getting off my soap box now. Plenty of other things to do.
 
Old 11-08-2014, 11:11 AM   #7
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,332

Rep: Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143Reputation: 1143
Glad you are working, seem to have been on the wrong track. Recompiling when you have the config, however, is painless. The config usually exists as /boot/config-version, where version is your kernel version. It's simply

cd linux-kernel_version
make mrproper
cp /boot/config-Kernel_version .config
make

Glad you're sorted. I have VB, it's not that slow, but I have plenty of ram. and I had issues getting the kernel modules sorted there too.
 
1 members found this post helpful.
Old 10-10-2018, 06:31 AM   #8
Paul Berti
LQ Newbie
 
Registered: Oct 2018
Posts: 6

Rep: Reputation: Disabled
Smile patches needed for VMPlayer 3.1.6

Dear lucmove, I greatly appreciate you help.
I am unable to get the patches needed for VMPlayer 3.1.6.
The problem is that weltall.heliohost.org is suspended.
After much googling I still cannot find this patch: patch3031vmware741.patch.
Can you kindly make it available or send it to me?
Thank you very much!


Quote:
Originally Posted by lucmove View Post
Well, after much googling, as usual, I found a patch, not provided by VMWare but by some obscure site, as usual:

http://weltall.heliohost.org/wordpre...l-3-2-and-3-3/

The patch worked very well. VMPlayer 3.1.6 is running. I even ran my virtual machine to make sure it works.

Only one teeny tiny caveat: I edited the patch-modules_3.2.0.sh file and changed the version from 3.1.5 to 3.1.6 in line 8, as instructed by another site, not related to VMWare, as usual.

This is the fourth or fifth time I ever install VMWare stuff. It NEVER worked on the first attempt, I ALWAYS had to rely on some patch provided by some generous third-party. I would love to kiss it good-bye and use VirtualBox, but VB is so horribly slow it's unusable to me.

Getting off my soap box now. Plenty of other things to do.
 
Old 10-10-2018, 06:56 PM   #9
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Stretch
Posts: 928

Original Poster
Rep: Reputation: 80
Hello, Paul. Short answer: no, I don't have it. Sorry.

I still have a lot of old junk in my HD, but I believe I don't have that patch anymore. I found an archive named
vmware716fixlinux340
which contains
patch-modules_3.4.0.sh
vmware-716-kernel34.patch

I found it in a directory named 'patch-3.1.6-for-kernel-3.2.0-35', but its contents seem to refer to version 7. That must be some mess I made while I desperately tried to make the damn thing work. It's old stuff that I might as well have deleted by now but survived for some reason.

If you think that might be useful, I can send it to you.

Do you really have to use 3.1.6? I've used several newer versions since that, using version 14 now. Version 7 and later have worked for me out of the box. No patches.

Let me know.
 
Old 10-11-2018, 09:12 AM   #10
Paul Berti
LQ Newbie
 
Registered: Oct 2018
Posts: 6

Rep: Reputation: Disabled
Hi,thanks for your answer.
Yes, I have to use that version because I have an old 32 bit machine. The newer versions need a 64 bit.
Well, I don't think that patch will work, so don't bother sending it.


Quote:
Originally Posted by lucmove View Post
Hello, Paul. Short answer: no, I don't have it. Sorry.

I still have a lot of old junk in my HD, but I believe I don't have that patch anymore. I found an archive named
vmware716fixlinux340
which contains
patch-modules_3.4.0.sh
vmware-716-kernel34.patch

I found it in a directory named 'patch-3.1.6-for-kernel-3.2.0-35', but its contents seem to refer to version 7. That must be some mess I made while I desperately tried to make the damn thing work. It's old stuff that I might as well have deleted by now but survived for some reason.

If you think that might be useful, I can send it to you.

Do you really have to use 3.1.6? I've used several newer versions since that, using version 14 now. Version 7 and later have worked for me out of the box. No patches.

Let me know.
 
Old 07-13-2019, 05:50 AM   #11
Paul Berti
LQ Newbie
 
Registered: Oct 2018
Posts: 6

Rep: Reputation: Disabled
Smile

Hi Lucmove, I returned to this problem. After many tries I could not find a solution. Can you send to me the patches you found, if you still have them? Thanks for your kindness.
 
Old 07-19-2019, 07:09 PM   #12
lucmove
Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian Stretch
Posts: 928

Original Poster
Rep: Reputation: 80
Hi. I have uploaded the files here:
https://ufile.io/0ujubie3
and here, just in case:
https://www.zeta-uploader.com/en/browse/1159976525

Sorry I took so long to reply. I checked my email and I don't think I ever got a notification of your latest comment.

Please note that this is very old stuff that I should actually have deleted a long time ago. If it doesn't work, I can't help you. I use a much newer version now, with no patches.

Let me know if you can't fetch it.
 
  


Reply

Tags
vmplayer, vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
can't compile modules willyweedle Linux - General 2 06-16-2007 03:35 PM
didnt compile as modules, a way to get modules? android6011 Linux - General 6 09-06-2006 08:38 PM
compile or modules? redjokerx Linux - General 3 01-27-2005 12:08 AM
Compile Error- /lib/modules/extra/modules.dep UpChuck Debian 2 01-11-2004 10:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration