Участник с: 20 декабря 2015
|
Решил установить драйвер nvidia скомпилировав новое ядро с ним, тк установка через репозитории безрезультатна(даже с добавленным в блеклист nouveau), но не хочет компилироваться модуль ядра. Судя по логам, виноват компилятор GCC (/tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_common.c:117:34: предупреждение: несовместимый тип указателя в присваивании [-Wincompatible-pointer-types]). Как исправить? Лог предоставлен ниже.
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Dec 20 22:55:08 2015
installer version: 358.16
PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
nvidia-installer command line:
./nvidia-installer
--kernel-source-path
/home/wanket/builds/linux-4.4-rc5/
Unable to load: nvidia-installer ncurses user interface
Using built-in stream user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> License accepted.
-> Installing NVIDIA driver version 358.16.
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Using the kernel source path '/home/wanket/builds/linux-4.4-rc5/' as specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/home/wanket/builds/linux-4.4-rc5/'
-> Kernel output path: '/home/wanket/builds/linux-4.4-rc5/'
-> 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="/home/wanket/builds/linux-4.4-rc5/" SYSOUT="/home/wanket/builds/linux-4.4-rc5/"'...
rm -f -r conftest
/usr/bin/make "CC=cc" KBUILD_VERBOSE= -C /home/wanket/builds/linux-4.4-rc5/ M=/tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/home/wanket/builds/linux-4.4-rc5/ NV_KERNEL_OUTPUT=/home/wanket/builds/linux-4.4-rc5/ NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset" INSTALL_MOD_DIR=kernel/drivers/video clean
make[1]: вход в каталог «/home/wanket/builds/linux-4.4-rc5»
make[1]: выход из каталога «/home/wanket/builds/linux-4.4-rc5»
-> Building kernel modules
executing: 'cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/home/wanket/builds/linux-4.4-rc5/" SYSOUT="/home/wanket/builds/linux-4.4-rc5/"'...
/usr/bin/make "CC=cc" KBUILD_VERBOSE= -C /home/wanket/builds/linux-4.4-rc5/ M=/tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel ARCH=x86_64 NV_KERNEL_SOURCES=/home/wanket/builds/linux-4.4-rc5/ NV_KERNEL_OUTPUT=/home/wanket/builds/linux-4.4-rc5/ NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset" INSTALL_MOD_DIR=kernel/drivers/video modules
make[1]: вход в каталог «/home/wanket/builds/linux-4.4-rc5»
SYMLINK /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: remap_pfn_range
CONFTEST: vmap
CONFTEST: follow_pfn
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: of_parse_phandle
CONFTEST: for_each_online_node
CONFTEST: node_end_pfn
CONFTEST: remap_page_range
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: fatal_signal_pending
CONFTEST: list_cut_position
CONFTEST: hlist_for_each_entry
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: address_space
CONFTEST: backing_dev_info
CONFTEST: dom0_kernel_present
CONFTEST: drm_available
CONFTEST: nvidia_grid_build
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-chrdev.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-drm.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-gvi.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-i2c.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-mempool.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-mmap.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-p2p.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-pat.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-vm.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-pci.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-registry.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv_uvm_interface.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nvlink_pci.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/ebridge_linux.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/ibmnpu_linux.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_gpu_ops_tests.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_lite.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_page_cache.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_lite_api.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_lite_prefetch.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_lite_region_tracking.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_utils.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_kernel_events.o
/tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_common.c: В функции «uvmSetupGpuProvider»:
/tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_common.c:117:34: предупреждение: несовместимый тип указателя в присваивании [-Wincompatible-pointer-types]
g_exportedUvmOps.isrTopHalf = uvmnext_isr_top_half;
^
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_kernel_counters.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_debug_session.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_page_migration.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_page_migration_kepler.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_page_migration_maxwell.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_page_migration_pascal.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_channel_mgmt.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_common_test.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_channel_directed_tests.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm/uvm_channel_basic_sanity_tests.o
CC [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset/nvidia-modeset-linux.o
ld -r -o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-interface.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-frontend.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-instance.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-acpi.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-chrdev.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-cray.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-dma.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-drm.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-gvi.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-i2c.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-mempool.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-mmap.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-p2p.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-pat.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.1
6/kernel/nvidia/nv-procfs.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-usermap.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-vm.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-vtophys.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-interface.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-mlock.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-pci.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-registry.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/os-usermap.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv-modeset-interface.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nv_uvm_interface.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nvlink_linux.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/nvlink_pci.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/ebridge_linux.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia/ibmnpu_linux.o
LD [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia.o
LD [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm.o
ld -r -o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset/nvidia-modeset-linux.o
LD [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset.o
Building modules, stage 2.
MODPOST 3 modules
CC /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm.mod.o
CC /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset.mod.o
CC /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia.mod.o
LD [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-uvm.ko
LD [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia-modeset.ko
LD [M] /tmp/selfgz2928/NVIDIA-Linux-x86_64-358.16/kernel/nvidia.ko
make[1]: выход из каталога «/home/wanket/builds/linux-4.4-rc5»
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the end of the file '/var/log/nvidia-installer.log' for more information.
-> Kernel module load error: Exec format error
-> Kernel messages:
[ 4.544228] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[ 4.544292] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[ 4.544343] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[ 4.544401] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 4.597351] systemd[1]: boot.mount: Directory /boot to mount over is not empty, mounting anyway.
[ 4.597623] systemd[1]: Mounting /boot...
[ 4.765814] systemd[1]: Mounted /boot.
[ 4.766412] systemd[1]: Reached target Local File Systems.
[ 4.788817] AVX2 version of gcm_enc/dec engaged.
[ 4.788820] AES CTR mode by8 optimization enabled
[ 5.076513] systemd[1]: Started Journal Service.
[ 5.130484] intel_rapl: Found RAPL domain package
[ 5.130487] intel_rapl: Found RAPL domain core
[ 5.130490] intel_rapl: Found RAPL domain dram
[ 5.147732] systemd-journald[171]: Received request to flush runtime journal from PID 1
[ 6.683470] r8169 0000:03:00.0 enp3s0: link down
[ 6.683472] r8169 0000:03:00.0 enp3s0: link down
[ 6.683518] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 8.335188] r8169 0000:03:00.0 enp3s0: link up
[ 8.335202] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[ 34.691480] nvidia-nvlink: Unregistered the Nvlink Core, major device number 249
[ 34.691555] [drm] Module unloaded
[ 103.665938] nvidia: disagrees about version of symbol module_layout
[ 218.204114] [drm] Initialized drm 1.1.0 20060810
[ 218.206670] nvidia: disagrees about version of symbol module_layout
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.
|