-
July 18th, 2010, 02:52 AM
#1
VMware in linux
I've been having a problem with vmware ever since I updated my operating system. I get the following error:
Unable to build kernel module.
See log file /tmp/vmware-root/setup-28093.log for details.
before I even try to load a virtual machine.
This is the contents of the log file:
Jul 17 21:43:55.932: app| Log for VMware Workstation pid=28093 version=6.5.2 build=build-156735 option=Release
Jul 17 21:43:55.932: app| Host codepage=UTF-8 encoding=UTF-8
Jul 17 21:43:55.932: app| Logging to /tmp/vmware-root/setup-28093.log
Jul 17 21:43:57.380: app| Extracting the sources of the vmmon module.
Jul 17 21:43:57.451: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.31-14-generic/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.3
I'm not sure what information you need about my setup to help me out, but I do have Ubuntu 10.04, (yes I know, Ubuntu ), and the software is just vmware player.
-
July 18th, 2010, 03:08 AM
#2
I have had very good luck with VirtualBox in Ubuntu... Not sure if you could import the VM into that environment.
Maybe I am just blind, but the output log does not look very helpful.
\"Those of us that had been up all night were in no mood for coffee and donuts, we wanted strong drink.\"
-HST
-
July 18th, 2010, 03:25 AM
#3
Yea, it didn't look helpful at all to me either, but I wasn't sure if there was something I was missing. I believe I had used Virtual Box before, but I think I had more trouble with some VMs than I did with vmware. I'll try it out again though.
-
July 19th, 2010, 06:23 PM
#4
I assume you've already install the kernel source, gcc, and make?
-
July 19th, 2010, 11:20 PM
#5
The kernel source may be the issue? But I have used the installer, which I'm assuming is equivalent to make. And yes, gcc is installed.
How would I check to see if the kernel source is installed, and if not, how do I install it?
-
July 20th, 2010, 04:42 PM
#6
Make sure the HEADER_DIR variable is pointed to the right kernel
-
July 21st, 2010, 08:48 PM
#7
Can you paste the output of the following commands?:
Code:
uname -a
dpkg -l | grep -E 'linux-(source|image)|make|gcc'
That will help us understand if you have the source kernel source installed as well as understand which kernel package you have installed. (and of course double check that gcc and make are installed correctly and not in some error state)
-
July 25th, 2010, 06:21 PM
#8
Linux laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
Code:
ii devscripts 2.10.61ubuntu5 scripts to make the life of a Debian Package
ii gcc 4:4.4.3-1ubuntu1 The GNU C compiler
ii gcc-4.3 4.3.4-10ubuntu1 The GNU C compiler
ii gcc-4.3-base 4.3.4-10ubuntu1 The GNU Compiler Collection (base package)
ii gcc-4.4 4.4.3-4ubuntu5 The GNU C compiler
ii gcc-4.4-base 4.4.3-4ubuntu5 The GNU Compiler Collection (base package)
ii lib32gcc1 1:4.4.3-4ubuntu5 GCC support library (32 bit Version)
ii libgcc1 1:4.4.3-4ubuntu5 GCC support library
rc linux-image-2.6.28-11-generic 2.6.28-11.42 Linux kernel image for version 2.6.28 on x86
rc linux-image-2.6.28-13-generic 2.6.28-13.45 Linux kernel image for version 2.6.28 on x86
rc linux-image-2.6.28-14-generic 2.6.28-14.47 Linux kernel image for version 2.6.28 on x86
rc linux-image-2.6.28-15-generic 2.6.28-15.49 Linux kernel image for version 2.6.28 on x86
ii linux-image-2.6.31-14-generic 2.6.31-14.48 Linux kernel image for version 2.6.31 on x86
rc linux-image-2.6.31-15-generic 2.6.31-15.50 Linux kernel image for version 2.6.31 on x86
ii linux-image-2.6.31-16-generic 2.6.31-16.53 Linux kernel image for version 2.6.31 on x86
ii linux-image-2.6.31-17-generic 2.6.31-17.54 Linux kernel image for version 2.6.31 on x86
ii linux-image-2.6.31-19-generic 2.6.31-19.56 Linux kernel image for version 2.6.31 on x86
ii linux-image-2.6.31-20-generic 2.6.31-20.58 Linux kernel image for version 2.6.31 on x86
ii linux-image-2.6.32-22-generic 2.6.32-22.36 Linux kernel image for version 2.6.32 on x86
ii linux-image-2.6.32-23-generic 2.6.32-23.37 Linux kernel image for version 2.6.32 on x86
ii linux-image-generic 2.6.32.23.24 Generic Linux kernel image
ii make 3.81-7ubuntu1 An utility for Directing compilation.
ii makedev 2.3.1-89ubuntu1 creates device files in /dev
-
July 26th, 2010, 09:42 PM
#9
Yep I don't see the kernel source installed anywhere.
Try this:
Code:
apt-get update
apt-get install linux-source
Try compiling the modules again. If it still doesn't work then it may not have installed the source for the kernel you're running. As it appears you have two kernels installed (2.6.31 and 2.6.32) but you are only booted into 2.6.31. On my default Lucid install I only see the kernel source package for 2.6.32(And the default kernel is 2.6.32). So you could also try booting into the 2.6.32 kernel you have installed from the grub menu(or whatever bootloader you're using) when your computer is booted (after making sure that the linux-source-2.6.32 package is installed). Then compile again.
-
July 31st, 2010, 04:00 AM
#10
Hmm...for some reason 2.6.32 isn't showing up on my grub menu. Only 2.6.31, 2.6.28, and a few older ones. I believe I am fully updated. Something must've happened to the menu.
Similar Threads
-
By NullDevice in forum Operating Systems
Replies: 1
Last Post: April 13th, 2004, 08:38 PM
-
By gore in forum Operating Systems
Replies: 3
Last Post: March 7th, 2004, 08:02 AM
-
By gore in forum Tech Humor
Replies: 9
Last Post: October 1st, 2003, 08:53 PM
-
By gore in forum Miscellaneous Security Discussions
Replies: 15
Last Post: April 15th, 2003, 02:47 PM
-
By Rewandythal in forum Other Tutorials Forum
Replies: 5
Last Post: December 12th, 2001, 09:29 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|