Bug#995271: nvidia-kernel-dkms: does not install with linux-image-5.14-amd64

Krzysztof Marczak buddhi1980 at gmail.com
Thu Sep 30 19:43:19 BST 2021


Hi
I'm getting the same errors when installing nvidia-kernel-dkms with kernel
5.14
Here is content of build log:
/var/lib/dkms/nvidia-current/470.57.02/build/dkms.log
I hope it will help.
For now I'm forced to use older kernel (5.10.0-8) which works fine.

DKMS make.log for nvidia-current-470.57.02 for kernel 5.14.0-1-amd64
(x86_64)
czw, 30 wrz 2021, 20:36:10 CEST
make KBUILD_OUTPUT=/lib/modules/5.14.0-1-amd64/build V=1 -C
/lib/modules/5.14.0-1-amd64/source
M=/var/lib/dkms/nvidia-current/470.57.02/build ARCH=x86_64
NV_KERNEL_SOURCES=/lib/modules/5.14.0-1-amd64/source
NV_KERNEL_OUTPUT=/lib/modules/5.14.0-1-amd64/build
NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm
nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Wejście do katalogu '/usr/src/linux-headers-5.14.0-1-common'
make -C /usr/src/linux-headers-5.14.0-1-amd64 -f
/usr/src/linux-headers-5.14.0-1-common/Makefile modules
make[2]: Wejście do katalogu '/usr/src/linux-headers-5.14.0-1-amd64'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 "  ERROR: Kernel configuration is invalid."; \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf
are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to
fix it."; \
echo >&2 ; \
/bin/false)
make -f /usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build
obj=/var/lib/dkms/nvidia-current/470.57.02/build \
single-build= \
need-builtin=1 need-modorder=1
NV_CONFTEST_CMD=/bin/sh
/var/lib/dkms/nvidia-current/470.57.02/build/conftest.sh " gcc-10" x86_64
/lib/modules/5.14.0-1-amd64/source /lib/modules/5.14.0-1-amd64/build
NV_CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest12713"
-DKBUILD_MODNAME="#conftest12713" -nostdinc -isystem
/usr/lib/gcc/x86_64-linux-gnu/10/include
-I/lib/modules/5.14.0-1-amd64/source/arch/x86/include/asm/mach-default
-I/lib/modules/5.14.0-1-amd64/source/include/asm-x86/mach-default
-I/lib/modules/5.14.0-1-amd64/build/include2
-I/lib/modules/5.14.0-1-amd64/build/include -include
/lib/modules/5.14.0-1-amd64/build/include/generated/autoconf.h
-I/lib/modules/5.14.0-1-amd64/source/arch/x86/include
-I/lib/modules/5.14.0-1-amd64/source/arch/x86/include/uapi
-I/lib/modules/5.14.0-1-amd64/build/arch/x86/include/generated
-I/lib/modules/5.14.0-1-amd64/build/arch/x86/include/generated/uapi
-I/lib/modules/5.14.0-1-amd64/source/include
-I/lib/modules/5.14.0-1-amd64/source/include/uapi
-I/lib/modules/5.14.0-1-amd64/source/include/xen
-I/lib/modules/5.14.0-1-amd64/build/include/generated/uapi -mfentry
-DCC_USING_FENTRY -I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD   -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -fno-pie -Wall
-Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar
-fno-PIE -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2
-mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3
-mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel
-DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables
-mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation
-Wno-format-overflow -Wno-address-of-packed-member -O2
-fno-allow-store-data-races -Wframe-larger-than=2048
-fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main
-Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack
-Wno-packed-not-aligned
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE
-Werror=implicit-function-declaration -Werror=implicit-int
-Werror=return-type -Wno-format-security -std=gnu89 -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1
-falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3
-mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel
-DCONFIG_X86_X32_ABI -Wno-sign-compare -fno-asynchronous-unwind-tables
-mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables
-fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation
-Wno-format-overflow -Wno-address-of-packed-member -O2
-fno-allow-store-data-races -Wframe-larger-than=2048
-fstack-protector-strong -Wimplicit-fallthrough=5 -Wno-main
-Wno-unused-but-set-variable -Wno-unused-const-variable
 -fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
LINUXINCLUDE=-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
LDFLAGS=
KBUILD_LDFLAGS=-m elf_x86_64
ARCH=x86_64
  ln -sf
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-kernel-amd64.o_binary
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-kernel.o
  ln -sf
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia-modeset/nv-modeset-kernel-amd64.o_binary
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia-modeset/nv-modeset-kernel.o
 CONFTEST patches.h:
