Results 1 to 6 of 6
Hello, I'm hoping someone can help me out with this.
I need to add a .ko file to my kernel. What I'm doing right now is using insmod everytime I ...
- 01-12-2006 #1Just Joined!
- Join Date
- Sep 2005
- Posts
- 21
adding a .ko libary to the kernel
Hello, I'm hoping someone can help me out with this.
I need to add a .ko file to my kernel. What I'm doing right now is using insmod everytime I boot. But I would like it to load at boot automatically. I've also put the it in my /lib/modules/2.6.81 folder, but this has not work.
Can anyone advise?
Thanks!
- 01-12-2006 #2
So do you want the module to be built in to the kernel, or do you want to just have it automatically modprobe/insmod'd at bootup?
- 01-13-2006 #3Just Joined!
- Join Date
- Sep 2005
- Posts
- 21
The first would be best if possible from the ko file?
- 01-13-2006 #4
http://www.phptr.com/articles/articl...29445&seqNum=6 Might be of interest to you.
- 01-25-2006 #5Just Joined!
- Join Date
- Jan 2006
- Location
- India
- Posts
- 52
If you are inserting kernel modules included as part of source tree, then
You can insert that module either statically /Dynamically.
*Statically including the kernel module
You need to recompile the kernel if you want .ko available every time you boot the system.
Run <make menuconfig>
And select the correspondig kernel configuration option.
You have three options:
1> Build into kernel
2> Build as kernel module
3> Ignore the module
But you have two kernel images now with and without '.ko' module.
*Dynamically inserting the kernel module
What ever you have mentioned is, nothing but dynamic way of inserting modules.
If you want it to insert automatically every time when your system boots, then please see the '/etc/init.d/boot.loadmoules' script for inserting the modules on reboot.
- 02-01-2006 #6Linux User
- Join Date
- Aug 2005
- Location
- Italy
- Posts
- 401
This depends on distro... I'm using Debian and I use /etc/modules.
Originally Posted by rajeshk When using Windows, have you ever told "Ehi... do your business?"
Linux user #396597 (http://counter.li.org)


Reply With Quote
