[SOLVED] Kernel 3.10 (x86_64) and nvidia 319.32 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.
Built the new 3.10 kernel this morning and it boots fine. Wanted to compile a new nvidia driver to go with it and it pops up a message that it can't build it. Looking in the log I find -
/usr/src/linux-3.10/include/linux/compiler.h:152:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
/tmp/selfgz5126/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.c: In function 'nv_i2c_del_adapter':
/tmp/selfgz5126/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.c:327:14: error: void value not ignored as it ought to be
osstatus = i2c_del_adapter(pI2cAdapter);
^
make[4]: *** [/tmp/selfgz5126/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.o] Error 1
make[3]: *** [_module_/tmp/selfgz5126/NVIDIA-Linux-x86_64-319.32/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.
Anyone able to build the Nvidia module with kernel 3.10 (64 bit). Googling finds this error with earlier Nvidia modules but withno clear fix. Had no problems with the 3.98 kernel.
Thanks for that. Created patch file and copied to the kernel directory of the uncompressed Nvidia driver. Patch won't apply for some reason
patch -p1 < patch-1
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- nv-procfs.c.orig 2013-05-27 18:51:04.361832467 -0430
|+++ nv-procfs.c 2013-05-27 18:52:30.267642126 -0430
--------------------------
File to patch:
Clearly I'm doing something wrong. How did you patch yours?? Thanks in advance.
Well it finally worked. I deleted the unpacked directory for NVIDIA-Linux-x86_64-319.32 and then unpacked it anew. Applied the patch and now the module builds. The old unpacked directory must have been corrupted in some way. Many thanks for your help bathory. Really appreciated.
I made a set up which I use a bluetooth mouse and keyboard, but with the 3.8 kernel I keep getting kernel panics on ubuntu. This issue is solved in the newest 3.10 series, but unfortunately there is no support for the nVidia graphics card so far. Except for the patch you posted in this forum thread. The problem is I am a real noob in linux, is there any step-by-step way of configuring this? Did anyone packed the solution on a ppa?
I would really appreciate some help on finding a way of making my nVidia card 'talk' with the new kernel!
Here it goes other noob question, does bumblebee can be installed together with the new kernel?? Is there a ppa?
This issue is solved in the newest 3.10 series, but unfortunately there is no support for the nVidia graphics card so far. Except for the patch you posted in this forum thread.
FYI latest nvidia driver (version 325.15) does not need the patch in order to work
Thank you for your kind reply bathory, but how to install this version on Ubuntu 13.04 (runing the 3.10 kernel), in Synaptic I can only find the nvidia-310 and 304 packages....How to get the 325 version?
Thank you for your kind reply bathory, but how to install this version on Ubuntu 13.04 (runing the 3.10 kernel), in Synaptic I can only find the nvidia-310 and 304 packages....How to get the 325 version?
You can follow these instructions (from step 4) to install the binary driver from nvidia.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.