LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-31-2005, 03:11 PM   #1
Wordan
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 53

Rep: Reputation: 15
compiling installing kernel modules


Hi, I am having a very tough time getting to understand the kernel and modules. I dont.

I want > to install the realtime kernel module.

I have > Debian 3.1, using the kernel image 2.6.8-2-k7 from the deb package. I have the headers package installed, and the 2.6.8 source package installed.

I tried > downloading the realtime-lsm source from their sourceforge page. I tried compiling, but it complained about not having kernel sources. This is when i installed the debain 2.6.8 kernel source package and extracted the archive it installed. I copied the config-2.6.8-2-k7 file from /boot to the source directory (renaming it to .config). Then ran 'make' in there(I imagine unnecessary to comile the whole lot, but I dont know how otherwise). Then ran 'make'(including the paremeter to specify where the kernel source is) in the directory where I download the realtime-lsm. It apears to have compiled fine. I'm sure I've done wrong above, and I don't know what to do now.

I'd be greatfull if someone could point me in the right direction.

I also wonder why do some packages require the kernel source to comple. I installed the nvidia driver using the instaler from nvidia.com, but it only required the headers.

thanks

Last edited by Wordan; 10-31-2005 at 03:13 PM.
 
Old 11-02-2005, 02:13 AM   #2
TSJason
LQ Newbie
 
Registered: Sep 2005
Location: Chicago
Posts: 11

Rep: Reputation: 0
Greetings,

After you insert your .config file run:

make oldconfig

This will probably prompt you to fill in blanks to the config that have been implemented in the new kernel version. After that completes the proper series of "makes" are:

make modules
make modules_install
make bzImage
make install

You'll have to configure your boot loader to include the new kernel and then reboot.
 
Old 11-02-2005, 08:20 AM   #3
unixbhaskar
LQ Newbie
 
Registered: Aug 2005
Location: India
Distribution: Gentoo,Arch ,Fedora,Debian
Posts: 9

Rep: Reputation: 0
Unhappy Kernel compile

Hi!
can anyone give the detail of kernel compiling step
 
Old 11-02-2005, 08:22 AM   #4
TSJason
LQ Newbie
 
Registered: Sep 2005
Location: Chicago
Posts: 11

Rep: Reputation: 0
Hi,

Take a look at this:

http://www.rhtalk.com/showthread.php...ghlight=kernel
 
  


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
Modules in Kernel Compiling SlackwareInAZ Slackware 1 07-29-2005 06:10 AM
need some help in Compiling Kernel modules bharat83 SUSE / openSUSE 1 01-07-2005 08:21 AM
Compiling and installing modules The1ManMoshPit Linux - Software 0 06-30-2004 10:40 PM
Compiling kernel modules? jrjarrett Linux - Software 0 09-09-2003 11:24 AM
Compiling, installing modules mikeg Linux - Software 1 01-06-2001 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration