Bug 25991 - Boot does not proceed to logon dialog box after update to kernel 5.4
Summary: Boot does not proceed to logon dialog box after update to kernel 5.4
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-29 16:26 CET by John Hardie
Modified: 2020-03-09 19:31 CET (History)
2 users (show)

See Also:
Source RPM: kernel-desktop-5.4.6-2.mga7
CVE:
Status comment:


Attachments
This shows where the startup hung (449.50 KB, image/png)
2019-12-29 16:26 CET, John Hardie
Details
Failure of startx (350.28 KB, image/png)
2020-03-07 18:20 CET, John Hardie
Details
Konsole window of /media/psf (814.64 KB, image/png)
2020-03-08 20:30 CET, John Hardie
Details
Log file of normal startup with good kernel (55.77 KB, text/plain)
2020-03-08 20:33 CET, John Hardie
Details
Log file page 1 bad kernel (392.52 KB, image/png)
2020-03-08 20:35 CET, John Hardie
Details
Log file page 2 bad kernel (373.72 KB, image/png)
2020-03-08 20:37 CET, John Hardie
Details
Log file page 3 bad kernel (398.61 KB, image/png)
2020-03-08 20:39 CET, John Hardie
Details
Log file page 4 bad kernel (415.96 KB, image/png)
2020-03-08 20:40 CET, John Hardie
Details
Log file page 5 bad kernel (380.17 KB, image/png)
2020-03-08 20:42 CET, John Hardie
Details
Log file page 6 bad kernel (374.86 KB, image/png)
2020-03-08 20:43 CET, John Hardie
Details

Description John Hardie 2019-12-29 16:26:22 CET
Created attachment 11438 [details]
This shows where the startup hung

The last two kernel updates have resulted in a boot which proceeds past the cauldron splash screen but does not get to the logon dialog box.

I am running Mageia 7 via Parallels Desktop 15 for Mac Pro Edition on a Mid 2012 13 inch MacBook Air.  I normally run Mageia 7 full screen on an extended desktop (a 24 inch Dell).

Kernels up to 5.3.13-2 all worked ok, but 5.4.2-1 and 5.4.6-2 do not, so I am continuing to use 5.3.13-2 until this issue is resolved.

The attached screen shot shows where the startup process stops.
Comment 1 Lewis Smith 2019-12-29 21:41:56 CET
Thank you for the report and the evidence. Sorry for the trouble, but you have the good sense to continue with an older kernel.

Assigning to the kernel group. I think there have been other 5.4 related bugs.

Summary: Boot does not proceed to logon dialog box => Boot does not proceed to logon dialog box after update to kernel 5.4
Assignee: bugsquad => kernel

Comment 2 John Hardie 2020-01-14 19:39:58 CET
Just downloaded kernel 5.4.10.1, same problem still exists.  Reverting to 5.3.13-2 for now.
Comment 3 John Hardie 2020-03-03 13:12:52 CET
None of the more recent kernel updates, including the latest 5.5.6-2, have resolved this issue for me, so I am continuing to stay with 5.3.13-2.  Have other users reported this problem?  Do I need to send you some log files, or do you have enough information from me already?
Comment 4 Shlomi Fish 2020-03-03 14:02:39 CET
Hi John!