static struct {
                const char *short_description;
                const char *description;
              } __nv_patches[] = {
{ NULL, NULL } };
 CONFTEST macros.h:
 CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#undef NV_DRM_DRMP_H_PRESENT
#define NV_DRM_DRM_AUTH_H_PRESENT
#define NV_DRM_DRM_GEM_H_PRESENT
#define NV_DRM_DRM_CRTC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_H_PRESENT
#define NV_DRM_DRM_ATOMIC_HELPER_H_PRESENT
#define NV_DRM_DRM_ENCODER_H_PRESENT
#define NV_DRM_DRM_ATOMIC_UAPI_H_PRESENT
#define NV_DRM_DRM_DRV_H_PRESENT
#define NV_DRM_DRM_FRAMEBUFFER_H_PRESENT
#define NV_DRM_DRM_CONNECTOR_H_PRESENT
#define NV_DRM_DRM_PROBE_HELPER_H_PRESENT
#define NV_DRM_DRM_BLEND_H_PRESENT
#define NV_DRM_DRM_FOURCC_H_PRESENT
#define NV_DRM_DRM_PRIME_H_PRESENT
#define NV_DRM_DRM_PLANE_H_PRESENT
#define NV_DRM_DRM_VBLANK_H_PRESENT
#define NV_DRM_DRM_FILE_H_PRESENT
#define NV_DRM_DRM_IOCTL_H_PRESENT
#define NV_DRM_DRM_DEVICE_H_PRESENT
#undef NV_DT_BINDINGS_INTERCONNECT_TEGRA_ICC_ID_H_PRESENT
#define NV_GENERATED_AUTOCONF_H_PRESENT
#define NV_GENERATED_COMPILE_H_PRESENT
#define NV_GENERATED_UTSRELEASE_H_PRESENT
#define NV_LINUX_EFI_H_PRESENT
#define NV_LINUX_KCONFIG_H_PRESENT
#undef NV_LINUX_PLATFORM_TEGRA_MC_UTILS_H_PRESENT
#define NV_LINUX_SEMAPHORE_H_PRESENT
#define NV_LINUX_PRINTK_H_PRESENT
#define NV_LINUX_RATELIMIT_H_PRESENT
#undef NV_LINUX_PRIO_TREE_H_PRESENT
#define NV_LINUX_LOG2_H_PRESENT
#define NV_LINUX_OF_H_PRESENT
#define NV_LINUX_BUG_H_PRESENT
#define NV_LINUX_SCHED_SIGNAL_H_PRESENT
#define NV_LINUX_SCHED_TASK_H_PRESENT
#define NV_LINUX_SCHED_TASK_STACK_H_PRESENT
#undef NV_XEN_IOEMU_H_PRESENT
#undef NV_LINUX_FENCE_H_PRESENT
#define NV_LINUX_DMA_RESV_H_PRESENT
#undef NV_SOC_TEGRA_CHIP_ID_H_PRESENT
#define NV_SOC_TEGRA_FUSE_H_PRESENT
#undef NV_SOC_TEGRA_TEGRA_BPMP_H_PRESENT
#undef NV_VIDEO_NV_INTERNAL_H_PRESENT
#undef NV_LINUX_PLATFORM_TEGRA_DCE_DCE_CLIENT_IPC_H_PRESENT
#undef NV_LINUX_NVHOST_H_PRESENT
#undef NV_LINUX_NVHOST_T194_H_PRESENT
#undef NV_ASM_BOOK3S_64_HASH_64K_H_PRESENT
#define NV_ASM_SET_MEMORY_H_PRESENT
#define NV_ASM_PROM_H_PRESENT
#undef NV_ASM_POWERNV_H_PRESENT
#define NV_LINUX_ATOMIC_H_PRESENT
#define NV_ASM_BARRIER_H_PRESENT
#undef NV_ASM_OPAL_API_H_PRESENT
#define NV_SOUND_HDAUDIO_H_PRESENT
#define NV_ASM_PGTABLE_TYPES_H_PRESENT
#define NV_LINUX_STRINGHASH_H_PRESENT
#define NV_LINUX_DMA_MAP_OPS_H_PRESENT
#undef NV_RDMA_PEER_MEM_H_PRESENT
#define NV_SOUND_HDA_CODEC_H_PRESENT
#define NV_LINUX_DMA_BUF_H_PRESENT
#define NV_LINUX_TIME_H_PRESENT
 CONFTEST: hash__remap_4k_pfn
 CONFTEST: set_pages_uc
 CONFTEST: list_is_first
 CONFTEST: set_memory_uc
 CONFTEST: set_memory_array_uc
 CONFTEST: set_pages_array_uc
 CONFTEST: acquire_console_sem
 CONFTEST: console_lock
 CONFTEST: ioremap_cache
 CONFTEST: ioremap_wc
 CONFTEST: acpi_walk_namespace
 CONFTEST: sg_alloc_table
 CONFTEST: pci_get_domain_bus_and_slot
 CONFTEST: get_num_physpages
 CONFTEST: efi_enabled
 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: dma_attr_macros
 CONFTEST: dma_map_page_attrs
 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: of_get_ibm_chip_id
 CONFTEST: node_end_pfn
 CONFTEST: pci_bus_address
 CONFTEST: pci_stop_and_remove_bus_device
 CONFTEST: pci_remove_bus_device
 CONFTEST: register_cpu_notifier
 CONFTEST: cpuhp_setup_state
 CONFTEST: dma_map_resource
 CONFTEST: backlight_device_register
 CONFTEST: get_backlight_device_by_name
 CONFTEST: timer_setup
 CONFTEST: pci_enable_msix_range
 CONFTEST: kernel_read_has_pointer_pos_arg
 CONFTEST: kernel_write
 CONFTEST: kthread_create_on_node
 CONFTEST: of_find_matching_node
 CONFTEST: dev_is_pci
 CONFTEST: dma_direct_map_resource
 CONFTEST: tegra_get_platform
 CONFTEST: tegra_bpmp_send_receive
 CONFTEST: flush_cache_all
 CONFTEST: vmf_insert_pfn
 CONFTEST: jiffies_to_timespec
 CONFTEST: ktime_get_raw_ts64
 CONFTEST: ktime_get_real_ts64
 CONFTEST: full_name_hash
 CONFTEST: hlist_for_each_entry
 CONFTEST: pci_enable_atomic_ops_to_root
 CONFTEST: vga_tryget
 CONFTEST: pgprot_decrypted
 CONFTEST: iterate_fd
 CONFTEST: seq_read_iter
 CONFTEST: sg_page_iter_page
 CONFTEST: unsafe_follow_pfn
 CONFTEST: drm_gem_object_get
 CONFTEST: drm_gem_object_put_unlocked
 CONFTEST: set_close_on_exec
 CONFTEST: address_space_init_once
 CONFTEST: kbasename
 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: pnv_npu2_init_context
 CONFTEST: cpumask_of_node
 CONFTEST: drm_dev_unref
 CONFTEST: drm_reinit_primary_mode_group
 CONFTEST: get_user_pages_remote
 CONFTEST: get_user_pages
 CONFTEST: drm_gem_object_lookup
 CONFTEST: drm_atomic_state_ref_counting
 CONFTEST: drm_driver_has_gem_prime_res_obj
 CONFTEST: drm_atomic_helper_connector_dpms
 CONFTEST: drm_connector_funcs_have_mode_in_name
 CONFTEST: drm_framebuffer_get
 CONFTEST: drm_dev_put
 CONFTEST: drm_format_num_planes
 CONFTEST: drm_connector_for_each_possible_encoder
 CONFTEST: drm_rotation_available
 CONFTEST: drm_vma_offset_exact_lookup_locked
 CONFTEST: is_export_symbol_gpl_of_node_to_nid
 CONFTEST: is_export_symbol_gpl_sme_active
 CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
 CONFTEST: is_export_symbol_present_swiotlb_dma_ops
 CONFTEST: is_export_symbol_present___close_fd
 CONFTEST: is_export_symbol_present_close_fd
 CONFTEST: is_export_symbol_present_get_unused_fd
 CONFTEST: is_export_symbol_present_get_unused_fd_flags
 CONFTEST: is_export_symbol_present_nvhost_get_default_device
 CONFTEST:
is_export_symbol_present_nvhost_syncpt_unit_interface_get_byte_offset
 CONFTEST:
is_export_symbol_present_nvhost_syncpt_unit_interface_get_aperture
 CONFTEST: is_export_symbol_present_tegra_dce_register_ipc_client
 CONFTEST: is_export_symbol_present_tegra_dce_unregister_ipc_client
 CONFTEST: is_export_symbol_present_tegra_dce_client_ipc_send_recv
 CONFTEST: is_export_symbol_present_dram_clk_to_mc_clk
 CONFTEST: is_export_symbol_present_get_dram_num_channels
 CONFTEST: is_export_symbol_present_tegra_dram_types
 CONFTEST: is_export_symbol_present_kthread_create_on_node
 CONFTEST: acpi_op_remove
 CONFTEST: file_operations
 CONFTEST: file_inode
 CONFTEST: kuid_t
 CONFTEST: dma_ops
 CONFTEST: swiotlb_dma_ops
 CONFTEST: noncoherent_swiotlb_dma_ops
 CONFTEST: vm_fault_has_address
 CONFTEST: backlight_properties_type
 CONFTEST: vm_insert_pfn_prot
 CONFTEST: vmf_insert_pfn_prot
 CONFTEST: vm_ops_fault_removed_vma_arg
 CONFTEST: vmbus_channel_has_ringbuffer_page
 CONFTEST: device_driver_of_match_table
 CONFTEST: device_of_node
 CONFTEST: node_states_n_memory
 CONFTEST: kmem_cache_has_kobj_remove_work
 CONFTEST: sysfs_slab_unlink
 CONFTEST: proc_ops
 CONFTEST: timespec64
 CONFTEST: vmalloc_has_pgprot_t_arg
 CONFTEST: acpi_fadt_low_power_s0
 CONFTEST: mm_has_mmap_lock
 CONFTEST: pci_channel_state
 CONFTEST: address_space
 CONFTEST: backing_dev_info
 CONFTEST: mm_context_t
 CONFTEST: vm_fault_t
 CONFTEST: mmu_notifier_ops_invalidate_range
 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_device_list
 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_helper_mode_fill_fb_struct
 CONFTEST: drm_master_drop_has_from_release_arg
 CONFTEST: drm_driver_unload_has_int_return_type
 CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
 CONFTEST: drm_atomic_helper_plane_destroy_state_has_plane_arg
 CONFTEST: drm_mode_object_find_has_file_priv_arg
 CONFTEST: dma_buf_owner
 CONFTEST: drm_connector_list_iter
 CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
 CONFTEST: drm_driver_prime_flag_present
 CONFTEST: drm_gem_object_has_resv
 CONFTEST: drm_crtc_state_has_async_flip
 CONFTEST: drm_crtc_state_has_pageflip_flags
 CONFTEST: drm_format_modifiers_present
 CONFTEST: drm_vma_node_is_allowed_has_tag_arg
 CONFTEST: drm_vma_offset_node_has_readonly
 CONFTEST: drm_display_mode_has_vrefresh
 CONFTEST: drm_driver_master_set_has_int_return_type
 CONFTEST: drm_driver_has_gem_free_object
 CONFTEST: drm_prime_pages_to_sg_has_drm_device_arg
 CONFTEST: drm_driver_has_gem_prime_callbacks
 CONFTEST: drm_gem_object_vmap_has_map_arg
 CONFTEST: drm_crtc_atomic_check_has_atomic_state_arg
 CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
 CONFTEST: dom0_kernel_present
 CONFTEST: nvidia_vgpu_kvm_build
 CONFTEST: nvidia_grid_build
 CONFTEST: nvidia_grid_csp_build
 CONFTEST: pm_runtime_available
 CONFTEST: pci_class_multimedia_hd_audio
 CONFTEST: drm_available
 CONFTEST: is_export_symbol_gpl_refcount_inc
 CONFTEST: drm_atomic_available
 CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
 CONFTEST: drm_alpha_blending_available
 CONFTEST: ib_peer_memory_symbols
 CONFTEST functions.h:
#undef NV_HASH__REMAP_4K_PFN_PRESENT
#define NV_SET_PAGES_UC_PRESENT
#define NV_LIST_IS_FIRST_PRESENT
#define NV_SET_MEMORY_UC_PRESENT
#undef NV_SET_MEMORY_ARRAY_UC_PRESENT
#define NV_SET_PAGES_ARRAY_UC_PRESENT
#undef NV_ACQUIRE_CONSOLE_SEM_PRESENT
#define NV_CONSOLE_LOCK_PRESENT
#define NV_IOREMAP_CACHE_PRESENT
#define NV_IOREMAP_WC_PRESENT
#define NV_ACPI_WALK_NAMESPACE_PRESENT
#define NV_ACPI_WALK_NAMESPACE_ARGUMENT_COUNT 7
#define NV_SG_ALLOC_TABLE_FROM_PAGES_PRESENT
#define NV_PCI_GET_DOMAIN_BUS_AND_SLOT_PRESENT
#define NV_GET_NUM_PHYSPAGES_PRESENT
#define NV_EFI_ENABLED_PRESENT
#define NV_EFI_ENABLED_ARGUMENT_COUNT 1
#define NV_PDE_DATA_PRESENT
#define NV_PROC_REMOVE_PRESENT
#define NV_PM_VT_SWITCH_REQUIRED_PRESENT
#undef NV_XEN_IOEMU_INJECT_MSI
#undef NV_PHYS_TO_DMA_PRESENT
#define NV_GET_DMA_OPS_PRESENT
#define NV_DMA_ATTR_SKIP_CPU_SYNC_PRESENT
#define NV_DMA_MAP_PAGE_ATTRS_PRESENT
#undef NV_WRITE_CR4_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_GET_PROPERTY_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_NODE_BY_PHANDLE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_NODE_TO_NID_PRESENT
#undef NV_PNV_PCI_GET_NPU_DEV_PRESENT
#undef NV_OF_GET_IBM_CHIP_ID_PRESENT
#define NV_NODE_END_PFN_PRESENT
#define NV_PCI_BUS_ADDRESS_PRESENT
#define NV_PCI_STOP_AND_REMOVE_BUS_DEVICE_PRESENT
#undef NV_PCI_REMOVE_BUS_DEVICE_PRESENT
#undef NV_REGISTER_CPU_NOTIFIER_PRESENT
#define NV_CPUHP_SETUP_STATE_PRESENT
#define NV_DMA_MAP_RESOURCE_PRESENT
#define NV_BACKLIGHT_DEVICE_REGISTER_PRESENT
#undef NV_GET_BACKLIGHT_DEVICE_BY_NAME_PRESENT
#define NV_TIMER_SETUP_PRESENT
#define NV_PCI_ENABLE_MSIX_RANGE_PRESENT
#define NV_KERNEL_READ_HAS_POINTER_POS_ARG
#define NV_KERNEL_WRITE_PRESENT
#define NV_KERNEL_WRITE_HAS_POINTER_POS_ARG
#define NV_KTHREAD_CREATE_ON_NODE_PRESENT
#define NV_LINUX_OF_H_USABLE
#define NV_OF_FIND_MATCHING_NODE_PRESENT
#define NV_DEV_IS_PCI_PRESENT
#undef NV_DMA_IS_DIRECT_PRESENT
#define NV_TEGRA_GET_PLATFORM_PRESENT
#undef NV_TEGRA_BPMP_SEND_RECEIVE
#define NV_FLUSH_CACHE_ALL_PRESENT
#define NV_VMF_INSERT_PFN_PRESENT
#undef NV_JIFFIES_TO_TIMESPEC_PRESENT
#define NV_KTIME_GET_RAW_TS64_PRESENT
#define NV_KTIME_GET_REAL_TS64_PRESENT
#define NV_FULL_NAME_HASH_ARGUMENT_COUNT 3
#define NV_HLIST_FOR_EACH_ENTRY_ARGUMENT_COUNT 3
#define NV_PCI_ENABLE_ATOMIC_OPS_TO_ROOT_PRESENT
#undef NV_VGA_TRYGET_PRESENT
#define NV_PGPROT_DECRYPTED_PRESENT
#define NV_ITERATE_FD_PRESENT
#define NV_SEQ_READ_ITER_PRESENT
#define NV_SG_PAGE_ITER_PAGE_PRESENT
#undef NV_UNSAFE_FOLLOW_PFN_PRESENT
#define NV_DRM_GEM_OBJECT_GET_PRESENT
#undef NV_DRM_GEM_OBJECT_PUT_UNLOCK_PRESENT
#undef NV_SET_CLOSE_ON_EXEC_PRESENT
#define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
#define NV_KBASENAME_PRESENT
#define NV_VZALLOC_PRESENT
#define NV_WAIT_ON_BIT_LOCK_ARGUMENT_COUNT 3
#define NV_BITMAP_CLEAR_PRESENT
#define NV_USLEEP_RANGE_PRESENT
#define NV_RADIX_TREE_EMPTY_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_PRESENT
#define NV_RADIX_TREE_REPLACE_SLOT_ARGUMENT_COUNT 3
#undef NV_PNV_NPU2_INIT_CONTEXT_PRESENT
#undef NV_PNV_NPU2_INIT_CONTEXT_CALLBACK_RETURNS_VOID
#define NV_CPUMASK_OF_NODE_PRESENT
#undef NV_DRM_DEV_UNREF_PRESENT
#undef NV_DRM_REINIT_PRIMARY_MODE_GROUP_PRESENT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_DRM_GEM_OBJECT_LOOKUP_ARGUMENT_COUNT 2
#define NV_DRM_ATOMIC_STATE_REF_COUNTING_PRESENT
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_RES_OBJ
#undef NV_DRM_ATOMIC_HELPER_CONNECTOR_DPMS_PRESENT
#undef NV_DRM_CONNECTOR_FUNCS_HAVE_MODE_IN_NAME
#define NV_DRM_FRAMEBUFFER_GET_PRESENT
#define NV_DRM_DEV_PUT_PRESENT
#undef NV_DRM_FORMAT_NUM_PLANES_PRESENT
#define NV_DRM_CONNECTOR_FOR_EACH_POSSIBLE_ENCODER_ARGUMENT_COUNT 2
#define NV_DRM_ROTATION_AVAILABLE
#define NV_DRM_VMA_OFFSET_EXACT_LOOKUP_LOCKED_PRESENT
 CONFTEST symbols.h:
