LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 07-16-2010, 04:20 AM   #1
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Rep: Reputation: 18
Install New Module on newly 2.6.35-rc5 kernel !!!


Recently I was trying to look into vmware pvscsi modules for newly announced linux kernel 2.6.35-rc2. I compiled the kernel with option: make oldconfig where it asked me for various interactive options and all I did is Kept pressing the Enter ENTER key(Donno if that is the correct way to slect default ).The Kernel Compilation anyway went fine and I can see new kernel at grub screen, booted and it went fine.Now when I explored I found that nor the vmware_balloon and vmw_pvscsi modules are present which means I need to install these modules.
I came to know that recently a new version of the vmware memory drivers being included through this page:

http://www.linuxhq.com/kernel/v2.6/3...ware_balloon.c

where you can see an entry like:

Code:
MODULE_AUTHOR("VMware, Inc.");
 MODULE_DESCRIPTION("VMware Memory Control (Balloon) Driver");
-MODULE_VERSION("1.2.1.0-K");
+MODULE_VERSION("1.2.1.1-k");
Doesn't it mean that the new kernel has new driver version inboxed?

Also, I tried to install modules through modprobe and insmod(seems that this doesnt work) but couldnt do that.
 
Old 07-16-2010, 04:39 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
Hi,

I guess you didn't add support for this module in your newly compiled kernel. To verify, run:
Code:
grep VMWARE /usr/src/linux-2.6.35-rc5/.config
To add the driver you have to recompile your kernel. Go to: Device Drivers -> Misc devices and add "VMware Balloon Driver" as a module

Regards
 
Old 07-16-2010, 04:42 AM   #3
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Thats True.

here's the output:

Code:
# CONFIG_VMWARE_BALLOON NOT SET
# CONFIG_VMWARE_PVSCSCI NOT SET
May I know what steps are needed for the recompile.

Last edited by linuxunix; 07-16-2010 at 04:44 AM.
 
Old 07-16-2010, 04:50 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
To recompile your kernel, you should enter the directory /usr/src/linux-2.6.35-rc5 and run
Code:
make menuconfig
or "make xconfig" if you like a gui.

Go to: Device Drivers -> Misc devices, scroll down to "VMware Balloon Driver" and press "M" to compile it as module
Save, exit and then do what you did last time after running "make oldconfig"

Regards
 
Old 07-16-2010, 04:53 AM   #5
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Thanks.Let me try out now.
 
Old 07-16-2010, 04:58 AM   #6
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
When I am trying to run this command it throws error:

Code:
linux-xx82:/usr/src/linux-2.6.35-rc5 # make menuconfig
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 ***
 *** Install ncurses (ncurses-devel) and try again.
 ***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
linux-xx82:/usr/src/linux-2.6.35-rc5 #
I installed python-curses but the error still remained.
i am installing it on SLES 11 SP1
 
Old 07-16-2010, 05:03 AM   #7
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
You need the ncurses package
Or try the "make xconfig" way
 
Old 07-16-2010, 05:09 AM   #8
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
I did installed libncurses but things dint work.
Code:
linux-xx82:/usr/src/linux-2.6.35-rc5 # rpm -qa *curses*
ncurses-utils-5.6-90.55
libncurses6-5.6-90.55
yast2-ncurses-pkg-2.17.13-1.25
python-curses-2.6.0-8.7
yast2-ncurses-2.17.14-1.4
libncurses5-5.6-90.55
linux-xx82:/usr/src/linux-2.6.35-rc5 #
#make xconfig
Code:
[linux-xx82:/usr/src/linux-2.6.35-rc5 # make xconfig
  CHECK   qt
*
* Unable to find the QT3 installation. Please make sure that
* the QT3 development package is correctly installed and
* either install pkg-config or set the QTDIR environment
* variable to the correct location.
*
make[1]: *** No rule to make target `scripts/kconfig/.tmp_qtcheck', needed by `scripts/kconfig/qconf.o'.  Stop.
make: *** [xconfig] Error 2
linux-xx82:/usr/src/linux-2.6.35-rc5 #
 
Old 07-16-2010, 05:12 AM   #9
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Installed QT3 packages too but no working.
Just rebooted the OS to see if it works !!
 
Old 07-16-2010, 05:29 AM   #10
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
In both cases you'll need the development packages too
Here is what I get from a Suse 10.3
Code:
rpm -qa|grep ncurses
rpm -qa|grep -i curses
yast2-ncurses-2.15.27-16
ncurses-5.6-41
ncurses-devel-5.6-41

rpm -qa|grep -i qt
yast2-control-center-qt-2.15.4-12
dbus-1-qt3-0.62-110.1
poppler-qt-0.5.4-101.4
dbus-1-qt3-devel-0.62-110.1
yast2-qt-2.15.16-19
qt3-3.3.8-76.2
qt3-devel-3.3.8-76.2
 
Old 07-16-2010, 05:38 AM   #11
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
Seems that I am missing with devel package:

Code:
linux-xx82:/usr/src/linux-2.6.35-rc5 # rpm -qa | grep ncurses
ncurses-utils-5.6-90.55
libncurses6-5.6-90.55
yast2-ncurses-pkg-2.17.13-1.25
yast2-ncurses-2.17.14-1.4
libncurses5-5.6-90.55
 
Old 07-16-2010, 05:44 AM   #12
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,907

Rep: Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326Reputation: 1326
I don't know about SLES but can you use your package manager to install it?
It look like it exists in your installation media (suse/i586/ncurses-devel-5.6-90.55.i586.rpm ) according to this
 
Old 07-16-2010, 06:31 AM   #13
linuxunix
Member
 
Registered: Mar 2010
Location: California
Distribution: Slackware
Posts: 235

Original Poster
Rep: Reputation: 18
I have installed ncurses and itd dependent packages ( ie tack) and now it seems to run.
Will Post the further output.
 
  


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
Compiling a new kernel 2.6.34-rc5 on RHEL 5 Beta ?? linuxunix Linux - Newbie 3 04-29-2010 09:35 PM
whats an rc5-kernel j1alu Debian 3 05-23-2009 05:12 AM
LXer: Linux: 2.6.23-rc5, Kernel Summit LXer Syndicated Linux News 0 09-02-2007 09:40 PM
Installing NVIDIA kernel module for newly installed kernel philippeP Linux - General 1 07-13-2006 05:50 AM
kernel 2.6.17-rc5 with Slackware-stable? uselpa Slackware 10 06-04-2006 06:50 PM


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