[SOLVED] Linux 3.10/3.11 incompatibility: In function ‘nv_i2c_del_adapter’ error
@birdie Totally agree...hope they read some of these posts? From my installer log with Fedora 3.10.3-300 kernel ([b][u]the make & prepare comment before the blah blah blah did nothing to fix it[/b][/u]) -> Performing rivafb check. -> Performing nvidiafb check. -> Performing Xen check. -> Cleaning kernel module build directory. executing: 'cd ./kernel; make clean'... -> Building kernel module: executing: 'cd ./kernel; make module SYSSRC=/home/ad-non/rpmbuild/BUILD/kernel-3.10.fc19/linux-3.10.3-300.fc19.x86_64 SYSOUT=/home/ad-non/rpmbuild/BUILD/kernel-3.10.fc19/linux-3.10.3-300.fc19.x86_64'... NVIDIA: calling KBUILD... test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) blah blah blah ~/rpmbuild/BUILD/kernel-3.10.fc19/linux-3.10.3-300.fc19.x86_64/arch/x86/include/asm/uaccess_64.h:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (likely(sz == -1 || sz >= n)) ^ /tmp/selfgz902/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.c: In function ‘nv_i2c_del_adapter’: /tmp/selfgz902/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[3]: *** [/tmp/selfgz902/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.o] Error 1 make[2]: *** [_module_/tmp/selfgz902/NVIDIA-Linux-x86_64-319.32/kernel] 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. [img]https://lh5.googleusercontent.com/-Pe4BzA1EbtE/UffyB1ZqrHI/AAAAAAAAA-Y/yxnl20TogjY/s640/latest_attachment.jpeg[/img]
@birdie Totally agree...hope they read some of these posts?
From my installer log with Fedora 3.10.3-300 kernel
(the make & prepare comment before the blah blah blah did nothing to fix it)

-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/home/ad-non/rpmbuild/BUILD/kernel-3.10.fc19/linux-3.10.3-300.fc19.x86_64 SYSOUT=/home/ad-non/rpmbuild/BUILD/kernel-3.10.fc19/linux-3.10.3-300.fc19.x86_64'...
NVIDIA: calling KBUILD...
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
blah blah blah
~/rpmbuild/BUILD/kernel-3.10.fc19/linux-3.10.3-300.fc19.x86_64/arch/x86/include/asm/uaccess_64.h:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (likely(sz == -1 || sz >= n))
^
/tmp/selfgz902/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.c: In function ‘nv_i2c_del_adapter’:
/tmp/selfgz902/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[3]: *** [/tmp/selfgz902/NVIDIA-Linux-x86_64-319.32/kernel/nv-i2c.o] Error 1
make[2]: *** [_module_/tmp/selfgz902/NVIDIA-Linux-x86_64-319.32/kernel] 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.

Image

#16
Posted 07/30/2013 05:13 PM   
325.15 yippee
325.15 yippee

#17
Posted 08/05/2013 05:36 PM   
325.15 still needs nv-linux.h part for 3.11-rcX kernels.
325.15 still needs nv-linux.h part for 3.11-rcX kernels.

#18
Posted 08/05/2013 10:29 PM   
@Milos_SD, -rc kernels are not supported.
@Milos_SD, -rc kernels are not supported.

Aaron Plattner
NVIDIA Linux Graphics

#19
Posted 08/06/2013 12:13 AM   
I know. I just pointed out to users, how to get it working. :) Here is that part of the patch that is needed. http://pastebin.com/qV30u23p
I know. I just pointed out to users, how to get it working. :)
Here is that part of the patch that is needed.

http://pastebin.com/qV30u23p

#20
Posted 08/06/2013 04:12 AM   
thanks Milos_SD, that little change to nv-linux.h is all it took to get the 325.15 driver to build on 3.11-rc4.
thanks Milos_SD, that little change to nv-linux.h is all it took to get the 325.15 driver to build on 3.11-rc4.

#21
Posted 08/07/2013 11:29 PM   
[quote="gun26"]thanks Milos_SD, that little change to nv-linux.h is all it took to get the 325.15 driver to build on 3.11-rc4.[/quote] But, unfortunately, it don't want to load (after successfull build) on 3.11.1. It says, that it has no support for card, while it README says, it has...
gun26 said:thanks Milos_SD, that little change to nv-linux.h is all it took to get the 325.15 driver to build on 3.11-rc4.

