FedoraForum.org - Fedora Support Forums and Community
Results 1 to 12 of 12
  1. #1
    Join Date
    Mar 2007
    Location
    Chile
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    trying to reinstall vmware after kernel update... SOLVED!

    hi all, i just did an update on my fedora 7 yesterday and i got new kernel and everything, but vmware stopped working completely, it just wouldnt show at all. so i decided to remove and reinstall, located the uninstall script, did that, and trying to install again (using the latest vmware server tar.gz) i get to building the kernel module and then it fails:

    Code:
    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.23.1-10.fc7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/kernels/2.6.23.1-10.fc7-i686'
      CC [M]  /tmp/vmware-config1/vmmon-only/linux/driver.o
    In file included from /tmp/vmware-config1/vmmon-only/linux/driver.c:80:
    /tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’
    /tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’
    /tmp/vmware-config1/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’
    /tmp/vmware-config1/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
    /tmp/vmware-config1/vmmon-only/linux/driver.c:1657: error: ‘struct mm_struct’ has no member named ‘dumpable’
    make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-10.fc7-i686'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config1/vmmon-only'
    Unable to build the vmmon module.
    and that's it. any ideas on how to fix it? and also, will i have to go trough this every time i update kernel?
    Last edited by contraculto; 31st October 2007 at 09:05 PM.

  2. #2
    pobbz Guest
    Hello.

    1st of all, I'd recommend using the rpm package instead of the tar package.

    Secondly, have you tried applying the vmaware-any-to-any patch from here? Hope that helps.

    EDIT: oh, and yes, you need to rebuild the kernel modules every time you change your kernel. Reinstalling vmware, however, shouldn't be necessary.

  3. #3
    scottro's Avatar
    scottro is offline Retired Community Manager -- Banned from Texas by popular demand.
    Join Date
    Sep 2007
    Location
    NYC
    Posts
    8,120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, once you upgrade the kernel, you'll usually get a message like vmware is installed but (something, I forget). Please run /usr/bin/vmware-config.pl.

    If you do that, you should be alright. (Also, you don't have to re-enter the serial number--during the reconfiguration, it will give messages like your network is already set, leave it? And, do you want to enter a serial number? You can put no, it already has your serial number.

  4. #4
    pobbz Guest
    Quote Originally Posted by scottro
    Please run /usr/bin/vmware-config.pl.
    In this case the guy is, apparently, trying to do just that. And it seems to fail. That's why I'd recommend applying the any-to-any patch.

  5. #5
    JN4OldSchool is offline "Sean The Terrible" -- The forum(er) Vista® rep
    Join Date
    Nov 2005
    Posts
    8,819
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's the any-any patch Rod, every time the kernel version changes. See here:

    http://forums.fedoraforum.org/forum/...53&postcount=2

    edit: P.S. dont forget to cd into the vmware file once you extract it.

  6. #6
    Join Date
    Mar 2007
    Location
    Chile
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well, i'm actually trying to install vmware over, as i removed it. but let me try this and see what happens...

  7. #7
    Join Date
    Mar 2007
    Location
    Chile
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i just tried with the any-any patch and it didn't work... got another error...

    gcc: error trying to exec 'cc1plus': execvp: No such file or directory
    make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-10.fc7-i686'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config2/vmmon-only'
    Unable to build the vmmon module.

  8. #8
    gary1975 Guest
    I don't think you have the compiler installed.

    Open add/remove software and add development tools+libraries and then re-run vmware-config.pl

    My vmware is running fine in Fedora 8 with any-any update

  9. #9
    Join Date
    Mar 2007
    Location
    Chile
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you mean gcc? it's there. actually vmware worked fine 2 days ago before the kernel update. so i'm kinda lost here.

  10. #10
    gary1975 Guest

  11. #11
    gary1975 Guest
    Pasting from the above link.

    Installing VMWare server on my new F7, and after running these commands,

    yum install libx11-6 libx11-dev libxtst6 xinetd wget

    yum install kernel-devel

    yum install binutils-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb libc6-dev-amd64 lib64gcc1 gcc-2.95-doc

    yum install gcc

    I got this error:

    gcc: error trying to exec 'cc1plus': execvp: No such file or directory
    make[2]: *** [/tmp/vmware-config2/vmmon-only/common/task.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3228.fc7-i686'
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config2/vmmon-only'
    Unable to build the vmmon module.

    which was finally solved installing gcc++ with the following command,

    yum install gcc-c++

    do not forget to apply the vmware-any-any patch.

  12. #12
    Join Date
    Mar 2007
    Location
    Chile
    Posts
    282
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks, that worked like magic. turns out i just needed to install gcc-c++

Similar Threads

  1. Kernel update.. how to reinstall video drivers
    By bdaedalus359 in forum Using Fedora
    Replies: 8
    Last Post: 2nd August 2008, 08:00 AM
  2. Replies: 9
    Last Post: 22nd September 2007, 08:40 PM

Tags for this Thread

Posting Permissions

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