LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-16-2016, 10:23 AM   #1
sbolokanov
Member
 
Registered: Feb 2013
Location: Бдинъ, Бѫлгариѧ
Distribution: GNU/Linux
Posts: 101

Rep: Reputation: 24
Vulkan released! Nvidia blob not working?


Hello, there!

Vulkan has been finally released! https://www.khronos.org/vulkan/ https://www.khronos.org/news/press/k...-specification

There is already a vulkan beta driver on Nvidia site (https://developer.nvidia.com/vulkan-driver), but for some reason kernel building won't work.
Anybody had any luck with the driver?

Slackware64-current. Latest updates.

Here is nvidia-installer.log:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Feb 16 18:15:36 2016
installer version: 355.00.26

PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin

nvidia-installer command line:
    ./nvidia-installer

Using: nvidia-installer ncurses user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> License accepted.
-> Installing NVIDIA driver version 355.00.26.
-> There appears to already be a driver installed on your system (version: 361.18).  As part of installing this driver (version: 355.00.26), the existing driver will be uninstalled.  Are you sure you want to continue? (Answer: Continue installation)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.4.1/source'
-> Kernel output path: '/lib/modules/4.4.1/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.1/source" SYSOUT="/lib/modules/4.4.1/build"'...
   rm -f -r conftest
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.1/build KBUILD_VERBOSE= -C /lib/modules/4.4.1/source M=/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.1/source NV_KERNEL_OUTPUT=/lib/modules/4.4.1/build NV_KERNEL_MODULES="nvidia nvidia-uvm" INSTALL_MOD_DIR=kernel/drivers/video clean
   make[1]: Entering directory '/usr/src/linux-4.4.1'
   make[2]: Entering directory '/usr/src/linux-4.4.1'
   make[2]: Leaving directory '/usr/src/linux-4.4.1'
   make[1]: Leaving directory '/usr/src/linux-4.4.1'
-> Building kernel modules
   executing: 'cd ./kernel; /usr/bin/make -k -j4  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.1/source" SYSOUT="/lib/modules/4.4.1/build"'...
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.1/build KBUILD_VERBOSE= -C /lib/modules/4.4.1/source M=/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.1/source NV_KERNEL_OUTPUT=/lib/modules/4.4.1/build NV_KERNEL_MODULES="nvidia nvidia-uvm" INSTALL_MOD_DIR=kernel/drivers/video modules
   make[1]: Entering directory '/usr/src/linux-4.4.1'
   make[2]: Entering directory '/usr/src/linux-4.4.1'
     SYMLINK /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-kernel.o
    CONFTEST: INIT_WORK
    CONFTEST: follow_pfn
    CONFTEST: vmap
    CONFTEST: remap_pfn_range
    CONFTEST: set_pages_uc
    CONFTEST: set_memory_uc
    CONFTEST: set_memory_array_uc
    CONFTEST: change_page_attr
    CONFTEST: pci_get_class
    CONFTEST: pci_choose_state
    CONFTEST: vm_insert_page
    CONFTEST: acpi_device_id
    CONFTEST: acquire_console_sem
    CONFTEST: console_lock
    CONFTEST: kmem_cache_create
    CONFTEST: on_each_cpu
    CONFTEST: smp_call_function
    CONFTEST: acpi_evaluate_integer
    CONFTEST: ioremap_cache
    CONFTEST: ioremap_wc
    CONFTEST: acpi_walk_namespace
    CONFTEST: pci_domain_nr
    CONFTEST: pci_dma_mapping_error
    CONFTEST: sg_alloc_table
    CONFTEST: sg_init_table
    CONFTEST: pci_get_domain_bus_and_slot
    CONFTEST: get_num_physpages
    CONFTEST: proc_create_data
    CONFTEST: efi_enabled
    CONFTEST: pde_data
    CONFTEST: proc_remove
    CONFTEST: pm_vt_switch_required
    CONFTEST: drm_pci_set_busid
    CONFTEST: xen_ioemu_inject_msi
    CONFTEST: phys_to_dma
    CONFTEST: get_dma_ops
    CONFTEST: write_cr4
    CONFTEST: remap_page_range
    CONFTEST: address_space
    CONFTEST: address_space_init_once
    CONFTEST: kbasename
    CONFTEST: fatal_signal_pending
    CONFTEST: list_cut_position
    CONFTEST: i2c_adapter
    CONFTEST: pm_message_t
    CONFTEST: irq_handler_t
    CONFTEST: acpi_device_ops
    CONFTEST: acpi_op_remove
    CONFTEST: outer_flush_all
    CONFTEST: proc_dir_entry
    CONFTEST: scatterlist
    CONFTEST: sg_table
    CONFTEST: file_operations
    CONFTEST: vm_operations_struct
    CONFTEST: pci_save_state
    CONFTEST: file_inode
    CONFTEST: task_struct
    CONFTEST: kuid_t
    CONFTEST: dma_ops
    CONFTEST: dma_map_ops
    CONFTEST: noncoherent_swiotlb_dma_ops
    CONFTEST: fault_flags
    CONFTEST: atomic64_type
    CONFTEST: backing_dev_info
    CONFTEST: dom0_kernel_present
    CONFTEST: drm_available
    CONFTEST: nvidia_grid_build
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-frontend.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-instance.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-acpi.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-chrdev.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-cray.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-dma.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-drm.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-gvi.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-i2c.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mempool.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mmap.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-p2p.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-pat.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-usermap.o
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:363:12: error: void value not ignored as it ought to be
        return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
               ^
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_text_file':
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:563:12: error: void value not ignored as it ought to be
        return seq_puts(s, s->private);
               ^
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:564:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:364:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   /usr/src/linux-4.4.1/scripts/Makefile.build:258: recipe for target '/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o' failed
   make[3]: *** [/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o] Error 1
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vm.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vtophys.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-interface.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-mlock.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-pci.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-registry.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-usermap.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-modeset-interface.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv_uvm_interface.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink_linux.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_gpu_ops_tests.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_cache.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_events.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_counters.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_api.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_prefetch.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_region_tracking.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_utils.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_linux.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration_kepler.o
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common.c: In function 'uvmSetupGpuProvider':
   /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common.c:117:34: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
        g_exportedUvmOps.isrTopHalf  = uvmnext_isr_top_half;
                                     ^
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration_pascal.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_channel_mgmt.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common_test.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_channel_directed_tests.o
     CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o
     LD [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm.o
   make[3]: Target '__build' not remade because of errors.
   /usr/src/linux-4.4.1/Makefile:1384: recipe for target '_module_/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel' failed
   make[2]: *** [_module_/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel] Error 2
   make[2]: Target 'modules' not remade because of errors.
   make[2]: Leaving directory '/usr/src/linux-4.4.1'
   Makefile:146: recipe for target 'sub-make' failed
   make[1]: *** [sub-make] Error 2
   make[1]: Target 'modules' not remade because of errors.
   make[1]: Leaving directory '/usr/src/linux-4.4.1'
   Makefile:81: recipe for target 'modules' failed
   make: *** [modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j4  NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.4.1/source" SYSOUT="/lib/modules/4.4.1/build"` failed with the following output:

/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.1/build KBUILD_VERBOSE= -C /lib/modules/4.4.1/source M=/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.1/source NV_KERNEL_OUTPUT=/lib/modules/4.4.1/build NV_KERNEL_MODULES="nvidia nvidia-uvm" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/linux-4.4.1'
make[2]: Entering directory '/usr/src/linux-4.4.1'
  SYMLINK /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-kernel.o
 CONFTEST: INIT_WORK
 CONFTEST: follow_pfn
 CONFTEST: vmap
 CONFTEST: remap_pfn_range
 CONFTEST: set_pages_uc
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: change_page_attr
 CONFTEST: pci_get_class
 CONFTEST: pci_choose_state
 CONFTEST: vm_insert_page
 CONFTEST: acpi_device_id
 CONFTEST: acquire_console_sem
 CONFTEST: console_lock
 CONFTEST: kmem_cache_create
 CONFTEST: on_each_cpu
 CONFTEST: smp_call_function
 CONFTEST: acpi_evaluate_integer
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: acpi_walk_namespace
 CONFTEST: pci_domain_nr
 CONFTEST: pci_dma_mapping_error
 CONFTEST: sg_alloc_table
 CONFTEST: sg_init_table
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: proc_create_data
 CONFTEST: efi_enabled
 CONFTEST: pde_data
 CONFTEST: proc_remove
 CONFTEST: pm_vt_switch_required
 CONFTEST: drm_pci_set_busid
 CONFTEST: xen_ioemu_inject_msi
 CONFTEST: phys_to_dma
 CONFTEST: get_dma_ops
 CONFTEST: write_cr4
 CONFTEST: remap_page_range
 CONFTEST: address_space
 CONFTEST: address_space_init_once
 CONFTEST: kbasename
 CONFTEST: fatal_signal_pending
 CONFTEST: list_cut_position
 CONFTEST: i2c_adapter
 CONFTEST: pm_message_t
 CONFTEST: irq_handler_t
 CONFTEST: acpi_device_ops
 CONFTEST: acpi_op_remove
 CONFTEST: outer_flush_all
 CONFTEST: proc_dir_entry
 CONFTEST: scatterlist
 CONFTEST: sg_table
 CONFTEST: file_operations
 CONFTEST: vm_operations_struct
 CONFTEST: pci_save_state
 CONFTEST: file_inode
 CONFTEST: task_struct
 CONFTEST: kuid_t
 CONFTEST: dma_ops
 CONFTEST: dma_map_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 CONFTEST: fault_flags
 CONFTEST: atomic64_type
 CONFTEST: backing_dev_info
 CONFTEST: dom0_kernel_present
 CONFTEST: drm_available
 CONFTEST: nvidia_grid_build
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-frontend.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-instance.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-acpi.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-chrdev.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-cray.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-dma.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-drm.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-gvi.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-i2c.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mempool.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mmap.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-p2p.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-pat.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-usermap.o
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:363:12: error: void value not ignored as it ought to be
     return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
            ^
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_text_file':
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:563:12: error: void value not ignored as it ought to be
     return seq_puts(s, s->private);
            ^
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:564:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:364:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/src/linux-4.4.1/scripts/Makefile.build:258: recipe for target '/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o' failed
make[3]: *** [/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o] Error 1
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vm.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vtophys.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-interface.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-mlock.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-pci.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-registry.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-usermap.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-modeset-interface.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv_uvm_interface.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink_linux.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_gpu_ops_tests.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_cache.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_events.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_counters.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_api.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_prefetch.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_lite_region_tracking.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_utils.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_linux.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration_kepler.o
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common.c: In function 'uvmSetupGpuProvider':
/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common.c:117:34: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
     g_exportedUvmOps.isrTopHalf  = uvmnext_isr_top_half;
                                  ^
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_page_migration_pascal.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_channel_mgmt.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_common_test.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_channel_directed_tests.o
  CC [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o
  LD [M]  /tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia-uvm.o
make[3]: Target '__build' not remade because of errors.
/usr/src/linux-4.4.1/Makefile:1384: recipe for target '_module_/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel' failed
make[2]: *** [_module_/tmp/selfgz8080/NVIDIA-Linux-x86_64-355.00.26/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/usr/src/linux-4.4.1'
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-4.4.1'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
ERROR: The nvidia kernel module was not created.
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.



Update:
hmm. Identical? https://devtalk.nvidia.com/default/t...1-build-error/


update2:
Ok. I tried to extract nvidia run file, apply the changes from that link and run ./nvidia-install.
It completed successfully or so it seems.

Tried to start X, but Xorg won't start.
Producing this:
Code:
[   267.077] 
X.Org X Server 1.18.1
Release Date: 2016-02-08
[   267.078] X Protocol Version 11, Revision 0
[   267.078] Build Operating System: Slackware 14.2 Slackware Linux Project
[   267.078] Current Operating System: Linux darkstar 4.4.1 #2 SMP Tue Feb 2 15:38:24 CST 2016 x86_64
[   267.078] Kernel command line: BOOT_IMAGE=Slackware ro root=802 vt.default_utf8=1
[   267.079] Build Date: 09 February 2016  02:25:58PM
[   267.079]  
[   267.079] Current version of pixman: 0.34.0
[   267.080] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   267.080] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   267.081] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 16 20:41:27 2016
[   267.082] (==) Using config file: "/etc/X11/xorg.conf"
[   267.082] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   267.082] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   267.082] (==) ServerLayout "Layout0"
[   267.082] (**) |-->Screen "Screen0" (0)
[   267.082] (**) |   |-->Monitor "Monitor0"
[   267.083] (**) |   |-->Device "Device0"
[   267.083] (**) |-->Input Device "Keyboard0"
[   267.083] (**) |-->Input Device "Mouse0"
[   267.083] (==) Automatically adding devices
[   267.083] (==) Automatically enabling devices
[   267.083] (==) Automatically adding GPU devices
[   267.083] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   267.083] (WW) The directory "/usr/share/fonts/local" does not exist.
[   267.083] 	Entry deleted from font path.
[   267.083] (WW) The directory "/usr/share/fonts/CID" does not exist.
[   267.083] 	Entry deleted from font path.
[   267.083] (**) FontPath set to:
	/usr/lib64/X11/fonts/misc/:unscaled,
	/usr/lib64/X11/fonts/100dpi/:unscaled,
	/usr/lib64/X11/fonts/75dpi/:unscaled,
	/usr/lib64/X11/fonts/misc/,
	/usr/lib64/X11/fonts/Type1/,
	/usr/lib64/X11/fonts/100dpi/,
	/usr/lib64/X11/fonts/75dpi/,
	/usr/lib64/X11/fonts/cyrillic/,
	/usr/lib64/X11/fonts/TTF/,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic
[   267.083] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   267.083] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   267.083] (WW) Disabling Keyboard0
[   267.083] (WW) Disabling Mouse0
[   267.083] (II) Loader magic: 0x808cc0
[   267.083] (II) Module ABI versions:
[   267.083] 	X.Org ANSI C Emulation: 0.4
[   267.083] 	X.Org Video Driver: 20.0
[   267.083] 	X.Org XInput driver : 22.1
[   267.083] 	X.Org Server Extension : 9.0
[   267.083] (II) xfree86: Adding drm device (/dev/dri/card0)
[   267.084] (--) PCI:*(0:1:0:0) 10de:1381:1569:1381 rev 162, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[   267.084] (II) Open ACPI successful (/var/run/acpid.socket)
[   267.084] (II) LoadModule: "glx"
[   267.084] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   267.088] (II) Module glx: vendor="NVIDIA Corporation"
[   267.088] 	compiled for 4.0.2, module version = 1.0.0
[   267.088] 	Module class: X.Org Server Extension
[   267.088] (II) NVIDIA GLX Module  355.00.26  Sun Feb 14 15:40:59 PST 2016
[   267.088] (II) LoadModule: "nvidia"
[   267.088] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   267.088] (II) Module nvidia: vendor="NVIDIA Corporation"
[   267.088] 	compiled for 4.0.2, module version = 1.0.0
[   267.088] 	Module class: X.Org Video Driver
[   267.089] ================ WARNING WARNING WARNING WARNING ================
[   267.089] This server has a video driver ABI version of 20.0 that this
driver does not officially support.  Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[   267.090] =================================================================
[   267.090] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[   267.090] (II) UnloadModule: "nvidia"
[   267.090] (II) Unloading nvidia
[   267.090] (EE) Failed to load module "nvidia" (module requirement mismatch, 0)
[   267.090] (EE) No drivers available.
[   267.090] (EE) 
Fatal server error:
[   267.091] (EE) no screens found(EE) 
[   267.091] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   267.092] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[   267.092] (EE)
Do I read this wrong or it's saying that nvidia driver doesn't support Xorg ABI???

