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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-28-06, 07:58 PM   #1
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default 8762 doesn't build under 2.6.17-git

It builds fine under 2.6.17 but not on later. Just a heads up that a change may be necessary for 2.6.18.
make -f /usr/src/linux-2.6.17-git13/scripts/Makefile.build obj=/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv
cc -Wp,-MD,/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.1.0/include -D__KERNEL__ -Iinclude -Iinclude2 -I/us
r/src/linux-2.6.17-git13/include -include include/linux/autoconf.h -I/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno
-strict-aliasing -fno-common -O2 -fomit-frame-pointer -fasynchronous-unwind-tables -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -mtune=generic -mregparm=3 -f
freestanding -I/usr/src/linux-2.6.17-git13/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/usr/src/NVIDIA-Li
nux-x86-1.0-8762-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -W
sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8762
-UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESE
NT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /usr/src/NVIDIA-Linux-x86-1.0-8
762-pkg1/usr/src/nv/.tmp_nv.o /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:57,
from include/linux/module.h:9,
from /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h:51,
from /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in arithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:563,
from /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h:76,
from /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:245: warning: wrong type argument to increment
In file included from /usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:14:
/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h: At top level:
/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv-linux.h:711: error: conflicting types for ‘pm_message_t’
include/linux/pm.h:142: error: previous declaration of ‘pm_message_t’ was here
/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.c:315: warning: initialization from incompatible pointer type
make[4]: *** [/usr/src/NVIDIA-Linux-x86-1.0-8762-pkg1/usr/src/nv/nv.o] Error 1
make[3]: *** [_module_/usr/src/NVIDIA-Linux-x86-1.0-8762-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: *** [install] Error 2
siddly is offline   Reply With Quote
Old 06-28-06, 08:13 PM   #2
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: 8762 doesn't build under 2.6.17-git

have you tried the patch zander posted?
http://www.nvnews.net/vbulletin/showthread.php?t=72488
energyman76b is offline   Reply With Quote
Old 06-29-06, 07:20 PM   #3
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 8762 doesn't build under 2.6.17-git

I now have the patch from Zander.
siddly is offline   Reply With Quote
Old 06-29-06, 07:30 PM   #4
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: 8762 doesn't build under 2.6.17-git

is your problem solved with the patch?
energyman76b is offline   Reply With Quote
Old 06-30-06, 10:58 AM   #5
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 8762 doesn't build under 2.6.17-git

Quote:
Originally Posted by energyman76b
is your problem solved with the patch?
Thanks, the patch fixed the problem.
siddly is offline   Reply With Quote
Old 06-30-06, 03:18 PM   #6
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: 8762 doesn't build under 2.6.17-git

So you learnt something today:
if the driver does not built with a kernel version, look at the patches thread first.




No kidding zander&the rest of nvidia's folk are usually pretty quick in posting patches, when the driver does not work with newer kernel versions.
energyman76b is offline   Reply With Quote
Old 06-30-06, 05:03 PM   #7
siddly
Registered User
 
Join Date: Jul 2003
Location: West Midlands, UK
Posts: 125
Default Re: 8762 doesn't build under 2.6.17-git

Quote:
Originally Posted by energyman76b
So you learnt something today:
if the driver does not built with a kernel version, look at the patches thread first.




No kidding zander&the rest of nvidia's folk are usually pretty quick in posting patches, when the driver does not work with newer kernel versions.
That was exactly my first move as usual - check what zander has posted, somehow I missed it.
siddly is offline   Reply With Quote
Old 06-30-06, 05:25 PM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: 8762 doesn't build under 2.6.17-git

If in doubt, please do post about build problems. I generally prefer three reports of a compatibility problem than none at all. :)
zander is offline   Reply With Quote

Old 07-06-06, 02:53 PM   #9
jackson312
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: 8762 doesn't build under 2.6.17-git

Is there a patch for 2.6.18-rc1? The Driver will not build. It has trouble finding the kernel version.
jackson312 is offline   Reply With Quote
Old 07-06-06, 02:58 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8762 doesn't build under 2.6.17-git

The driver will not build with or without the patch referenced earlier in this thread?

What does the installer log look like?

Thanks,
-Lonni
netllama is offline   Reply With Quote
Old 07-06-06, 04:47 PM   #11
jackson312
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: 8762 doesn't build under 2.6.17-git

I had to use the --kernel-source-path option as it would complain about not finding the source in /lib/modules/2.6.18-rc1.

I am running slackware, so the kernel sources are in /usr/src/... This was not a problem before.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jul 6 13:35:37 2006

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 : /usr/src/linux-2.6.18-rc1/
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.
-> There appears to already be a driver installed on your system (version: 1.0-
8762). As part of installing this driver (version: 1.0-8762), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> 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.
-> Performing CC test with CC="cc".
-> Using the kernel source path '/usr/src/linux-2.6.18-rc1/' as specified by
the '--kernel-source-path' commandline option.
ERROR: Unable to determine the version of the kernel sources located in
'/usr/src/linux-2.6.18-rc1/'. Please make sure you have installed the
kernel source files for your kernel and that they are properly
configured; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' RPM installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' command line option.
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.
jackson312 is offline   Reply With Quote
Old 07-06-06, 04:51 PM   #12
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: 8762 doesn't build under 2.6.17-git

What is the output from the following commands:
ls -l /lib/modules/`uname -r`
ls -l /usr/src/
uname -r

Thanks,
Lonni
netllama 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
Diablo 3 Wizard build guide News Archived News Items 0 05-30-12 03:40 PM
Build versus buy: One company's decision to go it alone News Archived News Items 0 05-13-12 09:40 PM
Diablo 3 build guide: Barbarian, Demon Hunter, Monk, Witch Doctor and Wizard News Archived News Items 0 05-12-12 01:00 PM
My source RPM won't build right! z28Power NVIDIA Linux 5 09-18-02 12:55 PM

All times are GMT -5. The time now is 03:11 AM.


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