Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-01-13, 06:42 PM   #1
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default 3.9.0 kernel module load error - GPL-only symbol system_wq

Nvidia 313.26, 313.30 and 319.12 Ubuntu 13.04

/usr/src/linux-3.9.0/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.0/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if [ "-pg" = "-pg" ]; then if [ /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/os-usermap.o != "scripts/mod/empty.o" ]; then /usr/src/linux-3.9.0/scripts/recordmcount "/usr/src/NVIDIA-Linux-x86_64-313.30/kernel/os-usermap.o"; fi; fi;
ld -m elf_x86_64 -r -o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nvidia.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-kernel.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-acpi.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-
chrdev.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-cray.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-gvi.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-i2c.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-mempool.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-mlock.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-mmap.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-p2p.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-pat.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-procfs.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-usermap.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-vm.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-vtophys.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/os-interface.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/os-registry.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/os-smp.o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/os-usermap.o
(cat /dev/null; echo kernel//usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nvidia.ko > /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/modules.order
make -f /usr/src/linux-3.9.0/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-3.9.0/Module.symvers -I /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/Module.symvers -o /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/Module.symvers -S -w -s
WARNING: could not find /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/.nv-kernel.o.cmd for /usr/src/NVIDIA-Linux-x86_64-313.30/kernel/nv-kernel.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'system_wq'
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] 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. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

Last edited by siddly; 05-01-13 at 07:46 PM. Reason: adding details
siddly is offline   Reply With Quote
Old 05-02-13, 05:52 PM   #2
artem
Registered User
 
Join Date: Jun 2006
Posts: 703
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

You have incorrectly configured your Linux kernel. Why not using the one which comes with Ubuntu?
__________________
Main Linux problems
artem is offline   Reply With Quote
Old 05-02-13, 07:29 PM   #3
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

Quote:
Originally Posted by artem View Post
You have incorrectly configured your Linux kernel. Why not using the one which comes with Ubuntu?
I test new kernels on both openSUSE and Kubuntu along with VirtualBox and NVidia drivers and report any problems usually before they go GM.

Up to 3.9.0-rc8 had no problems.

I see nothing in the kernel .config regarding GPL symbols.

I am building 3.9.0 on a different Kubuntu 13.04 box and I'll see if it reports the same.

No problems on 3 openSUSE boxes either.

All boxes have
CONFIG_USB_SERIAL_SYMBOL=m
CONFIG_UNUSED_SYMBOLS=y
siddly is offline   Reply With Quote
Old 05-03-13, 04:42 AM   #4
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

Neither box has UEFI in the BIOS.
nvidiafb and rivafb are not set in .config.

/usr/src/linux-3.9.0/include/linux/cpumask.h: In function ‘cpumask_parse’:
/usr/src/linux-3.9.0/include/linux/cpumask.h:603:26: warning: signed and unsigned type in conditional expression [-Wsign-compare]
In file included from /usr/src/linux-3.9.0/arch/x86/include/asm/uaccess.h:539:0,
from /usr/src/linux-3.9.0/include/linux/poll.h:11,
from /usr/src/NVIDIA-Linux-x86_64-319.12/kernel/nv-linux.h:115,
from /usr/src/NVIDIA-Linux-x86_64-319.12/kernel/nv-i2c.c:15:
/usr/src/linux-3.9.0/arch/x86/include/asm/uaccess_64.h: In function ‘copy_from_user’:
/usr/src/linux-3.9.0/arch/x86/include/asm/uaccess_64.h:62:6: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/usr/src/NVIDIA-Linux-x86_64-319.12/kernel/nv-i2c.c: In function ‘nv_i2c_del_adapter’:
/usr/src/NVIDIA-Linux-x86_64-319.12/kernel/nv-i2c.c:327:14: error: void value not ignored as it ought to be
make[4]: *** [/usr/src/NVIDIA-Linux-x86_64-319.12/kernel/nv-i2c.o] Error 1
make[3]: *** [_module_/usr/src/NVIDIA-Linux-x86_64-319.12/kernel] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
-> Unable to determine if Secure Boot is enabled: No such file or directory
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.

Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: Exec format error


Back to 3.9.0-rc7 and 313.26.
siddly is offline   Reply With Quote
Old 05-03-13, 11:19 AM   #5
artem
Registered User
 
Join Date: Jun 2006
Posts: 703
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

I have no problems running NVIDIA drivers 319.17 and vanilla kernel 3.9.0.

Here's my x86 .config (it's for my hardware and CentOS 6.4 - so no odd features are included) - it's not suitable for Fedora and probably other modern distros.
Attached Files
File Type: txt config-3.9-birdie.txt (72.9 KB, 66 views)
__________________
Main Linux problems
artem is offline   Reply With Quote
Old 05-03-13, 03:16 PM   #6
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

Quote:
Originally Posted by artem View Post
I have no problems running NVIDIA drivers 319.17 and vanilla kernel 3.9.0.

Here's my x86 .config (it's for my hardware and CentOS 6.4 - so no odd features are included) - it's not suitable for Fedora and probably other modern distros.
Just downloaded 319.17, will try it later.

Both Ubuntu boxes work with the following, one is 3.9.0-rc8:-

root@sdrbox1:~# uname -r
3.9.0-rc7+
root@sdrbox1:~# cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 313.26 Wed Feb 27 13:04:31 PST 2013
GCC version: gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)

Absolutely no problems with 319.12 and 3.9.0 on openSUSE.
Beats me where this GPL-only symbol and UEFI problems come from.
The 3 openSUSE boxes (6-core and 8-core AMD) one with GeForce GTX 560 Ti and 2 with GeForce 8600 GT
One of the Kubuntu ones (4-core AMD) have essentially the same hardware and a GeForce 8800 GTS.
# uname -r
3.9.0-smp+
slipstream:/usr/src # cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 319.12 Wed Apr 3 15:43:51 PDT 2013
GCC version: gcc version 4.7.2 20130205 [gcc-4_7-branch revision 195759] (SUSE Linux)
siddly is offline   Reply With Quote
Old 05-04-13, 06:50 AM   #7
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

I now see the problem.
The kernel is 3.9.0+ heading towards 3.10 which has EFI enabled by default.

The problem boils down to this and I don't need a reminder that it's an unsupported kernel as far as NVidia is concerned:-
/usr/src/NVIDIA-Linux-x86_64-319.17/kernel/nv-i2c.c: In function ‘nv_i2c_del_adapter’:
/usr/src/NVIDIA-Linux-x86_64-319.17/kernel/nv-i2c.c:327:14: error: void value not ignored as it ought to be

It's trying to return void.
siddly is offline   Reply With Quote
Old 05-06-13, 10:26 AM   #8
marcopolo
Registered User
 
Join Date: Feb 2008
Posts: 2
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

For the system_wq GPL issue, see here: https://lkml.org/lkml/2013/5/6/232
marcopolo is offline   Reply With Quote

Old 05-21-13, 08:57 AM   #9
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

Complete silence from NVidia probably until 3.10.0 final so I've gone back to nouveau.
siddly is offline   Reply With Quote
Old 05-23-13, 01:45 AM   #10
towo|
Registered User
 
Join Date: Feb 2007
Posts: 113
Default Re: 3.9.0 kernel module load error - GPL-only symbol system_wq

Nvidia devs doesn't post in this forum anymore.
towo| is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 07:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 08:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 08:14 PM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 02:31 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.