Page 1 of 1

[Workaround] Kernel 3.14.27 breaks Nvidia driver (again!)

PostPosted: Jan 8th, '15, 13:00
by mla
Disappointingly, the upgrade to kernel 3.14.27 again broke Nvidia driver for machines with VirtualBox installed. Surely there must be a way to force an automatic rebuild of the driver!

Fortunately, the workaround remains the same as was the case with 3.12.21. Boot the machine and wait until the boot hangs. Open a tty console (e.g. Ctrl-Alt-F2) and login as root and issue these commands:

Code: Select all
urpme dkms-nvidia-current
urpmi dkms-nvidia-current
reboot


The second of these commands may take a while, because it will be rebuilding the driver.

Re: [Workaround] Kernel 3.14.27 breaks Nvidia driver (again!

PostPosted: Jan 20th, '15, 19:25
by claire
Just to follow up on this with some information, the next kernel update for Mageia 4 should prevent any recurrence.

The issues were seemingly random, some were affected and others not. No issues arose during QA testing. They were being caused by the way rpm installs packages in transactions, usually 8 packages at a time. Occasionally that could lead to the pre-built kmod kernel module package being installed out of sequence, causing issues for depmod.

The call to depmod has now been forced to the end of the rpm transaction, so all requirements should be installed by the time it is called.

Re: [Workaround] Kernel 3.14.27 breaks Nvidia driver (again!

PostPosted: Jan 20th, '15, 20:12
by mla
That's good news! Thank you.