Description of problem: After the Arch patch for the kernels 5.6.x, the nvidia 430.64 kernel modules fails to build in all kernel series where a function do_gettimeofday() is still existing. It's a case for instance of kernel 4.19.x, which one might have still installed or using from various sources, including upstream. I completed the patch, borrowing the code from nvidia 440 series, that fixes this problem.
Created attachment 11637 [details] Completion of initial 5.6 patch for fixing building in older kernels
Created attachment 11638 [details] Completion of 5.6 patch for fixing building in older kernels
Created attachment 11639 [details] diff for current nvidia-current.spec file
Attachment 11637 is obsolete: 0 => 1
Attachment 11638 description: Completion of 5.6 patch for fixing in older kernels => Completion of 5.6 patch for fixing building in older kernels
Thank you for the report and your contribution. I think this needs tmb's opinion, so assigning to the kernel/drivers group.
Assignee: bugsquad => kernel
(In reply to Giuseppe Ghibò from comment #3) > Created attachment 11639 [details] > diff for current nvidia-current.spec file Hello, I have a nVidia geforce gtx 950m component. I explained my issue here https://bugs.mageia.org/show_bug.cgi?id=24436#c48 Does the patch you did help me? If so, can you please guide me which steps I have to do? Thank you in advance!
CC: (none) => meinsta
Indeed the original bug was against kernel 4.20, that's why I though you could be hit and have the kernel modules not built correctly, but you said you were using newer kernel 5.6.8, so it shouldn't be affected by this bug.
(In reply to Giuseppe Ghibò from comment #6) > Indeed the original bug was against kernel 4.20, that's why I though you > could be hit and have the kernel modules not built correctly, but you said > you were using newer kernel 5.6.8, so it shouldn't be affected by this bug. Ok. Thank you! I actually login as root, but I still cannot login as my usual user. I think that I should uninstall the nVidia driver from the usual user, maybe from the command line but I don't know which command uninstalls the nVidia driver. As root I gave those commands: #urpme -a nvidia #urpme --auto-orphans #darcut -f I reboot the computer but I still cannot login as the usual user. Does anyone have a sugestion, an idea? Thank you in advance!
As we no longer ship the Nvidia 430.xx driver series in MGA8 and we already reached kernel 5.15/.16/.17/.18 series... Closing as FIXED.
Resolution: (none) => FIXEDStatus: NEW => RESOLVED