SOLVED:
Ok, thanks guys. Somebody just posted a solution to Xorg problem to the above link. It works now!

Solution:
Extract nvidia blob file. --extract-only
Apply the changes from this link: https://devtalk.nvidia.com/default/t...1-build-error/ to kernel/nvidia/nv-procfs.c
Run ./nvidia-install.
Add this to Xorg config.
Code:
    Section "ServerFlags"
    Option "IgnoreABI" "1" 
    EndSection
Готово!

Last edited by sbolokanov; 02-16-2016 at 01:56 PM.
 
Old 02-16-2016, 10:43 AM   #2
Emerson
LQ Guru
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~arch
Posts: 6,316

Rep: Reputation: Disabled
Have you tried disabling UVM? If I recall correctly it is needed only if you want to share main memory with graphics.
 
Old 02-16-2016, 12:01 PM   #3
sbolokanov
Member
 
Registered: Feb 2013
Location: Бдинъ, Бѫлгариѧ
Distribution: GNU/Linux
Posts: 101

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by Emerson View Post
Have you tried disabling UVM? If I recall correctly it is needed only if you want to share main memory with graphics.
Still no go. Looks like the problem comes from nv-procfsq. What ever that is.

Output:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Feb 16 19:55:31 2016
installer version: 355.00.26

