Bug 31325 - dkms-nvidia390: uninstall trigger does not remove 'nokmsboot' kernel parameter
Summary: dkms-nvidia390: uninstall trigger does not remove 'nokmsboot' kernel parameter
Status: RESOLVED INVALID
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: 2022-12-26 18:37 CET by Elmar Stellnberger
Modified: 2022-12-26 20:47 CET (History)
0 users

See Also:
Source RPM: nvidia390-390.157-1.mga9.nonfree.src.rpm
CVE:
Status comment:


Attachments
/etc/default/grub as prepared by dkms-nvidia (439 bytes, text/plain)
2022-12-26 18:38 CET, Elmar Stellnberger
Details
/etc/default/grub as before (429 bytes, text/plain)
2022-12-26 18:39 CET, Elmar Stellnberger
Details

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


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