sgfxi fails installing nvidia with 3.2 kernel
inxi outputs:
:: Code ::
# inxi CPU~Quad core Intel Core i7 CPU 870 (-HT-MCP-) clocked at 2945.139 Mhz Kernel~2.6.36.4 x86_64 Up~2:18 Mem~793.1/7994.9MB HDD~3000.6GB(61.4% used) Procs~220 Client~Shell inxi~1.7.22 # inxi -G Graphics: Card: nVidia Device 0de1 X.org: 1.7.7 driver: nvidia tty size: 133x45 Advanced Data: N/A for root # Installation of kernel from Debian package linux-image-3.2.0-0.bpo.4-amd64 went OK. Then tried to use sgfxi to install nVidia driver. It seems to have a problem with a variable being passed to 'make'. Tried again as advised with 'sgfxi -f', similar result. Log file: :: Code ::
========================================================= START sgfxi LOGGING: ========================================================= Script started: 2013-04-07-10:46:37 Video Card Information: nVidia Corporation Device 0de1 (rev a1) Video Card Type: 10de Video Card Number: 0de1 Xorg Version: 1.7 Installing driver to kernel: 3.2.0-0.bpo.4-amd64 sgfxi script version: 4.20.39 sgfxi start options: SYSTEM_BASE: debian SYSTEM_CODENAME: squeeze DISTRIB_CODENAME: squeeze DISTRIB_ID: debian DISTRIB_RELEASE: SIS: debian-squeeze-64 BITS: 64 FG_DISTRIB_CODENAME: squeeze FG_DISTRIB_ID: Debian APT_TYPE: apt-get ========================================================= X is Running: false Current Runlevel: 2 Connection is live (0=true): 0 ========================================================= INSTALL_TO_KERNEL: KERNEL_FULL: 3.2.0-0.bpo.4-amd64 KERNEL_BASE: 3 KERNEL_NUMBER: 3.2 KERNEL_MATH: 2 B_IS_XEN: true Function: create_x_conf - Primary: Start xorg is present with xorg.conf file Function: create_x_conf - Primary: End Function: check_package_manager_updated - Utility: Start sizeWorking: 16 Function: check_package_manager_updated - Utility: End Function: check_supported_driver - Utility: Start Function: check_supported_driver - Utility: End Function: set_cpu_data - Utility: Start BITS: 64 - arch: _64 Function: set_cpu_data - Utility: End Function: set_driver_install_version - Primary: Start Function: check_supported_driver - Utility: Start Args: last-check Function: check_supported_driver - Utility: End Function: print_information_continue - Utility: Start Args: standard The graphics installer will be installing the nvidia driver: 313.30 Function: print_information_continue - Utility: End Installing this driver: 313.30 Function: set_driver_install_version - Primary: End Function: driver_support_tests - Utility: Start Args: supported-driver Function: driver_support_tests - Utility: End Function: check_kernel_headers - Utility: Start Function: check_package_status - Utility: Start Args: linux-headers-3.2.0-0.bpo.4-amd64 i Package Version: 3.2.39-2~bpo60+1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: linux-headers-3.2.0-0.bpo.4-amd64 c Package Version: Function: check_package_status - Utility: End headerName: linux-headers-3.2.0-0.bpo.4-amd64 headerInstalled: 3.2.39-2~bpo60+1 headerAvailable: headerFile: Function: check_kernel_headers - Utility: End Function: check_run_package_tools - Primary: Start Function: check_run_package_tools - Primary: End Function: set_download_info - Primary: Start download url: ftp://download.nvidia.com/XFree86/Linux-x86_64/313.30/ - driver file: NVIDIA-Linux-x86_64-313.30 Function: set_download_info - Primary: End Function: test_module_build_ok - Primary: Start Args: return Function: list_installed_packages - Utility: Start Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|modalias|libvdpau) packageList: Function: list_installed_packages - Utility: End returnValue: 0 Error Data: Function: build_kernel_module_only - Primary: Start Args: build silent Function: remove_module - Primary: Start Args: nouveau operation outcome: unset Function: set_modesetting_off - Primary: End Function: add_grub_nomodeset_blacklist_item - Utility: Start Args: nouveau Function: get_active_grub_files - Utility: Start grub files: /boot/grub/grub.cfg /etc/default/grub Function: get_active_grub_files - Utility: End File /etc/default/grub updated to add nouveau nomodeset: /etc/default/grub File /etc/default/grub updated to add nouveau nouveau.modeset=0: /etc/default/grub Function: add_grub_nomodeset_blacklist_item - Utility: End Function: add_modprobe_d_blacklist_item - Utility: Start Args: nouveau Function: add_modprobe_d_blacklist_item - Utility: End Function: update_initramfs - Primary: Start Args: remove-nouveau Function: update_initramfs - Primary: End Function: set_modesetting_off - Primary: Start Args: nouveau unset Function: remove_module - Primary: End Function: x_start_stop_master - Primary: Start Args: stop Function: start_stop_x - Utility: Start Args: stop default runlevel: 2 current runlevel: 2 dmanCommand: service kdm stop Function: x_is_running - Utility: Start xIsRunning: false Function: x_is_running - Utility: End Function: start_stop_x - Utility: End Function: x_start_stop_master - Primary: End Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.30........................................................................................................................................................... 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Error logs from nvidia install: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Apr 7 10:46:53 2013 installer version: 313.30 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nvidia-installer command line: ./nvidia-installer -s -N --kernel-name=3.2.0-0.bpo.4-amd64 --kernel-module-only -a Using built-in stream user interface -> Only installing a kernel module for a non-running kernel; skipping the "is an X server running?" test. -> Only installing a kernel module for a non-running kernel; skipping the "is an NVIDIA kernel module loaded?" test. -> License accepted by command line option. -> Installing NVIDIA driver version 313.30. -> 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) -> Not probing for precompiled kernel interfaces. -> Performing CC sanity check with CC="cc". -> Kernel source path: '/lib/modules/3.2.0-0.bpo.4-amd64/source' -> Kernel output path: '/lib/modules/3.2.0-0.bpo.4-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/3.2.0-0.bpo.4-amd64/source SYSOUT=/lib/modules/3.2.0-0.bpo.4-amd64/build'... NVIDIA: calling KBUILD... make -C /lib/modules/3.2.0-0.bpo.4-amd64/build \ KBUILD_SRC=/home/usr2/src/linux-headers-3.2.0-0.bpo.4-common \ KBUILD_EXTMOD="/tmp/selfgz4314/NVIDIA-Linux-x86_64-313.30/kernel" -f /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/Makefile \ modules /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/Makefile:287: /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/scripts/Kbuild.include: No such file or directory /bin/bash: /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/scripts/gcc-x86_64-has-stack-protector.sh: No such file or directory /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/arch/x86/Makefile:81: stack protector enabled but no compiler support /bin/bash: /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/scripts/gcc-goto.sh: No such file or directory test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/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/selfgz4314/NVIDIA-Linux-x86_64-313.30/kernel/.tmp_versions ; rm -f /tmp/selfgz4314/NVIDIA-Linux-x86_64-313.30/kernel/.tmp_versions/* make =/tmp/selfgz4314/NVIDIA-Linux-x86_64-313.30/kernel make: *** empty variable name. Stop. make[3]: *** [_module_/tmp/selfgz4314/NVIDIA-Linux-x86_64-313.30/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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERROR: (171) The kernel module build failed with error code: 1 Please check /var/log/nvidia-installer.log for more information about the failure. A copy of this nvidia error log is also here: /var/log/sgfxi/sgfxi.log Please try to reinstall the driver using: sgfxi -f (force override module build) because sometimes modules cannot be built to new kernels without the source being patched first, which requires a driver reinstall. ========================================================= START sgfxi LOGGING: ========================================================= Script started: 2013-04-07-10:48:34 Video Card Information: nVidia Corporation Device 0de1 (rev a1) Video Card Type: 10de Video Card Number: 0de1 Xorg Version: 1.7 Installing driver to kernel: 3.2.0-0.bpo.4-amd64 sgfxi script version: 4.20.39 sgfxi start options: -f SYSTEM_BASE: debian SYSTEM_CODENAME: squeeze DISTRIB_CODENAME: squeeze DISTRIB_ID: debian DISTRIB_RELEASE: SIS: debian-squeeze-64 BITS: 64 FG_DISTRIB_CODENAME: squeeze FG_DISTRIB_ID: Debian APT_TYPE: apt-get ========================================================= X is Running: false Current Runlevel: 2 Connection is live (0=true): 0 ========================================================= INSTALL_TO_KERNEL: KERNEL_FULL: 3.2.0-0.bpo.4-amd64 KERNEL_BASE: 3 KERNEL_NUMBER: 3.2 KERNEL_MATH: 2 B_IS_XEN: true Function: create_x_conf - Primary: Start xorg is present with xorg.conf file Function: create_x_conf - Primary: End Function: check_package_manager_updated - Utility: Start sizeWorking: 16 Function: check_package_manager_updated - Utility: End Function: check_supported_driver - Utility: Start Function: check_supported_driver - Utility: End Function: set_cpu_data - Utility: Start BITS: 64 - arch: _64 Function: set_cpu_data - Utility: End Function: set_driver_install_version - Primary: Start Function: check_supported_driver - Utility: Start Args: last-check Function: check_supported_driver - Utility: End Function: print_information_continue - Utility: Start Args: info You are using the following options: -f - You are using the forced override option. This will bypass kernel module check/build and force reinstall of your driver (nVidia only). Function: print_information_continue - Utility: End Function: print_information_continue - Utility: Start Args: standard The graphics installer will be installing the nvidia driver: 313.30 Function: print_information_continue - Utility: End Installing this driver: 313.30 Function: set_driver_install_version - Primary: End Function: driver_support_tests - Utility: Start Args: supported-driver Function: driver_support_tests - Utility: End Function: check_kernel_headers - Utility: Start Function: check_package_status - Utility: Start Args: linux-headers-3.2.0-0.bpo.4-amd64 i Package Version: 3.2.39-2~bpo60+1 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: linux-headers-3.2.0-0.bpo.4-amd64 c Package Version: Function: check_package_status - Utility: End headerName: linux-headers-3.2.0-0.bpo.4-amd64 headerInstalled: 3.2.39-2~bpo60+1 headerAvailable: headerFile: Function: check_kernel_headers - Utility: End Function: check_run_package_tools - Primary: Start Function: check_run_package_tools - Primary: End Function: set_download_info - Primary: Start download url: ftp://download.nvidia.com/XFree86/Linux-x86_64/313.30/ - driver file: NVIDIA-Linux-x86_64-313.30 Function: set_download_info - Primary: End Function: download_extract_driver - Primary: Start Args: ftp://download.nvidia.com/XFree86/Linux-x86_64/313.30/ NVIDIA-Linux-x86_64-313.30 Function: pre_extract_clean_set_up - Utility: Start Args: NVIDIA-Linux-x86_64-313.30 Function: pre_extract_clean_set_up - Utility: End Creating directory NVIDIA-Linux-x86_64-313.30 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 313.30........................................................................................................................................................... Function: download_extract_driver - Primary: End Function: set_install_directory - set to: /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.30 Function: run_driver_patches - Primary: Start Function: run_driver_patches - Primary: End Function: x_start_stop_master - Primary: Start Args: stop Function: start_stop_x - Utility: Start Args: stop default runlevel: 2 current runlevel: 2 dmanCommand: service kdm stop Function: x_is_running - Utility: Start xIsRunning: false Function: x_is_running - Utility: End Function: start_stop_x - Utility: End Function: x_start_stop_master - Primary: End Function: check_driver_install_tools - Primary: Start Function: check_package_status - Utility: Start Args: module-assistant i Package Version: 0.11.3 Function: check_package_status - Utility: End Function: check_package_status - Utility: Start Args: build-essential i Package Version: 11.5 Function: check_package_status - Utility: End Function: check_driver_install_tools - Primary: End Function: prep_install - Primary: Start Function: prep_install - Primary: End Function: preinstall_cleanup - Primary: Start Using nvidia uninstaller: /usr/bin/nvidia-installer Pre Remove: nvidia.ko files: Function: list_installed_packages - Utility: Start Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit) packageList: Function: list_installed_packages - Utility: End Post Purge/Remove: nvidia.ko files: rm: cannot remove `/usr/src/nvidia-313.26': Is a directory Function: remove_module - Primary: Start Args: nvidia operation outcome: unset Function: remove_module - Primary: End Function: remove_module - Primary: Start Args: nouveau operation outcome: unset Function: set_modesetting_off - Primary: End Function: add_grub_nomodeset_blacklist_item - Utility: Start Args: nouveau Function: get_active_grub_files - Utility: Start grub files: /boot/grub/grub.cfg /etc/default/grub Function: get_active_grub_files - Utility: End Function: add_grub_nomodeset_blacklist_item - Utility: End Function: add_modprobe_d_blacklist_item - Utility: Start Args: nouveau Function: add_modprobe_d_blacklist_item - Utility: End Function: set_modesetting_off - Primary: Start Args: nouveau unset Function: remove_module - Primary: End Function: list_installed_packages - Utility: Start Args: fglrx modalias packageList: Function: list_installed_packages - Utility: End Function: remove_module - Primary: Start Args: fglrx operation outcome: unset Function: remove_module - Primary: End Function: clean_dkms - Primary: Start Function: clean_dkms - Primary: End Function: preinstall_cleanup - Primary: End Function: run_driver_installer - Primary: Start driver: 313.30 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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Error logs from nvidia install: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Sun Apr 7 10:48:52 2013 installer version: 313.30 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin nvidia-installer command line: ./nvidia-installer -s -N --x-module-path=/usr/lib/xorg/modules --x-library-path=/usr/lib -k 3.2.0-0.bpo.4-amd64 Using built-in stream user interface -> License accepted by command line option. -> Installing NVIDIA driver version 313.30. -> 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) -> Not probing for precompiled kernel interfaces. -> Performing CC sanity check with CC="/usr/bin/gcc-4.4". -> Kernel source path: '/lib/modules/3.2.0-0.bpo.4-amd64/source' -> Kernel output path: '/lib/modules/3.2.0-0.bpo.4-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/3.2.0-0.bpo.4-amd64/source SYSOUT=/lib/modules/3.2.0-0.bpo.4-amd64/build'... NVIDIA: calling KBUILD... make -C /lib/modules/3.2.0-0.bpo.4-amd64/build \ KBUILD_SRC=/home/usr2/src/linux-headers-3.2.0-0.bpo.4-common \ KBUILD_EXTMOD="/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.30/kernel" -f /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/Makefile \ modules /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/Makefile:287: /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/scripts/Kbuild.include: No such file or directory /bin/bash: /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/scripts/gcc-x86_64-has-stack-protector.sh: No such file or directory /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/arch/x86/Makefile:81: stack protector enabled but no compiler support /bin/bash: /home/usr2/src/linux-headers-3.2.0-0.bpo.4-common/scripts/gcc-goto.sh: No such file or directory test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/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 /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.30/kernel/.tmp_versions ; rm -f /usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.30/kernel/.tmp_versions/* make =/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.30/kernel make: *** empty variable name. Stop. make[3]: *** [_module_/usr/src/sgfxi-downloads/NVIDIA-Linux-x86_64-313.30/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. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ERROR: (245) The nvidia installer exited with the error: 1 A copy of this driver installer error log is also here: /var/log/sgfxi/sgfxi.log Back to top |
Please update inxi: inxi -U
then show: inxi -bxx However, sgfxi has nothing to do with the nvidia installer that it runs, and logs on failure for your convenience, so if there is a bug in make in the nvdia installer, that's an issue you have to file a bug report with nvidia forums: devtalk.nvidia.com/default/board/98/linux/ If you file a bug report for nvidia, make sure to run their bug reporting tool, then upload the generated zip file, unless the install didn't get to that point. /usr/bin/nvidia-bug-report.sh Also, I assume: 3.2.0-0.bpo.4-amd64 is backports? kernel, if not, then make sure to test with a standard known good kernel. Also show them inxi -bxx on the nvidia forums so they can easily see what your system is, that's getting pretty old re squeeze (is wheezy EVER going to be released as new stable?!?). Back to top |
All times are GMT - 8 Hours |