Find the answer to your Linux question:
Results 1 to 6 of 6
I'm trying to install a driver for an nVidia GeForce GT 610, on Squeeze (kernel 2.6.32 amd64). I've tried methods 1-5 from here NvidiaGraphicsDrivers - Debian Wiki and they are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2005
    Posts
    71

    Need a working driver for Nvidia GeForce GT 610


    I'm trying to install a driver for an nVidia GeForce GT 610, on Squeeze (kernel 2.6.32 amd64).

    I've tried methods 1-5 from here NvidiaGraphicsDrivers - Debian Wiki

    and they are no good, all just break my GUI & I have to switch back to the vesa driver to get any video.

    The drivers from the nVidia site fail to build the module. Would much appreciate a link to working driver or some clear instructions.

    thanks

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by Martin A View Post
    The drivers from the nVidia site fail to build the module.
    What exactly is happening here? Can you show what error(s) you are getting and what command you run that generated the error? Also list what driver you downloaded, if you could.

  3. #3
    Just Joined!
    Join Date
    May 2005
    Posts
    71
    The installation (at least, the Debian way) goes ok, it's upon creating an xorg.conf file, i get no video until I delete it or change it to point to the vesa or nv drivers. Module-assistant doesn't report any errors when building the driver.

    I've tried installing driver versions 304.43 and 302.17 from nVidias website, both refuse to run unless I switch to gcc-4.3, and even then they only tell me they failed to build the kernel module...

  4. #4
    Just Joined!
    Join Date
    May 2005
    Posts
    71
    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Sep 21 02:20:07 2012
    installer version: 304.43
    
    PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    
    nvidia-installer command line:
        ./nvidia-installer
    
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> Installing NVIDIA driver version 304.43.
    -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: No)
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.32-5-amd64/source'
    -> Kernel output path: '/lib/modules/2.6.32-5-amd64/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Performing Xen check.
    -> Cleaning kernel module build directory.
       executing: 'cd ./kernel; make clean'...
    -> Building kernel module:
       executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.32-5-amd64/source SYSOUT=/lib/modules/2.6.32-5-amd64/build'...
       NVIDIA: calling KBUILD...
       make -C /lib/modules/2.6.32-5-amd64/build \
       	KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
       	KBUILD_EXTMOD="/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel" -f /usr/src/linux-headers-2.6.32-5-common/Makefile \
       	modules
       /usr/src/linux-headers-2.6.32-5-common/arch/x86/Makefile:81: stack protector enabled but no compiler support
       test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
       	echo;								\
       	echo "  ERROR: Kernel configuration is invalid.";		\
       	echo "         include/linux/autoconf.h or include/config/auto.conf are missing.";	\
       	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it.";	\
       	echo;								\
       	/bin/false)
       mkdir -p /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/.tmp_versions ; rm -f /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/.tmp_versions/*
       make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel
         cc -Wp,-MD,/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/.nv.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.5/include -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow   -I/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"304.43\" -Wno-unused-function -Wuninitialized -mno-re
       d-zone -mcmodel=kernel -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/.tmp_nv.o /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv.c
       In file included from /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:15,
                        from /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv.c:13:
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/conftest.h:43:2: error: #error acpi_walk_namespace() conftest failed!
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/conftest.h:44:2: error: #error acpi_os_wait_events_complete() conftest failed!
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/conftest.h:48:2: error: #error pci_dma_mapping_error() conftest failed!
       In file included from /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv.c:13:
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:133:2: error: #error "struct file_operations compile test likely failed!"
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:292:2: error: #error "NV_PCI_DMA_MAPPING_ERROR() undefined!"
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:297:4: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:299:8: warning: "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT" is not defined
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:305:2: error: #error "NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT value unrecognized!"
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:311:4: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined
       /tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv-linux.h:314:8: warning: "NV_ACPI_OS_WAIT_EVENTS_COMPLETE_ARGUMENT_COUNT" is not defined
       make[4]: *** [/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel/nv.o] Error 1
       make[3]: *** [_module_/tmp/selfgz2222/NVIDIA-Linux-x86_64-304.43/kernel] Error 2
       make[2]: *** [sub-make] 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.
    log file from the installer, if it helps

  5. #5
    Just Joined!
    Join Date
    May 2005
    Posts
    71
    Cracked it. Turns out although I blacklisted the Nouveau driver, it was still getting along loaded at startup.

  6. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by Martin A View Post
    Cracked it. Turns out although I blacklisted the Nouveau driver, it was still getting along loaded at startup.
    oh, that is good. blacklisting is an imperfect science, i have discovered.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •