LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-10-2005, 01:58 AM   #1
Ankardo
LQ Newbie
 
Registered: Jun 2005
Distribution: Debian
Posts: 6

Rep: Reputation: 0
Custom kernel does not load modules


I have been trying to make a custom kernel based on 2.6.11.10
from kernel.org. It boots but works differently (slower) than
my debian 2.6.8 image package kernel version.

Finally I realised that new kernel does load only couple of modules
instead of tens it should. .../modules/2.6.11.10/modules.dep
has been created and it looks ok.

Neither /etc/modules nor modules.conf has been updated
during kernel making process. I've been trying to follow
init process but haven't succeeded to figure out what
is different with new kernel compared to old one.

Should those ...modules and modules.conf updated?
How that can be done automatically and how I ensure
that I won't mess old kernel's module loading process?
 
Old 06-10-2005, 03:04 AM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
If you compile a new kernel that won't change modules.conf. You'll need to edit that manually, but if you compile your hardware in as modules you shouldn't need to edit it since you'll still need the modules loaded for your hardware to work.

If it seems to be running slower than before, chances are you compiled an incorrect module or something and while it's working, it's not using your hardware correctly. Either that or the old kernel was compiled for i686 but you compiled it for generic x86 or something like that. Did you go through a read all the descriptions for the options? It sounds like a lot but you really need to do it to get a good idea of what you're building exactly.
 
Old 06-10-2005, 06:30 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 13.37 Android 4.0
Posts: 2,248

Rep: Reputation: 46
A properly configured and complied kernel will definately run faster and be smaller than the generic kernel that comes with most distros because you're leaving out all of the extra stuff you don't need for your particular machine.

Go back through your kernel configuration setup and make sure you have it configured properly. Sometimes it takes a few attempts before getting it right the first time. Once you've done it a few times, you'll find it's pretty easy and does increase kernel speed and reduce kernel size. Also make sure you don't skip any steps when compiling (such as make modules_install)
 
  


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
trouble compiling modules against custom fedora core 4 kernel blahJake Linux - Software 6 12-16-2006 06:54 AM
getting sound modules to work on a Thinkpad T20 with a custom 2.6.10 kernel donkeygod Debian 2 03-23-2005 10:04 AM
custom slackpack kernel-modules sammyb Slackware 0 11-29-2004 03:41 PM
new kernel 2.6.7 cant load modules short101 Debian 8 08-21-2004 09:59 PM
Making custom kernel..but drivers and modules wont load on boot skoal Linux - General 10 12-06-2001 06:59 PM


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