I've just built the nvidia driver for my home machine for the third time and I'd like to put it into a dkms format, but I'm not entirely clear on what goes where to make this work. I googled for a good primer on dkms, but what I'm finding is essentially equivalent to the man page, which, like most Unix/Linux man pages, doesn't really tell you "how to do this from scratch." I'm using nvidia's latest driver, r. 173.14.09, which seems to be more recent than the last one I have from rpmforge (1.0.9755, IIRC), although I'm not sure I really need anything other than the rpmforge version. Should I 1) revert to the rpmforge version and re-add it back into the dkms tree? IIRC, this wasn't that hard to do, 'cuz it was meant to be done in the first place. 2) try to bungle my way through with the newest one from nvidia? Or is there a really good primer on dkms that tells what to put where and how to create a proper dkms.conf file (and where)? Thanks. mhr
MHR wrote:> > Or is there a really good primer on dkms that tells what to put where > and how to create a proper dkms.conf file (and where)? >Did you read the Wiki? http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2143b7bbcff73f927731f0
MHR <mhullrich at gmail.com> writes:> 1) revert to the rpmforge version and re-add it back into the dkms > tree? IIRC, this wasn't that hard to do, 'cuz it was meant to be done > in the first place.I'm using the RPMforge one, and I currently have 173.08-1.beta.el5.rf installed. And it uses dkms. I haven't checked for updates in some time to see if .09 is available, but it's certianly more up to date than 1.0.9755 these days :). So I'd recommend just using RPMforge and decline to duplicate the effort Dag has put into the package. - Michael -- mouse, n: A device for pointing at the xterm in which you want to type. Confused by the strange files? I cryptographically sign my messages. For more information see <http://www.elehack.net/resources/gpg>.
Apparently Analagous Threads
- Kernel 4.12 and nVidia Driver
- DKMS and new(er) Nvidia-drivers
- Bug#694429: blktap-dkms: unowned files after purge (policy 6.8, 10.8): /lib/modules/$KVERS/kernel/
- Bug#748953: blktap-dkms: Struct bio was changed in 3.14 breaking build
- Building btrfs as a dkms module on Debian