My hardware is a Lenovo X1 Extreme Gen 2 laptop. I’m using slackware-current.
I’m trying to install the nvidia driver after building the 5.3.9 Linux Kernel but I’m receiving the following error: (snippet from the attached nvidia-installer.log)
ld -r -o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-interface.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-frontend.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-pci.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-acpi.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-cray.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-dma.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-i2c.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-mempool.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-mmap.o
/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-p2p.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-pat.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-procfs.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-usermap.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-vm.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-vtophys.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/os-interface.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/os-mlock.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/os-pci.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/os-registry.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/os-usermap.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-modeset-interface.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-pci-table.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-kthread-q.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/ker
nel/nvidia/nv-memdbg.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-ibmnpu.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-report-err.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-rsync.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv-msi.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nv_uvm_interface.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/nvlink_linux.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia/linux_nvswitch.o
ld -r -o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-modeset/nv-modeset-interface.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-modeset/nvidia-modeset-linux.o /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-modeset/nv-kthread-q.o
LD [M] /tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.o
Building modules, stage 2.
MODPOST 4 modules
ERROR: "drm_gem_prime_export" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_release" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_dev_register" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_compat_ioctl" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_update_plane" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_dev_alloc" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_config_cleanup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_plane_create_blend_mode_property" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_connector_reset" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_page_flip" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_swap_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_helper_probe_single_connector_modes" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_kms_helper_hotplug_event" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_vblank_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_encoder_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_object_property_set_value" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_list_iter_next" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "__drm_atomic_helper_crtc_destroy_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_crtc_reset" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_universal_plane_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_cleanup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_set_mode_prop_for_crtc" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_connector_duplicate_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "__drm_atomic_helper_crtc_duplicate_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_set_config" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_plane_create_alpha_property" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_update_edid_property" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_dev_put" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_state_alloc" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_commit" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_dev_unregister" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_prime_pages_to_sg" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_create_dvi_i_properties" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_set_name" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_helper_mode_fill_fb_struct" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_state_default_release" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_crtc_init_with_planes" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_plane_reset" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_set_crtc_for_connector" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_handle_create" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_dumb_destroy" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_object_put_unlocked" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_state_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_object_release" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_read" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_set_fb_for_plane" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_err" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_vm_open" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_vm_close" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_get_crtc_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_prime_fd_to_handle" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_plane_cleanup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_ioctl" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_prime_import" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_create" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_mmap" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_plane_duplicate_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_set_crtc_for_plane" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_list_iter_end" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_connector_destroy_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_check" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_private_object_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_attach_encoder" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_crtc_send_vblank_event" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_object_lookup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_object_put" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_prime_handle_to_fd" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_unregister" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_encoder_cleanup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_gem_create_mmap_offset" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_list_iter_begin" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_crtc_cleanup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "__drm_atomic_state_free" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_config_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_helper_hpd_irq_event" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_state_default_clear" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_modeset_lock_all" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_dbg" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_disable_plane" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_add_affected_connectors" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_probed_add" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_modeset_unlock_all" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_add_affected_planes" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_framebuffer_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_kms_helper_poll_init" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_connector_register" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_kms_helper_poll_disable" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_mode_object_find" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_poll" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_open" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_kms_helper_poll_fini" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_atomic_helper_plane_destroy_state" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "drm_framebuffer_cleanup" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia-drm.ko] undefined!
ERROR: "ipmi_set_gets_events" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "ipmi_request_settime" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "ipmi_set_my_address" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "i2c_add_adapter" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "ipmi_free_recv_msg" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "ipmi_validate_addr" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "i2c_del_adapter" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "ipmi_destroy_user" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
ERROR: "ipmi_create_user" [/tmp/selfgz7702/NVIDIA-Linux-x86_64-440.31/kernel/nvidia.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:103: modules-modpost] Error 1
make[2]: Target '__modpost' not remade because of errors.
make[1]: *** [Makefile:1630: modules] Error 2
make[1]: Leaving directory '/usr/src/linux-5.3.9'
make: *** [Makefile:81: modules] Error 2
-> Error.
ERROR: An error occurred while performing the step: "Building kernel modules". See /var/log/nvidia-installer.log for details.
-> The command `cd ./kernel; /usr/bin/make -k -j12 NV_EXCLUDE_KERNEL_MODULES="" SYSSRC="/lib/modules/5.3.9/source" SYSOUT="/lib/modules/5.3.9/build"` failed with the following output:
I think I might have something missing from my .config file which I used to compile the kernel. I’ve attached that file (config.txt).
config.txt (192 KB)
nvidia-installer.log (75.6 KB)