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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-22-05, 06:28 AM   #1
fprumbau
Registered User
 
Join Date: Dec 2005
Posts: 2
Default Problem compiling kernel module

Hello,

after updating SuSE 10.1 alpha 3 to alpha 4 I can't compile the kernel module with NVidia installer. I suspected a problem with updating and installed a clean-room version of 10.1a4, same problem.

My system ist GForce 6800 GT on a Asus A7n Mainboard.

Version alpha4 brought a new glibc (2.3.6), the compiler (v4.1) was already there in alpha3. And there is - of course- the new kernel 2.6.15-rc5.

I know that alpha versions are not supported, but if someone could give me a hint where the cause of the error (view log) might be, maybe I could fix it...

nvida-installer-log========================================
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Dec 20 18:43:12 2005

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.15-rc5-git3-2-default/source'
-> Kernel output path: '/lib/modules/2.6.15-rc5-git3-2-default/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.15-rc5-git3
-2-default/source SYSOUT=/lib/modules/2.6.15-rc5-git3-2-default/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.15-rc5-git3-2-default/build KBUILD
_VERBOSE=1 -C /lib/modules/2.6.15-rc5-git3-2-default/source SUBDIRS=/tmp/com
pile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.15-rc5-git3-2-default/build \
KBUILD_SRC=/usr/src/linux-2.6.15-rc5-git3-2 \
KBUILD_EXTMOD="/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv" -f /u
sr/src/linux-2.6.15-rc5-git3-2/Makefile modules
mkdir -p /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/.tmp_version
s
make -f /usr/src/linux-2.6.15-rc5-git3-2/scripts/Makefile.build obj=/tmp/com
pile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/compile/NVIDIA
-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.0/include -D__KERNEL__ -
Iinclude -Iinclude2 -I/usr/src/linux-2.6.15-rc5-git3-2/include -include incl
ude/linux/autoconf.h -I/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/
nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-functio
n-declaration -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-fra
me-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-ti
me -march=i586 -mregparm=3 -I/usr/src/linux-2.6.15-rc5-git3-2/include/asm-i3
86/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statemen
t -Wno-pointer-sign -I/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/n
v -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
arith -Wno-multichar -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-e
rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8174 -UDEBUG -U_DE
BUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -D
NV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_REMAP_PFN_RA
NGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -
DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c
-o /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/.tmp_nv.o /tmp/com
pile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c
In file included from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/bitops.
h:77,
from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/kernel.
h:15,
from /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
/nv-linux.h:46,
from /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
/nv.c:14:
include2/asm/bitops.h: In function ‘find_first_bit’:
include2/asm/bitops.h:334: warning: comparison between signed and unsigned
In file included from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/list.h:
7,
from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/wait.h:
23,
from include2/asm/semaphore.h:41,
from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/sched.h
:20,
from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/module.
h:10,
from /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
/nv-linux.h:47,
from /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
/nv.c:14:
/usr/src/linux-2.6.15-rc5-git3-2/include/linux/prefetch.h: In function ‘pr
efetch_range’:
/usr/src/linux-2.6.15-rc5-git3-2/include/linux/prefetch.h:62: warning: point
er of type ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/dmapool
.h:14,
from /usr/src/linux-2.6.15-rc5-git3-2/include/linux/pci.h:4
54,
from /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
/nv-linux.h:71,
from /tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
/nv.c:14:
include2/asm/io.h: In function ‘check_signature’:
include2/asm/io.h:253: warning: wrong type argument to increment
/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c: At top level:
/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c:296: warning: in
itialization from incompatible pointer type
/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c: In function ‘
nvidia_init_module’:
/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c:1305: error: imp
licit declaration of function ‘pm_register’
/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c:1305: warning: a
ssignment makes pointer from integer without a cast
/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.c:1423: error: imp
licit declaration of function ‘pm_unregister’
make[4]: *** [/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv/nv.o] E
rror 1
make[3]: *** [_module_/tmp/compile/NVIDIA-Linux-x86-1.0-8174-pkg1/usr/src/nv
] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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.

fprumbau is offline   Reply With Quote
Old 12-22-05, 08:55 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Problem compiling kernel module

@fprumbau: please see http://www.nvnews.net/vbulletin/show...06&postcount=1.
zander is offline   Reply With Quote
Old 12-22-05, 11:19 AM   #3
fprumbau
Registered User
 
Join Date: Dec 2005
Posts: 2
Default Re: Problem compiling kernel module

Whow! That did the trick. Thank you very much.

And that after googling around for 2 days...

Greetings
Frank Prumbaum
fprumbau 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
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
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
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM

All times are GMT -5. The time now is 05:49 AM.


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