Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-26-2010, 04:04 AM
|
#1
|
|
LQ Newbie
Registered: May 2009
Distribution: Kubuntu 9.04
Posts: 10
Rep:
|
How do driver packages get updated with kernel update (any distribution)?
Hi,
This is more of a general interest question, rather than a problem that needs solving. Any takers?
I was wondering how distributions manage to update all their driver packages when they ship a new kernel version. What I mean is: when I use a manually compiled kernel module, say, ndiswrapper wifi driver, I need to recompile it with the current kernel headers after every kernel update. However, when I'm using the ndiswrapper packages from my distribution (I'm using kubuntu but I can imagine this is similar in many distributions?), everything just works after a kernel update, even though package management doesn't seem to download a new ndiswrapper package version. Also, I can't imagine canonical is compiling new packages for every kernel update. So how do they do it? Google told me about "dynamic kernel module support", does this have anything to do with it?
The follow-up, ubuntu/debian-specific, question, would be: can I create my own package like that (since the ndiswrapper package in the official repositories is outdated and doesn't work too well).
Thank you in advance!
|
|
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
05-27-2010, 07:11 AM
|
#2
|
|
Senior Member
Registered: Oct 2003
Posts: 2,280
Rep: 
|
The kernel modules are automatically recompiled through a system originally developed by Dell called dkms, i.e. dynamic kernel module support:
http://en.wikipedia.org/wiki/Dynamic...Module_Support
Many distros use dkms, fedora, mandriva, ubuntu and probably others that I'm not aware of.
As for creating your own dkms kernel module for ndiswrapper, if you have the source for the newer version of ndiswrapper and dkms installed, then it's possible:
http://wiki.centos.org/HowTos/Buildi...cff73f927731f0
The above is for an RH based system, but it should be adaptable to debian based systems as well.
Last edited by kilgoretrout; 05-27-2010 at 07:13 AM.
|
|
|
2 members found this post helpful.
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:47 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|