Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: vmware vmware-config.pl exits because of kernel version mismatch

  1. #1
    paryd NNTP User

    Default vmware vmware-config.pl exits because of kernel version mismatch

    The following are the output of vmware-config.pl.

    # /usr/bin/vmware-config.pl
    Making sure services for VMware Server are stopped.

    Stopping VMware autostart virtual machines:
    Virtual machines failed
    Stopping VMware management services:
    VMware Virtual Infrastructure Web Access
    VMware Server Host Agent failed
    Stopping VMware services:
    VMware Authentication Daemon done
    Virtual machine monitor done

    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] yes

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    Your kernel was built with "gcc" version "4.5.1", while you are trying to use
    "/usr/bin/gcc" version "4.5". This configuration is not recommended and VMware
    Server may crash if you'll continue. Please try to use exactly same compiler as
    one used for building your kernel. Do you want to go with compiler
    "/usr/bin/gcc" version "4.5" anyway? [no] yexs

    The answer "yexs" is invalid. It must be one of "y" or "n".

    Your kernel was built with "gcc" version "4.5.1", while you are trying to use
    "/usr/bin/gcc" version "4.5". This configuration is not recommended and VMware
    Server may crash if you'll continue. Please try to use exactly same compiler as
    one used for building your kernel. Do you want to go with compiler
    "/usr/bin/gcc" version "4.5" anyway? [no] yes

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

    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.37.1-1.2-desktop). Even if the module were to
    compile successfully, it would not load into the running kernel.

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

    The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
    your running kernel (version 2.6.37.1-1.2-desktop). Even if the module were to
    compile successfully, it would not load into the running kernel.

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

    rpm -qa|grep kernel
    kernel-devel-2.6.37.1-1.2.2.noarch
    kernel-desktop-2.6.37.1-1.2.2.x86_64
    kernel-source-2.6.37.1-1.2.2.noarch
    kernel-firmware-2.6.38-1.2.1.noarch
    kernel-desktop-devel-2.6.37.1-1.2.2.x86_64

    uname -a
    Linux linux-6q18 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 x86_64 x86_64 x86_64 GNU/Linux

    ls -l /usr/src/
    total 16
    lrwxrwxrwx 1 root root 18 Apr 1 14:20 linux -> linux-2.6.37.1-1.2
    drwxr-xr-x 24 root root 4096 Apr 5 14:09 linux-2.6.37.1-1.2
    drwxr-xr-x 3 root root 4096 Apr 1 14:20 linux-2.6.37.1-1.2-obj
    drwxr-xr-x 3 root root 4096 Apr 1 14:20 linux-obj
    drwxr-xr-x 8 root root 4096 Apr 1 12:46 packages

    I installed OpenSuse 11.4 64 bit in my machine

    the installed kernel is 2.6.37.1-1.2-desktop. But the kernel source from /usr/src/ says linux-2.6.37.1-1.2 version. The vmware-config.pl shows the error of kernel version mismatch.

    Can you help to fix this problem?

    Thanks in Advance.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,215
    Blog Entries
    15

    Default Re: vmware vmware-config.pl exits because of kernel versionmismatch

    On Tue, 2011-04-05 at 09:06 +0000, paryd wrote:
    > the installed kernel is 2.6.37.1-1.2-desktop. But the kernel source
    > from /usr/src/ says linux-2.6.37.1-1.2 version. The vmware-config.pl
    > shows the error of kernel version mismatch.
    >
    > Can you help to fix this problem?
    >
    > Thanks in Advance.
    >

    Hi
    Have a look at this SDB, I've also updated the rmp for 11.4
    http://en.opensuse.org/SDB:Installin...or_workstation

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
    up 1 day 11:00, 2 users, load average: 0.12, 0.05, 0.01
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26


  3. #3
    paryd NNTP User

    Default Re: vmware vmware-config.pl exits because of kernel version mismatch

    Thank you so much...
    I followed the steps given in the link http://en.opensuse.org/SDB:Installin...or_workstation.
    I still have some problem while running "vmware_server_fix".

    Output:
    vmware_server_fix
    Restoring backup
    Creating backup files
    Directory exists
    compat_cred.h exists, removing
    patching file vmci-only/include/pgtbl.h
    patching file vmnet-only/vnetUserListener.c
    patching file vmci-only/Makefile
    patching file vmmon-only/common/vmx86.c
    patching file vmmon-only/include/compat_cred.h
    patching file vmmon-only/include/x86svm.h
    patching file vmmon-only/linux/driver.c
    patching file vmmon-only/linux/hostif.c
    Hunk #2 succeeded at 2576 (offset -1 lines).
    Hunk #3 succeeded at 2602 (offset -1 lines).
    Hunk #4 succeeded at 3458 (offset -1 lines).
    Hunk #5 succeeded at 3582 (offset -1 lines).
    patching file vmmon-only/Makefile
    patching file vmnet-only/Makefile
    patching file vmnet-only/netif.c
    patching file vsock-only/Makefile
    Making sure services for VMware Server are stopped.

    Stopping VMware autostart virtual machines:
    Virtual machines failed
    Stopping VMware management services:
    VMware Virtual Infrastructure Web Access
    VMware Server Host Agent failed
    Stopping VMware services:
    VMware Authentication Daemon done
    Virtual machine monitor done

    You must read and accept the End User License Agreement to continue.
    Press enter to display it.


    Do you accept? (yes/no) yes

    Thank you.

    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] yes

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    Your kernel was built with "gcc" version "4.5.1", while you are trying to use
    "/usr/bin/gcc" version "4.5". This configuration is not recommended and VMware
    Server may crash if you'll continue. Please try to use exactly same compiler as
    one used for building your kernel. Do you want to go with compiler
    "/usr/bin/gcc" version "4.5" anyway? [no] yes

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.37.1-1.2-desktop/build/include] /usr/sr/linux/include

    The path "/usr/sr/linux/include" is not an existing directory.

    What is the location of the directory of C header files that match your running
    kernel? [/lib/modules/2.6.37.1-1.2-desktop/build/include]

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config1/vmmon-only'
    make -C /lib/modules/2.6.37.1-1.2-desktop/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop'
    make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop/. modules
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driverLog.o
    CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:31:0,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
    /tmp/vmware-config1/vmmon-only/./include/x86apic.h:97:0: warning: "APIC_BASE_MSR" redefined
    /usr/src/linux-2.6.37.1-1.2/arch/x86/include/asm/apicdef.h:145:0: note: this is the location of the previous definition
    In file included from /tmp/vmware-config1/vmmon-only/./common/vmx86.h:32:0,
    from /tmp/vmware-config1/vmmon-only/linux/driver.h:29,
    from /tmp/vmware-config1/vmmon-only/linux/driver.c:101:
    /tmp/vmware-config1/vmmon-only/./include/x86msr.h:164:0: warning: "MSR_THERM2_CTL" redefined
    /usr/src/linux-2.6.37.1-1.2/arch/x86/include/asm/msr-index.h:235:0: note: this is the location of the previous definition
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function init_module:
    /tmp/vmware-config1/vmmon-only/linux/driver.c:426:15: error: struct file_operations has no member named ioctl
    make[4]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[3]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/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.


    Please help me to fix this.

    Thanks,

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,215
    Blog Entries
    15

    Default Re: vmware vmware-config.pl exits because of kernel versionmismatch

    On Wed, 2011-04-06 at 10:06 +0000, paryd wrote:
    > Thank you so much...
    > I followed the steps given in the link
    > http://en.opensuse.org/SDB:Installin...or_workstation.
    > I still have some problem while running "vmware_server_fix".

    Hi
    Did you ensure you cleaned out the previous attempt, see the "Clean up
    previous patches "?


    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.29-0.3-default
    up 2 days 12:12, 2 users, load average: 0.37, 0.21, 0.12
    GPU GeForce 8600 GTS Silent - Driver Version: 260.19.26


  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,215
    Blog Entries
    15

    Default Re: vmware vmware-config.pl exits because of kernel versionmismatch

    Hi
    Just an update, I've found some additional patches to get past your
    error, however there are now failures further in the build and as of yet
    no patches. Will keep looking so hope to have an update soon and a fix.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: vmware vmware-config.pl exits because of kernel versionmismatch

    Any update on this? I'm encountering the same issue with VMware server 2.0.2 on opensuse 11.4, on 2.6.37.1-1.2 and also on 2.6.37.6-0.5. I'm getting the following error:
    /tmp/vmware-config4/vmmon-only/linux/driver.c: In function ‘init_module’:
    /tmp/vmware-config4/vmmon-only/linux/driver.c:426:15: error: ‘struct file_operations’ has no member named ‘ioctl’
    make[4]: *** [/tmp/vmware-config4/vmmon-only/linux/driver.o] Error 1
    I've been scouring the net for a patch for vmware server. There is a patch for workstation and player, but it don't help server.

  7. #7
    Join Date
    Dec 2009
    Location
    Moldova
    Posts
    129

    Default Re: vmware vmware-config.pl exits because of kernel versionmismatch

    hello, I was using before vmware server too and always had problems after new version of openSUSE or new kernel.
    Finally I stopped to use it and I've migrated to Oracle Virtual Box which is very easy to use and working fine for me and also it is available in openSUSE repos.

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: vmware vmware-config.pl exits because of kernel version mismatch

    On 2011-05-13 09:36, isemionov wrote:
    > Finally I stopped to use it and I've migrated to Oracle Virtual Box
    > which is very easy to use and working fine for me and also it is
    > available in openSUSE repos.


    Unfortunately, VB does not support all the oses VMW does. Specially old
    ones, like Windows Me.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  9. #9
    Join Date
    Dec 2009
    Location
    Moldova
    Posts
    129

    Default Re: vmware vmware-config.pl exits because of kernel version mismatch

    Quote Originally Posted by robin_listas View Post
    On 2011-05-13 09:36, isemionov wrote:
    > Finally I stopped to use it and I've migrated to Oracle Virtual Box
    > which is very easy to use and working fine for me and also it is
    > available in openSUSE repos.


    Unfortunately, VB does not support all the oses VMW does. Specially old
    ones, like Windows Me.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)
    it may be, but at least most of Windows OSes are supported. And this was the reason of using virtual machines for me: some times needed to run windows specialized programs on my linux desktop. Didn't try ever Windows Me but Windows 95,98 are supported for sure, here is tutorial: Tutorial: Windows 95/98 guest OSes (View topic) • virtualbox.org. I don't think there is much difference between win 98 and win me, at least in VB Manager you can chose it

  10. #10
    Join Date
    Dec 2009
    Location
    Moldova
    Posts
    129

    Default Re: vmware vmware-config.pl exits because of kernel version mismatch

    by the way there is an official list on virtual box site for gust and hosts: Guest_OSes - VirtualBox

    And you're right Carlos, Windows ME is not in the list.

Page 1 of 2 12 LastLast

Posting Permissions

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