Results 1 to 10 of 10

Thread: VMware in linux

  1. #1
    Senior Member
    Join Date
    Apr 2005
    Location
    USA
    Posts
    422

    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.

  2. #2
    Gonzo District BOFH westin's Avatar
    Join Date
    Jan 2006
    Location
    SW MO
    Posts
    1,187
    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

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Location
    USA
    Posts
    422
    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.

  4. #4
    Junior Member
    Join Date
    Apr 2004
    Location
    United States
    Posts
    24
    I assume you've already install the kernel source, gcc, and make?

  5. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    USA
    Posts
    422
    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?

  6. #6
    Senior Member SnugglesTheBear's Avatar
    Join Date
    Jun 2010
    Posts
    133
    Make sure the HEADER_DIR variable is pointed to the right kernel

  7. #7
    Junior Member
    Join Date
    Apr 2004
    Location
    United States
    Posts
    24
    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)

  8. #8
    Senior Member
    Join Date
    Apr 2005
    Location
    USA
    Posts
    422
    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

  9. #9
    Junior Member
    Join Date
    Apr 2004
    Location
    United States
    Posts
    24
    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.

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    USA
    Posts
    422
    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

  1. Fork in Linux Road?
    By NullDevice in forum Operating Systems
    Replies: 1
    Last Post: April 13th, 2004, 08:38 PM
  2. The history of the Mac line of Operating systems
    By gore in forum Operating Systems
    Replies: 3
    Last Post: March 7th, 2004, 08:02 AM
  3. Evolution of a Linux User
    By gore in forum Tech Humor
    Replies: 9
    Last Post: October 1st, 2003, 08:53 PM
  4. found my IP and knocking me off IRC
    By gore in forum Miscellaneous Security Discussions
    Replies: 15
    Last Post: April 15th, 2003, 02:47 PM
  5. Installing Linux
    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
  •