PDA

View Full Version : GeForce FX 5500 and Mandrake 10 (2.6.3.15mdk) NO WORKIE


stillio
08-19-04, 05:48 PM
I'm running Mandrake 10, kernel mod/src 2.6.3.15mdk, and there is no prebuilt kernel mod. When the driver tries to build the kernel mod, I get the following error (from the /var/log/nv*.log)

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Aug 19 14:39:06 2004

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
no OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp site : ftp://download.nvidia.com

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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel include path: '/lib/modules/2.6.3-15mdk/build/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.6.3-15m
dk/build/include'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -
DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_
_KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE
L=4349 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA
GE_RANGE_5 -I. -I/lib/modules/2.6.3-15mdk/build/include -Wno-cast-qual nv.c
In file included from nv.c:14:
nv-linux.h:51:4: #error This driver does not support 2.6.x or newer kernels!
nv-linux.h:69:75: linux/tqueue.h: No such file or directory
nv-linux.h:78:75: linux/wrapper.h: No such file or directory
In file included from /lib/modules/2.6.3-15mdk/build/include/linux/irq.h:20,
from /lib/modules/2.6.3-15mdk/build/include/asm/hardirq.h:6
,
from /lib/modules/2.6.3-15mdk/build/include/linux/interrupt
.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.3-15mdk/build/include/asm/irq.h:16:25: irq_vectors.h: No su
ch file or directory
In file included from /lib/modules/2.6.3-15mdk/build/include/asm/hardirq.h:6
,
from /lib/modules/2.6.3-15mdk/build/include/linux/interrupt
.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.3-15mdk/build/include/linux/irq.h:70: error: `NR_IRQS' unde
clared here (not in a function)
In file included from /lib/modules/2.6.3-15mdk/build/include/linux/irq.h:72,
from /lib/modules/2.6.3-15mdk/build/include/asm/hardirq.h:6
,
from /lib/modules/2.6.3-15mdk/build/include/linux/interrupt
.h:11,
from nv-linux.h:79,
from nv.c:14:
/lib/modules/2.6.3-15mdk/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTO
RS' undeclared here (not in a function)
/lib/modules/2.6.3-15mdk/build/include/asm/hw_irq.h:31: error: `NR_IRQS' und
eclared here (not in a function)
In file included from nv.c:14:
nv-linux.h: In function `NV_IRQL_IS_RAISED':
nv-linux.h:253: warning: implicit declaration of function `__save_flags'
nv.c: At top level:
nv.c:46: error: parse error before "nv_dev_handle"
nv.c:46: warning: type defaults to `int' in declaration of `nv_dev_handle'
nv.c:46: warning: data definition has no type or storage class
nv.c:47: error: parse error before "nv_ctl_handle"
nv.c:47: warning: type defaults to `int' in declaration of `nv_ctl_handle'
nv.c:47: warning: data definition has no type or storage class
nv.c: In function `nvos_malloc_pages':
nv.c:373: warning: implicit declaration of function `mem_map_reserve'
nv.c:386: warning: implicit declaration of function `mem_map_unreserve'
nv.c: In function `init_module':
nv.c:744: warning: implicit declaration of function `devfs_register_chrdev'
nv.c:755: error: `devfs_handle_t' undeclared (first use in this function)
nv.c:755: error: (Each undeclared identifier is reported only once
nv.c:755: error: for each function it appears in.)
nv.c:760: warning: implicit declaration of function `devfs_register'
nv.c:761: error: `DEVFS_FL_DEFAULT' undeclared (first use in this function)
nv.c:780: error: invalid use of undefined type `struct tq_struct'
nv.c:781: error: dereferencing pointer to incomplete type
nv.c:782: error: dereferencing pointer to incomplete type
nv.c:783: error: dereferencing pointer to incomplete type
nv.c:824: warning: implicit declaration of function `devfs_unregister_chrdev
'
nv.c: In function `cleanup_module':
nv.c:887: warning: implicit declaration of function `devfs_unregister'
nv.c: In function `nv_kern_vma_open':
nv.c:920: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modul
es/2.6.3-15mdk/build/include/linux/module.h:502)
nv.c: In function `nv_kern_vma_release':
nv.c:954: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modul
es/2.6.3-15mdk/build/include/linux/module.h:514)
nv.c: At top level:
nv.c:1045: warning: initialization from incompatible pointer type
nv.c: In function `nv_kern_open':
nv.c:1089: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu
les/2.6.3-15mdk/build/include/linux/module.h:502)
nv.c:1122: warning: passing arg 2 of `request_irq' from incompatible pointer
type
nv.c:1158: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu
les/2.6.3-15mdk/build/include/linux/module.h:514)
nv.c: In function `nv_kern_close':
nv.c:1247: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu
les/2.6.3-15mdk/build/include/linux/module.h:514)
nv.c: In function `nv_kern_mmap':
nv.c:1414: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu
les/2.6.3-15mdk/build/include/linux/module.h:502)
nv.c: In function `nv_kern_ioctl':
nv.c:1523: error: structure has no member named `uc'
nv.c: In function `nv_kern_isr':
nv.c:1666: warning: implicit declaration of function `queue_task'
nv.c:1666: error: `tq_immediate' undeclared (first use in this function)
nv.c:1667: warning: implicit declaration of function `mark_bh'
nv.c:1667: error: `IMMEDIATE_BH' undeclared (first use in this function)
nv.c: In function `nv_kern_ctl_open':
nv.c:1761: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modu
les/2.6.3-15mdk/build/include/linux/module.h:502)
nv.c: In function `nv_kern_ctl_close':
nv.c:1826: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modu
les/2.6.3-15mdk/build/include/linux/module.h:514)
nv.c: In function `nv_kern_read_agpinfo':
nv.c:1961: error: structure has no member named `name'
nv-linux.h: At top level:
nv.c:39: error: storage size of `nv_bottom_halves' isn't known
make: *** [nv.o] Error 1
-> 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.

any ideas?

Thanks in advance

saturnotaku
08-19-04, 07:57 PM
Wrong forum.

http://www.nvnews.net/vbulletin/forumdisplay.php?f=14