View Single Post
Old 07-17-06, 02:21 AM   #1
jonas21
Registered User
 
Join Date: Jul 2006
Posts: 1
Default Nvidia nForce Drivers not compiling with 2.6.17.x

Hello,

the nforce linux driver ver. 1.0-0310 does not compile on linux 2.6.17.4/.6
(nvnet). Please see log below.
Because there has been a vulnerability in the latest kernels upto incl.
2.6.17.4 an update to 2.6.17.6 is very important. Please fix the nforce
driver to work on 2.6.17.6.


nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Thu Jul 13 01:19:30 2006

option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp

Using: nvidia-installer ncurses user interface
-> Found package NVIDIA network driver for Linux-x86
-> Found package NVIDIA audio driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA network driver for Linux-x86 (1.0-13)
-> Starting install of NVIDIA network driver for Linux-x86
-> Checking for loaded module nvnet
-> Checking for loaded module forcedeth
-> License accepted.
-> Skipping check for conflicting rpms.
-> There appears to already be a network driver installed on your system (versi
on: 1.0-13). As part of installing this driver (version: 1.0-13), the exist
ing driver will be uninstalled. Are you sure you want to continue? ('no' wi
ll abort installation) (Answer: Yes)
-> /proc/version is Linux version 2.6.17.4 (root@server) (gcc version 3.3.4
(pre 3.3.5 20040809)) #1 SMP Thu Jul 13 00:54:24 CEST 2006
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/usr/src/linux-2.6.17.4'
-> Kernel output path: '/usr/src/linux-2.6.17.4'
-> Performing cc_version_check with CC="cc".
-> running command /usr/bin/grep "^PATCHLEVEL ="
/usr/src/linux-2.6.17.4/Makefile | /usr/bin/cut -d " " -f 3
-> Kernel module filename is nvnet.ko
Cleaning kernel module build directory.
executing: 'cd ./nvnet; make clean'...
rm -f *.ko *mod.* *.cmd nvenet.o nvenetif.o nvnet.o *~ core
-> Building kernel module:
executing: 'cd ./nvnet; make module SYSSRC=/usr/src/linux-2.6.17.4 SYSOUT=/u
sr/src/linux-2.6.17.4'...
make -C /usr/src/linux-2.6.17.4 \
KBUILD_SRC=/usr/src/linux-2.6.17.4 \
KBUILD_EXTMOD="/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet" -f /usr
/src/linux-2.6.17.4/Makefile modules
mkdir -p /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.tmp_versions
rm -f /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.tmp_versions/*

WARNING: Symbol version dump /usr/src/linux-2.6.17.4/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f /usr/src/linux-2.6.17.4/scripts/Makefile.build obj=/tmp/selfgz5497/N
FORCE-Linux-x86-1.0-0310-pkg1/nvnet
cc -Wp,-MD,/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/.nvenet.o.
d -nostdinc -isystem /usr/lib/gcc-lib/i586-suse-linux/3.3.4/include -D__KER
NEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.17.4/include -include includ
e/linux/autoconf.h -I/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet -
Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-co
mmon -Os -fomit-frame-pointer -pipe -msoft-float -
mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=k8 -ffreestanding -I/
usr/src/linux-2.6.17.4/include/asm-i386/mach-default -Iinclude/asm-i386/mach
-default -DDRIVERVER=\"9999\" -I/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-p
kg1/nvnet -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -
Wno-error -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvenet
)" -D"KBUILD_MODNAME=KBUILD_STR(nvnet)" -c -o /tmp/selfgz5497/NFORCE-Linux-
x86-1.0-0310-pkg1/nvnet/nvenet.o /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-p
kg1/nvnet/nvenet.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/n
venet.h:20,
from /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/n
venet.c:22:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:559,
from /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/n
venet.h:32,
from /tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/n
venet.c:22:
include/asm/io.h: In function `check_signature':
include/asm/io.h:246: warning: wrong type argument to increment
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c: At top level:
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:217: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:217: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:217: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:217: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:220: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:220: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:220: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:220: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:223: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:223: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:223: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:223: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:226: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:226: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:226: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:226: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:229: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:229: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:229: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:229: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:232: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:232: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:232: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:232: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:235: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:235: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:235: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:235: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:238: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:238: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:238: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:238: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:241: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:241: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:241: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:241: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:244: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:244: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:244: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:244: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:247: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:247: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:247: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:247: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:250: error: pa
rse error before string constant
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:250: warning:
type defaults to `int' in declaration of `MODULE_PARM'
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:250: warning:
function declaration isn't a prototype
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:250: warning:
data definition has no type or storage class
/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.c:336: warning:
initialization from incompatible pointer type
make[4]: *** [/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet/nvenet.o]
Error 1
make[3]: *** [_module_/tmp/selfgz5497/NFORCE-Linux-x86-1.0-0310-pkg1/nvnet]
Error 2
make[2]: *** [modules] Error 2
-> Error.
ERROR: The NVIDIA kernel module was not created.
ERROR: Installation of the network driver has failed. Please see the file
'/var/log/nvidia-nforce-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.
jonas21 is offline   Reply With Quote