Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 10-31-2005, 02:11 PM   #1
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, but it only required the headers.


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

Rep: Reputation: 0

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, 07:20 AM   #3
LQ Newbie
Registered: Aug 2005
Location: India
Distribution: Gentoo,Arch ,Fedora,Debian
Posts: 9

Rep: Reputation: 0
Unhappy Kernel compile

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

Rep: Reputation: 0

Take a look at this:


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

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration