390.48 does not build on kernel 4.16.2

Hello,

the Driver 390.48 (more is not availiable for my card) does not build since kernel update.

Is there any patch availiable to fix that?

my nvidia-installer.log:

nvidia-installer log file ‘/var/log/nvidia-installer.log’
creation time: Sat Apr 21 11:03:20 2018
installer version: 390.48

PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/sbin

nvidia-installer command line:
./nvidia-installer

Unable to load: nvidia-installer ncurses v6 user interface

Using: nvidia-installer ncurses user interface
-> Detected 4 CPUs online; setting concurrency level to 4.
-> Installing NVIDIA driver version 390.48.
-> There appears to already be a driver installed on your system (version: 390.48). As part of installing this driver (version: 390.48), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation)
-> Running distribution scripts
executing: ‘/usr/lib/nvidia/pre-install’…
grep: /etc/sysconfig/kernel: No such file or directory
-> done.
-> The distribution-provided pre-install script completed successfully. If this is the first time you have run the installer, this script may have helped disable Nouveau, but a reboot may be required first. Would you like to continue, or would you prefer to abort installation to reboot the system? (Answer: Continue installation)
-> Performing CC sanity check with CC="/usr/bin/cc".
-> Kernel source path: ‘/lib/modules/4.16.2-1-default/source’
-> Kernel output path: ‘/lib/modules/4.16.2-1-default/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/4.16.2-1-default/source" SYSOUT="/lib/modules/4.16.2-1-default/build"’…
rm -f -r conftest
make[1]: Entering directory ‘/usr/src/linux-4.16.2-1’
make[2]: Entering directory ‘/usr/src/linux-4.16.2-1-obj/x86_64/default’
make[2]: Leaving directory ‘/usr/src/linux-4.16.2-1-obj/x86_64/default’
make[1]: Leaving directory ‘/usr/src/linux-4.16.2-1’
-> Building kernel modules
executing: ‘cd ./kernel; /usr/bin/make -k -j4 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/4.16.2-1-default/source" SYSOUT="/lib/modules/4.16.2-1-default/build"’…
make[1]: Entering directory ‘/usr/src/linux-4.16.2-1’
make[2]: Entering directory ‘/usr/src/linux-4.16.2-1-obj/x86_64/default’
SYMLINK /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-kernel.o
SYMLINK /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/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: 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/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-frontend.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-instance.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-gpu-numa.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-acpi.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-chrdev.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-cray.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-dma.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-gvi.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-i2c.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-mempool.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-mmap.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-p2p.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-pat.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-procfs.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-usermap.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-vm.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-vtophys.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-interface.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-mlock.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-pci.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-registry.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-usermap.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-modeset-interface.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-pci-table.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-kthread-q.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-kthread-q-selftest.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-memdbg.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-ibmnpu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-report-err.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv_uvm_interface.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nvlink_linux.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm_utils.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm_common.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm_linux.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/nvstatus.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/nvCpuUuid.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_tools.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_global.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu_isr.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_procfs.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_va_space.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu_semaphore.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_mem.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_rm_mem.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_channel.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_lock.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_hal.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_range_tree.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_range_allocator.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_va_range.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_va_block.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_range_group.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu_replayable_faults.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu_non_replayable_faults.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu_access_counters.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_events.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_module.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_mmu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pte_batch.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_tlb_batch.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_push.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pushbuffer.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_thread_context.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_tracker.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_kepler.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_kepler_ce.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_kepler_host.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_kepler_mmu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_maxwell.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_maxwell_host.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pascal.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pascal_ce.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pascal_host.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pascal_mmu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pascal_fault_buffer.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_volta_host.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_volta_mmu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_volta.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_volta_fault_buffer.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_volta_access_counter_buffer.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_policy.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_utils.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_kvmalloc.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pmm_sysmem.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pmm_gpu.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_migrate.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_map_external.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_user_channel.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_hmm.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_heuristics.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_thrashing.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_prefetch.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_test_rng.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_range_tree_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_range_allocator_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_gpu_semaphore_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_mem_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_rm_mem_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_page_tree_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_tracker_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_push_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_channel_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_ce_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_lock_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_utils_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_kvmalloc_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pmm_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_pmm_sysmem_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_events_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_perf_module_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_get_rm_ptes_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_fault_buffer_flush_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_mmu_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_peer_identity_mappings_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_va_block_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm/uvm8_range_group_tree_test.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-modeset/nvidia-modeset-linux.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-drv.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-utils.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-crtc.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-encoder.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-connector.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-gem.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-fb.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-modeset.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-prime-fence.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-linux.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-helper.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nv-pci-table.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-gem-nvkms-memory.o
CC [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm/nvidia-drm-gem-user-memory.o
ld -r -o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-interface.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-frontend.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-instance.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-gpu-numa.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-acpi.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-chrdev.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-cray.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-dma.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-gvi.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-i2c.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-mempool.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-mmap.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-p2p.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-pat.o /tmp/
selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-procfs.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-usermap.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-vm.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-vtophys.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-interface.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-mlock.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-pci.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-registry.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/os-usermap.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-modeset-interface.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-pci-table.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-kthread-q.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-kthread-q-selftest.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-memdbg.o /tmp/selfgz3234/NVIDIA-Linux-x86_6
4-390.48/kernel/nvidia/nv-ibmnpu.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv-report-err.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nv_uvm_interface.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia/nvlink_linux.o
ld -r -o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-modeset/nvidia-modeset-linux.o
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia.o
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm.o
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-modeset.o
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm.o
Building modules, stage 2.
MODPOST 4 modules
WARNING: “swiotlb_map_sg_attrs” [/tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia.ko] undefined!
CC /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm.mod.o
CC /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-modeset.mod.o
CC /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm.mod.o
CC /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia.mod.o
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-drm.ko
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-modeset.ko
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia-uvm.ko
LD [M] /tmp/selfgz3234/NVIDIA-Linux-x86_64-390.48/kernel/nvidia.ko
make[2]: Leaving directory ‘/usr/src/linux-4.16.2-1-obj/x86_64/default’
make[1]: Leaving directory ‘/usr/src/linux-4.16.2-1’
-> done.
-> Kernel module compilation complete.
-> Unable to determine if Secure Boot is enabled: No such file or directory
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.

Please see the log entries ‘Kernel module load error’ and ‘Kernel messages’ at the end of the file ‘/var/log/nvidia-installer.log’ for more information.
-> Kernel module load error: No such file or directory
-> Kernel messages:
[ 4.545914] usbcore: registered new interface driver uvcvideo
[ 4.545915] USB Video Class driver (1.1.1)
[ 4.548643] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input14
[ 4.548714] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input15
[ 4.548750] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[ 4.548781] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 9.573005] r8169 0000:02:00.0 enp2s0: link up
[ 9.573011] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[ 9.749080] NET: Registered protocol family 17
[ 17.236711] device-mapper: uevent: version 1.0.3
[ 17.236754] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[ 18.510517] fuse init (API version 7.26)
[ 23.219149] logitech-hidpp-device 0003:046D:4029.0004: HID++ 3.0 device connected.
[ 57.993591] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=8c:89:a5:7c:53:1b:34:31:c4:4d:0f:60:08:00 SRC=192.168.1.1 DST=192.168.1.45 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=41866 DF PROTO=TCP SPT=41219 DPT=80 WINDOW=14600 RES=0x00 SYN URGP=0 OPT (020405B40402080A057101FE0000000001030305)
[ 58.992624] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=8c:89:a5:7c:53:1b:34:31:c4:4d:0f:60:08:00 SRC=192.168.1.1 DST=192.168.1.45 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=41867 DF PROTO=TCP SPT=41219 DPT=80 WINDOW=14600 RES=0x00 SYN URGP=0 OPT (020405B40402080A057102620000000001030305)
[ 60.992583] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=8c:89:a5:7c:53:1b:34:31:c4:4d:0f:60:08:00 SRC=192.168.1.1 DST=192.168.1.45 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=41868 DF PROTO=TCP SPT=41219 DPT=80 WINDOW=14600 RES=0x00 SYN URGP=0 OPT (020405B40402080A0571032A0000000001030305)
[ 65.002468] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC=8c:89:a5:7c:53:1b:34:31:c4:4d:0f:60:08:00 SRC=192.168.1.1 DST=192.168.1.45 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=41869 DF PROTO=TCP SPT=41219 DPT=80 WINDOW=14600 RES=0x00 SYN URGP=0 OPT (020405B40402080A057104BB0000000001030305)
[ 72.885558] VFIO - User Level meta-driver version: 0.3
[ 72.951481] ipmi message handler version 39.2
[ 72.959015] ipmi device interface
[ 72.966343] nvidia: loading out-of-tree module taints kernel.
[ 72.966355] nvidia: module license ‘NVIDIA’ taints kernel.
[ 72.966356] Disabling lock debugging due to kernel taint
[ 72.971024] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 72.971210] nvidia: Unknown symbol swiotlb_map_sg_attrs (err 0)
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.

Patch:
https://devtalk.nvidia.com/default/topic/1030082/linux/kernel-4-16-rc1-breaks-latest-drivers-unknown-symbol-swiotlb_map_sg_attrs-/post/5243252/#5243252

I tried to use the patch form mlau for the 390.48 Driver with the --apply-patch option,
but I was asked
file to patch:

which is the file to patch?

You can also use:
sh NVIDIA-Linux-blabla.run --extract-only
cd NVIDIA-Linux-blabla
patch -p1 < /path/to/the.patch
sudo ./nvidia-installer

That brings the same problem

file to patch:
Which is the file to patch?

OK, no it worked.
Thank you