Jaunty + VMWare Server issues

Discussion in 'Other Operating Systems' started by CaveDog, Apr 30, 2009.

  1. CaveDog

    CaveDog Member

    Joined:
    Aug 16, 2001
    Messages:
    527
    Location:
    3131.melbourne.vic.au
    Hello all,
    Recently (a few months ago) I discovered Ubuntu and have had a slippery slide into loving to use it on my laptop.

    I just upgraded to 9.04, and have attempted to re-install VMWare Server, and have struck a issue. I dont remember this issue being in 8.04 or 8.10 so I think it might be a version problem...

    When I try and run the vmware-install.pl file, it has a error about the vmmon module. (see below)

    Code:
    Unable to build the vmmon module.
    
    For more information on how to troubleshoot module-related problems, please 
    visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
    "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
    
    Execution aborted.
    
    I followed the instructions on the site:
    http://www.vmware.com/download/modules/modules.html
    and downloaded the any-any patch. I ran it, and now it has much the same error.

    Code:
    None of the pre-built vmmon modules for VMware Server is suitable for your 
    running kernel.  Do you want this program to try to build the vmmon module for 
    your system (you need to have a C compiler installed on your system)? [yes] 
    
    Using compiler "/usr/bin/gcc". Use environment variable CC to override.
    
    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.28-11-generic/build/include] 
    
    Extracting the sources of the vmmon module.
    
    Building the vmmon module.
    
    Building for VMware Server 1.0.0.
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config0/vmmon-only'
    make -C /lib/modules/2.6.28-11-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
      CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:21,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.c:53:
    /tmp/vmware-config0/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
    In file included from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/fixmap_32.h:29,
                     from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/fixmap.h:5,
                     from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/apic.h:8,
                     from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/smp.h:13,
                     from include/linux/smp.h:30,
                     from include/linux/topology.h:33,
                     from include/linux/mmzone.h:763,
                     from include/linux/gfp.h:4,
                     from include/linux/kmod.h:22,
                     from include/linux/module.h:13,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.c:16:
    /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config0/vmmon-only/./include/x86.h:24,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.h:15,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.c:53:
    /tmp/vmware-config0/vmmon-only/./include/x86paging.h:61:1: warning: "PTE_PFN_MASK" redefined
    In file included from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/paravirt.h:7,
                     from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/irqflags.h:55,
                     from include/linux/irqflags.h:57,
                     from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/system.h:11,
                     from /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/processor.h:17,
                     from include/linux/prefetch.h:14,
                     from include/linux/list.h:6,
                     from include/linux/module.h:9,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.c:16:
    /usr/src/linux-headers-2.6.28-11-generic/arch/x86/include/asm/page.h:22:1: warning: this is the location of the previous definition
    In file included from /tmp/vmware-config0/vmmon-only/linux/vmhost.h:13,
                     from /tmp/vmware-config0/vmmon-only/linux/driver.c:84:
    /tmp/vmware-config0/vmmon-only/./include/compat_semaphore.h:5:27: error: asm/semaphore.h: No such file or directory
    /tmp/vmware-config0/vmmon-only/linux/driver.c:171: error: unknown field ‘nopage’ specified in initialiser
    /tmp/vmware-config0/vmmon-only/linux/driver.c:172: warning: initialisation from incompatible pointer type
    /tmp/vmware-config0/vmmon-only/linux/driver.c:175: error: unknown field ‘nopage’ specified in initialiser
    /tmp/vmware-config0/vmmon-only/linux/driver.c:176: warning: initialisation from incompatible pointer type
    /tmp/vmware-config0/vmmon-only/linux/driver.c: In function ‘__LinuxDriver_Ioctl’:
    /tmp/vmware-config0/vmmon-only/linux/driver.c:1781: error: too many arguments to function ‘smp_call_function’
    make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config0/vmmon-only'
    Unable to build the vmmon module.
    
    For more information on how to troubleshoot module-related problems, please 
    visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
    "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
    
    Execution aborted.
    
    Excuse me if its a simple solution, but does anyone know what might be going wrong?
     
  2. HyRax1

    HyRax1 ¡Viva la Resolutión!

    Joined:
    Jun 28, 2001
    Messages:
    7,880
    Location:
    At a desk
    This won't answer your problem, but do you need to use VMWare? I personally find Virtualbox a much better desktop virtualisation solution, and it can read VMWare images too. Currently no major issues under Jaunty for me.
     
  3. kingborel

    kingborel Member

    Joined:
    Jul 30, 2006
    Messages:
    492
    I recall having a similar issue running VMware on Intrepid, but I must have gotten around it somehow as it's been running fine for a few months now. When I get home i'll have a look through some stuff in my home dir
     
  4. downforce

    downforce Member

    Joined:
    Jun 11, 2007
    Messages:
    1,202
    Location:
    Thornlie, WA
    Ahhh the pain.

    Just went through the same issue myself.

    I used so many patches/fixes I can't even remember which one actually worked.

    Here is one for kernel 2.6.29:
    http://communities.vmware.com/servl...-workstation-6.5.1.126130-2.6.29_x86_64.patch

    Plus the any-any patches:
    http://groups.google.com/group/vmkernelnewbies/files?pli=1


    I had kernel 2.6.28 and was using VMWare Server 1.0.9 so used first:
    http://www.insecure.ws/2009/04/21/vmware-specific-specific-55x-and-kernel-2629
    then
    vmware-any-any-117d

    Good luck!
     
  5. ir0nhide

    ir0nhide Member

    Joined:
    Oct 24, 2003
    Messages:
    4,210
    Location:
    Adelaide
    It installed on intrepid just fine for me.

    @OP; why are you building vmware server 1.0.0? get version 2.0 and try it again (unless the naming is silly and you're trying to install 2.0 already).
     

Share This Page

Advertisement: