Bug 23204 - nomodeset kernel option has to be manually removed after upgrade
Summary: nomodeset kernel option has to be manually removed after upgrade
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 21340
  Show dependency treegraph
 
Reported: 2018-06-19 14:52 CEST by Dave Hodgins
Modified: 2018-07-02 22:25 CEST (History)
2 users (show)

See Also:
Source RPM: perl-URPM-5.12.1-1.mga6.src.rpm
CVE:
Status comment:


Attachments
journalctl -b output (669.99 KB, text/plain)
2018-07-01 01:01 CEST, Dave Hodgins
Details
Xorg.0.log contents (4.64 KB, text/plain)
2018-07-01 01:02 CEST, Dave Hodgins
Details

Description Dave Hodgins 2018-06-19 14:52:56 CEST
After upgrading a virtualbox guest from Mageia 5 to 6 using mgaapplet, the
graphics do not work until the kernel option nokmsboot has been added manually.

Ideally upgrading should detect whether the Mageia 6 system will or will not
require the nokmsboot option, and alter the kernel parameters accordingly.

If we can't do this, or if we need a decision table for users to use to indicate
when the option is needed, for the wiki and errata.
Dave Hodgins 2018-06-19 14:54:47 CEST

CC: (none) => mageia, tmb
Assignee: bugsquad => thierry.vignaud
Blocks: (none) => 21340

Comment 1 Martin Whitaker 2018-06-25 09:39:27 CEST
As mentioned on qa-discuss, it's the opposite for me - no problems without nokmsboot, kernel oops or complete hang with nokmsboot.
Comment 2 Martin Whitaker 2018-06-29 09:39:33 CEST
From my poll on qa-discuss, nobody else is seeing this bug. Dave, could you attach the journal and Xorg.0.log from a boot without the nokmsboot option, so we can see where it's failing.
Comment 3 Dave Hodgins 2018-06-30 22:59:22 CEST
Fixed the bug summary.

In working Mageia 5 vb installs I have the nomodeset kernel option.

After upgrading to Mageia 6, the option has to be manually removed or X fails
to start.

Sorry for the confusion I caused mixing up the options.

Summary: nokmsboot kernel option has to be added manually after upgrade => nomodeset kernel option has to be manually removed after upgrade

Comment 4 Dave Hodgins 2018-06-30 23:17:09 CEST
Now I'm really confused. My working x86_64 Mageia 5 vb install does not have
the nomodeset option. It's only on the i586 install, which is what I've mostly
been using for my upgrade tests. Re-testing upgrade of the x86_64 install shortly.
Comment 5 Martin Whitaker 2018-07-01 00:38:24 CEST
(In reply to Dave Hodgins from comment #3)
> Fixed the bug summary.
> 
> In working Mageia 5 vb installs I have the nomodeset kernel option.
> 
> After upgrading to Mageia 6, the option has to be manually removed or X fails
> to start.

OK, that matches my experience.

This can be fixed by running '/sbin/display_driver_helper --setup-boot-kms'. We could make mgaapplet-upgrade-helper do this automatically after completing the upgrade.
Comment 6 Dave Hodgins 2018-07-01 01:01:41 CEST
Created attachment 10264 [details]
journalctl -b output

After x86_64 upgrade test, X is failing to start.
Tried with and without nokmsboot, with and without nomodeset.
Comment 7 Dave Hodgins 2018-07-01 01:02:34 CEST
Created attachment 10265 [details]
Xorg.0.log contents
Comment 8 Dave Hodgins 2018-07-01 01:24:40 CEST
Not sure why yet, but on this latest x86_64 m5 to m6 upgrade, the vboxvideo
module is not being loaded at boot. After running "modprobe -v vboxvideo", startx
is working.
Comment 9 Dave Hodgins 2018-07-01 01:32:01 CEST
Think I've found the cause of that problem.
# ll /etc/modprobe.d/vboxvideo.conf 
-rw-r--r-- 1 root root 20 Oct 18  2016 /etc/modprobe.d/vboxvideo.conf
[root@x5v module]# cat /etc/modprobe.d/vboxvideo.conf 
blacklist vboxvideo

Why that was added, and how it was working in m5, I have no idea. Don't
remember adding it, but obviously at some point I did.

Removing that file fixes the x86_64 x11 problem.
Comment 10 Dave Hodgins 2018-07-01 01:45:38 CEST
Found where I added it ...
https://bugs.mageia.org/show_bug.cgi?id=19213#c66
When I removed it during that testing, must have only done so in a snapshot,
and forgotten to redo it after reverting the snapshot.
Comment 11 Dave Hodgins 2018-07-02 22:25:33 CEST
On first boot after upgrade, get the message a reboot is needed due to
a display driver change.

Would be nicer if the nomodeset kernel option was removed during the upgrade
rather then on the first boot, but this works. Yeah! :-)

Closing as fixed. Thanks everyone.

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


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