LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2009, 07:28 PM   #1
baicunko
LQ Newbie
 
Registered: Jun 2009
Posts: 26

Rep: Reputation: 15
[VMware] Compile kernel problem.


Hi, i'm currently running fedora 11, just changed from ubuntu, got tired of it and im currently trying to install VMware, i couldn't install it on ubuntu either.

Currently when it comes to rebuilding the kernel it brings up the following error
"unable to build kernel module"
see log file XXXXXXXXXX for details."

If i copy the terminal stuff it says.
Code:
[root@Fedora-RulZ baicunko]# vmware
Logging to /tmp/vmware-root/setup-5679.log
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
modinfo: could not find module vmmon
modinfo: could not find module vmnet
modinfo: could not find module vmblock
modinfo: could not find module vmci
modinfo: could not find module vsock
Stopping VMware services:
   Virtual machine communication interface[  OK  ]
   Virtual machine monitor[  OK  ]
   Blocking file system[  OK  ]
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmmon-only'
make -C /lib/modules/2.6.29.5-191.fc11.x86_64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.29.5-191.fc11.x86_64'
  CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:31:
/tmp/vmware-root/modules/vmmon-only/./include/compat_wait.h:78: error: conflicting types for ‘poll_initwait’
include/linux/poll.h:67: note: previous declaration of ‘poll_initwait’ was here
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vmware.h:38,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:99:
/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:31,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:101:
/tmp/vmware-root/modules/vmmon-only/./include/x86apic.h:97:1: warning: "APIC_BASE_MSR" redefined
In file included from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/numa_64.h:5,
                 from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/numa.h:4,
                 from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/acpi.h:28,
                 from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/fixmap_64.h:15,
                 from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/fixmap.h:7,
                 from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/apic.h:8,
                 from /usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/smp.h:13,
                 from include/linux/smp.h:36,
                 from include/linux/topology.h:33,
                 from include/linux/mmzone.h:767,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /tmp/vmware-root/modules/vmmon-only/./include/compat_module.h:27,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:26:
/usr/src/kernels/2.6.29.5-191.fc11.x86_64/arch/x86/include/asm/apicdef.h:132:1: warning: this is the location of the previous definition
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vcpuset.h:103,
                 from /tmp/vmware-root/modules/vmmon-only/./include/modulecall.h:37,
                 from /tmp/vmware-root/modules/vmmon-only/./common/vmx86.h:33,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.h:29,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:101:
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:460:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:551:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:640:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:729:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:816:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:903:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:986:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1069:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1313:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:39,
                 from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:103:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:486:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:779:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:820:7: warning: "_MSC_VER" is not defined
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86.h:922:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_asm.h:41,
                 from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:103:
/tmp/vmware-root/modules/vmmon-only/./include/vm_asm_x86_64.h:56:7: warning: "_MSC_VER" is not defined
In file included from /tmp/vmware-root/modules/vmmon-only/linux/driver.c:119:
/tmp/vmware-root/modules/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriverSyncCallOnEachCPU’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1423: error: too many arguments to function ‘smp_call_function’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘euid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1987: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘fsuid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1988: error: ‘struct task_struct’ has no member named ‘uid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘egid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1989: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘fsgid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:1990: error: ‘struct task_struct’ has no member named ‘gid’
/tmp/vmware-root/modules/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.29.5-191.fc11.x86_64'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only

And this is the log file VMware tells me to read
Code:
Jun 29 19:58:43.328: app| Log for VMware Workstation pid=2606 version=6.5.1 build=build-126130 option=Release
Jun 29 19:58:43.329: app| Host codepage=UTF-8 encoding=UTF-8
Jun 29 19:58:43.329: app| Logging to /tmp/vmware-root/setup-2606.log
Jun 29 19:58:45.694: app| Extracting the sources of the vmmon module.
Jun 29 19:58:45.781: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.29.5-191.fc11.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.0
Jun 29 19:59:07.159: app| Extracting the sources of the vmmon module.
Jun 29 19:59:07.197: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.29.5-191.fc11.x86_64/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.0

anyone know what i can do?
 
Old 06-29-2009, 11:49 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hi there

How are your rebuilding the kernel for VMWare ?Which kernel source and config you are using ?

regards
 
Old 06-30-2009, 05:59 PM   #3
baicunko
LQ Newbie
 
Registered: Jun 2009
Posts: 26

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by masand View Post
hi there

How are your rebuilding the kernel for VMWare ?Which kernel source and config you are using ?

regards
I just open VMware through console.

su.
then vmware and it automatically starts to compile.

[baicunko@Fedora-RulZ ~]$ uname -r
2.6.29.5-191.fc11.x86_64

what else do u need?
http://img15.imageshack.us/img15/8711/screenshotorr.png

thats an screen shot of the error

Last edited by baicunko; 06-30-2009 at 06:05 PM.
 
Old 06-30-2009, 06:29 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by baicunko View Post
I just open VMware through console.
You're supposed to run the config perl script. If that doesn't work check if downloading a recent fix patch (http://communities.vmware.com/servle...ch;jsessionid=) and fix shell script (http://communities.vmware.com/servle...sh;jsessionid=) and then running the vmware-6.5.2-modules-2.6.30-fix.sh helps. If that doesn't work one of the VMware people might have released a vmware-any-any-update*.tar.gz update but I haven't checked.
 
Old 07-24-2009, 08:47 AM   #5
george00
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
patch

Here is a patch for 2.9.29 kernel:

http://communities.vmware.com/thread/203231
 
  


Reply

Tags
compile, fedora, kernel, patch, vmware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vmware workstation installation problem with 2.6 kernel wootletootle Slackware 8 12-22-2008 05:17 AM
VMWare problem (can't compile vmmon for my distro) POW R TOC H Linux - Software 1 10-04-2008 12:11 AM
kernel compile errors on SuSE 10 and VMWare edgooch Linux - Kernel 2 12-25-2006 10:45 AM
vmware MEPIS, problem upgrading kernel silex_88 Linux - Software 1 05-03-2005 02:01 PM
VMware 3.2 Installation- Kernel problem mjkchi Linux - Software 3 12-02-2003 08:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration