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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-22-04, 01:23 AM   #1
ddteddy2004
Registered User
 
Join Date: Aug 2004
Posts: 2
Default Help!! make my own nvidia module for 2.6.x

I tried to install my own nvidia.ko for my kernel 2.6.x , but always met such problems.
Does anyone help me ?

these is my steps to install the kernel module
(1)cd /usr/src/linux; make cloneconfig; make bzImage; make modules
(2) sh NVIDIA-Linux-x86-1.0-5336-pkg1.run -K

and I tried the kernel-2.6.8.1 from kernel.org , and met the similary problems.

Did I miss any step?

the following is the nvidia-installer.log
===
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Aug 22 13:01:17 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
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/linux-2.6.5-7.104
kernel install path : (not specified)
proc mount point : /proc
ui : (not spe tmpdir : /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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Using the kernel source path '/usr/src/linux-2.6.5-7.104' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.5-7.104'
-> Performing cc_version_check with CC="cc".
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
ce.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 *~
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.6.5-7.104'.
..
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz1589/NVI
DIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv_compiler.h
CC [M] /tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_malloc_pages':
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:385: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nvos_create_alloc':
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:513: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:523: warning:
use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1185: warning
: initialization from incompatible pointer type
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_alloc_file_private':
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1193: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1204: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_open':
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1265: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: In function
`nv_kern_ctl_open':
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:1914: warning
: use of cast expressions as lvalues is deprecated
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2010: error:
conflicting types for `nv_set_hotkey_occurred_flag'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:350: error: p
revious declaration of `nv_set_hotkey_occurred_flag'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2197: error:
conflicting types for `nv_find_nv_mapping'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:339: error: p
revious declaration of `nv_find_nv_mapping'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2269: error:
conflicting types for `nv_find_agp_kernel_mapping'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:341: error: p
revious declaration of `nv_find_agp_kernel_mapping'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2345: error:
conflicting types for `nv_get_kern_phys_address'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:342: error: p
revious declaration of `nv_get_kern_phys_address'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2375: error:
conflicting types for `nv_get_user_phys_address'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:343: error: p
revious declaration of `nv_get_user_phys_address'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2406: error:
conflicting types for `nv_alloc_pages'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:353: error: p
revious declaration of `nv_alloc_pages'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2594: error:
conflicting types for `nv_free_pages'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:354: error: p
revious declaration of `nv_free_pages'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2692: error:
conflicting types for `nv_lock_rm'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:345: error: p
revious declaration of `nv_lock_rm'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2712: error:
conflicting types for `nv_unlock_rm'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:346: error: p
revious declaration of `nv_unlock_rm'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2726: error:
conflicting types for `nv_lock_heap'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:347: error: p
revious declaration of `nv_lock_heap'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2736: error:
conflicting types for `nv_unlock_heap'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:348: error: p
revious declaration of `nv_unlock_heap'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2752: error:
conflicting types for `nv_post_event'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:363: error: p
revious declaration of `nv_post_event'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2790: error:
conflicting types for `nv_get_event'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:364: error: p
revious declaration of `nv_get_event'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2833: error:
conflicting types for `nv_agp_init'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:356: error: p
revious declaration of `nv_agp_init'
/ conflicting types for `nv_agp_teardown'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:357: error: p
revious declaration of `nv_agp_teardown'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2936: error:
conflicting types for `nv_agp_translate_address'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:358: error: p
revious declaration of `nv_agp_translate_address'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2968: error:
conflicting types for `nv_int10h_call'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:351: error: p
revious declaration of `nv_int10h_call'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2977: error:
conflicting types for `nv_start_rc_timer'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:360: error: p
revious declaration of `nv_start_rc_timer'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.c:2998: error:
conflicting types for `nv_stop_rc_timer'
/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.h:361: error: p
revious declaration of `nv_stop_rc_timer'
make[3]: *** [/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: *** [_module_/tmp/selfgz1589/NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src
/nv] Error 2
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.
ddteddy2004 is offline   Reply With Quote
Old 08-22-04, 02:33 AM   #2
whig
550Ti
 
Join Date: Jan 2004
Location: New Zealand
Posts: 854
Default Re: Help!! make my own nvidia module for 2.6.x

You will need to "make modules_install", configure grub/lilo and reboot as part of the process of installing a new kernel. Get recent nVidia drivers too.
whig is offline   Reply With Quote
Old 08-22-04, 02:48 AM   #3
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Help!! make my own nvidia module for 2.6.x

http://www.minion.de/files/NVIDIA_ke....0-5336.README
http://www.minion.de/files/NVIDIA_ke...-5336-2.6.diff
zander is offline   Reply With Quote
Old 08-23-04, 12:22 AM   #4
ddteddy2004
Registered User
 
Join Date: Aug 2004
Posts: 2
Default Re: Help!! make my own nvidia module for 2.6.x

thanks for your help .
really need this.

I will try it .
ddteddy2004 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
nvidia + 2.4.19 gentoo = messed up ulukay NVIDIA Linux 18 11-01-02 11:58 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM

All times are GMT -5. The time now is 04:57 PM.


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