PATH: /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/kde4/libexec:/usr/lib64/qt/bin:/usr/share/texmf/bin

nvidia-installer command line:
    ./nvidia-installer
    --no-unified-memory

Using: nvidia-installer ncurses user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> License accepted.
-> Installing NVIDIA driver version 355.00.26.
-> There appears to already be a driver installed on your system (version: 361.18).  As part of installing this driver (version: 355.00.26), the existing driver will be uninstalled.  Are you sure you want to continue? (Answer: Continue installation)
WARNING: The NVIDIA Unified Memory kernel module will not be installed. As a result, CUDA applications will not be able to run with this installation of the NVIDIA driver.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: '/lib/modules/4.4.1/source'
-> Kernel output path: '/lib/modules/4.4.1/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Performing PREEMPT_RT check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES="nvidia-uvm " SYSSRC="/lib/modules/4.4.1/source" SYSOUT="/lib/modules/4.4.1/build"'...
   rm -f -r conftest
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.1/build KBUILD_VERBOSE= -C /lib/modules/4.4.1/source M=/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.1/source NV_KERNEL_OUTPUT=/lib/modules/4.4.1/build NV_KERNEL_MODULES="nvidia" INSTALL_MOD_DIR=kernel/drivers/video clean
   make[1]: Entering directory '/usr/src/linux-4.4.1'
   make[2]: Entering directory '/usr/src/linux-4.4.1'
   make[2]: Leaving directory '/usr/src/linux-4.4.1'
   make[1]: Leaving directory '/usr/src/linux-4.4.1'
