LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 05-07-2007, 09:29 AM   #1
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Rep: Reputation: 30
Building Generic Kernel


I am trying to build a new kernel with the 2.6.21 tarball. I am getting an error when I try to install the modules. The error is that the module 'blahblah.ko' does not exist and sure enough it does not. These are the steps that I have done:

1) download linux-2.6.21.tar.bz from http://www.kernel.org/pub/linux/kernel/v2.6/
2) uncompress and untar the kernel.
3) make menuconfig and load other config file ( /boot/config-2.6.20-1.2933.fc6 )
4) apply the bmcsensor patch ( http://bmcsensors-26.sourceforge.net/ )
5) make oldconfig
6) make all ( everything build successfully, even the modules )
7) make modules_install

At this point I get all the errors out missing files. What am I missing here......

Keith
 
Old 05-07-2007, 10:28 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
You usually have to make the modules first before installing.

make modules
make modules_install
 
Old 05-07-2007, 12:58 PM   #3
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by trickykid
You usually have to make the modules first before installing.

make modules
make modules_install
Doesn't the "make all" target make the modules? During the build process there are numerous files that have a [M] in front of them. Does the [M] denote a kernel module?

Keith
 
Old 05-08-2007, 10:08 AM   #4
kromberg
Member
 
Registered: Feb 2007
Location: Colorado
Distribution: FC6, FC7 x86_64
Posts: 218

Original Poster
Rep: Reputation: 30
Turned out to be a module that was not compiling. I applied a patch to pick up and read the BMC sensors on my motherboard. The patch broke a module, even though the patch was successful. I did not see the error as it flew by too quickly using the '-j 12' option I applied the latest development version of the BMC sensor patch to the 2.6.21 kernel, it built fine, and I am up and running.

Keith
 
Old 05-08-2007, 11:46 AM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by kromberg
Doesn't the "make all" target make the modules? During the build process there are numerous files that have a [M] in front of them. Does the [M] denote a kernel module?

Keith
Ah, yeah, that's true in 2.6.x kernels. Brainfarts suck..
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
feisty generic kernel jaymoney Ubuntu 2 05-03-2007 10:05 PM
kernel-generic-2.6.12.5 lilo Slinky Slackware 2 09-04-2005 02:04 PM
kernel 2.6.10-generic does not include emu10k1 samac Slackware 3 02-17-2005 04:50 PM
Generic kernel xgm Mandriva 1 02-06-2005 11:06 AM
A question about generic-kernel in /testing mardanian Slackware 7 07-10-2004 05:13 AM


All times are GMT -5. The time now is 07:58 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration