Results 1 to 6 of 6
Why is it that under Windows or whatever I don't have to recompile the kernel just to add a new driver? Is it a protection thing? Or an optimization thing? ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-01-2005 #1Just Joined!
- Join Date
- Nov 2004
- Location
- India
- Posts
- 4
why kernel recompilation?
Why is it that under Windows or whatever I don't have to recompile the kernel just to add a new driver? Is it a protection thing? Or an optimization thing? Or something else?
- 05-01-2005 #2Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Windows is closed Software, you can't compile anything, you don't have the sources.. and you wouldn't be able to if you had them

Recompiling the kernel is for optimization (remove stuff that may be loaded but you don't use it at all) and for upgrading (sometimes there are vulnerabilities in the kernel).serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 05-05-2005 #3Just Joined!
- Join Date
- Apr 2005
- Location
- floating in space
- Posts
- 2
Cant you just compile the module and then use the insmod command to install the driver into the running kernel?
- 05-05-2005 #4Linux Engineer
- Join Date
- Apr 2005
- Location
- Buenos Aires, Argentina
- Posts
- 908
Yeah, I think you can do that..
Originally Posted by scoome serzsite.com.ar
"All the drugs in this world won\'t save you from yourself"
- 05-08-2005 #5Just Joined!
- Join Date
- Apr 2005
- Location
- Belarus
- Posts
- 14
as for me, the one who compiles kernel gains great experience in understanding principles of system. It took 9 attempts to succcesfully configure a working kernel first time i did it.
- 06-28-2005 #6Just Joined!
- Join Date
- Jun 2005
- Location
- Manchester...
- Posts
- 1
the main reason to compile the kernel is customisation... if done properly (ie you know all the hardware in your machine) start up would be significantly faster...


Reply With Quote
