Portál AbcLinuxu, 10. května 2025 08:23

Dotaz: VMware na Debian

24.3.2009 14:28 hates | skóre: 30 | blog: Jak_jsem_se_dostal_k_linuxu
VMware na Debian
Přečteno: 229×
Odpovědět | Admin

Mam problem z rozchozenim VMware serveru na Debianu. instalace serveru mi probehne v poradku. ale jak spustim vmware-config.pl tak mi to pri kompilaci modulu hlasi tuhle chybu

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

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Server 1.0.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config7/vmmon-only'
make -C /lib/modules/2.6.28.8/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.28.8'
  CC [M]  /tmp/vmware-config7/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:53:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:16:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.h:15,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:53:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /tmp/vmware-config7/vmmon-only/linux/driver.c:16:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/vmware-config7/vmmon-only/linux/hostif.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/linux/hostif.c:51:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/mm.h:8,
                 from /tmp/vmware-config7/vmmon-only/./include/compat_page.h:5,
                 from /tmp/vmware-config7/vmmon-only/linux/hostif.c:18:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
/tmp/vmware-config7/vmmon-only/linux/hostif.c: In function 'HostIF_SetFastClockRate':
/tmp/vmware-config7/vmmon-only/linux/hostif.c:3435: warning: passing argument 2 of 'send_sig' discards qualifiers from pointer target type
  CC [M]  /tmp/vmware-config7/vmmon-only/common/comport.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/task.o
cc1plus: warning: command line option "-Werror-implicit-function-declaration" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wno-pointer-sign" is valid for C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++
In file included from /tmp/vmware-config7/vmmon-only/common/task.c:1195:
/tmp/vmware-config7/vmmon-only/common/task_compat.h: In function 'void Task_Switch_V45(VMDriver*, Vcpuid)':
/tmp/vmware-config7/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::validEIP' may be used uninitialized in this function
/tmp/vmware-config7/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::cs' may be used uninitialized in this function
/tmp/vmware-config7/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::rsp' may be used uninitialized in this function
/tmp/vmware-config7/vmmon-only/common/task_compat.h:2667: warning: 'sysenterState.SysenterStateV45::rip' may be used uninitialized in this function
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciContext.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.h:17,
                 from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config7/vmmon-only/common/vmciContext.c:30:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/rculist.h:10,
                 from include/linux/dcache.h:6,
                 from include/linux/fs.h:297,
                 from include/linux/poll.h:11,
                 from /tmp/vmware-config7/vmmon-only/./include/compat_wait.h:6,
                 from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/common/vmciContext.h:19,
                 from /tmp/vmware-config7/vmmon-only/common/vmciContext.c:20:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciDatagram.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.h:17,
                 from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config7/vmmon-only/common/vmciDatagram.c:36:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/rculist.h:10,
                 from include/linux/dcache.h:6,
                 from include/linux/fs.h:297,
                 from include/linux/poll.h:11,
                 from /tmp/vmware-config7/vmmon-only/./include/compat_wait.h:6,
                 from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/common/vmciDatagram.c:25:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciDriver.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.h:17,
                 from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config7/vmmon-only/common/vmciDriver.c:32:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/rculist.h:10,
                 from include/linux/dcache.h:6,
                 from include/linux/fs.h:297,
                 from include/linux/poll.h:11,
                 from /tmp/vmware-config7/vmmon-only/./include/compat_wait.h:6,
                 from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/common/vmciResource.h:19,
                 from /tmp/vmware-config7/vmmon-only/common/vmciDriver.c:20:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciDs.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.h:17,
                 from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config7/vmmon-only/common/vmciDs.c:27:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/rculist.h:10,
                 from include/linux/dcache.h:6,
                 from include/linux/fs.h:297,
                 from include/linux/poll.h:11,
                 from /tmp/vmware-config7/vmmon-only/./include/compat_wait.h:6,
                 from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/common/vmciContext.h:19,
                 from /tmp/vmware-config7/vmmon-only/common/vmciDs.c:21:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciGroup.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciHashtable.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciProcess.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.h:17,
                 from /tmp/vmware-config7/vmmon-only/common/hostif.h:18,
                 from /tmp/vmware-config7/vmmon-only/common/vmciProcess.c:26:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:763,
                 from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from include/linux/percpu.h:5,
                 from include/linux/rcupdate.h:39,
                 from include/linux/rculist.h:10,
                 from include/linux/dcache.h:6,
                 from include/linux/fs.h:297,
                 from include/linux/poll.h:11,
                 from /tmp/vmware-config7/vmmon-only/./include/compat_wait.h:6,
                 from /tmp/vmware-config7/vmmon-only/./include/vmci_kernel_defs.h:26,
                 from /tmp/vmware-config7/vmmon-only/common/vmciProcess.h:19,
                 from /tmp/vmware-config7/vmmon-only/common/vmciProcess.c:20:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciResource.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmciSharedMem.o
  CC [M]  /tmp/vmware-config7/vmmon-only/common/vmx86.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.c:24:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/sched.h:68,
                 from /tmp/vmware-config7/vmmon-only/common/vmx86.c:18:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/vmcore/compat.o
In file included from /tmp/vmware-config7/vmmon-only/./include/x86.h:21,
                 from /tmp/vmware-config7/vmmon-only/vmcore/compat.c:6:
/tmp/vmware-config7/vmmon-only/./include/x86apic.h:80:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap_32.h:29,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/fixmap.h:5,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/apic.h:8,
                 from /usr/src/linux-2.6.28.8/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:30,
                 from include/linux/sched.h:68,
                 from /tmp/vmware-config7/vmmon-only/vmcore/compat.c:3:
/usr/src/linux-2.6.28.8/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
  CC [M]  /tmp/vmware-config7/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config7/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST 1 modules
WARNING: modpost: module vmmon.ko uses symbol 'init_mm' marked UNUSED
  CC      /tmp/vmware-config7/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config7/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.28.8'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config7/vmmon-only'
sh: line 1: 32489 Segmentation fault      'insmod' -p '/tmp/vmware-config7/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.

 

jadro mam 2.6.28.8 zkompilovane nove napada nekoho co s tim ?

Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

24.3.2009 16:15 hates | skóre: 30 | blog: Jak_jsem_se_dostal_k_linuxu
Rozbalit Rozbalit vše Re: VMware na Debian
Odpovědět | | Sbalit | Link | Blokovat | Admin

Vyreseno stacilo pomoci apt nahrat a nainstalit novou verzi module-init-tools

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.