Page 6 of 7 FirstFirst ... 4567 LastLast
Results 51 to 60 of 69

Thread: VMWare Server 2 on 11.04 Natty Narwhal

  1. #51
    Join Date
    Jun 2011
    Beans
    1

    Re: VMWare Server 2 on 11.04 Natty Narwhal

    When I try to run the script I get the following error:
    Code:
    In file included from include/linux/gfp.h:4:0,
                     from include/linux/kmod.h:22,
                     from include/linux/module.h:13,
                     from include/linux/miscdevice.h:3,
                     from /home/florian/Downloads/vmware/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.c:26:
    include/linux/mmzone.h:1056:19: error: expected identifier or ‘(’ before ‘unsigned’
    include/linux/mmzone.h:1056:19: error: expected ‘)’ before ‘<’ token
    include/linux/mmzone.h:1076:0: warning: "pfn_to_nid" redefined
    include/linux/mmzone.h:928:0: note: this is the location of the previous definition
    make[2]: *** [/home/florian/Downloads/vmware/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Fehler 1
    make[1]: *** [_module_/home/florian/Downloads/vmware/vmware-server-distrib/lib/modules/source/vmci-only] Fehler 2
    make: *** [vmci.ko] Fehler 2
    There is a problem compiling the vmci module after it was patched. :(

  2. #52
    Join Date
    Nov 2008
    Location
    Bangalore, India
    Beans
    638

    Angry Re: VMWare Server 2 on 11.04 Natty Narwhal

    Hi
    I have successfully installed the Vmware server in ubuntu 11.04.
    I could not able to install the windows.
    I do have the ISO image stored in a separate partition.
    I have given the file path location, and error message comes file not found.
    I could not able to map it to use the image for installation.
    can you please help me ?
    where there is a will there is a way.LOOSUPAYA twitterFollow me

  3. #53
    Join Date
    Jul 2011
    Beans
    1

    Re: VMWare Server 2 on 11.04 Natty Narwhal

    i've been running into similar problems in 10.04 64 bit OS


    root@ram:/home/chrisd/vmsrv/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
    You have VMware Server archive:
    VMware-server-2.0.2-203138.x86_64.tar.gz
    Checking for needed packages on Ubuntu
    You do have the linux-headers-2.6.39.4 package...
    You do have the build-essential package...
    You do have the patch package...
    Found .tar file for vmmon-temp module
    Found .tar file for vmci-temp module
    Found .tar file for vsock-temp module
    Found .tar file for vsock module
    Found .tar file for vmci module
    Found .tar file for vmmon module
    Found .tar file for vmnet module
    Found .tar file for vmnet-temp module
    Extracting .tar files in order to apply the patch...
    Untarring /home/chrisd/vmsrv/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmmon-temp.tar
    vmmon-temp.tar tarball failed to extract in the directory vmmon-temp-only.

  4. #54
    Join Date
    Feb 2007
    Beans
    11

    Re: VMWare Server 2 on 11.04 Natty Narwhal

    Quote Originally Posted by theprogrammer12 View Post
    When I try to run the script I get the following error:
    Code:
    In file included from include/linux/gfp.h:4:0,
                     from include/linux/kmod.h:22,
                     from include/linux/module.h:13,
                     from include/linux/miscdevice.h:3,
                     from /home/florian/Downloads/vmware/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.c:26:
    include/linux/mmzone.h:1056:19: error: expected identifier or ‘(’ before ‘unsigned’
    include/linux/mmzone.h:1056:19: error: expected ‘)’ before ‘<’ token
    include/linux/mmzone.h:1076:0: warning: "pfn_to_nid" redefined
    include/linux/mmzone.h:928:0: note: this is the location of the previous definition
    make[2]: *** [/home/florian/Downloads/vmware/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Fehler 1
    make[1]: *** [_module_/home/florian/Downloads/vmware/vmware-server-distrib/lib/modules/source/vmci-only] Fehler 2
    make: *** [vmci.ko] Fehler 2
    There is a problem compiling the vmci module after it was patched. :(


    I got same error, is there any solution available?

  5. #55
    Join Date
    Oct 2011
    Beans
    1

    Lightbulb Re: VMWare Server 2 on 11.04 Natty Narwhal -> kernel headers error

    Hey sirusdv!

    I am quiet a noob and I like to thank you a lot for sharing your script! Very useful. And I guess it was a lot of work. Also I like to thank the other posters for sharing some more or less useful info.

    So here's my mustard to the topic:

    raduco* 's script works perfectly for my system which is Ubuntu 11.04 64bit with all recent updates.

    I didn't use the attachment presented in this forum it, still installation works perfectly.

    The contents of the raduco*.tar presented on: https://help.ubuntu.com/community/VMware/Server need to be in the same folder as your VMWare-Server-*.tar.gz in my case: VMware-server-2.0.2-203138.x86_64.tar.gz

    I think it's needed to have xinetd or a equal service installed BEFORE you start the installation.
    Also I used the following instructions I took from
    http://blog.dixo.net/2006/06/05/inst...dapper-drake/:
    I did so because I once had problems with the installer finding the kernel-headers (the *.h files, I think)

    sudo apt-get install build-essential
    The install wants inetd or xinetd, I went with xinetd…
    sudo apt-get install xinetd
    Now get your kernel version with uname
    uname -a
    Linux hostname 2.6.15-23-server ...

    Use that info to fetch the kernel headers you need
    sudo apt-get install linux-headers-2.6.15-23-server
    I found it useful to go and symlink the headers to the place the VMWare installer expects to find them
    cd /usr/src/
    sudo ln -s linux-headers-2.6.15-23-server linux
    So after that part I just continued the normal instructions given in raduco*.tar/README and VMServer is running:


    Code:
    /etc/init.d/vmware status
    Bridged networking on /dev/vmnet0 is running
    Host network detection is not running
    Host-only networking on /dev/vmnet1 is running
    DHCP server on /dev/vmnet1 is not running
    Host-only networking on /dev/vmnet8 is running
    DHCP server on /dev/vmnet8 is not running
    NAT networking on /dev/vmnet8 is running
    Module vmmon loaded
    Module vmnet loaded
    So I hope this additions can help some of you a bit to get VMware-server running on a system like mine.

    Greets,

    *cyber-charon*

    -----------------------------------------------------------------------
    Bin ich schon drin?

  6. #56
    Join Date
    Aug 2011
    Beans
    1

    Re: VMWare Server 2 on 11.04 Natty Narwhal

    hello,

    I am trying to insBuilding the vmmon module.

    Using 2.6.x kernel build system.
    make: Entrando no diretório `/tmp/vmware-config2/vmmon-only'
    make -C /lib/modules/3.0.0-12-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entrando no diretório `/usr/src/linux-headers-3.0.0-12-generic'
    CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config2/vmmon-only/linux/driver.c:31:0:
    /tmp/vmware-config2/vmmon-only/./include/compat_wait.h:78:13: erro: conflicting types for ‘poll_initwait’
    include/linux/poll.h:72:13: nota: previous declaration of ‘poll_initwait’ was here
    /tmp/vmware-config2/vmmon-only/linux/driver.c:39:28: erro fatal: linux/smp_lock.h: Arquivo ou diretório não encontrado
    compilação terminada.
    make[2]: ** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Erro 1
    make[1]: ** [_module_/tmp/vmware-config2/vmmon-only] Erro 2
    make[1]: Saindo do diretório `/usr/src/linux-headers-3.0.0-12-generic'
    make: ** [vmmon.ko] Erro 2
    make: Saindo do diretório `/tmp/vmware-config2/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/go/unsup-linux-products" and
    "http://www.vmware.com/go/unsup-linux-tools".

    Execution aborted.
    tall ubuntu VMServer in 11.10, but stopped in the code below. I can not move, someone has a tip?

  7. #57
    Join Date
    Dec 2011
    Beans
    2

    Red face Re: VMWare Server 2 on 10.04

    Quote Originally Posted by kgb_hc View Post
    Edit:
    Disregard this post, I will start my own thread for it. Sorry for unnecessarily bumping it.


    Hi,
    I have been trying to install VMware server for a few days now, following various guides and using different patching solutions. But no matter what I try, I always get some error message at the end. Right now I get the error message described below.

    I'm using the latest Ubuntu server LTS, 10.04.2, with Kernel 2.6.32-31-generic on x86_64. Trying to install VMWare server 2.0.2-203138.

    Code:
    You have VMware Server archive:
            VMware-server-2.0.2-203138.x86_64.tar.gz
    Checking for needed packages on Ubuntu
    You do have the linux-headers-2.6.32-31-generic package...
    You do have the build-essential package...
    You do have the patch package...
    Extracting the contents of VMware-server-2.0.2-203138.x86_64.tar.gz
    Found .tar file for vmci module
    Found .tar file for vmnet module
    Found .tar file for vmmon module
    Found .tar file for vsock module
    Extracting .tar files in order to apply the patch...
    Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmci.tar
    Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmnet.tar
    Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmmon.tar
    Untarring /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vsock.tar
    Testing patch...
    Creating some simlinks for the newer kernels...
    ln: creating symbolic link `/usr/src/linux-headers-2.6.32-31-generic/include/linux/autoconf.h': File exists
    ln: creating symbolic link `/usr/src/linux-headers-2.6.32-31-generic/include/linux/utsrelease.h': File exists
    Applying patch...
    Preparing new tar file for vmci module
    Preparing new tar file for vmnet module
    Preparing new tar file for vmmon module
    Preparing new tar file for vsock module
    Checking that the compiling will succeed...
    Trying to compile vmci module to see if it works
    Performing make in /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmci-only
    Using 2.6.x kernel build system.
    Trying to compile vmnet module to see if it works
    Performing make in /home/vm/vmware_server_package//vmware-server-distrib/lib/modules/source/vmnet-only
    Using 2.6.x kernel build system.
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:121: warning: data definition has no type or storage class
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:121: warning: type defaults to âintâ in declaration of âDEFINE_SEMAPHOREâ
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:121: warning: parameter names (without types) in function declaration
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:82: warning: type defaults to âintâ in declaration of âDEFINE_SEMAPHOREâ
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:82: warning: parameter names (without types) in function declaration
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c: In function âVNetFilter_HandleUserCallâ:
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: âfilterIoctlSemâ undeclared (first use in this function)
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: (Each undeclared identifier is reported only once
    /home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: for each function it appears in.)
    make[2]: *** [/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Error 1
    make[1]: *** [_module_/home/vm/vmware_server_package/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
    make: *** [vmnet.ko] Error 2
    There is a problem compiling the vmnet module after it was patched. :(
    I'm using the same script and patch as this guy did:




    Also, a lot of guides tell me to use files in the /usr/src/linux-headers-2.6.32-31-generic/generated/ directory but I don't have that directory at all.

    Anyone have any ideas?

    Thanks in advance!
    I have ubuntu 11.10
    my problem when I do these steps:
    sudo su -
    goto /usr/src/linux-headers-2.6.38-9-generic/include/linux
    cat ../generated/utsrelease.h >> version.h
    ln -s ../generated/autoconf.h
    it displays:

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include] /usr/src/linux-headers-3.0.0-14-generic/include

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: entrant dans le répertoire « /tmp/vmware-config0/vmmon-only »
    make -C /usr/src/linux-headers-3.0.0-14-generic/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: entrant dans le répertoire « /usr/src/linux-headers-3.0.0-14-generic »
    CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:31:0:
    /tmp/vmware-config0/vmmon-only/./include/compat_wait.h:78:13: erreur: conflicting types for ‘poll_initwait’
    include/linux/poll.h:72:13: note: previous declaration of ‘poll_initwait’ was here
    /tmp/vmware-config0/vmmon-only/linux/driver.c:39:28: erreur fatale: linux/smp_lock.h : Aucun fichier ou dossier de ce type
    compilation terminée.
    make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Erreur 1
    make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Erreur 2
    make[1]: quittant le répertoire « /usr/src/linux-headers-3.0.0-14-generic »
    make: *** [vmmon.ko] Erreur 2
    make: quittant le répertoire « /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/go/unsup-linux-products" and
    "http://www.vmware.com/go/unsup-linux-tools".

    Execution aborted.
    Last edited by tmedtcom; December 18th, 2011 at 01:02 AM.

  8. #58
    Join Date
    Dec 2011
    Beans
    1

    Angry Re: VMWare Server 2 on 10.04

    I encountered same problem exactly.
    Any one has any hint about that please ?

    Quote Originally Posted by tmedtcom View Post
    I have ubuntu 11.10
    my problem when I do these steps:

    it displays:

  9. #59
    Join Date
    Jan 2012
    Beans
    1

    Re: VMWare Server 2 on 11.04 Natty Narwhal

    ? Who could point me in the right direction here?

    After jumping the hoops with the script I get this:

    root@uvm:/home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce# ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
    You have VMware Server archive:
    VMware-server-2.0.2-203138.x86_64.tar.gz
    Checking for needed packages on Ubuntu
    You do have the linux-headers-3.0.0-14-generic package...
    You do have the build-essential package...
    You do have the patch package...
    Extracting the contents of VMware-server-2.0.2-203138.x86_64.tar.gz
    Found .tar file for vmnet module
    Found .tar file for vsock module
    Found .tar file for vmmon module
    Found .tar file for vmci module
    Extracting .tar files in order to apply the patch...
    Untarring /home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet.tar
    Untarring /home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vsock.tar
    Untarring /home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmmon.tar
    Untarring /home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci.tar
    Testing patch...
    Creating some simlinks for the newer kernels...
    ln: creating symbolic link `/usr/src/linux-headers-3.0.0-14-generic/include/linux/autoconf.h': File exists
    ln: creating symbolic link `/usr/src/linux-headers-3.0.0-14-generic/include/linux/utsrelease.h': File exists
    Applying patch...
    Preparing new tar file for vmnet module
    Preparing new tar file for vsock module
    Preparing new tar file for vmmon module
    Preparing new tar file for vmci module
    Checking that the compiling will succeed...
    Trying to compile vmnet module to see if it works
    Performing make in /home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only
    Using 2.6.x kernel build system.
    /home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/driver.c:35:28: fatal error: linux/smp_lock.h: No such file or directory
    compilation terminated.
    make[2]: *** [/home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only/driver.o] Error 1
    make[1]: *** [_module_/home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
    make: *** [vmnet.ko] Error 2
    There is a problem compiling the vmnet module after it was patched.
    root@uvm:/home/sander/Install/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26

    Thanks in advance

  10. #60
    Join Date
    Apr 2010
    Beans
    2

    Re: VMWare Server 2 on 11.04 Natty Narwhal

    No luck here.. I'm having a problem several others are as well, compiling the vmci.ko module is failing. Perhaps it's because it's a 3.0.x kernel, and not a 2.6.x?

    Code:
    Performing make in /usr/src/vmware/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci-only
    Using 2.6.x kernel build system.
    /usr/src/vmware/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.c:37:28: fatal error: linux/smp_lock.h: No such file or directory
    compilation terminated.
    make[2]: *** [/usr/src/vmware/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Error 1
    make[1]: *** [_module_/usr/src/vmware/raducotescu-vmware-server-linux-2.6.3x-kernel-bb26dce/vmware-server-distrib/lib/modules/source/vmci-only] Error 2
    make: *** [vmci.ko] Error 2
    There is a problem compiling the vmci module after it was patched. :(
    Last edited by Heebie; January 20th, 2012 at 09:16 PM. Reason: Forgot a bit

Page 6 of 7 FirstFirst ... 4567 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •