rebuild linux kernel need to recompile all hardware driver?
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
rebuild linux kernel need to recompile all hardware driver?
Dear all,
I have rebuild my linux kernel to add some feature (the same kernel version). After that, my Graphics card driver(Geforce) and Sound card driver(EMU10k1) doesn't work.
I need to recompile those driver to make them re-appear.
As I guess, the driver only some executable files, why do they depend on the linux kernel?
And I only changed the kernel slightly, why the drivers all didn't work??
Well you need to recompile them, why - because they are dependent on kernel bits such as modules that are recompiled along with kernel, let's say you recompiled kernel with audio modules so instead of having audio bits compiled into kernel you decided that you better off loading and unloading module as it is being used/unused, now your previously compiled audio driver knew where to find the information, let's say it was in a memory location 0xfffff for simplicity, now when you recompiled kernel the nessecary code for audio information is no longer in 0xfffff location it has been moved to 0xfff3a, and when it tries to access the location 0xfffff instead of reaching lets say sequencer it accesses an IDE controller information, and the system bugs out, clear????
That means the hardware drivers only know the exact memory location they need to read?
Then, if a person is going to update kernel(this guy always enjoy to use latest things), then he will be very annoying to install the drivers again and again?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.