LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me find the Linux kernel headers (http://www.linuxquestions.org/questions/linux-newbie-8/help-me-find-the-linux-kernel-headers-946003/)

xjonquilx 05-20-2012 10:17 AM

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?

uhelp 05-20-2012 11:19 AM

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.

pixellany 05-20-2012 11:20 AM

Quote:

Originally Posted by xjonquilx (Post 4683183)
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.)

xjonquilx 05-20-2012 11:26 AM

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.

xjonquilx 05-20-2012 01:56 PM

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

xjonquilx 05-20-2012 06:13 PM

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.

:banghead:

xjonquilx 05-20-2012 06:55 PM

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


All times are GMT -5. The time now is 11:37 AM.