LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-26-2005, 02:32 PM   #1
eigenyeugen
LQ Newbie
 
Registered: Jan 2005
Location: UK
Distribution: Debian
Posts: 11

Rep: Reputation: 0
how to configure loading of kernel modules at boot?


Hi,

Does anyone know how to set up which kernel modules are loaded at boot time on a Debian system? I thought that this was controlled only by /etc/modules and /etc/modules.conf, but after ages tinkering with /etc/modules.conf I found that the changes I was making weren't actually affecting anything. In exasperation I renamed the file, and rebooted, to find that again, nothing was changed.

When I type 'lsmod' there are loads of modules loaded that I didn't ask for in either /etc/modules or /etc/modules.conf. So, my question is... how the hell did they get there? Does anyone know?

Failing that, does anyone know the whereabouts of any good documentation on the subject of loading modules at boot time; I can't seem to find any.


Help is much appreciated.


I'm running kernel version 2.6.12.1, compiled following the very helpful tutorial at http://www.falkotimme.com/howtos/deb...el2.6_compile/
 
Old 06-26-2005, 02:35 PM   #2
kimx
Member
 
Registered: Dec 2004
Location: Denmark
Distribution: Yoper 2.2, Source Mage, Ubuntu 5.04, Slackware 10.1
Posts: 70

Rep: Reputation: 16
try changing the file /etc/modprobe.conf instead.
 
Old 06-26-2005, 03:35 PM   #3
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Most of them are probably loaded by hotplug, at bootup it scans your machine and loads modules for any devices it finds.

Before hotplug is run, /etc/modules is scanned by /etc/module-init-tools and every module listed is loaded via modprobe.
 
  


Reply



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
No Modules loading at boot. mpyusko Slackware 11 09-25-2006 03:39 PM
Boot problem after loading modules into kernel scr02bcg Linux - General 2 07-21-2005 10:23 AM
Loading kernel modules during boot. alexeyak Fedora 4 12-20-2004 09:04 AM
Loading modules error after loading compiled kernel td0l2 Linux - Newbie 12 07-28-2004 11:10 AM
Loading kernel modules at boot burk Linux - General 7 06-10-2002 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:49 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
Open Source Consulting | Domain Registration