Fusion

 View Only
  • 1.  Installing VMware tools into an old version of Knoppix

    Posted Dec 28, 2009 11:19 PM

    I've recently upgraded to Fusion 3, and in attempting to re-install VMware tools into a Knoppix 4.0 machine I need to keep running, I've been stopped by vmware-config-tools.pl, after being given the path to the installed version of the gcc compiler, refusing to recognize the gcc binary as valid. Is this likely an issue with the version of gcc? If not, can someone provide as to whether there is a way to recompile and install the tools? Thanks.



  • 2.  RE: Installing VMware tools into an old version of Knoppix

    Posted Dec 29, 2009 05:36 AM

    I've recently upgraded to Fusion 3, and in attempting to re-install VMware tools into a Knoppix 4.0 machine I need to keep running, I've been stopped by vmware-config-tools.pl, after being given the path to the installed version of the gcc compiler, refusing to recognize the gcc binary as valid. Is this likely an issue with the version of gcc?

    I'll spare you a long reminder and just say Knoppix is not a supported guest OS for Fusion. The failure is not an issue with the version of gcc in Knoppix 4.0 (i used 4.0.2-en). The validation command VMware is running is crashing (vmware-modconfig-console), hence the error "segmentation fault." Profiling vmware-modconfig-console in strace just shows the utility crashes after reading /proc/version.

    Maybe one of the Tools developers can comment but this seems like a showstopper unless you want to edit the installer script to avoid calling vmware-modconfig-console. Do the old Tools not work well in Fusion 3, what functionality are you looking for specifically?

    The installation of VMware Tools 8.2.4 build-215242 for Linux completed 
    successfully. You can decide to remove this software from your system at any 
    time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
    
    Before running VMware Tools for the first time, you need to configure it by 
    invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want 
    this program to invoke the command for you now? [yes] 
    
    Initializing...
    Stopping VMware Tools services in the virtual machine:
       Guest operating system daemon:  done
       Virtual Printing daemon:  done
       Unmounting HGFS shares:  done
       Guest filesystem driver:  done
    
    Before you can compile modules, you need to have the following installed... 
    make
    gcc
    kernel headers of the running kernel
    
    Searching for GCC...
    sh: line 1: 15158 Segmentation fault      '/opt/home/lib/vmware-tools/sbin32/vmware-modconfig-console' --validate-gcc "" -- -l "/opt/home/lib/vmware-tools" >/dev/null 2>&1
    The path "" is not valid path to the gcc binary.
    Would you like to change it? [yes] Execution aborted.
    
    # strace /opt/home/lib/vmware-tools/sbin32/vmware-modconfig-console --validate-gcc "" -- -l "/oopt/home/lib/vmware-tools"
    execve("/opt/home/lib/vmware-tools/sbin32/vmware-modconfig-console", , [/* 13 vars */]) = 0
    uname({sys="Linux", node="Knoppix", ...}) = 0
    ...
    gettimeofday({1262053660, 438896}, NULL) = 0
    stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1267, ...}) = 0
    write(10, "Dec 28 21:27:40.438: app-3086501"..., 116) = 116
    write(10, "Dec 28 21:27:40.438: app-3086501"..., 60) = 60
    write(10, "Dec 28 21:27:40.438: app-3086501"..., 72) = 72
    write(10, "Dec 28 21:27:40.438: app-3086501"..., 73) = 73
    pipe([11, 12])                          = 0
    pipe([13, 14])                          = 0
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7f84708) = 15245
    --- SIGCHLD (Child exited) @ 0 (0) ---
    close(11)                               = 0
    close(14)                               = 0
    wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 15245
    close(14)                               = -1 EBADF (Bad file descriptor)
    open("/proc/version", O_RDONLY|O_LARGEFILE) = 11
    read(11, "Linux version 2.6.12 (root@Knopp"..., 255) = 111
    read(11, "", 144)                       = 0
    close(11)                               = 0
    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
    +++ killed by SIGSEGV +++