#define NV_IS_EXPORT_SYMBOL_GPL_of_node_to_nid 0
#define NV_IS_EXPORT_SYMBOL_GPL_sme_active 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_map_sg_attrs 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_swiotlb_dma_ops 0
#define NV_IS_EXPORT_SYMBOL_PRESENT___close_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_close_fd 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_unused_fd_flags 1
#define NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_get_default_device 0
#define
NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_syncpt_unit_interface_get_byte_offset 0
#define
NV_IS_EXPORT_SYMBOL_PRESENT_nvhost_syncpt_unit_interface_get_aperture 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_register_ipc_client 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_unregister_ipc_client 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dce_client_ipc_send_recv 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_dram_clk_to_mc_clk 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_get_dram_num_channels 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_tegra_dram_types 0
#define NV_IS_EXPORT_SYMBOL_PRESENT_kthread_create_on_node 1
 CONFTEST types.h:
#define NV_ACPI_DEVICE_OPS_REMOVE_ARGUMENT_COUNT 1
#undef NV_FILE_OPERATIONS_HAS_IOCTL
#define NV_FILE_HAS_INODE
#define NV_KUID_T_PRESENT
#undef NV_DMA_OPS_PRESENT
#undef NV_SWIOTLB_DMA_OPS_PRESENT
#undef NV_NONCOHERENT_SWIOTLB_DMA_OPS_PRESENT
#define NV_VM_FAULT_HAS_ADDRESS
#define NV_BACKLIGHT_PROPERTIES_TYPE_PRESENT
#undef NV_VM_INSERT_PFN_PROT_PRESENT
#define NV_VMF_INSERT_PFN_PROT_PRESENT
#define NV_ADDRESS_SPACE_INIT_ONCE_PRESENT
#define NV_VM_OPS_FAULT_REMOVED_VMA_ARG
#define NV_VMBUS_CHANNEL_HAS_RING_BUFFER_PAGE
#define NV_DEVICE_DRIVER_OF_MATCH_TABLE_PRESENT
#define NV_DEVICE_OF_NODE_PRESENT
#define NV_NODE_STATES_N_MEMORY_PRESENT
#undef NV_KMEM_CACHE_HAS_KOBJ_REMOVE_WORK
#undef NV_SYSFS_SLAB_UNLINK_PRESENT
#define NV_PROC_OPS_PRESENT
#define NV_TIMESPEC64_PRESENT
#undef NV_VMALLOC_HAS_PGPROT_T_ARG
#define NV_ACPI_FADT_LOW_POWER_S0_FLAG_PRESENT
#define NV_MM_HAS_MMAP_LOCK
#undef NV_PCI_CHANNEL_STATE_PRESENT
#undef NV_ADDRESS_SPACE_HAS_RWLOCK_TREE_LOCK
#undef NV_ADDRESS_SPACE_HAS_BACKING_DEV_INFO
#undef NV_MM_CONTEXT_T_HAS_ID
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_VM_FAULT_T_IS_PRESENT
#define NV_MMU_NOTIFIER_OPS_HAS_INVALIDATE_RANGE
#undef NV_DRM_BUS_PRESENT
#undef NV_DRM_BUS_HAS_BUS_TYPE
#undef NV_DRM_BUS_HAS_GET_IRQ
#undef NV_DRM_BUS_HAS_GET_NAME
#undef NV_DRM_DRIVER_HAS_DEVICE_LIST
#undef NV_DRM_DRIVER_HAS_LEGACY_DEV_LIST
#undef NV_DRM_DRIVER_HAS_SET_BUSID
#define NV_DRM_CRTC_STATE_HAS_CONNECTORS_CHANGED
#define NV_DRM_CRTC_INIT_WITH_PLANES_HAS_NAME_ARG
#define NV_DRM_ENCODER_INIT_HAS_NAME_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_FORMAT_MODIFIERS_ARG
#define NV_DRM_UNIVERSAL_PLANE_INIT_HAS_NAME_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_DEV_ARG
#define NV_DRM_HELPER_MODE_FILL_FB_STRUCT_HAS_CONST_MODE_CMD_ARG
#undef NV_DRM_MASTER_DROP_HAS_FROM_RELEASE_ARG
#undef NV_DRM_DRIVER_UNLOAD_HAS_INT_RETURN_TYPE
#undef NV_DRM_ATOMIC_HELPER_CRTC_DESTROY_STATE_HAS_CRTC_ARG
#undef NV_DRM_ATOMIC_HELPER_PLANE_DESTROY_STATE_HAS_PLANE_ARG
#define NV_DRM_MODE_OBJECT_FIND_HAS_FILE_PRIV_ARG
#define NV_DMA_BUF_OWNER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_PRESENT
#define NV_DRM_CONNECTOR_LIST_ITER_BEGIN_PRESENT
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_HAS_STALL_ARG
#define NV_DRM_ATOMIC_HELPER_SWAP_STATE_RETURN_INT
#undef NV_DRM_DRIVER_PRIME_FLAG_PRESENT
#define NV_DRM_GEM_OBJECT_HAS_RESV
#define NV_DRM_CRTC_STATE_HAS_ASYNC_FLIP
#undef NV_DRM_CRTC_STATE_HAS_PAGEFLIP_FLAGS
#define NV_DRM_FORMAT_MODIFIERS_PRESENT
#define NV_DRM_VMA_NODE_IS_ALLOWED_HAS_TAG_ARG
#undef NV_DRM_VMA_OFFSET_NODE_HAS_READONLY
#undef NV_DRM_DISPLAY_MODE_HAS_VREFRESH
#undef NV_DRM_DRIVER_SET_MASTER_HAS_INT_RETURN_TYPE
#undef NV_DRM_DRIVER_HAS_GEM_FREE_OBJECT
#define NV_DRM_PRIME_PAGES_TO_SG_HAS_DRM_DEVICE_ARG
#undef NV_DRM_DRIVER_HAS_GEM_PRIME_CALLBACKS
#define NV_DRM_CRTC_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
#define NV_DRM_GEM_OBJECT_VMAP_HAS_MAP_ARG
#define NV_DRM_PLANE_ATOMIC_CHECK_HAS_ATOMIC_STATE_ARG
 CONFTEST generic.h:
