LinuxQuestions.org
Visit Jeremy's Blog.
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 10-14-2011, 08:15 PM   #1
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Rep: Reputation: 16
Fedora 15-Installing VMware, cannot find header files


When installing VMware, I get the following error.

None of the pre-built vmmon modules for VMware Server 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
kernel? [/usr/src/linux/include]


There actually is no such suggested directory.

Any ideas on where I can find these C header files? When I try to search for the kernel folder I get a gazillion entries and have no idea what to check.

Any help would be greatly appreciated.
 
Old 10-14-2011, 08:23 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
You need to:
Code:
yum install kernel-devel kernel-headers
Make sure that you are running the latest kernel as well, or your headers and running kernel will mismatch.
 
Old 10-14-2011, 10:07 PM   #3
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Original Poster
Rep: Reputation: 16
Well this sucks, this is the error that im getting now:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.40.6-0.fc15.i686). Even if the module were to
compile successfully, it would not load into the running kernel.
 
Old 10-14-2011, 10:41 PM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
That's what I was referring to earlier. Your running kernel and the version of the headers don't match. The easiest way to fix this is to:
Code:
yum update kernel
Then reboot to use the new kernel. If nothing gets updated, then you already have the new kernel; you just have to reboot to use it.
 
Old 10-14-2011, 11:38 PM   #5
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Original Poster
Rep: Reputation: 16
Thanks for your reply. Ok so I did that, and did a reboot, but still no change.
 
Old 10-14-2011, 11:40 PM   #6
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Original Poster
Rep: Reputation: 16
Its possible that the software that im installing is too old for the kernel too. It's VMware server 2
 
Old 10-14-2011, 11:59 PM   #7
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Have you applied the VMware Server 2 patches?

Also, are you sure that qemu-kvm or Virtual Machine Manager, which is part of Fedora, doesn't meet your needs?
 
Old 10-15-2011, 06:24 PM   #8
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Original Poster
Rep: Reputation: 16
No I havent tried applying the patches yet, but I will look into it.

I guess a question that I can pose to people is, what flavours/versions of Linux have they successfully used with VMWare software. I'm trying to get experience with VMWare basically.
 
Old 10-15-2011, 06:35 PM   #9
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
I've used the free VMWare Server with F15. I found it didn't provide any additional functionality over qemu-kvm for my use, and I got tired of constantly patching it to keep it working with new kernels. There's a nice GUI for qemu-kvm with Virtual Manager, but the command line is so simple I don't even bother with it. Qemu also provides more functionality than VMWare, since it can run different architectures. Since I recently started working with ARM systems, this has been very useful for running Debian-ARM virtually.

While VirtualBox provides additional functionality (virtual 3D display graphics), I found it unstable, and it once crashed my system. The kernel developers have recently flagged it as 'crap' so I can't recommend it.
 
Old 10-15-2011, 06:51 PM   #10
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Original Poster
Rep: Reputation: 16
Yeah I've noticed virtual box has issues too.

As far as I know from my research now, VMWare stopped support for the VMWare server series and are focused now on ESX. Since I just downloaded F15, I should have the latest kernel, which could be the issue if they havent updated the server software in a while.
 
Old 10-15-2011, 06:59 PM   #11
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The VMWare server is always behind the kernel releases. The only way to get it to run is to apply the community patches. I prefer to keep current (or even a little ahead) on my kernels, so VMWare was always broken on every boot. The cycle was re-run the setup, it fails, Google for a patch for the kernel version, apply the patch re-run the setup. Sometime it required hunting down multiple patches, and sometimes a patch would take weeks to become available (meaning no virtual machines in the interim). It got old very fast.

VMWare is fine if you are running a stable data center environment where updates are planned, tested, and applied quarterly. But a desktop is more volatile. Qemu was the only virtualization software that was always up to date.
 
Old 10-15-2011, 07:04 PM   #12
anthonysaulnier
Member
 
Registered: Sep 2005
Posts: 136

Original Poster
Rep: Reputation: 16
Yeah im thinking tha VMWare on a Linux desktop might not be the greatest thing. I'm giving Virtual Machine Manager a shot now.
 
Old 10-15-2011, 07:22 PM   #13
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

I tried the same that is installing VMware-server 2 on Ubuntu and it never worked ;-) I got the same error which you mentioned in your second post. Finally I switched to Virtual Box. :-)

Last edited by T3RM1NVT0R; 10-15-2011 at 07:23 PM.
 
Old 10-15-2011, 07:25 PM   #14
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
@T3RM1NVT0R:

"Linux kernel developers have marked Oracle's VirtualBox Linux kernel driver as "tainted crap" due to the overwhelming number of problems this module has caused."

Be careful running that. It apparently causes multiple problems, including storage overlays which can cause data corruption.
 
1 members found this post helpful.
Old 10-15-2011, 07:29 PM   #15
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

@ macemoneta

Thanks a lot.

After you posted. I searched for that text on google and it came up with the following link: http://www.phoronix.com/scan.php?pag...item&px=OTk5Mw
 
  


Reply



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 can't find kernel header on fedora 9 xixux Fedora 26 12-29-2013 07:47 PM
Vmware Can not find Kernel Header on Fedora Core 14 sadashiv.linux Fedora 9 06-08-2011 11:44 AM
VMWare Player - Fedora 13 - no kernel-header files... PastorWirl Linux - Virtualization and Cloud 5 01-24-2011 08:47 AM
Cannot find C Header files in SuSE 9.2 64-bit when needed for installing VMware W/s matt010wjh Linux - Software 1 12-26-2004 09:25 PM
vmware error, cant find c header files artofluke Slackware 9 09-02-2003 07:35 AM

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

All times are GMT -5. The time now is 02:02 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