View Single Post
Old 04-28-06, 08:46 AM   #1
ntropia
Registered User
 
Join Date: Jun 2004
Location: Siena
Posts: 1
Default NVidia x86_64-1.0-8756 and RHEL 4

Dear all,
after a lot of pain, finally I got to start the 8756 installer, the compilation run up to 100% but at the end there is the following error:
ERROR: Unable to build the NVIDIA kernel module.

Inspecting the log file I found many errors like:

include/linux/syscalls.h: At top level:
include/linux/syscalls.h:66: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:67: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:69: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:71: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:72: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:74: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:76: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:77: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:78: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:79: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:80: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:81: warning: `syscall_linkage' attribute directive
ignored
include/linux/syscalls.h:82: warning: `syscall_linkage' attribute directive
ignored


...and before the final crash:



/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c:2843: warning: long long unsigned int format, u64 arg (arg 3)
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c: In funct
ion `nv_alloc_kernel_mapping':
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c:3161: err
or: `PAGE_KERNEL_NOCACHE' undeclared (first use in this function)
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c: In funct
ion `__nv_setup_pat_entries':
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c:912: erro
r: unknown register name `p7' in `asm'
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c:912: erro
r: unknown register name `p6' in `asm'
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c: In funct
ion `__nv_restore_pat_entries':
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c:927: erro
r: unknown register name `p7' in `asm'
/tmp/selfgz12940/NVIDIA-Linux-x86_64-1.0-8756-pkg2/usr/src/nv/nv.c:927: erro
r: unknown register name `p6' in `asm'


This is the n-th installation of Nvidia drivers, but honestly it's the hardest and weirdest I ever got!
Some data about that computer:

# uname -a
Linux localhost.localhost 2.6.9-34.EL #1 Fri Feb 24 16:46:41 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

At my opinion, there is a problem about kernel headers, but I'm not expert enoght to be shure.
If someone could help me, it would be great.
Many thanks in advance,

Stefano
ntropia is offline   Reply With Quote