I've tried to install vmware workstation 6, with this result[/i]
kernel is recompiled to avoid paravirt problematic stuff[/i]
In which directory do you want to install the application's icon?
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation 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
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: se ingresa al directorio `/tmp/vmware-config4/vmmon-only'
make -C /lib/modules/2.6.20.20070509/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.20.20070509'
CC /tmp/vmware-config4/vmmon-only/linux/driver.o
CC /tmp/vmware-config4/vmmon-only/linux/hostif.o
CC /tmp/vmware-config4/vmmon-only/common/comport.o
CC /tmp/vmware-config4/vmmon-only/common/cpuid.o
CC /tmp/vmware-config4/vmmon-only/common/hash.o
CC /tmp/vmware-config4/vmmon-only/common/memtrack.o
CC /tmp/vmware-config4/vmmon-only/common/phystrack.o
CC /tmp/vmware-config4/vmmon-only/common/task.o
CC /tmp/vmware-config4/vmmon-only/common/vmciContext.o
CC /tmp/vmware-config4/vmmon-only/common/vmciDatagram.o
CC /tmp/vmware-config4/vmmon-only/common/vmciDriver.o
CC /tmp/vmware-config4/vmmon-only/common/vmciDs.o
CC /tmp/vmware-config4/vmmon-only/common/vmciGroup.o
CC /tmp/vmware-config4/vmmon-only/common/vmciHashtable.o
CC /tmp/vmware-config4/vmmon-only/common/vmciProcess.o
CC /tmp/vmware-config4/vmmon-only/common/vmciResource.o
CC /tmp/vmware-config4/vmmon-only/common/vmciSharedMem.o
CC /tmp/vmware-config4/vmmon-only/common/vmx86.o
CC /tmp/vmware-config4/vmmon-only/vmcore/moduleloop.o
LD /tmp/vmware-config4/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-config4/vmmon-only/vmmon.mod.o
LD /tmp/vmware-config4/vmmon-only/vmmon.ko
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.20.20070509'
cp -f vmmon.ko ./../vmmon.o
make: se sale del directorio `/tmp/vmware-config4/vmmon-only'
sh: line 1: 10662 segmentation fault 'insmod' -p '/tmp/vmware-config4/vmmon.o' >/dev/null 2>&1
Unable to make a vmmon module that can be loaded in the running kernel:
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.
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.
root@:/tmp/vmware-config4$ strace insmod vmmon.o
execve("/sbin/insmod", \["insmod", "vmmon.o"], ) = 0
brk(0) = 0x804b000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f72000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, \{st_mode=S_IFREG|0644, st_size=108054, ...}) = 0
mmap2(NULL, 108054, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f57000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0`\1\000"..., 512) = 512
fstat64(3, \{st_mode=S_IFREG|0644, st_size=1315328, ...}) = 0
mmap2(NULL, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e14000
mmap2(0xb7f51000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13d) = 0xb7f51000
mmap2(0xb7f54000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f54000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7e13000
set_thread_area(\{entry_number:-1 -> 6, base_addr:0xb7e136c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f51000, 4096, PROT_READ) = 0
munmap(0xb7f57000, 108054) = 0
brk(0) = 0x804b000
brk(0x806c000) = 0x806c000
\--- SIGSEGV (Segmentation fault) @ 0 (0) ---
\+++ killed by SIGSEGV \+++
Process 11915 detached
Hi
I've noticed that the seg fault with insmod only happens when you run insmod without the path to it. If you change the vmware-config.pl script to run /sbin/insmod instead of insmod it works for me. Only 2 places in the script to change if I remember correctly.
And I'm on openSUSE 10.3 alpha 5 so this seams like it's not a Debian specific problem.
Claes