You are not logged in.

#1 2026-05-04 07:51:06

vennen
Member
From: Ukraine
Registered: 2008-03-27
Posts: 75

[SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

Here is output while updating system:

10/16) Install DKMS modules
==> dkms install --no-depmod nvidia/580.142 -k 7.0.3-arch1-2

Error! Bad return status for module build on kernel: 7.0.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.0.3-arch1-2' exited 10
(11/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.0.3-arch1-2'
 -> Running build hook: [base]
 -> Running build hook: [systemd]
 -> Running build hook: [autodetect]
 -> Running build hook: [microcode]
 -> Running build hook: [modconf]
 -> Running build hook: [kms]
 -> Running build hook: [keyboard]
 -> Running build hook: [sd-vconsole]
 -> Running build hook: [block]
 -> Running build hook: [filesystems]
 -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
 -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(12/16) Reloading system bus configuration...
(13/16) Updating fontconfig cache...
(14/16) Updating icon theme caches...
(15/16) Updating the info directory file...
(16/16) Updating the desktop file MIME type cache...

After rebooting Nvidia 580.142 driver doesn't work.
lspci -k | grep -iA 3 -E "(VGA|3D)" output:

lspci -k | grep -iA 3 -E "(VGA|3D)"
02:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050] (rev a1)
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device 8c97
        Kernel modules: nouveau
02:00.1 Audio device: NVIDIA Corporation GP107GL High Definition Audio Controller (rev a1)

Please, help

Last edited by vennen (2026-05-04 18:50:50)

Offline

#2 2026-05-04 08:10:26

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,498
Website

Re: [SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2026-05-04 08:57:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,003

Re: [SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

Consult /var/lib/dkms/nvidia/580.142/build/make.log for more information. 

Please post the contents of that file .


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

#4 2026-05-04 11:44:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,182

Re: [SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

How up to date is your AUR baseline? 580.142-3 should contain a patch for 7.0 kernel compat, albeit an actual new version in the 580xx series should be out as well and the AUR package hopefully switching to that soonish

Offline

#5 2026-05-04 16:44:17

vennen
Member
From: Ukraine
Registered: 2008-03-27
Posts: 75

Re: [SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

Lone_Wolf wrote:
Consult /var/lib/dkms/nvidia/580.142/build/make.log for more information. 

Please post the contents of that file .

Forum says me:

Posts cannot be longer than 1,048,576 bytes.

so I cant post whole file, it takes more than 60 pages.
Maybe this can help:

DKMS (dkms-3.4.0) make.log for nvidia/580.142 for kernel 7.0.3-arch1-2 (x86_64)
Mon May  4 10:32:57 MSK 2026

Building module(s)
# command: 'make' -j4 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=7.0.3-arch1-2 modules
make[1]: Entering directory '/usr/lib/modules/7.0.3-arch1-2/build'
make[2]: Entering directory '/var/lib/dkms/nvidia/580.142/build'

***************

nvidia.o: warning: objtool: _nv048817rm+0x12f: 'naked' return found in MITIGATION_RETHUNK build
  MODPOST Module.symvers
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia.o
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-uvm.o
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-modeset.o
WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-drm.o
  CC [M]  nvidia.mod.o
  CC [M]  .module-common.o
  CC [M]  nvidia-uvm.mod.o
  CC [M]  nvidia-modeset.mod.o
  CC [M]  nvidia-drm.mod.o
  CC [M]  nvidia-peermem.mod.o
  LD [M]  nvidia-modeset.ko
  LD [M]  nvidia-uvm.ko
  BTF [M] nvidia-modeset.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/lib/modules/7.0.3-arch1-2/build/scripts/Makefile.modfinal:60: nvidia-modeset.ko] Error 1
make[4]: *** Deleting file 'nvidia-modeset.ko'
make[4]: *** Waiting for unfinished jobs....
  BTF [M] nvidia-uvm.ko
awk: cmd. line:1: 'BEGIN
awk: cmd. line:1: ^ invalid char ''' in expression
make[4]: *** [/usr/lib/modules/7.0.3-arch1-2/build/scripts/Makefile.modfinal:60: nvidia-uvm.ko] Error 1
make[4]: *** Deleting file 'nvidia-uvm.ko'
make[3]: *** [/usr/lib/modules/7.0.3-arch1-2/build/Makefile:2036: modules] Error 2
make[2]: *** [/usr/lib/modules/7.0.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.0.3-arch1-2/build'
make: *** [Makefile:138: modules] Error 2

# exit code: 2
# elapsed time: 00:01:31

The line with

nvidia.o: warning: objtool: BLAH BLAH BLAH 'naked' return found in MITIGATION_RETHUNK build

repeats dozens of pages.

If it helps I would upload file at Dropbox or something


V1del wrote:

How up to date is your AUR baseline? 580.142-3 should contain a patch for 7.0 kernel compat, albeit an actual new version in the 580xx series should be out as well and the AUR package hopefully switching to that soonish

Package  nvidia-580xx-utils 580.142-3 flagged out-of-date (2026-04-29) for now

Last edited by vennen (2026-05-04 16:47:07)

Offline

#6 2026-05-04 17:01:41

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,500

Re: [SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

If it helps I would upload file at Dropbox or something

1st link below, try https://paste.c-net.org

https://aur.archlinux.org/cgit/aur.git/ … 80xx-utils explicitly deals w/ the awk problem, are you sure you're applying that patch?
(In doubt check the makefile)

Offline

#7 2026-05-04 18:50:15

vennen
Member
From: Ukraine
Registered: 2008-03-27
Posts: 75

Re: [SOLVED] Nvidia 580.142 driver problem after 7.0.3-arch kernel update

seth wrote:

If it helps I would upload file at Dropbox or something

1st link below, try https://paste.c-net.org

https://aur.archlinux.org/cgit/aur.git/ … 80xx-utils explicitly deals w/ the awk problem, are you sure you're applying that patch?
(In doubt check the makefile)

Thank you very much!

Redownloading, rebuilding nvidia-580xx-utils package from AUR and reinstalling did help.

Offline

Board footer

Powered by FluxBB