-> Building kernel modules
   executing: 'cd ./kernel; /usr/bin/make -k -j4  NV_EXCLUDE_KERNEL_MODULES="nvidia-uvm " SYSSRC="/lib/modules/4.4.1/source" SYSOUT="/lib/modules/4.4.1/build"'...
   /usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.1/build KBUILD_VERBOSE= -C /lib/modules/4.4.1/source M=/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.1/source NV_KERNEL_OUTPUT=/lib/modules/4.4.1/build NV_KERNEL_MODULES="nvidia" INSTALL_MOD_DIR=kernel/drivers/video modules
   make[1]: Entering directory '/usr/src/linux-4.4.1'
   make[2]: Entering directory '/usr/src/linux-4.4.1'
     SYMLINK /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-kernel.o
    CONFTEST: INIT_WORK
    CONFTEST: remap_pfn_range
    CONFTEST: follow_pfn
    CONFTEST: vmap
    CONFTEST: set_pages_uc
    CONFTEST: set_memory_uc
    CONFTEST: set_memory_array_uc
    CONFTEST: change_page_attr
    CONFTEST: pci_get_class
    CONFTEST: pci_choose_state
    CONFTEST: vm_insert_page
    CONFTEST: acpi_device_id
    CONFTEST: acquire_console_sem
    CONFTEST: console_lock
    CONFTEST: kmem_cache_create
    CONFTEST: on_each_cpu
    CONFTEST: smp_call_function
    CONFTEST: acpi_evaluate_integer
    CONFTEST: ioremap_cache
    CONFTEST: ioremap_wc
    CONFTEST: acpi_walk_namespace
    CONFTEST: pci_domain_nr
    CONFTEST: pci_dma_mapping_error
    CONFTEST: sg_alloc_table
    CONFTEST: sg_init_table
    CONFTEST: pci_get_domain_bus_and_slot
    CONFTEST: get_num_physpages
    CONFTEST: efi_enabled
    CONFTEST: proc_create_data
    CONFTEST: pde_data
    CONFTEST: proc_remove
    CONFTEST: pm_vt_switch_required
    CONFTEST: drm_pci_set_busid
    CONFTEST: xen_ioemu_inject_msi
    CONFTEST: phys_to_dma
    CONFTEST: get_dma_ops
    CONFTEST: write_cr4
    CONFTEST: i2c_adapter
    CONFTEST: pm_message_t
    CONFTEST: irq_handler_t
    CONFTEST: acpi_device_ops
    CONFTEST: acpi_op_remove
    CONFTEST: outer_flush_all
    CONFTEST: proc_dir_entry
    CONFTEST: scatterlist
    CONFTEST: sg_table
    CONFTEST: file_operations
    CONFTEST: vm_operations_struct
    CONFTEST: pci_save_state
    CONFTEST: file_inode
    CONFTEST: task_struct
    CONFTEST: kuid_t
    CONFTEST: dma_ops
    CONFTEST: dma_map_ops
    CONFTEST: noncoherent_swiotlb_dma_ops
    CONFTEST: dom0_kernel_present
    CONFTEST: drm_available
    CONFTEST: nvidia_grid_build
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-frontend.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-instance.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-acpi.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-chrdev.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-cray.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-dma.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-drm.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-gvi.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-i2c.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mempool.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mmap.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-p2p.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-pat.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-usermap.o
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:363:12: error: void value not ignored as it ought to be
        return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
               ^
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_text_file':
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:563:12: error: void value not ignored as it ought to be
        return seq_puts(s, s->private);
               ^
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:564:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
   /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:364:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
   /usr/src/linux-4.4.1/scripts/Makefile.build:258: recipe for target '/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o' failed
   make[3]: *** [/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o] Error 1
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vm.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vtophys.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-interface.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-mlock.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-pci.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-registry.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-usermap.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-modeset-interface.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv_uvm_interface.o
     CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink_linux.o
   make[3]: Target '__build' not remade because of errors.
   /usr/src/linux-4.4.1/Makefile:1384: recipe for target '_module_/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel' failed
   make[2]: *** [_module_/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel] Error 2
   make[2]: Target 'modules' not remade because of errors.
   make[2]: Leaving directory '/usr/src/linux-4.4.1'
   Makefile:146: recipe for target 'sub-make' failed
   make[1]: *** [sub-make] Error 2
   make[1]: Target 'modules' not remade because of errors.
   make[1]: Leaving directory '/usr/src/linux-4.4.1'
   Makefile:81: recipe for target 'modules' failed
   make: *** [modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j4  NV_EXCLUDE_KERNEL_MODULES="nvidia-uvm " SYSSRC="/lib/modules/4.4.1/source" SYSOUT="/lib/modules/4.4.1/build"` failed with the following output:

/usr/bin/make "CC=cc" KBUILD_OUTPUT=/lib/modules/4.4.1/build KBUILD_VERBOSE= -C /lib/modules/4.4.1/source M=/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/4.4.1/source NV_KERNEL_OUTPUT=/lib/modules/4.4.1/build NV_KERNEL_MODULES="nvidia" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: Entering directory '/usr/src/linux-4.4.1'
make[2]: Entering directory '/usr/src/linux-4.4.1'
  SYMLINK /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-kernel.o
 CONFTEST: INIT_WORK
 CONFTEST: remap_pfn_range
 CONFTEST: follow_pfn
 CONFTEST: vmap
 CONFTEST: set_pages_uc
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: change_page_attr
 CONFTEST: pci_get_class
 CONFTEST: pci_choose_state
 CONFTEST: vm_insert_page
 CONFTEST: acpi_device_id
 CONFTEST: acquire_console_sem
 CONFTEST: console_lock
 CONFTEST: kmem_cache_create
 CONFTEST: on_each_cpu
 CONFTEST: smp_call_function
 CONFTEST: acpi_evaluate_integer
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: acpi_walk_namespace
 CONFTEST: pci_domain_nr
 CONFTEST: pci_dma_mapping_error
 CONFTEST: sg_alloc_table
 CONFTEST: sg_init_table
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: efi_enabled
 CONFTEST: proc_create_data
 CONFTEST: pde_data
 CONFTEST: proc_remove
 CONFTEST: pm_vt_switch_required
 CONFTEST: drm_pci_set_busid
 CONFTEST: xen_ioemu_inject_msi
 CONFTEST: phys_to_dma
 CONFTEST: get_dma_ops
 CONFTEST: write_cr4
 CONFTEST: i2c_adapter
 CONFTEST: pm_message_t
 CONFTEST: irq_handler_t
 CONFTEST: acpi_device_ops
 CONFTEST: acpi_op_remove
 CONFTEST: outer_flush_all
 CONFTEST: proc_dir_entry
 CONFTEST: scatterlist
 CONFTEST: sg_table
 CONFTEST: file_operations
 CONFTEST: vm_operations_struct
 CONFTEST: pci_save_state
 CONFTEST: file_inode
 CONFTEST: task_struct
 CONFTEST: kuid_t
 CONFTEST: dma_ops
 CONFTEST: dma_map_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 CONFTEST: dom0_kernel_present
 CONFTEST: drm_available
 CONFTEST: nvidia_grid_build
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-frontend.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-instance.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-acpi.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-chrdev.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-cray.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-dma.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-drm.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-gvi.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-i2c.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mempool.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-mmap.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-p2p.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-pat.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-usermap.o
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:363:12: error: void value not ignored as it ought to be
     return seq_printf(s, "Binary: \"%s\"\n", registry_keys);
            ^
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_text_file':
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:563:12: error: void value not ignored as it ought to be
     return seq_puts(s, s->private);
            ^
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:564:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c: In function 'nv_procfs_read_registry':
/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.c:364:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/usr/src/linux-4.4.1/scripts/Makefile.build:258: recipe for target '/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o' failed
make[3]: *** [/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-procfs.o] Error 1
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vm.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-vtophys.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-interface.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-mlock.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-pci.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-registry.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/os-usermap.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv-modeset-interface.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nv_uvm_interface.o
  CC [M]  /tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel/nvidia/nvlink_linux.o
make[3]: Target '__build' not remade because of errors.
/usr/src/linux-4.4.1/Makefile:1384: recipe for target '_module_/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel' failed
make[2]: *** [_module_/tmp/selfgz13961/NVIDIA-Linux-x86_64-355.00.26/kernel] Error 2
make[2]: Target 'modules' not remade because of errors.
make[2]: Leaving directory '/usr/src/linux-4.4.1'
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Target 'modules' not remade because of errors.
make[1]: Leaving directory '/usr/src/linux-4.4.1'
Makefile:81: recipe for target 'modules' failed
make: *** [modules] Error 2
ERROR: The nvidia kernel module was not created.
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.

Last edited by sbolokanov; 02-16-2016 at 12:09 PM.
 
Old 02-16-2016, 12:05 PM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,449
Blog Entries: 15

Rep: Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020
Try using make with -j1 first.
 
Old 02-16-2016, 12:12 PM   #5
sbolokanov
Member
 
Registered: Feb 2013
Location: Бдинъ, Бѫлгариѧ
Distribution: GNU/Linux
Posts: 101

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by ReaperX7 View Post
Try using make with -j1 first.
Nope. Results in the same.


By the way... Just me or the problem is identical: https://devtalk.nvidia.com/default/t...1-build-error/

Updated first post.

Last edited by sbolokanov; 02-16-2016 at 01:04 PM.
 
Old 03-02-2016, 08:33 PM   #6
slackartist
Member
 
Registered: Oct 2015
Location: Where the buffalo's roam
Distribution: Slackware Current Multilib
Posts: 142
Blog Entries: 20

Rep: Reputation: 25
If you don't mind me askin, can you tell the difference?

I bought fermi cards recently but there is a problem with integrating them...
 
Old 03-03-2016, 04:14 AM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,449
Blog Entries: 15

Rep: Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020Reputation: 2020
Unfortunately, only kepler and maxwell chips will be supporting Vulkan. Fermi and earlier will not at this time. No word on when this will change.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: SteamOS updated with Linux kernel 4.1, Nvidia adds Vulkan support, and more LXer Syndicated Linux News 0 11-07-2015 09:52 PM
[SOLVED] help going back from nvidia blob to nouveau nivieru Slackware 4 02-21-2013 10:44 AM
Beware the Nvidia blob H_TeXMeX_H Linux - General 36 08-06-2012 05:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration