LinuxQuestions.org
Register a domain and help support LQ
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 08-04-2011, 02:49 PM   #1
demencia
LQ Newbie
 
Registered: May 2011
Posts: 29

Rep: Reputation: 0
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!

Last edited by demencia; 08-04-2011 at 02:53 PM.
 
Old 08-04-2011, 03:03 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,790

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
@ 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.
 
0 members found this post helpful.
Old 08-04-2011, 04:07 PM   #3
demencia
LQ Newbie
 
Registered: May 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3RM1NVT0R View Post
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?
 
Old 08-04-2011, 05:12 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, Ubuntu, SLES, CentOS
Posts: 1,790

Rep: Reputation: 324Reputation: 324Reputation: 324Reputation: 324
@ 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.
 
1 members found this post helpful.
Old 08-04-2011, 06:53 PM   #5
demencia
LQ Newbie
 
Registered: May 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by T3RM1NVT0R View Post
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.
 
  


Reply

Tags
archlinux, vmware


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
vmware cannot find kernel headers on arch linux thorjelly Linux - Software 3 08-31-2009 08:13 PM
Unable to build kernel modules outside the kernel tree Rovalk Programming 2 01-19-2008 01:18 AM
2.6: Build Large Kernel or Many Modules Sum1 Linux - Kernel 6 08-01-2007 06:40 PM
Can't build any modules for custom kernel jittys Linux - General 1 02-16-2007 01:53 PM
How to build usb modules into kernel?? coolguy_2005 Suse/Novell 2 08-21-2006 05:27 AM


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