#undef NV_DOM0_KERNEL_PRESENT
#undef NV_VGPU_KVM_BUILD
#undef NV_GRID_BUILD
#undef NV_GRID_BUILD_CSP
#undef NV_GET_USER_PAGES_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_HAS_TASK_STRUCT
#define NV_GET_USER_PAGES_REMOTE_PRESENT
#undef NV_GET_USER_PAGES_REMOTE_HAS_WRITE_AND_FORCE_ARGS
#undef NV_GET_USER_PAGES_REMOTE_HAS_TSK_ARG
#define NV_GET_USER_PAGES_REMOTE_HAS_LOCKED_ARG
#define NV_PM_RUNTIME_AVAILABLE
#define NV_VM_FAULT_T_IS_PRESENT
#define NV_PCI_CLASS_MULTIMEDIA_HD_AUDIO_PRESENT
#define NV_DRM_AVAILABLE
#define NV_DRM_ATOMIC_MODESET_AVAILABLE
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_inc 0
#define NV_IS_EXPORT_SYMBOL_GPL_refcount_dec_and_test 0
#define NV_DRM_ALPHA_BLENDING_AVAILABLE
#undef NV_MLNX_IB_PEER_MEM_SYMBOLS_PRESENT
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-pci.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_pci"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-pci.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-pci.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-acpi.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_acpi"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-cray.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_cray"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-dma.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_dma"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-i2c.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_i2c"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-i2c.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-i2c.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-mmap.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_mmap"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c
   gcc-10
