Bug 1221823 - nvidia-gfxG04-kmp-default fails to build with kernel 6.8
Summary: nvidia-gfxG04-kmp-default fails to build with kernel 6.8
Status: RESOLVED FIXED
: 1221828 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 3rd Party Driver (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P2 - High : Major (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 14:42 UTC by Jonas Kvinge
Modified: 2024-04-19 08:41 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Kvinge 2024-03-21 14:42:39 UTC
depmod: ERROR: fstatat(5, nvidia-drm.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia.ko): No such file or directory
depmod: ERROR: fstatat(5, nvidia-modeset.ko): No such file or directory
make: Entering directory '/usr/src/linux-6.8.1-1-obj/x86_64/default'
  MODPOST /usr/src/kernel-modules/nvidia-390.157-default/Module.symvers
make: Leaving directory '/usr/src/linux-6.8.1-1-obj/x86_64/default'
/usr/src/kernel-modules/nvidia-390.157-default /
make[1]: Entering directory '/usr/src/linux-6.8.1-1'
make[2]: Entering directory '/usr/src/linux-6.8.1-1-obj/x86_64/default'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (SUSE Linux) 13.2.1 20240206 [revision 67ac78caf31f7cb3202177e6428a46d829b70f23]
  You are using:           cc (SUSE Linux) 13.2.1 20240206 [revision 67ac78caf31f7cb3202177e6428a46d829b70f23]
  SYMLINK /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-kernel.o
  SYMLINK /usr/src/kernel-modules/nvidia-390.157-default/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: list_is_first
 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: 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: 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: kmem_cache_create_usercopy
 CONFTEST: do_gettimeofday
 CONFTEST: dma_direct_map_resource
 CONFTEST: vmf_insert_pfn
 CONFTEST: jiffies_to_timespec
 CONFTEST: ktime_get_raw_ts64
 CONFTEST: ktime_get_real_ts64
 CONFTEST: ioremap_nocache
 CONFTEST: vga_tryget
 CONFTEST: unsafe_follow_pfn
 CONFTEST: acpi_bus_get_device
 CONFTEST: acpi_video_backlight_use_native
 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_gem_object_get
 CONFTEST: drm_dev_put
 CONFTEST: drm_connector_for_each_possible_encoder
 CONFTEST: drm_gem_object_put_unlocked
 CONFTEST: is_export_symbol_gpl_of_node_to_nid
 CONFTEST: is_export_symbol_present_swiotlb_map_sg_attrs
 CONFTEST: is_export_symbol_present_swiotlb_dma_ops
 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: swiotlb_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: proc_ops
 CONFTEST: timeval
 CONFTEST: mm_has_mmap_lock
 CONFTEST: kmem_cache_has_kobj_remove_work
 CONFTEST: sysfs_slab_unlink
 CONFTEST: vmalloc_has_pgprot_t_arg
 CONFTEST: pci_dev_has_skip_bus_pm
 CONFTEST: pci_channel_state
 CONFTEST: drm_driver_has_dumb_destroy
 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_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: vm_ops_fault_removed_vma_arg
 CONFTEST: kref_has_refcount_of_type_refcount_t
 CONFTEST: drm_atomic_helper_crtc_destroy_state_has_crtc_arg
 CONFTEST: drm_mode_object_find_has_file_priv_arg
 CONFTEST: drm_connector_list_iter
 CONFTEST: drm_atomic_helper_swap_state_has_stall_arg
 CONFTEST: drm_driver_prime_flag_present
 CONFTEST: drm_gem_prime_export_has_dev_arg
 CONFTEST: vm_fault_t
 CONFTEST: drm_gem_object_has_resv
 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: dma_resv_add_fence
 CONFTEST: dma_resv_reserve_fences
 CONFTEST: reservation_object_reserve_shared_has_num_fences_arg
 CONFTEST: dom0_kernel_present
 CONFTEST: nvidia_vgpu_kvm_build
 CONFTEST: nvidia_grid_build
 CONFTEST: list_cut_position
 CONFTEST: drm_available
 CONFTEST: drm_atomic_available
 CONFTEST: is_export_symbol_gpl_refcount_inc
 CONFTEST: is_export_symbol_gpl_refcount_dec_and_test
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-frontend.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-instance.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gpu-numa.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-instance.c:68:1: warning: no previous prototype for ‘nv_pci_register_driver’ [-Wmissing-prototypes]
   68 | nv_pci_register_driver(
      | ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gpu-numa.c: In function ‘gather_memblock_ids_for_node’:
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gpu-numa.c:232:47: warning: cast between incompatible function types from ‘int (*)(struct dir_context *, const char *, int,  loff_t,  u64,  unsigned int)’ {aka ‘int (*)(struct dir_context *, const char *, int,  long long int,  long long unsigned int,  unsigned int)’} to ‘bool (*)(struct dir_context *, const char *, int,  loff_t,  u64,  unsigned int)’ {aka ‘_Bool (*)(struct dir_context *, const char *, int,  long long int,  long long unsigned int,  unsigned int)’} [-Wcast-function-type]
  232 |     nv_dir_context_t ats_ctx = { .ctx.actor = (filldir_t)filldir_get_memblock_id };
      |                                               ^
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c:771:12: warning: no previous prototype for ‘nvidia_init_module’ [-Wmissing-prototypes]
  771 | int __init nvidia_init_module(void)
      |            ^~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c:1161:6: warning: no previous prototype for ‘nvidia_exit_module’ [-Wmissing-prototypes]
 1161 | void nvidia_exit_module(void)
      |      ^~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-acpi.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-chrdev.o
In file included from /usr/src/linux-6.8.1-1/include/linux/srcu.h:21,
                 from /usr/src/linux-6.8.1-1/include/linux/notifier.h:16,
                 from /usr/src/linux-6.8.1-1/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-6.8.1-1/include/linux/uprobes.h:49,
                 from /usr/src/linux-6.8.1-1/include/linux/mm_types.h:16,
                 from /usr/src/linux-6.8.1-1/include/linux/mmzone.h:22,
                 from /usr/src/linux-6.8.1-1/include/linux/gfp.h:7,
                 from /usr/src/linux-6.8.1-1/include/linux/mm.h:7,
                 from /usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-pgprot.h:17,
                 from /usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:20,
                 from /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c:13:
In function ‘nv_stop_device’,
    inlined from ‘nv_close_device’ at /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c:1938:9:
/usr/src/linux-6.8.1-1/include/linux/workqueue.h:625:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:1524:5: note: in expansion of macro ‘flush_scheduled_work’
 1524 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c:1875:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’
 1875 |         NV_WORKQUEUE_FLUSH();
      |         ^~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-cray.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-acpi.c: In function ‘nv_acpi_methods_uninit’:
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-acpi.c:687:25: warning: unused variable ‘device’ [-Wunused-variable]
  687 |     struct acpi_device *device = NULL;
      |                         ^~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c: In function ‘nvidia_remove’:
/usr/src/linux-6.8.1-1/include/linux/workqueue.h:625:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:1524:5: note: in expansion of macro ‘flush_scheduled_work’
 1524 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv.c:4106:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’
 4106 |         NV_WORKQUEUE_FLUSH();
      |         ^~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-dma.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gvi.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-i2c.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-mempool.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-dma.c:224:6: warning: no previous prototype for ‘nv_load_dma_map_scatterlist’ [-Wmissing-prototypes]
  224 | void nv_load_dma_map_scatterlist(
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-6.8.1-1/include/linux/srcu.h:21,
                 from /usr/src/linux-6.8.1-1/include/linux/notifier.h:16,
                 from /usr/src/linux-6.8.1-1/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-6.8.1-1/include/linux/uprobes.h:49,
                 from /usr/src/linux-6.8.1-1/include/linux/mm_types.h:16,
                 from /usr/src/linux-6.8.1-1/include/linux/mmzone.h:22,
                 from /usr/src/linux-6.8.1-1/include/linux/gfp.h:7,
                 from /usr/src/linux-6.8.1-1/include/linux/mm.h:7,
                 from /usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-pgprot.h:17,
                 from /usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:20,
                 from /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gvi.c:15:
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gvi.c: In function ‘nv_gvi_kern_suspend’:
/usr/src/linux-6.8.1-1/include/linux/workqueue.h:625:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:1524:5: note: in expansion of macro ‘flush_scheduled_work’
 1524 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-gvi.c:90:5: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’
   90 |     NV_WORKQUEUE_FLUSH();
      |     ^~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-mmap.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-p2p.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-pat.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-procfs.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-mmap.c: In function ‘nv_encode_caching’:
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-mmap.c:262:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
  262 |             if (NV_ALLOW_CACHING(memory_type))
      |                ^
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-mmap.c:264:9: note: here
  264 |         default:
      |         ^~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-usermap.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-vm.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-procfs.c:430:1: warning: no previous prototype for ‘exercise_error_forwarding_va’ [-Wmissing-prototypes]
  430 | exercise_error_forwarding_va(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-vtophys.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-interface.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-mlock.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-pci.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-registry.o
In file included from /usr/src/linux-6.8.1-1/include/linux/srcu.h:21,
                 from /usr/src/linux-6.8.1-1/include/linux/notifier.h:16,
                 from /usr/src/linux-6.8.1-1/arch/x86/include/asm/uprobes.h:13,
                 from /usr/src/linux-6.8.1-1/include/linux/uprobes.h:49,
                 from /usr/src/linux-6.8.1-1/include/linux/mm_types.h:16,
                 from /usr/src/linux-6.8.1-1/include/linux/mmzone.h:22,
                 from /usr/src/linux-6.8.1-1/include/linux/gfp.h:7,
                 from /usr/src/linux-6.8.1-1/include/linux/mm.h:7,
                 from /usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-pgprot.h:17,
                 from /usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:20,
                 from /usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-interface.c:15:
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-interface.c: In function ‘os_flush_work_queue’:
/usr/src/linux-6.8.1-1/include/linux/workqueue.h:625:9: warning: call to ‘__warn_flushing_systemwide_wq’ declared with attribute warning: Please avoid flushing system-wide workqueues. [-Wattribute-warning]
  625 |         __warn_flushing_systemwide_wq();                                \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/common/inc/nv-linux.h:1524:5: note: in expansion of macro ‘flush_scheduled_work’
 1524 |     flush_scheduled_work();
      |     ^~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-interface.c:1042:9: note: in expansion of macro ‘NV_WORKQUEUE_FLUSH’
 1042 |         NV_WORKQUEUE_FLUSH();
      |         ^~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/os-usermap.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-modeset-interface.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-pci-table.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-kthread-q.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-kthread-q-selftest.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-kthread-q.c:244:6: warning: no previous prototype for ‘_raw_q_flush’ [-Wmissing-prototypes]
  244 | void _raw_q_flush(nv_kthread_q_t *q)
      |      ^~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-memdbg.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-kthread-q-selftest.c:74:6: warning: no previous prototype for ‘on_nvq_assert’ [-Wmissing-prototypes]
   74 | void on_nvq_assert(void)
      |      ^~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-ibmnpu.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-report-err.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv_uvm_interface.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia/nvlink_linux.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-ibmnpu.c:280:6: warning: no previous prototype for ‘nv_init_ibmnpu_info’ [-Wmissing-prototypes]
  280 | void nv_init_ibmnpu_info(nv_state_t *nv)
      |      ^~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-ibmnpu.c:284:6: warning: no previous prototype for ‘nv_destroy_ibmnpu_info’ [-Wmissing-prototypes]
  284 | void nv_destroy_ibmnpu_info(nv_state_t *nv)
      |      ^~~~~~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nv-ibmnpu.c:288:5: warning: no previous prototype for ‘nv_init_ibmnpu_devices’ [-Wmissing-prototypes]
  288 | int nv_init_ibmnpu_devices(nv_state_t *nv)
      |     ^~~~~~~~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia-modeset/nvidia-modeset-linux.o
/usr/src/kernel-modules/nvidia-390.157-default/nvidia-modeset/nvidia-modeset-linux.c:765:24: warning: no previous prototype for ‘nvkms_open_common’ [-Wmissing-prototypes]
  765 | struct nvkms_per_open *nvkms_open_common(enum NvKmsClientType type,
      |                        ^~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia-modeset/nvidia-modeset-linux.c:817:21: warning: no previous prototype for ‘nvkms_close_common’ [-Wmissing-prototypes]
  817 | void NVKMS_API_CALL nvkms_close_common(struct nvkms_per_open *popen)
      |                     ^~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia-modeset/nvidia-modeset-linux.c:855:20: warning: no previous prototype for ‘nvkms_ioctl_common’ [-Wmissing-prototypes]
  855 | int NVKMS_API_CALL nvkms_ioctl_common
      |                    ^~~~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nvlink_linux.c:287:12: warning: no previous prototype for ‘nvlink_core_init’ [-Wmissing-prototypes]
  287 | int __init nvlink_core_init(void)
      |            ^~~~~~~~~~~~~~~~
/usr/src/kernel-modules/nvidia-390.157-default/nvidia/nvlink_linux.c:353:6: warning: no previous prototype for ‘nvlink_core_exit’ [-Wmissing-prototypes]
  353 | void nvlink_core_exit(void)
      |      ^~~~~~~~~~~~~~~~
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-utils.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-crtc.o
  CC [M]  /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-encoder.o
In file included from /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.c:60:
/usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.c:661:23: error: ‘DRM_UNLOCKED’ undeclared here (not in a function); did you mean ‘VM_LOCKED’?
  661 |                       DRM_UNLOCKED),
      |                       ^~~~~~~~~~~~
/usr/src/linux-6.8.1-1/include/drm/drm_ioctl.h:155:26: note: in definition of macro ‘DRM_IOCTL_DEF_DRV’
  155 |                 .flags = _flags,                                        \
      |                          ^~~~~~
make[4]: *** [/usr/src/linux-6.8.1-1/scripts/Makefile.build:244: /usr/src/kernel-modules/nvidia-390.157-default/nvidia-drm/nvidia-drm-drv.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-6.8.1-1/Makefile:1938: /usr/src/kernel-modules/nvidia-390.157-default] Error 2
make[2]: *** [/usr/src/linux-6.8.1-1/Makefile:240: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-6.8.1-1-obj/x86_64/default'
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-6.8.1-1'
make: *** [Makefile:81: modules] Error 2
/
install: cannot stat '/usr/src/kernel-modules/nvidia-390.157-default/nvidia*.ko': No such file or directory
/usr/src/kernel-modules/nvidia-390.157-default /
rm -f -r conftest
make[1]: Entering directory '/usr/src/linux-6.8.1-1'
make[2]: Entering directory '/usr/src/linux-6.8.1-1-obj/x86_64/default'
  CLEAN   /usr/src/kernel-modules/nvidia-390.157-default
  CLEAN   /usr/src/kernel-modules/nvidia-390.157-default/Module.symvers
make[2]: Leaving directory '/usr/src/linux-6.8.1-1-obj/x86_64/default'
make[1]: Leaving directory '/usr/src/linux-6.8.1-1'
/
EFI variables are not supported on this system
update-alternatives: using /usr/lib/nvidia/alternate-install-present-default to provide /usr/lib/nvidia/alternate-install-present (alternate-install-present) in auto mode
Modprobe blacklist files have been created at /usr/lib/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /usr/lib/modprobe.d/nvidia-*.conf.
*** Reboot your computer and verify that the NVIDIA graphics driver can be loaded. ***
warning: %triggerin(nvidia-gfxG04-kmp-default-390.157_k6.7.9_1-38.43.x86_64) scriptlet failed, exit status 1
(1/7) Installing: nvidia-gfxG04-kmp-default-390.157_k6.7.9_1-38.43.x86_64 ...............................................................................................................................................................................................[done]
update-alternatives: using /usr/lib64/xorg/modules/extensions/nvidia/nvidia-libglx.so to provide /usr/lib64/xorg/modules/extensions/libglx.so (libglx.so) in auto mode
(2/7) Installing: nvidia-glG04-390.157-38.3.x86_64 ......................................................................................................................................................................................................................[done]
(3/7) Installing: nvidia-glG04-32bit-390.157-38.3.x86_64 ................................................................................................................................................................................................................[done]
update-alternatives: using /usr/lib64/nvidia/libOpenCL.so.1 to provide /usr/lib64/libOpenCL.so.1 (libOpenCL.so.1) in auto mode
(4/7) Installing: nvidia-computeG04-390.157-38.3.x86_64 .................................................................................................................................................................................................................[done]
(5/7) Installing: nvidia-computeG04-32bit-390.157-38.3.x86_64 ...........................................................................................................................................................................................................[done]
(6/7) Installing: x11-video-nvidiaG04-390.157-38.3.x86_64 ...............................................................................................................................................................................................................[done]
(7/7) Installing: x11-video-nvidiaG04-32bit-390.157-38.3.x86_64 .........................................................................................................................................................................................................[done]
%posttrans(nvidia-gfxG04-kmp-default-390.157_k6.7.9_1-38.43.x86_64) script output:
dracut[I]: Executing: /usr/bin/dracut --kver=6.7.9-1-default -f
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[E]: Current resume kernel argument points to an invalid disk
dracut[I]: Module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[E]: Current resume kernel argument points to an invalid disk
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: suse-btrfs ***
dracut[I]: *** Including module: suse-xfs ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: haveged ***
dracut[I]: *** Including module: ostree ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: suse ***
dracut[I]: *** Including module: suse-initrd ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: Stored kernel commandline:
dracut[I]:  root=UUID=0754124b-8354-43c1-88ce-e9fb7b4398ef rootfstype=ext4 rootflags=rw,noatime
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initrd-6.7.9-1-default' ***
dracut[I]: *** Creating initramfs image file '/boot/initrd-6.7.9-1-default' done ***
dracut[I]: Executing: /usr/bin/dracut --kver=6.8.1-1-default -f
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[E]: Current resume kernel argument points to an invalid disk
dracut[I]: Module 'biosdevname' will not be installed, because command 'biosdevname' could not be found!
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: Module 'systemd-pcrphase' will not be installed, because command '/usr/lib/systemd/systemd-pcrphase' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command 'portablectl' could not be found!
dracut[I]: Module 'systemd-portabled' will not be installed, because command '/usr/lib/systemd/systemd-portabled' could not be found!
dracut[I]: Module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found!
dracut[I]: Module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found!
dracut[I]: Module 'rngd' will not be installed, because command 'rngd' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmanctl' could not be found!
dracut[I]: Module 'connman' will not be installed, because command 'connmand-wait-online' could not be found!
dracut[I]: Module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found!
dracut[I]: Module 'nvmf' will not be installed, because command 'nvme' could not be found!
dracut[E]: Current resume kernel argument points to an invalid disk
dracut[I]: Module 'memstrack' will not be installed, because command 'memstrack' could not be found!
dracut[I]: memstrack is not available
dracut[I]: If you need to use rd.memdebug>=4, please install memstrack and procps-ng
dracut[I]: Module 'squash' will not be installed, because command 'mksquashfs' could not be found!
dracut[I]: Module 'squash' will not be installed, because command 'unsquashfs' could not be found!
dracut[I]: *** Including module: systemd ***
dracut[I]: *** Including module: systemd-initrd ***
dracut[I]: *** Including module: i18n ***
dracut[I]: *** Including module: drm ***
dracut[I]: *** Including module: plymouth ***
dracut[I]: *** Including module: kernel-modules ***
dracut[I]: *** Including module: kernel-modules-extra ***
dracut[I]: *** Including module: rootfs-block ***
dracut[I]: *** Including module: suse-btrfs ***
dracut[I]: *** Including module: suse-xfs ***
dracut[I]: *** Including module: terminfo ***
dracut[I]: *** Including module: udev-rules ***
dracut[I]: *** Including module: dracut-systemd ***
dracut[I]: *** Including module: haveged ***
dracut[I]: *** Including module: ostree ***
dracut[I]: *** Including module: usrmount ***
dracut[I]: *** Including module: base ***
dracut[I]: *** Including module: fs-lib ***
dracut[I]: *** Including module: shutdown ***
dracut[I]: *** Including module: suse ***
dracut[I]: *** Including module: suse-initrd ***
dracut[I]: *** Including modules done ***
dracut[I]: *** Installing kernel module dependencies ***
dracut[I]: *** Installing kernel module dependencies done ***
dracut[I]: *** Resolving executable dependencies ***
dracut[I]: *** Resolving executable dependencies done ***
dracut[I]: *** Hardlinking files ***
dracut[I]: *** Hardlinking files done ***
dracut[I]: *** Generating early-microcode cpio image ***
dracut[I]: *** Constructing GenuineIntel.bin ***
dracut[I]: *** Store current command line parameters ***
dracut[I]: Stored kernel commandline:
dracut[I]:  root=UUID=0754124b-8354-43c1-88ce-e9fb7b4398ef rootfstype=ext4 rootflags=rw,noatime
dracut[I]: *** Stripping files ***
dracut[I]: *** Stripping files done ***
dracut[I]: *** Creating image file '/boot/initrd-6.8.1-1-default' ***
dracut[I]: *** Creating initramfs image file '/boot/initrd-6.8.1-1-default' done ***
Running post-transaction scripts ..............................................................................................................................
Comment 1 Stefan Dirsch 2024-03-21 15:24:41 UTC
Fixed for next driver update. For now please use a 6.6/6.7 kernel.

https://build.opensuse.org/package/show/X11:Drivers:Video/nvidia-gfxG04

nvidia-gfxG04.changes:
-------------------------------------------------------------------
Thu Mar 21 14:58:55 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

- kernel-6.8.patch
  * buildfix against Kernel 6.8 picked up from
    https://aur.archlinux.org/nvidia-390xx-utils.git/
- fixes boo#1221823
Comment 2 hui 2024-03-21 17:41:05 UTC
*** Bug 1221828 has been marked as a duplicate of this bug. ***
Comment 3 Roland Linz 2024-04-18 15:17:01 UTC
Meanwhile there were 2 updates of NVidia-driver, but still the grafic doesn't work in the default mode, but in "recovery mode" and "Strg-D" it works.

In the first update there was an additional package of "nvidia-gfxG04-kmp-default" with version 390.157_K6.8.1 ... beside the old 390.157_K6.7.9_1-38.43-X86_64, which didn't work. At the 2nd update this new package was withdrawn again, only the old 
package remained.

Will be there another update?

I'm thinking to exchance my old grafic card by an newer one NVidia GT710 or GT730 with "Kepler-Architekture", but this is also 10 years old. How long will it be supported? Shall I prefer a GT 1030 with "Pascal-Architecture"?

The "Nouveau-driver" works with some short blackouts and ohter little faults, but my old PC is slower with it.
Comment 4 Stefan Dirsch 2024-04-19 08:40:53 UTC
I did the fix on March 21. Current packages are from March 20. There are fixed packages on-the-way.

If you buy a "new" nvidia card.  I wouldn't buy anything older than Turing. That's the minimum platform for the new open driver by nvidia. I can recommend nvidia Quadro T400. Already Turing. Small, quiet, affordable (< 200 EUR).