Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

incompatibility with kernel 6.1 and gcc, nvidia

Started by blakem, December 12, 2022, 05:23:21 PM

Previous topic - Next topic

blakem

I have some newer hardware on my Razer Blade 15 and have thus been trying to upgrade to a newer kernel in an attempt to get the hardware to work natively. Currently I'm running on the latest 6.0 kernel:

blakem@bm-mod-laptop:/usr/bin$ uname -r
6.0.12-sparky-amd64

I had to downgrade my gcc to v. 10 in order for it to compile the nvidia drivers properly into the kernel. I saw that kernel 6.1 droppped this weekend so attempted to install it this morning. However, the gcc-10 version in the bookworm repositories is 10.4 but the 6.1 sparky kernel was compiled with 10.2, thus I can't get dkms to successfully compile the nvidia drivers into the kernel modules:

make[1]: Entering directory '/usr/src/linux-headers-6.1.0-sparky-amd64'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (Debian 10.2.1-6) 10.2.1 20210110
  You are using:           gcc (Debian 10.4.0-5) 10.4.0
......
  ./scripts/check-local-export /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.o
   { echo ; echo '/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.nv-modeset-interface.o.cmd
  if nm /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.nv-modeset-interface.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-current/510.85.02/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_modeset_interface"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.c | scripts/genksyms/genksyms   -r /dev/null >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.nv-modeset-interface.o.cmd; fi
make[1]: *** [Makefile:1992: /var/lib/dkms/nvidia-current/510.85.02/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-sparky-amd64'
make: *** [Makefile:82: modules] Error 2

Was kernel 6.1 compiled and tested against the nvidia drivers before releasing it to the repository? If so, what is the workaround? I could pull gcc/g++/gfortran v10 from the stable debian repository (it is v 10.2), but would prefer not to start apt-pinning and mixing repositories if I can avoid it. Thanks.

pavroo

The default version of GCC on Sparky 7 is 12.2.0, but as you said, 10.4.0 is also available.
Have to build the kernel on bookworm too.
Nothing is easy as it looks. Danielle Steel

blakem

Sorry, not completely following you here. Are you saying I need to build the kernel myself instead of pulling it from the sparky repository or that the Sparky team is planning on building 6.1 for future use?

pavroo

I am doing it now, so I will let you know when ready.
Nothing is easy as it looks. Danielle Steel

pavroo

There are 3 packages in the orion repos, build on Sparky 7: linux-headers-6.1.0-sparky7-amd64, linux-image-6.1.0-sparky7-amd64 & linux-libc-dev, so give them a try.
Nothing is easy as it looks. Danielle Steel

blakem

Removed the old 6.1 kernel (image + headers) and installed the newly-compiled kernel you just pushed to the repository (thank you for the quick turnaround BTW), using gcc v12. Didn't get the same error with the mismatch of gcc versions, but the DKMS build still failed:
(Reading database ... 293984 files and directories currently installed.)
Preparing to unpack .../linux-headers-6.1.0-sparky7-amd64_6.1.0-1_amd64.deb ...
Unpacking linux-headers-6.1.0-sparky7-amd64 (6.1.0-1) over (6.1.0-1) ...
Preparing to unpack .../linux-image-6.1.0-sparky7-amd64_6.1.0-1_amd64.deb ...
Unpacking linux-image-6.1.0-sparky7-amd64 (6.1.0-1) over (6.1.0-1) ...
Preparing to unpack .../linux-libc-dev_6.1.0-1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (6.1.0-1) over (6.1.0-1) ...
Setting up linux-image-6.1.0-sparky7-amd64 (6.1.0-1) ...
dkms: running auto installation service for kernel 6.1.0-sparky7-amd64:Sign command: /usr/lib/linux-kbuild-6.1/scripts/sign-file
Binary /usr/lib/linux-kbuild-6.1/scripts/sign-file not found, modules won't be signed
applying patch linux-2.6.34-dev_pm_info-runtime_auto.patch...patching file conftest.sh

applying patch 0009-backport-pci-dma-changes-from-470.129.06.patch...patching file nvidia/nv.c

applying patch 0022-backport-acpi-changes-from-515.65.01.patch...patching file nvidia/nv-acpi.c

applying patch 0023-backport-drm_frambuffer.h-changes-from-515.76.patch...patching file nvidia-drm/nvidia-drm-helper.c

applying patch bashisms.patch...patching file conftest.sh

applying patch use-kbuild-compiler.patch...patching file Makefile

applying patch use-kbuild-flags.patch...patching file Kbuild
patching file nvidia/nvidia.Kbuild
patching file Makefile
patching file nvidia-modeset/nvidia-modeset.Kbuild

applying patch conftest-verbose.patch...patching file Kbuild

applying patch cc_version_check-gcc5.patch...patching file conftest.sh

applying patch nvidia-use-ARCH.o_binary.patch...patching file nvidia/nvidia.Kbuild

applying patch nvidia-modeset-use-ARCH.o_binary.patch...patching file nvidia-modeset/nvidia-modeset.Kbuild

applying patch conftest-prefer-arch-headers.patch...patching file conftest.sh


Building module:
Cleaning build area...
unset ARCH; env NV_VERBOSE=1 make -j8 modules KERNEL_UNAME=6.1.0-sparky7-amd64......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.1.0-sparky7-amd64 (x86_64)
Consult /var/lib/dkms/nvidia-current/510.85.02/build/make.log for more information.
.
update-initramfs: Generating /boot/initrd.img-6.1.0-sparky7-amd64
Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found background image: /opt/artwork/sparky-grub.png
Found linux image: /boot/vmlinuz-6.1.0-sparky7-amd64
Found initrd image: /boot/initrd.img-6.1.0-sparky7-amd64
Found linux image: /boot/vmlinuz-6.0.12-sparky-amd64
Found initrd image: /boot/initrd.img-6.0.12-sparky-amd64
Found linux image: /boot/vmlinuz-6.0.0-5-amd64
Found initrd image: /boot/initrd.img-6.0.0-5-amd64
Found linux image: /boot/vmlinuz-6.0.0-2-amd64
Found initrd image: /boot/initrd.img-6.0.0-2-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p2@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up linux-libc-dev:amd64 (6.1.0-1) ...
Setting up linux-headers-6.1.0-sparky7-amd64 (6.1.0-1) ...

I can't attach my log file, but here are the final lines from /var/lib/dkms/nvidia-current/510.85.02/build/make.log:

DKMS make.log for nvidia-current-510.85.02 for kernel 6.1.0-sparky7-amd64 (x86_64)
Mon Dec 12 09:47:30 PM CST 2022
make V=1 -C /lib/modules/6.1.0-sparky7-amd64/build M=/var/lib/dkms/nvidia-current/510.85.02/build ARCH=x86_64 NV_KERNEL_SOURCES=/lib/modules/6.1.0-sparky7-amd64/build NV_KERNEL_OUTPUT=/lib/modules/6.1.0-sparky7-amd64/build NV_KERNEL_MODULES="nvidia nvidia-uvm nvidia-modeset nvidia-drm nvidia-peermem" INSTALL_MOD_DIR=kernel/drivers/video NV_SPECTRE_V2=0 modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-sparky7-amd64'
make -f ./scripts/Makefile.build obj=/var/lib/dkms/nvidia-current/510.85.02/build need-builtin=1 need-modorder=1
NV_CONFTEST_CMD=/bin/sh /var/lib/dkms/nvidia-current/510.85.02/build/conftest.sh "gcc" x86_64 /lib/modules/6.1.0-sparky7-amd64/build /lib/modules/6.1.0-sparky7-amd64/build
NV_CONFTEST_CFLAGS=-O2 -D__KERNEL__ -DKBUILD_BASENAME="#conftest294760" -DKBUILD_MODNAME="#conftest294760" -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/12/include -I/lib/modules/6.1.0-sparky7-amd64/build/arch/x86/include/asm/mach-default -I/lib/modules/6.1.0-sparky7-amd64/build/include/asm-x86/mach-default -include /lib/modules/6.1.0-sparky7-amd64/build/include/generated/autoconf.h -I/lib/modules/6.1.0-sparky7-amd64/build/arch/x86/include -I/lib/modules/6.1.0-sparky7-amd64/build/arch/x86/include/uapi -I/lib/modules/6.1.0-sparky7-amd64/build/arch/x86/include/generated -I/lib/modules/6.1.0-sparky7-amd64/build/arch/x86/include/generated/uapi -I/lib/modules/6.1.0-sparky7-amd64/build/include -I/lib/modules/6.1.0-sparky7-amd64/build/include/uapi -I/lib/modules/6.1.0-sparky7-amd64/build/include/xen -I/lib/modules/6.1.0-sparky7-amd64/build/include/generated/uapi -mfentry -DCC_USING_FENTRY -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD  -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -fno-pie -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wno-packed-not-aligned -g
KBUILD_CFLAGS=-Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls  -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign  -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g
LINUXINCLUDE=-I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h
LDFLAGS=
KBUILD_LDFLAGS=-m elf_x86_64 -z noexecstack --no-warn-rwx-segments
  printf '%s
'  nvidia/nv.o nvidia/nv-pci.o nvidia/nv-acpi.o nvidia/nv-cray.o nvidia/nv-dma.o nvidia/nv-i2c.o nvidia/nv-mmap.o nvidia/nv-p2p.o nvidia/nv-pat.o nvidia/nv-procfs.o nvidia/nv-procfs-utils.o nvidia/nv-usermap.o nvidia/nv-vm.o nvidia/nv-vtophys.o nvidia/os-interface.o nvidia/os-mlock.o nvidia/os-pci.o nvidia/os-registry.o nvidia/os-usermap.o nvidia/nv-modeset-interface.o nvidia/nv-pci-table.o nvidia/nv-kthread-q.o nvidia/nv-memdbg.o nvidia/nv-ibmnpu.o nvidia/nv-report-err.o nvidia/nv-rsync.o nvidia/nv-msi.o nvidia/nv-caps.o nvidia/nv-frontend.o nvidia/nv_uvm_interface.o nvidia/nvlink_linux.o nvidia/nvlink_caps.o nvidia/linux_nvswitch.o nvidia/procfs_nvswitch.o nvidia/i2c_nvswitch.o nvidia/nv-kernel.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia-current/510.85.02/build/"$0) }' > /var/lib/dkms/nvidia-current/510.85.02/build/nvidia.mod
ARCH=x86_64
 CONFTEST macros.h:
  ln -sf /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-kernel-amd64.o_binary /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-kernel.o
 CONFTEST patches.h:
static struct {
                const char *short_description;
                const char *description;
              } __nv_patches[] = {
{ NULL, NULL } };
  printf '%s
'  nvidia-uvm/uvm_common.o nvidia-uvm/uvm_linux.o nvidia-uvm/nvstatus.o nvidia-uvm/nvCpuUuid.o nvidia-uvm/nv-kthread-q.o nvidia-uvm/nv-kthread-q-selftest.o nvidia-uvm/uvm.o nvidia-uvm/uvm_tools.o nvidia-uvm/uvm_global.o nvidia-uvm/uvm_gpu.o nvidia-uvm/uvm_gpu_isr.o nvidia-uvm/uvm_procfs.o nvidia-uvm/uvm_va_space.o nvidia-uvm/uvm_va_space_mm.o nvidia-uvm/uvm_gpu_semaphore.o nvidia-uvm/uvm_mem.o nvidia-uvm/uvm_rm_mem.o nvidia-uvm/uvm_channel.o nvidia-uvm/uvm_lock.o nvidia-uvm/uvm_hal.o nvidia-uvm/uvm_range_tree.o nvidia-uvm/uvm_rb_tree.o nvidia-uvm/uvm_range_allocator.o nvidia-uvm/uvm_va_range.o nvidia-uvm/uvm_va_block.o nvidia-uvm/uvm_range_group.o nvidia-uvm/uvm_gpu_replayable_faults.o nvidia-uvm/uvm_gpu_non_replayable_faults.o nvidia-uvm/uvm_gpu_access_counters.o nvidia-uvm/uvm_perf_events.o nvidia-uvm/uvm_perf_module.o nvidia-uvm/uvm_mmu.o nvidia-uvm/uvm_pte_batch.o nvidia-uvm/uvm_tlb_batch.o nvidia-uvm/uvm_push.o nvidia-uvm/uvm_pushbuffer.o nvidia-uvm/uvm_thread_context.o nvidia-uvm/uvm_tracker.o nvidia-uvm/uvm_maxwell.o nvidia-uvm/uvm_maxwell_host.o nvidia-uvm/uvm_maxwell_ce.o nvidia-uvm/uvm_maxwell_mmu.o nvidia-uvm/uvm_maxwell_fault_buffer.o nvidia-uvm/uvm_maxwell_access_counter_buffer.o nvidia-uvm/uvm_pascal.o nvidia-uvm/uvm_pascal_ce.o nvidia-uvm/uvm_pascal_host.o nvidia-uvm/uvm_pascal_mmu.o nvidia-uvm/uvm_pascal_fault_buffer.o nvidia-uvm/uvm_volta_host.o nvidia-uvm/uvm_volta_mmu.o nvidia-uvm/uvm_volta.o nvidia-uvm/uvm_volta_fault_buffer.o nvidia-uvm/uvm_volta_access_counter_buffer.o nvidia-uvm/uvm_turing.o nvidia-uvm/uvm_turing_access_counter_buffer.o nvidia-uvm/uvm_turing_fault_buffer.o nvidia-uvm/uvm_turing_mmu.o nvidia-uvm/uvm_turing_host.o nvidia-uvm/uvm_ampere.o nvidia-uvm/uvm_ampere_ce.o nvidia-uvm/uvm_ampere_host.o nvidia-uvm/uvm_ampere_mmu.o nvidia-uvm/uvm_policy.o nvidia-uvm/uvm_perf_utils.o nvidia-uvm/uvm_kvmalloc.o nvidia-uvm/uvm_pmm_sysmem.o nvidia-uvm/uvm_pmm_gpu.o nvidia-uvm/uvm_migrate.o nvidia-uvm/uvm_populate_pageable.o nvidia-uvm/uvm_migrate_pageable.o nvidia-uvm/uvm_map_external.o nvidia-uvm/uvm_user_channel.o nvidia-uvm/uvm_hmm.o nvidia-uvm/uvm_perf_heuristics.o nvidia-uvm/uvm_perf_thrashing.o nvidia-uvm/uvm_perf_prefetch.o nvidia-uvm/uvm_ats_ibm.o nvidia-uvm/uvm_ats_faults.o nvidia-uvm/uvm_test.o nvidia-uvm/uvm_test_rng.o nvidia-uvm/uvm_range_tree_test.o nvidia-uvm/uvm_range_allocator_test.o nvidia-uvm/uvm_gpu_semaphore_test.o nvidia-uvm/uvm_hmm_sanity_test.o nvidia-uvm/uvm_mem_test.o nvidia-uvm/uvm_rm_mem_test.o nvidia-uvm/uvm_page_tree_test.o nvidia-uvm/uvm_tracker_test.o nvidia-uvm/uvm_push_test.o nvidia-uvm/uvm_channel_test.o nvidia-uvm/uvm_ce_test.o nvidia-uvm/uvm_host_test.o nvidia-uvm/uvm_lock_test.o nvidia-uvm/uvm_perf_utils_test.o nvidia-uvm/uvm_kvmalloc_test.o nvidia-uvm/uvm_pmm_test.o nvidia-uvm/uvm_pmm_sysmem_test.o nvidia-uvm/uvm_perf_events_test.o nvidia-uvm/uvm_perf_module_test.o nvidia-uvm/uvm_get_rm_ptes_test.o nvidia-uvm/uvm_fault_buffer_flush_test.o nvidia-uvm/uvm_peer_identity_mappings_test.o nvidia-uvm/uvm_va_block_test.o nvidia-uvm/uvm_range_group_tree_test.o nvidia-uvm/uvm_thread_context_test.o nvidia-uvm/uvm_rb_tree_test.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia-current/510.85.02/build/"$0) }' > /var/lib/dkms/nvidia-current/510.85.02/build/nvidia-uvm.mod
  printf '%s
'  nvidia-modeset/nvidia-modeset-linux.o nvidia-modeset/nv-kthread-q.o nvidia-modeset/nv-modeset-kernel.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia-current/510.85.02/build/"$0) }' > /var/lib/dkms/nvidia-current/510.85.02/build/nvidia-modeset.mod
  ln -sf /var/lib/dkms/nvidia-current/510.85.02/build/nvidia-modeset/nv-modeset-kernel-amd64.o_binary /var/lib/dkms/nvidia-current/510.85.02/build/nvidia-modeset/nv-modeset-kernel.o
  printf '%s
'  nvidia-drm/nvidia-drm.o nvidia-drm/nvidia-drm-drv.o nvidia-drm/nvidia-drm-utils.o nvidia-drm/nvidia-drm-crtc.o nvidia-drm/nvidia-drm-encoder.o nvidia-drm/nvidia-drm-connector.o nvidia-drm/nvidia-drm-gem.o nvidia-drm/nvidia-drm-fb.o nvidia-drm/nvidia-drm-modeset.o nvidia-drm/nvidia-drm-prime-fence.o nvidia-drm/nvidia-drm-linux.o nvidia-drm/nvidia-drm-helper.o nvidia-drm/nv-pci-table.o nvidia-drm/nvidia-drm-gem-nvkms-memory.o nvidia-drm/nvidia-drm-gem-user-memory.o nvidia-drm/nvidia-drm-gem-dma-buf.o nvidia-drm/nvidia-drm-format.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia-current/510.85.02/build/"$0) }' > /var/lib/dkms/nvidia-current/510.85.02/build/nvidia-drm.mod
  printf '%s
'  nvidia-peermem/nvidia-peermem.o | awk '!x[$0]++ { print("/var/lib/dkms/nvidia-current/510.85.02/build/"$0) }' > /var/lib/dkms/nvidia-current/510.85.02/build/nvidia-peermem.mod
 CONFTEST headers.h:
#undef NV_ASM_SYSTEM_H_PRESENT
#undef NV_DRM_DRMP_H_PRESENT
......
  if nm /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-pci.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-pci.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-current/510.85.02/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_pci"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-pci.c | scripts/genksyms/genksyms  -r /dev/null >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-pci.o.cmd; fi
  ./scripts/check-local-export /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-registry.o
  { echo ; echo '/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-registry.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-registry.o.cmd
  if nm /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-registry.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-registry.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-current/510.85.02/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_registry"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-registry.c | scripts/genksyms/genksyms  -r /dev/null >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-registry.o.cmd; fi
  ./scripts/check-local-export /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-usermap.o
  { echo ; echo '/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-usermap.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-usermap.o.cmd
  if nm /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-usermap.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-usermap.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-current/510.85.02/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_usermap"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-usermap.c | scripts/genksyms/genksyms  -r /dev/null >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-usermap.o.cmd; fi
  ./scripts/check-local-export /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-mlock.o
  { echo ; echo '/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-mlock.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-mlock.o.cmd
  if nm /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-mlock.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-mlock.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-current/510.85.02/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"os_mlock"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/os-mlock.c | scripts/genksyms/genksyms  -r /dev/null >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.os-mlock.o.cmd; fi
  ./scripts/check-local-export /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.o
  { echo ; echo '/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.o: $(wildcard ./tools/objtool/objtool)' ; } >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.nv-modeset-interface.o.cmd
  if nm /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.o 2>/dev/null | grep -q __ksymtab; then gcc -E -D__GENKSYMS__ -Wp,-MMD,/var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.nv-modeset-interface.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -I/var/lib/dkms/nvidia-current/510.85.02/build/common/inc -I/var/lib/dkms/nvidia-current/510.85.02/build -Wall -MD -Wno-cast-qual -Wno-error -Wno-format-extra-args -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"510.85.02\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -Werror=undef -DNV_SPECTRE_V2=0 -DNV_KERNEL_INTERFACE_LAYER -I/var/lib/dkms/nvidia-current/510.85.02/build/nvidia -DNVIDIA_UNDEF_LEGACY_BIT_MACROS -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE  -DKBUILD_BASENAME='"nv_modeset_interface"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/nv-modeset-interface.c | scripts/genksyms/genksyms  -r /dev/null >> /var/lib/dkms/nvidia-current/510.85.02/build/nvidia/.nv-modeset-interface.o.cmd; fi
make[1]: *** [Makefile:1992: /var/lib/dkms/nvidia-current/510.85.02/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-sparky7-amd64'
make: *** [Makefile:82: modules] Error 2

Wish I had the coding chops to go through and debug this for you, but that's definitely one of my weak spots in my linux background. Below is information on my machine:
blakem@bm-mod-laptop:/usr/bin$ inxi -F
System:
  Host: bm-mod-laptop Kernel: 6.0.12-sparky-amd64 arch: x86_64 bits: 64
    Desktop: Openbox v: 3.6.1 Distro: SparkyLinux 7 (Orion-Belt)
Machine:
  Type: Laptop System: Razer product: Blade 15 (2022) - RZ09-0421 v: 8.04
    serial: <superuser required>
  Mobo: Razer model: CH580 v: 4 serial: <superuser required> UEFI: Razer
    v: 1.09 date: 02/22/2022
Battery:
  ID-1: BAT0 charge: 79.4 Wh (100.0%) condition: 79.4/80.2 Wh (99.0%)
CPU:
  Info: quad core model: 12th Gen Intel Core i7-12800H bits: 64 type: MT MCP
    cache: L2: 5 MiB
  Speed (MHz): avg: 2103 min/max: 400/4700:4800 cores: 1: 2800 2: 2800
    3: 931 4: 2800 5: 1093 6: 2800 7: 802 8: 2800
Graphics:
  Device-1: Intel Alder Lake-P Integrated Graphics driver: i915 v: kernel
  Device-2: NVIDIA GA106M [GeForce RTX 3060 Mobile / Max-Q] driver: nvidia
    v: 510.85.02
  Device-3: IMC Networks Integrated RGB Camera type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau,vesa dri: iris gpu: i915
    resolution: 1: 1920x1080~60Hz 2: 2560x1440~240Hz
  API: OpenGL v: 4.6 Mesa 22.2.4 renderer: Mesa Intel Graphics (ADL GT2)
Audio:
  Device-1: Intel Alder Lake PCH-P High Definition Audio driver: snd_hda_intel
  Device-2: NVIDIA GA106 High Definition Audio driver: snd_hda_intel
  Sound API: ALSA v: k6.0.12-sparky-amd64 running: yes
  Sound Server-1: PipeWire v: 0.3.62 running: yes
Network:
  Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi
  IF: wlan0 state: up mac: 8c:f8:c5:73:4e:61
Bluetooth:
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb
  Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: 8C:F8:C5:73:4E:65
Drives:
  Local Storage: total: 953.87 GiB used: 144.44 GiB (15.1%)
  ID-1: /dev/nvme0n1 model: NVMe CA6-8D1024 size: 953.87 GiB
Partition:
  ID-1: / size: 76.92 GiB used: 37.32 GiB (48.5%) fs: ext4
    dev: /dev/nvme0n1p10
  ID-2: /boot/efi size: 399.2 MiB used: 8.5 MiB (2.1%) fs: vfat
    dev: /dev/nvme0n1p9
  ID-3: /home size: 15.28 GiB used: 3.44 GiB (22.5%) fs: ext4
    dev: /dev/nvme0n1p7
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 57.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 298 Uptime: 12h 54m Memory: 15.33 GiB used: 3.89 GiB (25.4%)
  Shell: Bash inxi: 3.3.23

pavroo

Yes, its a common issue.
My wifi module doesn't work too on the freshest kernel.
W need newer dkms, so have to wait for Debian devs update.
Nothing is easy as it looks. Danielle Steel

View the most recent posts on the forum