Does text mode login (ctrl+alt+f2 and see https://unix.stackexchange.com/questions/164005/non-graphical-boot-with-systemd ), possibly followed by startx, works for you in the new kernels?

CC: (none) => shlomif

Comment 5 John Hardie 2020-03-07 18:20:35 CET
Created attachment 11536 [details]
Failure of startx
Comment 6 Shlomi Fish 2020-03-07 18:31:24 CET
Hi!

(In reply to John Hardie from comment #5)
> Created attachment 11536 [details]
> Failure of startx

So at least virtual console login is possible. can you share /var/log/Xorg.0.log ?
Comment 7 John Hardie 2020-03-07 19:00:39 CET
Because I am running virtual machines on my Mac, I am able to create multiple snapshots to ensure I keep good copies of Mageia 7 while I troubleshoot.  This means I don't have to worry when things don't work.

To make sure I understood your suggestions, I did a text mode login using kernel 5.3.13-2 followed by a startx.  This was successful and landed me in IceWM.  Rather than startx, is there another command, or perhaps a switch or parameter for startx, which would start a Plasma session instead from the command prompt?

Once I was satisfied that I knew what to do on order to initiate a text mode login correctly, followed by a window manager of some sort, I reverted to a normal graphical startup (Plasma) so that I could then update to the new kernel 5.5.6-2 files easily.  I then did a restart with a text mode login.  As you can see by my new attachment, the startx command was unable to connect to X server this time.

I don't know enough about the inner workings of the kernel to know when or where that missing file comes from or gets created, but presumably it existed under kernel 5.3.13-2.  Could it be this simple?  Be nice if it was.

Over to you.  Thanks for your assistance so far.
Comment 8 Shlomi Fish 2020-03-08 11:43:26 CET
(In reply to John Hardie from comment #7)
> Because I am running virtual machines on my Mac, I am able to create
> multiple snapshots to ensure I keep good copies of Mageia 7 while I
> troubleshoot.  This means I don't have to worry when things don't work.
> 
> To make sure I understood your suggestions, I did a text mode login using
> kernel 5.3.13-2 followed by a startx.  This was successful and landed me in
> IceWM.  Rather than startx, is there another command, or perhaps a switch or
> parameter for startx, which would start a Plasma session instead from the
> command prompt?
> 

Yes, you can use .Xclients or .xinitrc. See e.g: https://github.com/shlomif/shlomif-computer-settings/blob/master/shlomif-settings/x11/dot-Xclients .

> Once I was satisfied that I knew what to do on order to initiate a text mode
> login correctly, followed by a window manager of some sort, I reverted to a
> normal graphical startup (Plasma) so that I could then update to the new
> kernel 5.5.6-2 files easily.  I then did a restart with a text mode login. 
> As you can see by my new attachment, the startx command was unable to
> connect to X server this time.
> 
> I don't know enough about the inner workings of the kernel to know when or
> where that missing file comes from or gets created, but presumably it
> existed under kernel 5.3.13-2.  Could it be this simple?  Be nice if it was.
> 
> Over to you.  Thanks for your assistance so far.

Please share the file "/var/log/Xorg.0.log" after an unsuccessful startx in the problematic kernel.
Comment 9 John Hardie 2020-03-08 20:26:12 CET
When Mageia starts normally with the good kernel, I am able to copy files out to the Mac OS via /media/pfs (short for Parallels Shared Folders).  I'll attach a screenshot of a Konsole session which shows the folders I can see.  When the bad kernel prevents startx from completing correctly, I can't see these folders from the command line, therefore I have no way to copy files to where I can uses them.  Therefore, in order to be able to send you the Xorg.0.log file, I have had to resort to paging through it using "less" and doing a screen shot of each page.  There are 6 screen shots, and there is a bit of overlap on each page, but at least it's all there.  Just for comparison, I'll send you the log file as it appears with a proper start with the good kernel.  I hope this helps.
Comment 10 John Hardie 2020-03-08 20:30:27 CET
Created attachment 11537 [details]
Konsole window of /media/psf

Shows what I can normally see in /media/pfs
Comment 11 John Hardie 2020-03-08 20:33:06 CET
Created attachment 11538 [details]
Log file of normal startup with good kernel

Xorg.0.log with good kernel
Comment 12 John Hardie 2020-03-08 20:35:55 CET
Created attachment 11539 [details]
Log file page 1 bad kernel

Xorg.0.log page 1
Comment 13 John Hardie 2020-03-08 20:37:12 CET
Created attachment 11540 [details]
Log file page 2 bad kernel

Xorg.0.log page 2
Comment 14 John Hardie 2020-03-08 20:39:00 CET
Created attachment 11541 [details]
Log file page 3 bad kernel

Xorg.0.log page 3
Comment 15 John Hardie 2020-03-08 20:40:48 CET
Created attachment 11542 [details]
Log file page 4 bad kernel

Xorg.0.log page 4
Comment 16 John Hardie 2020-03-08 20:42:06 CET
Created attachment 11543 [details]
Log file page 5 bad kernel

Xorg.0.log page 5
Comment 17 John Hardie 2020-03-08 20:43:16 CET
Created attachment 11544 [details]
Log file page 6 bad kernel

Xorg.0.log page 6
Comment 18 Thomas Backlund 2020-03-08 20:50:59 CET
(In reply to John Hardie from comment #0)
> Created attachment 11438 [details]
> This shows where the startup hung
> 
> The last two kernel updates have resulted in a boot which proceeds past the
> cauldron splash screen but does not get to the logon dialog box.
> 
> I am running Mageia 7 via Parallels Desktop 15 for Mac Pro Edition on a Mid
> 2012 13 inch MacBook Air.  I normally run Mageia 7 full screen on an
> extended desktop (a 24 inch Dell).
> 
> Kernels up to 5.3.13-2 all worked ok, but 5.4.2-1 and 5.4.6-2 do not, so I
> am continuing to use 5.3.13-2 until this issue is resolved.
> 

Sorry, but this is not a Mageia bug as such.

As you are using Parallels Desktop 15, you need to consult their support or forums about support for newer linux kernels. As you noted in comment 9 the shared folders does not work either with the newer kernels, confirming the need for fixes from Parallels.


There is nothing we can do here.

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

Comment 19 Thomas Backlund 2020-03-08 21:00:48 CET
A quick googling found this possible fix:
https://kb.parallels.com/en/124743
Comment 20 Thomas Backlund 2020-03-08 21:10:57 CET
And according to this:
https://forum.parallels.com/threads/kernel-5-5-5-breaks-parallels-tools-15-1-2-47123.349299/

"5.4.20 should build fine with the last update of Parallels (15.1.2.47123)."

but no support for 5.5 series yet... unless you find an un-official patch somewhere..
Comment 21 Shlomi Fish 2020-03-09 09:30:04 CET
(In reply to John Hardie from comment #17)
> Created attachment 11544 [details]
> Log file page 6 bad kernel
> 
> Xorg.0.log page 6

Hi John!

Just for the record, it should be possible to stitch together image files vertically using GraphicsMagick or similar: http://www.graphicsmagick.org/ .
Comment 22 John Hardie 2020-03-09 19:31:20 CET
Hi All!
Thanks for all your help.  I might give that possible quick fix a try, it's pretty simple, and if it doesn't help I can change it back.  But certainly from the forum discussion it looks like Parallels is having issues with the kernel updates, so I'll just stick with 5.3.13-2 until they sort it out.

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