-Wp,-MMD,/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/.nv-p2p.o.d
-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/10/include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include
-I./arch/x86/include/generated
-I/usr/src/linux-headers-5.14.0-1-common/include -I./include
-I/usr/src/linux-headers-5.14.0-1-common/arch/x86/include/uapi
-I./arch/x86/include/generated/uapi
-I/usr/src/linux-headers-5.14.0-1-common/include/uapi
-I./include/generated/uapi -include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler-version.h
-include /usr/src/linux-headers-5.14.0-1-common/include/linux/kconfig.h
-include
/usr/src/linux-headers-5.14.0-1-common/include/linux/compiler_types.h
-D__KERNEL__ -fmacro-prefix-map=/usr/src/linux-headers-5.14.0-1-common/=
-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration
-Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu89
-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64
-falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387
-mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone
-mcmodel=kernel -DCONFIG_X86_X32_ABI -Wno-sign-compare
-fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks
-Wno-frame-address -Wno-format-truncation -Wno-format-overflow
-Wno-address-of-packed-member -O2 -fno-allow-store-data-races
-Wframe-larger-than=2048 -fstack-protector-strong -Wimplicit-fallthrough=5
-Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable
-fno-stack-clash-protection -g -pg -mrecord-mcount -mfentry
-DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign
-Wno-stringop-truncation -Wno-zero-length-bounds -Wno-array-bounds
-Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized
-fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time
-Werror=incompatible-pointer-types -Werror=designated-init
-Wno-packed-not-aligned
-I/var/lib/dkms/nvidia-current/470.57.02/build/common/inc
-I/var/lib/dkms/nvidia-current/470.57.02/build -Wall -MD -Wno-cast-qual
-Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM
-DNV_VERSION_STRING=\"470.57.02\" -Wno-unused-function -Wuninitialized
-fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE
-Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER
-I/var/lib/dkms/nvidia-current/470.57.02/build/nvidia
-DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE
 -DKBUILD_BASENAME='"nv_p2p"' -DKBUILD_MODNAME='"nvidia"'
