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

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-27-07, 03:28 AM   #1
Jason1974
noob
 
Join Date: Nov 2007
Location: Adelaide, SA
Posts: 2
Default Problem building 169.04 on Debian AMD64

Hi all, I hope someone out there can shed some light on this problem or can point out another approach.

I'm trying to install the 169.04 Nvidia driver for Debian (AMD64) using their script, it seems to be failing at the linking stage.

Unfortunatly I'm unable to drop back to an earlier driver as I have an 8800GT.

I'm also forcing the gcc version as that is what was used to build the installed kernel and modules.
Code:
export CC=/usr/bin/gcc-4.1
Code:
> uname -a
Linux baal 2.6.23-1-amd64 #1 SMP Fri Oct 12 23:45:48 UTC 2007 x86_64 GNU/Linux
condensed nvidia-installer.log (full log attached)
Code:
Using: nvidia-installer ncurses user interface
WARNING: Skipping the runlevel check (the utility `runlevel` failed to run).
-> 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.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.1".
-> Performing CC version check with CC="/usr/bin/gcc-4.1".
-> Kernel source path: '/lib/modules/2.6.23-1-amd64/build'
-> Kernel output path: '/lib/modules/2.6.23-1-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
--------- SNIP ----------
Many lines of things going ok skipped
--------- SNIP ----------
Code:
     ld -m elf_x86_64   --build-id -o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.0
   4-pkg1/usr/src/nv/nvidia.o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/u
   sr/src/nv/nv-kernel.o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/sr
   c/nv/nv.o /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv-vm.o
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/os-agp.o /tmp/sel
   fgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/os-interface.o /tmp/selfg
   z3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/os-registry.o /tmp/selfgz39
   55/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz3955/NVIDI
   A-Linux-x86_64-169.04-pkg1/usr/src/nv/nvacpi.o
   ld: warning: cannot find entry symbol _start; defaulting to 0000000000400150
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv.o: In function
   `nv_encode_caching':
   (.text+0x1dd): undefined reference to `boot_cpu_data'
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv.o: In function
   `nv_encode_caching':
   (.text+0x200): undefined reference to `boot_cpu_data'
   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv.o: In function
   `nv_verify_page_mappings':
   (.text+0x26f): undefined reference to `init_level4_pgt'
--------- SNIP ----------
Many lines of things going to hell skipped
(undefined references for all functions)
--------- SNIP ----------
Code:
   nv-i2c.c:(.text+0x367): undefined reference to `snprintf'
   nv-i2c.c:(.text+0x37a): undefined reference to `i2c_add_adapter'   /tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nv-i2c.o:(.data+0
   x0): undefined reference to `__this_module'
   make[3]: *** [/tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/src/nv/nvi
   dia.o] Error 1
   make[2]: *** [_module_/tmp/selfgz3955/NVIDIA-Linux-x86_64-169.04-pkg1/usr/sr
   c/nv] Error 2
   NVIDIA: left KBUILD.
   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.
Edit: Ahh, it would help if I actually attach the log >.<
Attached Files
File Type: log nvidia-installer.log (89.9 KB, 82 views)
Jason1974 is offline   Reply With Quote
Old 11-27-07, 10:41 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Problem building 169.04 on Debian AMD64

It looks like the kernel development files you built against do not match the running kernel (e.g. module versioning vs. none, etc.).
zander is offline   Reply With Quote
Old 11-27-07, 11:20 AM   #3
Jason1974
noob
 
Join Date: Nov 2007
Location: Adelaide, SA
Posts: 2
Default Re: Problem building 169.04 on Debian AMD64

Thanks Zander, 2.6.23 kernel image, headers, kbuild... and 2.6.22 libc-dev files. No idea how that slipped through.

linux-headers-2.6.23-1-amd64 (2.6.23-1~mtu1)
linux-headers-2.6.23-1-common (2.6.23-1~mtu1)
linux-image-2.6.23-1-amd64 (2.6.23-1~mtu1)
linux-kbuild-2.6.23 (2.6.23-1~mtu1)
linux-libc-dev (2.6.22-4)

Looks like I'll have to wait just a bit longer to use the nvidia driver. There's no 'real' 2.6.23 kernels in Debian yet, and 2.6.22 doesn't work with my computer. (Had to use that a backported install disk just to install Linux on this machine)

But at least I know what went wrong, thanks
Jason1974 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
Riva TNT 2 - Debian (Woody) chipset problem sindra NVIDIA Linux 4 08-26-02 03:21 AM

All times are GMT -5. The time now is 11:45 PM.


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