LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 09-08-2006, 01:25 AM   #1
yugandhar
LQ Newbie
 
Registered: Jun 2006
Posts: 28

Rep: Reputation: 15
how to load a kernel module at boot time


Hi all,
I have written one simple character driver and i am loading it to the kernel using insmod and removing it using rmmod command and its working fine.
I want to automatically load the same character driver whenever i boot the system. I have found in some articles that we can modprobe the module name and keep it in /etc/module.conf i tried the thing but it is not working. I am using fedora core 4 . so please help me how can i load the module automatically whenever i boot the system.
 
Old 09-08-2006, 02:33 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
/etc/module.conf is the old file name. Try /etc/modprobe.conf

You should also have a look at the bottom of this page to the section "Similar Threads". This question has been asked several times.

Cheers.
 
  


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
how to load a kernel module at boot time yugandhar Linux - Kernel 1 08-19-2006 07:48 AM
Load module at boot time hguts Programming 1 01-24-2006 09:02 AM
how to load a module at boot time appas Linux - Software 7 09-29-2004 06:04 AM
how to load a module at boot time trutnev Linux - Newbie 1 03-14-2004 12:54 PM
Load module(s) at boot time LordChaos Linux - General 2 01-18-2003 03:28 PM


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