LinuxQuestions.org
Register a domain and help support LQ
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 08-31-2009, 07:59 AM   #1
thorjelly
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Rep: Reputation: 0
[solved] vmware cannot find kernel headers on arch linux


Wouldn't you know it? I set yesterday aside to get vmware working on my machine and the archlinux.org goes down for "maintenance" 10 minutes after I get started. And it's still down for maintenance. The frickin' thing had a wiki page specifically devoted to installing vmware! And forum topics related to my issue. Siiiiigh. Well, I am quickly losing patience since I would really like to set up vmware as quickly as possible, even though my issue is probably solved some where on archlinux.org.

Well, I'm running a completely updated Arch Linux. I have vmware workstation 6.5.2. It seemed to have installed fine, but when I run it it asks for the location of my kernel-headers so that it can compile some modules, and it can not find those kernel-headers. This isn't unexpected -- my experience with virtualbox is that it needs to compile modules to run as well, so why not? Anywho, it has a little box that asks me what location the headers are installed in, so I try a bunch of different paths and press 'install' at each one. None of them work. Specifically, I'm trying /lib/modules/2.6.30-ARCH/, /usr/src/linux-2.6.30-ARCH/, and various sub-directories therein (/lib/modules/2.6.30-ARCH/build, etc.) None of them work, of course.

I have the kernel headers installed:

Code:
[dunder@vertex ~]$ yaourt -Qi kernel-headers                                   
Name           : kernel-headers                                                
Version        : 2.6.30.5-1                                                    
URL            : http://www.gnu.org/software/libc                              
Licenses       : GPL                                                           
Groups         : base                                                          
Provides       : None                                                          
Depends On     : None                                                          
Optional Deps  : None                                                          
Required By    : glibc                                                         
Conflicts With : None                                                          
Replaces       : None                                                          
Installed Size : 3964.00 K                                                     
Packager       : Jan de Groot <jgc@archlinux.org>                              
Architecture   : x86_64                                                        
Build Date     : Sun 23 Aug 2009 09:58:46 AM EDT                               
Install Date   : Mon 24 Aug 2009 12:35:38 PM EDT                               
Install Reason : Explicitly installed                                          
Install Script : No                                                            
Description    : Kernel headers sanitized for use in userspace
And they are of the same version as my kernel:

Code:
[dunder@vertex ~]$ yaourt -Qi kernel26
Name           : kernel26             
Version        : 2.6.30.5-1           
URL            : http://www.kernel.org
Licenses       : GPL2                 
Groups         : base                 
Provides       : None
Depends On     : coreutils  kernel26-firmware>=2.6.30  module-init-tools
                 mkinitcpio>=0.5.20
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : nvidia
Conflicts With : None
Replaces       : kernel24  kernel24-scsi  kernel26-scsi  alsa-driver
                 ieee80211  hostap-driver26  pwc  nforce  squashfs  unionfs
                 ivtv  zd1211  kvm-modules  iwlwifi  rt2x00-cvs  gspcav1
                 atl2  wlan-ng26  aufs  rt2500
Installed Size : 133676.00 K
Packager       : Thomas Baechler <thomas@archlinux.org>
Architecture   : x86_64
Build Date     : Mon 17 Aug 2009 10:19:04 AM EDT
Install Date   : Thu 20 Aug 2009 08:58:13 PM EDT
Install Reason : Explicitly installed
Install Script : Yes
Description    : The Linux Kernel and modules
uname -r, by the way, is
2.6.30-ARCH

So what's wrong? Why can't I get vmware to compile its modules?

Thanks.

Last edited by thorjelly; 08-31-2009 at 08:14 PM.
 
Old 08-31-2009, 08:14 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Hey thorjelly,

I dont know about arch linux but the package I usually need to install is kernel-devel ... HTH

cheers
 
Old 08-31-2009, 11:37 AM   #3
thorjelly
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Original Poster
Rep: Reputation: 0
There is no kernel-devel in arch; there are practically no dev or devel packages at all in Arch, because if I recall, development packages generally come standard in Arch and are included in the main packages. The kernel-headers package should contain what I need...
 
Old 08-31-2009, 08:13 PM   #4
thorjelly
LQ Newbie
 
Registered: Aug 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Of course, archlinux.org is back up and has the exact solution on its wiki.

Basically, just use 'sudo vmware-modconfig --console --install-all' instead of simply running vmware.

A patch was needed for it to compile in 2.6.30 too, but that's a different matter, and the details on that was on the wiki too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
where can i find the kernel headers charlie_lab Linux From Scratch 6 05-26-2009 02:34 AM
what if I can't find headers as new as my kernel? newbiesforever Linux - General 2 01-25-2009 09:17 PM
Where can I find the Kernel Headers? Xyen Puppy 2 11-23-2008 01:16 AM
VMware Tools and Kernel headers brooky9999 Slackware 4 09-07-2008 08:20 AM
VMware and kernel headers ksalopek Linux - Software 1 02-11-2004 10:23 AM


All times are GMT -5. The time now is 08:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration