[elrepo] Questions about rebuilding kmod-nvidia RPM for new kernel
Rob Spearman
rob at digitaliseducation.com
Thu Aug 29 11:46:18 EDT 2013
I installed a 3.9.7-4 kernel on CentOS 6 (via the kernel's 'make rpm')
and am running this kernel. When I try to rebuild the proprietary
nvidia driver RPMs using the 319.32 src RPM from elrepo, I have a number
of issues.
1. I have to specify kversion as "3.9.7-4" on the rpmbuild command
line. This does not match the format in the spec file, which includes
repo and arch. Why the discrepancy? Full command line is:
rpmbuild -bb nvidia-kmod.spec --define "kernels $(uname -r)" --define "kversion $(uname -r)" --target $(uname -m)
2. I can build the RPM, but it will not install. It complains of what
looks like kabi mismatch errors. Examples:
kernel(__bitmap_weight) = 0x4cbbd171 is needed by kmod-nvidia-319.32-3.el6.x86_64
kernel(__const_udelay) = 0xeae3dfd6 is needed by kmod-nvidia-319.32-3.el6.x86_64
kernel(__get_free_pages) = 0x93fca811 is needed by kmod-nvidia-319.32-3.el6.x86_64
kernel(__init_waitqueue_head) = 0x68dfc59f is needed by kmod-nvidia-319.32-3.el6.x86_64
If I install anyway, the module will not load. So it appears to be
built incorrectly but I can not determine how this could be happening.
I can easily install the same nvidia driver version through the nvidia
.run process, so it is not an nvidia problem.
Shouldn't this process work? Any suggestions?
Thanks,
Rob
More information about the elrepo
mailing list