LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-20-2012, 09:17 AM   #1
xjonquilx
Member
 
Registered: Jul 2011
Location: FL, USA
Distribution: Linux Mint 13
Posts: 169

Rep: Reputation: Disabled
Help me find the Linux kernel headers


I'm trying to install VMWare in Sabayon 8. I cannot find the kernel headers though. They're not in /usr/src or /lib/modules. Help?
 
Old 05-20-2012, 10:19 AM   #2
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
install `em.

usually a naked distro installation does not have everthing installed to compile this and that.
Find the needed packages within your packet management and get em installed. Do NOT use any other sources to get the packages.
 
Old 05-20-2012, 10:20 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by xjonquilx View Post
I'm trying to install VMWare in Sabayon 8. I cannot find the kernel headers though. They're not in /usr/src or /lib/modules. Help?
Are they installed? (Check using your package manager.)
 
Old 05-20-2012, 10:26 AM   #4
xjonquilx
Member
 
Registered: Jul 2011
Location: FL, USA
Distribution: Linux Mint 13
Posts: 169

Original Poster
Rep: Reputation: Disabled
Yes, they come installed by default in Sabayon. However, there isn't any list in the package manager that indicates what files were installed where.
 
Old 05-20-2012, 12:56 PM   #5
xjonquilx
Member
 
Registered: Jul 2011
Location: FL, USA
Distribution: Linux Mint 13
Posts: 169

Original Poster
Rep: Reputation: Disabled
Ok, it wasn't the headers I needed but Sabayon's source code. I've got past that part. Now I'm having another issue. While installing the modules, VMware exits with this:


Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface failed
VM communication interface socket family failed
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
 
Old 05-20-2012, 05:13 PM   #6
xjonquilx
Member
 
Registered: Jul 2011
Location: FL, USA
Distribution: Linux Mint 13
Posts: 169

Original Poster
Rep: Reputation: Disabled
I found the source code for an older kernel and got past that error. All I did was uninstall VMware, reboot in to the older kernel, and reinstall VMware.

Now I'm experiencing this error when trying to load a virtual machine:

"Failed to open device /dev/vmci"

I tried modprobe vmci. It didn't return any errors, but when I tried to load a virtual machine it gave me that same error again.


Last edited by xjonquilx; 05-20-2012 at 05:23 PM.
 
Old 05-20-2012, 05:55 PM   #7
xjonquilx
Member
 
Registered: Jul 2011
Location: FL, USA
Distribution: Linux Mint 13
Posts: 169

Original Poster
Rep: Reputation: Disabled
I solved it!

jonquil@sabayon ~ $ su
Password:
sabayon jonquil # /etc/init.d/vmware status
/etc/init.d/vmware: line 73: /sbin/lsmod: No such file or directory
Module vmmon /etc/init.d/vmware: line 93: /sbin/lsmod: No such file or directory
not loaded
Module vmnet /etc/init.d/vmware: line 93: /sbin/lsmod: No such file or directory
not loaded
sabayon jonquil # cd /sbin
sabayon sbin # ln -s /bin/lsmod lsmod
sabayon sbin # /etc/init.d/vmware status
Module vmmon loaded
Module vmnet loaded
sabayon sbin # /etc/init.d/vmware start
Starting VMware services:
Virtual machine monitor failed
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
sabayon sbin # /etc/init.d/vmware stop
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
sabayon sbin # /etc/init.d/vmware start
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
Shared Memory Available done
 
  


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
[SOLVED] Updated to kernel 3.0.4 but now source package can not find kernel headers. ReaperX7 Slackware 2 10-03-2011 06:48 PM
vmware cannot find kernel headers on arch linux thorjelly Linux - Software 3 08-31-2009 08:13 PM
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


All times are GMT -5. The time now is 11:30 PM.

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