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-d313bd351f90d4f25a2...
Ned Slider wrote:
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-d313bd351f90d4f25a2...
And one more for you, if you want to build a dkms rpm package, see "Building kernel modules: Part 2" here:
http://www.pendre.co.uk/archive-linux.php
Hope those help.
On Fri, Aug 8, 2008 at 5:11 PM, Ned Slider ned@unixmail.co.uk wrote:
Did you read the Wiki?
http://wiki.centos.org/HowTos/BuildingKernelModules#head-d313bd351f90d4f25a2...
Funny, this didn't show up in Google, and I didn't think to look there (the second most obvious place - duh!).
Looks easy enough (and there's a newer nvidia driver now - 173.14.12 - do they change it daily?). I'll see what happens. (gulp)
mhr
MHR mhullrich@gmail.com writes:
- 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