Bug 31325

Summary: dkms-nvidia390: uninstall trigger does not remove 'nokmsboot' kernel parameter
Product: Mageia Reporter: Elmar Stellnberger <estellnb>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: nvidia390-390.157-1.mga9.nonfree.src.rpm CVE:
Status comment:
Attachments: /etc/default/grub as prepared by dkms-nvidia
/etc/default/grub as before

Description Elmar Stellnberger 2022-12-26 18:37:17 CET
After installing and uninstalling dkms-nvidia390 I had to remove the 'nokmsboot' kernel parameter manually, which had been inserted on install.
> mv /etc/default/grub.old /etc/default/grub
> mv /boot/grub2/grub.cfg.old /boot/grub2/grub.cfg
or: grub-mkconfig >/boot/grub2/grub.cfg

  If you don't do that nouveau is not loaded and if you load it manually the X-server still won't start.
Comment 1 Elmar Stellnberger 2022-12-26 18:38:37 CET
Created attachment 13596 [details]
/etc/default/grub as prepared by dkms-nvidia
Comment 2 Elmar Stellnberger 2022-12-26 18:39:26 CET
Created attachment 13597 [details]
/etc/default/grub as before
Comment 3 Lewis Smith 2022-12-26 20:45:26 CET
Thank you for the report. It is not trivial:
> I had to remove the 'nokmsboot' kernel parameter manually,
> or: # grub-mkconfig > /boot/grub2/grub.cfg
> If you don't do that nouveau is not loaded and
> if you load it manually the X-server still won't start
Assigning to kernel/drivers.

Assignee: bugsquad => kernel

Comment 4 Thomas Backlund 2022-12-26 20:47:32 CET
Drivers dont change kernel options, drakx does...

If you had used drakx to change from proprietary driver to free one , it would have remomved  the nokmsboot

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