Share your knowledge at the LQ Wiki.
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 02-10-2004, 12:31 AM   #1
Registered: Feb 2004
Location: Bangalore
Distribution: Redhat
Posts: 144

Rep: Reputation: 15
how to add my module to linux kernel

Can you please tell me how to add my module to the kernel statically ( i.e. When i reboot the system it should contain my module) ?
reply me.
Old 02-10-2004, 01:39 AM   #2
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

You could put an entry in

Something like modprobe [modulename] >/dev/null 2>&1

You'll have to figure out where in the file you want to do this.

If the module's not needed during boot, but will be later, you could put that line into

Old 02-10-2004, 02:08 AM   #3
Registered: Feb 2004
Location: Bangalore
Distribution: Redhat
Posts: 144

Original Poster
Rep: Reputation: 15
thank you for your help.
Old 02-10-2004, 08:01 AM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 250Reputation: 250Reputation: 250
Moved: More suitable in Newbie as it really isn't LFS specific. Regards.


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 add a kernel module source? rollo Linux - General 6 10-19-2005 03:21 PM
Linux kernel debugging and Linux kernel module programming Igor007 Programming 2 08-13-2005 05:12 AM
How to add kernel module to kernel source? cranium2004 Programming 7 05-12-2005 10:34 PM
how to add new loadable module to kernel? Mistreated Linux - Software 7 02-02-2005 10:22 AM
add new kernel module/file system blackzone Linux - General 1 11-07-2004 11:14 PM > Forums > Linux Forums > Linux - Newbie

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

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