How to compile kernel module for a new kernel before reboot?
Craig White
craigwhite at azapple.com
Sat Apr 3 19:18:19 UTC 2010
On Sat, 2010-04-03 at 23:04 +0400, Andrew Junev wrote:
> Hello All,
>
> I have a vt6656 WiFi adapter that needs a separate driver to work in
> Linux. The driver is neither in "native" Fedora repos, nor in
> rpmfusion (at least I don't know how to search for it, so I think it's
> not there).
>
> So whenever I do a 'yum update' and get a new kernel, I have to
> compile a new kernel module as well. Currently, I first reboot to a
> new kernel, then compile a module and then do another reboot just to
> check everything is loading properly on bootup.
>
> How do I compile my driver for a new kernel _before_ actually booting
> into that new kernel, so that I could be prepared with the new kernel
> module already on first reboot?
----
unless something radically changed in the kernel, you could probably
just copy the module from /lib/modules/kernel-x to /lib/modules/kernel-y
or you could use Matt Domsch's dkms
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the users
mailing list