LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel 3.0-ARCH VMWare modules wont build (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-3-0-arch-vmware-modules-wont-build-895590/)

demencia 08-04-2011 02:49 PM

Kernel 3.0-ARCH VMWare modules wont build
 
Since new kernel 3.0 update I cannot rebuild vmware modules

Quote:

sudo vmware-modconfig --console --install-all
Unable to initialize kernel module configuration
I found this answer on a forum, but I don't know how to do that. Where do I insert the "CONFIG_LOCALVERSION" line.

Quote:

Same here. This seems to be due to the kernel version being "3.0" instead of "3.0.0".
Recompiling the Kernel (and all modules based on it, e.g. nvidia) with
CONFIG_LOCALVERSION=".0-ARCH"
allows me to compile the modules and run VMware.
Thank you!

T3RM1NVT0R 08-04-2011 03:03 PM

@ ReplyI
 
Hi there,

What I can think of from the abstract of the forum that you pasted is that they want you to recompile the kernel after editing .config file and setting CONFIG_LOCALVERSION=3.0.0 in it.

demencia 08-04-2011 04:07 PM

Quote:

Originally Posted by T3RM1NVT0R (Post 4433900)
Hi there,

What I can think of from the abstract of the forum that you pasted is that they want you to recompile the kernel after editing .config file and setting CONFIG_LOCALVERSION=3.0.0 in it.

Which .config file?

T3RM1NVT0R 08-04-2011 05:12 PM

@ Reply
 
I think you rated my previous post as not helpful. In the community we people give suggestions not always solution and that is how this community works if I am not wrong.

Anyways, I was talking about .config file which is located under /usr/src/ kernel source directory. As I am using CentOS for me my kernel source directory is: /usr/src/kernels/2.6.18-194.el5-i686

You can find kernel source directory for your system under /usr/src/kernels. In this .config file you will find a parameter which says:
CONFIG_LOCALVERSION="" you can change this to CONFIG_LOCALVERSION=3.0.0 and then recompile the kernel using this editing .config file.

Note: Make a backup of your existing .config file before editing.

demencia 08-04-2011 06:53 PM

Quote:

Originally Posted by T3RM1NVT0R (Post 4434003)
I think you rated my previous post as not helpful. In the community we people give suggestions not always solution and that is how this community works if I am not wrong.

Anyways, I was talking about .config file which is located under /usr/src/ kernel source directory. As I am using CentOS for me my kernel source directory is: /usr/src/kernels/2.6.18-194.el5-i686

You can find kernel source directory for your system under /usr/src/kernels. In this .config file you will find a parameter which says:
CONFIG_LOCALVERSION="" you can change this to CONFIG_LOCALVERSION=3.0.0 and then recompile the kernel using this editing .config file.

Note: Make a backup of your existing .config file before editing.

This was useful :) Thank you. I'll try as soon as i get home.


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