Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-10-2005, 01:58 AM   #1
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
from 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/
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
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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)


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 > Forums > Linux Forums > Linux - Newbie

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