Bug tracker?

I ran into some strange behavior and I’m wondering where to post. Is there a bug tracker yet? Can one be created or should I just post to this forum?

At the moment, please report issues here in the forum.

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Mon Feb 17 12:06:46 2020
installer version: 390.87

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses v6 user interface
→ Detected 4 CPUs online; setting concurrency level to 4.
→ Installing NVIDIA driver version 390.87.
→ There appears to already be a driver installed on your system (version: 390.87). As part of installing this driver (version: 390.87), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue ins>
→ An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-in>

Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:

The NVIDIA driver provided by Ubuntu can be installed by launching the “Software & Updates” application, and by selecting the NVIDIA driver from the “Additional Drivers” tab.

(Answer: Continue installation)
→ 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=“/usr/bin/cc”.
→ Kernel source path: ‘/lib/modules/5.6.0-050600rc2-generic/build’
→ Kernel output path: ‘/lib/modules/5.6.0-050600rc2-generic/build’
→ Performing Compiler check.
→ Performing Dom0 check.
→ Performing Xen check.
→ Performing PREEMPT_RT check.
→ Performing vgpu_kvm check.
→ Cleaning kernel module build directory.
executing: ‘cd ./kernel; /usr/bin/make -k -j4 clean NV_EXCLUDE_KERNEL_MODULES=“” SYSSRC=“/lib/modules/5.6.0-050600rc2-generic/build” SYSOUT=“/lib/modules/5.6.0-050600rc2-generic/build”’…
rm -f -r conftest
make[1]: вход в каталог «/usr/src/linux-headers-5.6.0-050600rc2-generic»
make[1]: выход из каталога «/usr/src/linux-headers-5.6.0-050600rc2-generic»
→ Building kernel modules
executing: ‘cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES=“” SYSSRC=“/lib/modules/5.6.0-050600rc2-generic/build” SYSOUT=“/lib/modules/5.6.0-050600rc2-generic/build”’…
make[1]: вход в каталог «/usr/src/linux-headers-5.6.0-050600rc2-generic»
SYMLINK /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia-modeset/nv-modeset-kernel.o
CONFTEST: INIT_WORK
CONFTEST: remap_pfn_range
CONFTEST: hash__remap_4k_pfn
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: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: get_dma_ops
CONFTEST: write_cr4
CONFTEST: of_get_property
CONFTEST: of_find_node_by_phandle
CONFTEST: of_node_to_nid
CONFTEST: pnv_pci_get_npu_dev
CONFTEST: for_each_online_node
CONFTEST: node_end_pfn
CONFTEST: pci_bus_address
CONFTEST: pci_stop_and_remove_bus_device
CONFTEST: pci_remove_bus_device
CONFTEST: request_threaded_irq
CONFTEST: register_cpu_notifier
CONFTEST: cpuhp_setup_state
CONFTEST: dma_map_resource
CONFTEST: backlight_device_register
CONFTEST: register_acpi_notifier
CONFTEST: timer_setup
CONFTEST: remap_page_range
CONFTEST: address_space_init_once
CONFTEST: kbasename
CONFTEST: fatal_signal_pending
CONFTEST: list_cut_position
CONFTEST: vzalloc
CONFTEST: wait_on_bit_lock_argument_count
CONFTEST: bitmap_clear
CONFTEST: usleep_range
CONFTEST: radix_tree_empty
CONFTEST: radix_tree_replace_slot
CONFTEST: drm_dev_unref
CONFTEST: drm_reinit_primary_mode_group
CONFTEST: drm_atomic_set_mode_for_crtc
CONFTEST: drm_atomic_clean_old_fb
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: drm_gem_object_lookup
CONFTEST: drm_atomic_state_free
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_atomic_helper_disable_all
CONFTEST: drm_atomic_helper_set_config
CONFTEST: drm_atomic_helper_connector_dpms
CONFTEST: is_export_symbol_gpl_of_node_to_nid
CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
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: atomic_long_type
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: vm_fault_present
CONFTEST: vm_fault_has_address
CONFTEST: kernel_write
CONFTEST: strnstr
CONFTEST: iterate_dir
CONFTEST: kstrtoull
CONFTEST: backlight_properties_type
CONFTEST: fault_flags
CONFTEST: atomic64_type
CONFTEST: address_space
CONFTEST: backing_dev_info
CONFTEST: mm_context_t
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: pnv_npu2_init_context
CONFTEST: drm_bus_present
CONFTEST: drm_bus_has_bus_type
CONFTEST: drm_bus_has_get_irq
CONFTEST: drm_bus_has_get_name
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: drm_driver_has_set_busid
CONFTEST: drm_crtc_state_has_connectors_changed
CONFTEST: drm_init_function_args
CONFTEST: drm_mode_connector_list_update_has_merge_type_bits_arg
CONFTEST: drm_helper_mode_fill_fb_struct
CONFTEST: drm_master_drop_has_from_release_arg
CONFTEST: drm_driver_unload_has_int_return_type
CONFTEST: kref_has_refcount_of_type_refcount_t
CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
CONFTEST: drm_crtc_helper_funcs_has_atomic_enable
CONFTEST: drm_old_atomic_state_iterators_present
CONFTEST: drm_mode_object_find_has_file_priv_arg
CONFTEST: dom0_kernel_present
CONFTEST: nvidia_vgpu_kvm_build
CONFTEST: nvidia_grid_build
CONFTEST: drm_available
CONFTEST: drm_atomic_available
CONFTEST: drm_atomic_modeset_nonblocking_commit_available
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gpu-numa.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.o
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:13:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gpu-numa.c:24:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gpu-numa.c:24:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:13:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-instance.c:13:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gpu-numa.c:24:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gpu-numa.c:24:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:39:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
39 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-instance.c:13:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c: In function ‘nv_init_module’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:349:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
349 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c: In function ‘nv_exit_module’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.c:364:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
364 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:40:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
40 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c: In function ‘nvidia_init_module’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:934:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
934 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.c:1214:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1214 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-instance.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-frontend.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:267: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gpu-numa.o] Ошибка 1
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-chrdev.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-cray.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv.o] Ошибка 1
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-dma.o
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-acpi.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-chrdev.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-cray.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-dma.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-acpi.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-chrdev.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-cray.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-dma.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-chrdev.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-cray.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:267: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-acpi.o] Ошибка 1
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gvi.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-i2c.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mempool.o
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-dma.o] Ошибка 1
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.o
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gvi.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gvi.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gvi.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gvi.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-i2c.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-i2c.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mempool.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mempool.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
cc1: some warnings being treated as errors
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-i2c.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-i2c.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mempool.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mempool.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c:255:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
255 | if (NV_ALLOW_CACHING(memory_type))
| ^
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.c:257:9: note: here
257 | default:
| ^~~~~~~
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-gvi.o] Ошибка 1
cc1: some warnings being treated as errors
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-p2p.o
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-i2c.o] Ошибка 1
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-pat.o
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mempool.o] Ошибка 1
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-mmap.o] Ошибка 1
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-usermap.o
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-p2p.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-p2p.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-pat.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-pat.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-usermap.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:136,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-procfs.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-list-helpers.h:94:19: error: redefinition of ‘list_is_first’
94 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-procfs.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-p2p.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
In file included from ./include/linux/preempt.h:11,
from ./include/linux/spinlock.h:51,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-lock.h:16,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-usermap.c:15:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-pat.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-p2p.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-pat.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-p2p.c:17:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
17 | #if (NV_BUILD_MODULE_INSTANCES == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-procfs.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-procfs.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-usermap.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-usermap.c:15:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:290,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nv-procfs.c:15:
In file included from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:5,
from ./include/linux/sched.h:14,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.h:31,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:27:
./include/linux/list.h:259:19: note: previous definition of ‘list_is_first’ was here
259 | static inline int list_is_first(const struct list_head *list,
| ^~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: In function ‘nv_ioremap_nocache’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: error: implicit declaration of function ‘ioremap_nocache’; did you mean ‘ioremap_cache’? [-Werror=implicit-function-declaration]
556 | void *ptr = ioremap_nocache(phys, size);
| ^~~~~~~~~~~~~~~
| ioremap_cache
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:556:17: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h: At top level:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:1749:6: error: “NV_BUILD_MODULE_INSTANCES” is not defined, evaluates to 0 [-Werror=undef]
1749 | #if (NV_BUILD_MODULE_INSTANCES != 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:290,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:30:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c: In function ‘nvlink_permissions_init’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-procfs.h:62:64: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
62 | __entry = NV_CREATE_PROC_ENTRY(filename, mode, parent, fops,
| ^~~~
| |
| const struct file_operations *
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-procfs.h:39:42: note: in definition of macro ‘NV_CREATE_PROC_ENTRY’
39 | proc_create_data(name, mode, parent, fops, __data)
| ^~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:106:26: note: in expansion of macro ‘NV_CREATE_PROC_FILE’
106 | nvlink_permissions = NV_CREATE_PROC_FILE(“permissions”,
| ^~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/efi.h:19,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/common/inc/nv-linux.h:196,
from /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:30:
./include/linux/proc_fs.h:59:31: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations *’
59 | extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
| ^~~~~~~~~~~~~~~~
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c: In function ‘nvlink_sleep’:
/tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.c:570:5: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration]
570 | do_gettimeofday(&tm_aux);
| ^~~~~~~~~~~~~~~
| efi_gettimeofday
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:268: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel/nvidia/nvlink_linux.o] Ошибка 1
make[2]: Цель «__build» не была пересобрана из-за ошибок.
make[1]: *** [Makefile:1681: /tmp/selfgz337235/NVIDIA-Linux-x86_64-390.87/kernel] Ошибка 2
make[1]: Цель «modules» не была пересобрана из-за ошибок.
make[1]: выход из каталога «/usr/src/linux-headers-5.6.0-050600rc2-generic»
make: *** [Makefile:79: modules] Ошибка 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.

Hi,

we can really help with linux driver issues in this forum. To me it looks like an incompatibility with your kernel header files, so if you run a custom linux kernel, you might want to switch to an official one.

cu
Jan

linux kernel always is official - from kernel.org

I read 5.6 rc2. this is not a stable release kernel but a “release candidate”.
the latest stable release is 5.5.4
And since you compiled it yourself, its called an “custom kernel”. See also
https://help.ubuntu.com/community/Kernel/Compile:

Building and using a custom kernel will make it very difficult to get support for your system.
I would strongly advise to switch to a stock ubuntu kernel and start from there

I’m not compiled\build kernel. I’m download from https://kernel.ubuntu.com/~kernel-ppa/mainline/ files *.deb

hmm, i thought you said you get them from kernel.org.
Still its a release candidate and not a regular ubuntu kernel. Mainline kernel builds are also just for debugging purposes, see

https://wiki.ubuntu.com/Kernel/MainlineBuilds

Does the kernel team support the mainline kernel builds?

The mainline kernel builds are produced for debugging purposes and therefore come with no support. Use >them at your own risk.

In any case, this forum is for the support of the MDL SDK, it is not for troubleshooting driver compilation issues. You might get help in this thread

but since you use a release candidate driver, it will likely not a simple “install and run” procedure.