But, unfortunately, it don't want to load (after successfull build) on 3.11.1.
It says, that it has no support for card, while it README says, it has...

#22
Posted 09/23/2013 08:37 PM   
3.11.1 Patch FAILS! Here we go again with 325.15 not as in the photo [img]https://lh5.googleusercontent.com/-Pe4BzA1EbtE/UffyB1ZqrHI/AAAAAAAAA-Y/yxnl20TogjY/s640/latest_attachment.jpeg[/img]
3.11.1
Patch FAILS!
Here we go again with 325.15 not as in the photo

Image

#23
Posted 09/23/2013 09:16 PM   
[quote="maux"]I made a couple of modifications to the above patches in order to really clean up the /proc/driver/nvidia directory, which remained on the way after rmmoding the nvidia module, thus causing oopses at the next modprobe when the module tried to create again its proc directory. The patch, for v319.32, is available at [url]http://pastebin.com/JDpkR3kt[/url].[/quote] I have downloaded the above patch into a new file and placed it into /usr/src/nvidia-319-updates-319.32/patches/nvidia-319.49_kernel-3.12.patch Updated the /usr/src/nvidia-319-updates-319.32/dkms.conf (and added...) PATCH[3]="nvidia-319.49_kernel-3.12.patch" PATCH_MATCH[3]="^3.[12] Then running: dkms install -m nvidia-319 -v updates-319.32 -k 3.12.0-031200rc7-generic Worked for me :-) Thanks maux! Running Kubuntu 12.4 LTS - Kernel 3.12 rc7 and Nvidia 319 - updated 319.32 (dkms status > nvidia-319, updates-319.32, 3.12.0-031200rc7-generic, x86_64) downloaded the kernel from: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc7-saucy/
maux said:I made a couple of modifications to the above patches in order to really clean up the /proc/driver/nvidia directory, which remained on the way after rmmoding the nvidia module, thus causing oopses at the next modprobe when the module tried to create again its proc directory.

The patch, for v319.32, is available at http://pastebin.com/JDpkR3kt.


I have downloaded the above patch into a new file and placed it into
/usr/src/nvidia-319-updates-319.32/patches/nvidia-319.49_kernel-3.12.patch
Updated the /usr/src/nvidia-319-updates-319.32/dkms.conf
(and added...)
PATCH[3]="nvidia-319.49_kernel-3.12.patch"
PATCH_MATCH[3]="^3.[12]
Then running:
dkms install -m nvidia-319 -v updates-319.32 -k 3.12.0-031200rc7-generic

Worked for me :-) Thanks maux!

Running Kubuntu 12.4 LTS - Kernel 3.12 rc7 and Nvidia 319 - updated 319.32
(dkms status > nvidia-319, updates-319.32, 3.12.0-031200rc7-generic, x86_64)
downloaded the kernel from: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc7-saucy/

#24
Posted 11/02/2013 10:13 AM   
[quote="birdie"]Hey, NVIDIA, when will you fix this incompatibility? 3.10 was released two months ago and people cannot use your drivers normally.[/quote] Hi Linux Torvalds is making the things harder for NVIDIA drivers . Using G 200 1GB DDR3 , Kernel 3.5 on Core Duo . No Problem until know everything worked perfectly . The futur can wait because he should take a rest . Bravo DAVID AND OTHERS , U make a good Work . Very fascinating and Thank you . Regards Mounir .
birdie said:Hey, NVIDIA, when will you fix this incompatibility?

3.10 was released two months ago and people cannot use your drivers normally.

Hi
Linux Torvalds is making the things harder for NVIDIA drivers .


Using G 200 1GB DDR3 , Kernel 3.5 on Core Duo . No Problem until know everything worked perfectly . The futur can wait because he should take a rest .
Bravo DAVID AND OTHERS , U make a good Work . Very fascinating and Thank you .

Regards

Mounir .

#25
Posted 11/02/2013 06:10 PM   
Scroll To Top

Add Reply