You are not logged in.
I have been trying to upgrade my system with 'pacman -Syu', but for the last few days I've been unable to since it fails with an error.
My GPU is a GTX 1060, so I'm using the nvidia-580xx-dkms package from the AUR. Running 'git pull' tells me the package is already up to date.
Here's the relevant part of the upgrade command's output:
:: Running post-transaction hooks...
( 1/16) Registering binary formats...
( 2/16) Reloading system manager configuration...
( 3/16) Reloading user manager configuration...
( 4/16) Updating the MIME type database...
( 5/16) Enqueuing marked services...
( 6/16) Arming ConditionNeedsUpdate...
( 7/16) Updating module dependencies...
( 8/16) Install DKMS modules
==> dkms install --no-depmod nvidia/580.142 -k 7.1.3-arch1-2
Error! Bad return status for module build on kernel: 7.1.3-arch1-2 (x86_64)
Consult /var/lib/dkms/nvidia/580.142/build/make.log for more information.
==> WARNING: `dkms install --no-depmod nvidia/580.142 -k 7.1.3-arch1-2' exited 10
( 9/16) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '7.1.3-arch1-2'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
-> Running build hook: [keyboard]
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '7.1.3-arch1-2'
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [microcode]
-> Running build hook: [modconf]
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci_renesas'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'qla1280'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
==> ERROR: module not found: 'nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> WARNING: errors were encountered during the build. The image may not be complete.
error: command failed to execute correctly
(10/16) Checking for old perl modules...
(11/16) Updating fontconfig cache...
(12/16) Updating 32-bit fontconfig cache...
(13/16) Updating icon theme caches...
(14/16) Updating the info directory file...
(15/16) Updating the desktop file MIME type cache...
(16/16) Updating Vim help tags...And here's the contents of /var/lib/dkms/nvidia/580.142/build/make.log mentioned in the error:
DKMS (dkms-3.4.1) make.log for nvidia/580.142 for kernel 7.1.3-arch1-2 (x86_64)
Sat Jul 11 10:19:39 AM -03 2026
Building module(s)
# command: 'make' -j8 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=7.1.3-arch1-2 modules
make[1]: Entering directory '/usr/lib/modules/7.1.3-arch1-2/build'
make[2]: Entering directory '/var/lib/dkms/nvidia/580.142/build'
SYMLINK nvidia/nv-kernel.o
SYMLINK nvidia-modeset/nv-modeset-kernel.o
CONFTEST: set_pages_uc
CONFTEST: list_is_first
CONFTEST: set_memory_uc
CONFTEST: set_memory_array_uc
CONFTEST: set_pages_array_uc
CONFTEST: ioremap_cache
CONFTEST: ioremap_wc
CONFTEST: ioremap_driver_hardened
CONFTEST: ioremap_driver_hardened_wc
CONFTEST: ioremap_cache_shared
CONFTEST: pde_data
CONFTEST: xen_ioemu_inject_msi
CONFTEST: phys_to_dma
CONFTEST: pci_rebar_get_possible_sizes
CONFTEST: get_backlight_device_by_name
CONFTEST: dma_direct_map_resource
CONFTEST: flush_cache_all
CONFTEST: vmf_insert_pfn
CONFTEST: jiffies_to_timespec
CONFTEST: ktime_get_raw_ts64
CONFTEST: pci_enable_atomic_ops_to_root
CONFTEST: vga_tryget
CONFTEST: cc_platform_has
CONFTEST: cc_attr_guest_sev_snp
CONFTEST: hv_get_isolation_type
CONFTEST: seq_read_iter
CONFTEST: follow_pfn
CONFTEST: ptep_get
CONFTEST: drm_gem_object_put_unlocked
CONFTEST: add_memory_driver_managed
CONFTEST: of_dma_configure
CONFTEST: i2c_new_client_device
CONFTEST: icc_get
CONFTEST: devm_of_icc_get
CONFTEST: icc_put
CONFTEST: icc_set_bw
CONFTEST: dma_map_ops_has_map_phys
CONFTEST: dma_buf_ops_has_map
CONFTEST: dma_buf_ops_has_map_atomic
CONFTEST: dma_buf_attachment_has_peer2peer
CONFTEST: devm_clk_bulk_get_all
CONFTEST: get_task_ioprio
CONFTEST: mdev_set_iommu_device
CONFTEST: offline_and_remove_memory
CONFTEST: stack_trace
CONFTEST: crypto_tfm_ctx_aligned
CONFTEST: assign_str
CONFTEST: ioasid_get
CONFTEST: mm_pasid_drop
CONFTEST: iommu_sva_bind_device_has_drvdata_arg
CONFTEST: vma_flags_set_word
CONFTEST: vm_flags_set
CONFTEST: get_dev_pagemap_has_pgmap_arg
CONFTEST: iommu_is_dma_domain
CONFTEST: for_each_sgtable_dma_page
CONFTEST: folio_test_swapcache
CONFTEST: page_pgmap
CONFTEST: acpi_video_backlight_use_native
CONFTEST: acpi_video_register_backlight
CONFTEST: get_user_pages_remote
CONFTEST: get_user_pages
CONFTEST: pin_user_pages_remote
CONFTEST: pin_user_pages
CONFTEST: drm_driver_has_gem_prime_res_obj
CONFTEST: drm_connector_funcs_have_mode_in_name
CONFTEST: drm_connector_has_vrr_capable_property
CONFTEST: drm_connector_for_each_possible_encoder
CONFTEST: nvhost_dma_fence_unpack
CONFTEST: drm_aperture_remove_conflicting_framebuffers
CONFTEST: drm_aperture_remove_conflicting_pci_framebuffers
CONFTEST: aperture_remove_conflicting_devices
CONFTEST: aperture_remove_conflicting_pci_devices
CONFTEST: drm_fbdev_generic_setup
CONFTEST: drm_fbdev_ttm_setup
CONFTEST: drm_client_setup
CONFTEST: drm_connector_attach_hdr_output_metadata_property
CONFTEST: drm_plane_create_color_properties
CONFTEST: drm_atomic_helper_legacy_gamma_set
CONFTEST: vmf_insert_mixed
CONFTEST: drm_gem_prime_mmap
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_pxm_to_node
CONFTEST: is_export_symbol_present_screen_info
CONFTEST: is_export_symbol_gpl_screen_info
CONFTEST: is_export_symbol_present_i2c_bus_status
CONFTEST: is_export_symbol_present_tegra_fuse_control_read
CONFTEST: is_export_symbol_present_pci_find_host_bridge
CONFTEST: is_export_symbol_present_tsec_comms_send_cmd
CONFTEST: is_export_symbol_present_tsec_comms_set_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_clear_init_cb
CONFTEST: is_export_symbol_present_tsec_comms_alloc_mem_from_gscco
CONFTEST: is_export_symbol_present_tsec_comms_free_gscco_mem
CONFTEST: is_export_symbol_present_memory_block_size_bytes
CONFTEST: crypto
CONFTEST: crypto_akcipher_verify
CONFTEST: is_export_symbol_present_follow_pte
CONFTEST: follow_pte_arg_vma
CONFTEST: dma_buf_ops_attach_has_arg_dev
CONFTEST: is_export_symbol_present_follow_pfnmap_start
CONFTEST: is_export_symbol_gpl_pci_ats_supported
CONFTEST: ecc_digits_from_bytes
CONFTEST: is_export_symbol_gpl_set_memory_encrypted
CONFTEST: is_export_symbol_gpl_set_memory_decrypted
CONFTEST: is_export_symbol_gpl___platform_driver_register
CONFTEST: is_export_symbol_present___platform_driver_register
CONFTEST: is_export_symbol_present_hrtimer_setup
CONFTEST: is_export_symbol_gpl_mutex_destroy
CONFTEST: is_export_symbol_present_timer_delete_sync
CONFTEST: is_export_symbol_gpl___vma_start_write
CONFTEST: is_export_symbol_gpl_iommu_dev_enable_feature
CONFTEST: is_export_symbol_gpl_iommu_dev_disable_feature
CONFTEST: is_export_symbol_present_int_active_memcg
CONFTEST: is_export_symbol_present_migrate_vma_setup
CONFTEST: is_export_symbol_present___iowrite64_lo_hi
CONFTEST: is_export_symbol_present_make_device_exclusive
CONFTEST: vmf_insert_pfn_prot
CONFTEST: sysfs_slab_unlink
CONFTEST: proc_ops
CONFTEST: vmalloc_has_pgprot_t_arg
CONFTEST: mm_has_mmap_lock
CONFTEST: pci_channel_state
CONFTEST: remove_memory_has_nid_arg
CONFTEST: add_memory_driver_managed_has_mhp_flags_arg
CONFTEST: num_registered_fb
CONFTEST: pci_driver_has_driver_managed_dma
CONFTEST: memory_failure_queue_has_trapno_arg
CONFTEST: foll_longterm_present
CONFTEST: bus_type_has_iommu_ops
CONFTEST: of_property_for_each_u32_has_internal_args
CONFTEST: platform_driver_struct_remove_returns_void
CONFTEST: class_create_has_no_owner_arg
CONFTEST: class_devnode_has_const_arg
CONFTEST: devfreq_has_freq_table
CONFTEST: has_enum_pidtype_tgid
CONFTEST: pci_resize_resource_has_exclude_bars_arg
CONFTEST: is_vma_write_locked_has_mm_lock_seq_arg
CONFTEST: mmu_notifier_ops_arch_invalidate_secondary_tlbs
CONFTEST: migrate_vma_added_flags
CONFTEST: migrate_device_range
CONFTEST: handle_mm_fault_has_pt_regs_arg
CONFTEST: dev_pagemap_ops_has_folio_free
CONFTEST: zone_device_page_init_has_pgmap_and_order_args
CONFTEST: mempolicy_has_unified_nodes
CONFTEST: mempolicy_has_home_node
CONFTEST: mpol_preferred_many_present
CONFTEST: mmu_interval_notifier
CONFTEST: sg_dma_page_iter
CONFTEST: struct_page_has_zone_device_data
CONFTEST: memory_device_coherent_present
CONFTEST: drm_driver_has_legacy_dev_list
CONFTEST: vm_ops_fault_removed_vma_arg
CONFTEST: drm_driver_prime_flag_present
CONFTEST: vm_fault_t
CONFTEST: drm_gem_object_has_resv
CONFTEST: drm_crtc_state_has_async_flip
CONFTEST: drm_crtc_state_has_pageflip_flags
CONFTEST: drm_crtc_state_has_vrr_enabled
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_crtc_atomic_check_has_atomic_state_arg
CONFTEST: drm_gem_object_vmap_has_map_arg
CONFTEST: drm_plane_atomic_check_has_atomic_state_arg
CONFTEST: drm_device_has_pdev
CONFTEST: drm_crtc_state_has_no_vblank
CONFTEST: drm_mode_config_has_allow_fb_modifiers
CONFTEST: drm_has_hdr_output_metadata
CONFTEST: dma_resv_add_fence
CONFTEST: dma_resv_reserve_fences
CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
CONFTEST: drm_connector_has_override_edid
CONFTEST: drm_file_get_master
CONFTEST: drm_modeset_lock_all_end
CONFTEST: drm_driver_has_dumb_destroy
CONFTEST: fence_ops_use_64bit_seqno
CONFTEST: drm_aperture_remove_conflicting_framebuffers_has_driver_arg
CONFTEST: drm_aperture_remove_conflicting_framebuffers_has_no_primary_arg
CONFTEST: drm_aperture_remove_conflicting_pci_framebuffers_has_driver_arg
CONFTEST: drm_mode_create_dp_colorspace_property_has_supported_colorspaces_arg
CONFTEST: drm_syncobj_features_present
CONFTEST: drm_unlocked_ioctl_flag_present
CONFTEST: drm_color_ctm_3x4_present
CONFTEST: drm_format_info_has_is_yuv
CONFTEST: drm_driver_has_gem_prime_mmap
CONFTEST: drm_output_poll_changed
CONFTEST: drm_driver_has_date
CONFTEST: drm_connector_helper_funcs_mode_valid_has_const_mode_arg
CONFTEST: drm_fb_create_takes_format_info
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: vfio_pci_core_available
CONFTEST: cmd_uphy_display_port_init
CONFTEST: cmd_uphy_display_port_off
CONFTEST: memory_failure_mf_sw_simulated_defined
CONFTEST: device_vm_build
CONFTEST: pcie_reset_flr
CONFTEST: module_import_ns_takes_constant
CONFTEST: is_export_symbol_gpl_refcount_inc
CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
CONFTEST: drm_alpha_blending_available
CONFTEST: is_export_symbol_present_drm_gem_prime_fd_to_handle
CONFTEST: is_export_symbol_present_drm_gem_prime_handle_to_fd
CONFTEST: ib_peer_memory_symbols
CC [M] nvidia/nv-platform.o
CC [M] nvidia/nv-dsi-parse-panel-props.o
CC [M] nvidia/nv-bpmp.o
CC [M] nvidia/nv-gpio.o
CC [M] nvidia/nv-backlight.o
CC [M] nvidia/nv-imp.o
CC [M] nvidia/nv-platform-pm.o
CC [M] nvidia/nv-ipc-soc.o
In file included from ././common/inc/nv-platform.h:27,
from nvidia/nv-platform.c:29:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-platform.o] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from nvidia/nv-bpmp.c:27:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-bpmp.o] Error 1
In file included from nvidia/nv-gpio.c:27:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from nvidia/nv-dsi-parse-panel-props.c:27:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
In file included from nvidia/nv-backlight.c:29:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-gpio.o] Error 1
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-backlight.o] Error 1
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-dsi-parse-panel-props.o] Error 1
In file included from nvidia/nv-imp.c:27:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-imp.o] Error 1
In file included from nvidia/nv-ipc-soc.c:27:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-ipc-soc.o] Error 1
In file included from nvidia/nv-platform-pm.c:27:
././common/inc/nv-linux.h:1747:10: fatal error: linux/of_gpio.h: No such file or directory
1747 | #include <linux/of_gpio.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [/usr/lib/modules/7.1.3-arch1-2/build/scripts/Makefile.build:289: nvidia/nv-platform-pm.o] Error 1
make[3]: *** [/usr/lib/modules/7.1.3-arch1-2/build/Makefile:2159: .] Error 2
make[2]: *** [/usr/lib/modules/7.1.3-arch1-2/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/nvidia/580.142/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/7.1.3-arch1-2/build'
make: *** [Makefile:143: modules] Error 2
# exit code: 2
# elapsed time: 00:00:20
----------------------------------------------------------------I'm not sure how to proceed here, so I've just been restoring a snapshot with timeshift for the time being.
Last edited by icrovt (2026-07-11 17:52:24)
Offline
That file was present in the headers for kernel 7.0 but appears to have been removed in 7.1 .
The driver needs changes to work with kernel 7.1 .
For temporary solutions you can switch to the linux-lts kernel (its headers still have the file) or keep using the 7.0 kernel .
Please post a comment about this on the aur page for nvidia-580xx-dkms.
in case you don't have an aur account, try emailing the maintainer. (their email address is in the PKGBUILD) .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thanks for the quick reply!
I'll contact the maintainer and update this post if necessary.
Offline
142 is not current 173.02 is, you do not appear to pull/install the driver update properly
Last edited by V1del (2026-07-11 16:36:12)
Offline
Well, there you go. I could have sworn I had run makepkg after running git pull when the problem first started.
Fixed now!
Anyway, thanks to both of you and sorry for wasting your time.
Offline