-D__KBUILD_MODNAME=kmod_nvidia -c -o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-p2p.o
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-p2p.c
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.c:13:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-p2p.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-pci.h:15,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-pci.c:13:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c:14:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
In file included from
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-linux.h:25,
                 from
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-i2c.c:16:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h: In
function ‘nv_sleep_ms’:
/var/lib/dkms/nvidia-current/470.57.02/build/common/inc/nv-time.h:217:18:
error: ‘struct task_struct’ has no member named ‘state’; did you mean
‘__state’?
  217 |         current->state = TASK_INTERRUPTIBLE;
      |                  ^~~~~
      |                  __state
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-i2c.o] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-p2p.o] Błąd 1
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-pci.o] Błąd 1
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-acpi.o] Błąd 1
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-cray.o] Błąd 1
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c: At top level:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:963: warning:
"IMPORT_SGT_STUBS_NEEDED" redefined
  963 | #define IMPORT_SGT_STUBS_NEEDED 0
      |
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.c:957: note:
this is the location of the previous definition
  957 | #define IMPORT_SGT_STUBS_NEEDED 1
      |
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-dma.o] Błąd 1
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv.o] Błąd 1
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c: In function
‘nv_encode_caching’:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c:321:16:
warning: this statement may fall through [-Wimplicit-fallthrough=]
  321 |             if (NV_ALLOW_CACHING(memory_type))
      |                ^
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.c:324:9: note:
here
  324 |         default:
      |         ^~~~~~~
make[3]: ***
[/usr/src/linux-headers-5.14.0-1-common/scripts/Makefile.build:276:
/var/lib/dkms/nvidia-current/470.57.02/build/nvidia/nv-mmap.o] Błąd 1
make[2]: *** [/usr/src/linux-headers-5.14.0-1-common/Makefile:1882:
/var/lib/dkms/nvidia-current/470.57.02/build] Błąd 2
make[2]: Opuszczenie katalogu '/usr/src/linux-headers-5.14.0-1-amd64'
make[1]: *** [Makefile:232: __sub-make] Błąd 2
make[1]: Opuszczenie katalogu '/usr/src/linux-headers-5.14.0-1-common'
make: *** [Makefile:80: modules] Błąd 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20210930/7d1de21c/attachment-0001.htm>


More information about the pkg-nvidia-devel mailing list