Bug 28152 - kernel-5.10.8 rpm seems to break dkms installation of nvidia390 driver
Summary: kernel-5.10.8 rpm seems to break dkms installation of nvidia390 driver
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-17 19:19 CET by Aurelian R
Modified: 2021-01-18 09:54 CET (History)
2 users (show)

See Also:
Source RPM: kernel-5.10.8
CVE:
Status comment:


Attachments

Description Aurelian R 2021-01-17 19:19:15 CET
Description of problem:

Building dkms nvidia390 driver fails for kernel-5.10.8

Steps to Reproduce:
1. Install kernel-5.10.8
2. Reboot in the previous kernel(5.10.7 for me) and try to build dkms-nvidia390 
3. Erros and logs :

$ dkms build -m nvidia390 -v 390.141-1.mga8.nonfree -k 5.10.8-desktop-1.mga8 

Preparing kernel 5.10.8-desktop-1.mga8 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper....
using /boot/config-5.10.8-desktop-1.mga8
make oldconfig....(bad exit status: 2)
make prepare....(bad exit status: 2)

Building module:
cleaning build area....
'make' -j16 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.10.8-desktop-1.mga8/build modules....(bad exit status: 2)

Error! Bad return status for module build on kernel: 5.10.8-desktop-1.mga8 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia390/390.141-1.mga8.nonfree/build/ for more information.

$ more /var/lib/dkms/nvidia390/390.141-1.mga8.nonfree/build/make.log

DKMS make.log for nvidia390-390.141-1.mga8.nonfree for kernel 5.10.8-desktop-1.mga8 (x86_64)
Sun Jan 17 08:06:02 PM EET 2021
make[1]: Entering directory '/usr/src/kernel-5.10.8-desktop-1.mga8'

  ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

make[1]: *** [Makefile:718: include/config/auto.conf] Error 1
make[1]: Leaving directory '/usr/src/kernel-5.10.8-desktop-1.mga8'
make: *** [Makefile:81: modules] Error 2
Comment 1 Aurelian R 2021-01-17 20:06:12 CET
It seems that the kernel file "include/generated/autoconf.h" is never generated during the dkms build process.
Regards
Comment 2 Lewis Smith 2021-01-17 21:10:19 CET
Thanks for the report, Aurélien. Surprised you did not assign it directly!

Assignee: bugsquad => kernel

Comment 3 Aurelian R 2021-01-17 21:18:07 CET
 (In reply to Lewis Smith from comment #2)
> Thanks for the report, Aurélien. Surprised you did not assign it directly!

 Close enough name to be misread it :), I'm just a user of mageia.
Aurelian R 2021-01-17 22:07:33 CET

Summary: kernel-5.10.8 rpm seems to brake dkms installation of nvidia390 driver => kernel-5.10.8 rpm seems to break dkms installation of nvidia390 driver

Comment 4 Aurelien Oudelet 2021-01-17 22:19:53 CET
Yeah, @Lewis, I think you mistakenly see me as reporter ;)

CC: (none) => ouaurelien

Aurelien Oudelet 2021-01-17 22:20:30 CET

CC: (none) => tmb

Comment 5 Aurelien Oudelet 2021-01-17 22:34:43 CET
This will be fixed soon.
Comment 6 Thomas Backlund 2021-01-18 01:14:51 CET
should be fixed in kernel-5.10.8-2.mga8 currently building
Comment 7 Aurelian R 2021-01-18 09:54:32 CET
Thanks Thomas! Looks good.
Closing this issue.
Regards

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.