Bug 22528 - i586 4.14 series desktop kernel won't resume from a suspend
Summary: i586 4.14 series desktop kernel won't resume from a suspend
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
: 22356 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-05 22:39 CET by Thomas Andrews
Modified: 2018-03-15 19:53 CET (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
contents of /var/log/dmesg from the desktop kernel session (57.35 KB, text/plain)
2018-02-05 23:03 CET, Thomas Andrews
Details
contents of /var/log/dmesg from the server kernel session (53.88 KB, text/plain)
2018-02-05 23:04 CET, Thomas Andrews
Details
journal from the desktop session that failed to resume (172.56 KB, text/plain)
2018-02-05 23:06 CET, Thomas Andrews
Details
journal from the server session that resumed successfully. (204.34 KB, text/plain)
2018-02-05 23:08 CET, Thomas Andrews
Details
output of lspcidrake -v (4.41 KB, text/plain)
2018-02-06 05:10 CET, Thomas Andrews
Details
Output of lspcidrake for the AMD-based machine that resumes properly (5.79 KB, text/plain)
2018-02-07 01:43 CET, Thomas Andrews
Details
output of lspcidrake for the 2nd Intel machine that doesn't resume (4.60 KB, text/plain)
2018-02-07 01:44 CET, Thomas Andrews
Details

Description Thomas Andrews 2018-02-05 22:39:21 CET
Description of problem:
If you suspend a system using a 32-bit desktop kernel from the 4.14 series, as when closing the lid on a laptop, it will not resume, but restarts. This was first reported with the 4.14.10 i586 desktop kernel, and has continued with all 4.14 series test kernels since, including the current 4.14.16-1 kernel.

The i586 server kernel is not affected; nor are any of the x86-64 kernels. 

I am seeing this behavior on an HP Probook 6550b laptop (i3 processor, 8GB RAM, integrated Intel graphics, Intel wifi), but others have reported seeing it on different hardware.


How reproducible: Always


Steps to Reproduce:
1.Create an i586 system with a desktop kernel
2.Suspend the system, as in closing the lid on a laptop
3.Attempt to resume the system, as in opening the lid on a laptop
Comment 1 Thomas Andrews 2018-02-05 23:01:42 CET
My Probook has both kernels installed on the same i586 install. I just did a test where I booted into the 4.14.16-1 desktop kernel, closed the lid to suspend it, then attempted to resume by opening the lid again. (On this laptop, you also have to press the power button to actually begin the resume.)

The laptop restarted, instead of resuming, and I booted into the server kernel. Then I copied the contents of /var/log/dmesg.old (from the desktop session that failed to resume) and /var/log/dmesg (from the server session) to a flash drive.

I then put the journal from the session that failed to resume into a file I named deskjour.txt. Next, I suspended by closing the lid, and resumed, successfully, and collected the contents of that session's journal into a file I named servjour.txt. 

I will be attaching copies of all those files here.

I forgot to mention in the original report - When I boot into the desktop kernel I see a highly unusual amount of verbiage on the screen, verbiage that passes by too fast to read most of it. I do not see this when booting into the server kernel.
Comment 2 Thomas Andrews 2018-02-05 23:03:35 CET
Created attachment 9946 [details]
contents of /var/log/dmesg from the desktop kernel session
Comment 3 Thomas Andrews 2018-02-05 23:04:41 CET
Created attachment 9947 [details]
contents of /var/log/dmesg from the server kernel session
Comment 4 Thomas Andrews 2018-02-05 23:06:10 CET
Created attachment 9948 [details]
journal from the desktop session that failed to resume
Comment 5 Thomas Andrews 2018-02-05 23:08:05 CET
Created attachment 9949 [details]
journal from the server session that resumed successfully.
Comment 6 katnatek 2018-02-06 03:39:35 CET
this soun like the bug i report https://bugs.mageia.org/show_bug.cgi?id=22356

CC: (none) => j.alberto.vc

Comment 7 Thomas Andrews 2018-02-06 04:43:03 CET
(In reply to katnatek from comment #6)
> this soun like the bug i report https://bugs.mageia.org/show_bug.cgi?id=22356

I believe you are right. It certainly sounds like the same one. I searched before reporting mine, but didn't use the search term I needed to find it.

Marja, when you see this, I believe one of these needs to be marked as a duplicate, but I don't know which would be better. Please advise as to where we should go from here.
Comment 8 katnatek 2018-02-06 05:06:22 CET
i think this have a better title and have better explanation of issue.
i don't matter to follow this bug from now.
Comment 9 Thomas Andrews 2018-02-06 05:10:12 CET
Created attachment 9952 [details]
output of lspcidrake -v
Comment 10 Thomas Backlund 2018-02-06 08:31:07 CET
Does it happend with the desktop586 kernel too ?

CC: (none) => tmb

Comment 11 Len Lawrence 2018-02-06 10:41:02 CET
And is this a Plasma issue only?  I have not seen it with Mate.

CC: (none) => tarazed25

Comment 12 katnatek 2018-02-06 15:04:37 CET
(In reply to Thomas Backlund from comment #10)
> Does it happend with the desktop586 kernel too ?

I you ask to me, the answer is yes
I try with the server flavor and don't have the issue
Comment 13 katnatek 2018-02-06 15:08:52 CET
(In reply to Len Lawrence from comment #11)
> And is this a Plasma issue only?  I have not seen it with Mate.

I can't be sure but i only have plasma/sddm in the laptop, also Thomas points that don't is present on x86_64 desktop kernel
Comment 14 katnatek 2018-02-06 15:38:45 CET
(In reply to Thomas Backlund from comment #10)
> Does it happend with the desktop586 kernel too ?

sorry i don't understand the question the first time
i make the test with deskop586 and the issue is present
Comment 15 Thomas Andrews 2018-02-06 16:19:27 CET
(In reply to Len Lawrence from comment #11)
> And is this a Plasma issue only?  I have not seen it with Mate.

I will see if I can check that out, but it may take a while. I have only the one laptop, and it has but two installs on it - one 64-bit Plasma that I use for production and a bit of testing, and the 32-bit Plasma install used almost exclusively for testing. 

At present I have but one more 32-bit Mageia 6 install, Xfce on very different hardware - an AMD/Nvidia340-based desktop. That install has always had just the server kernel on it, installed by the Classical iso. I can try installing the desktop kernel and see if I can figure out how to make it suspend. (All of my desktops are configured to stay awake.)

But that brings up another thought: Could it be an Intel issue? Something to do with the latest microcodes, perhaps? I don't recall anybody with AMD-based hardware mentioning being affected. Len, is your hardware AMD or Intel?
Comment 16 Thomas Andrews 2018-02-06 21:33:11 CET
(In reply to Len Lawrence from comment #11)
> And is this a Plasma issue only?  I have not seen it with Mate.

I finally got the chance to check it out on my existing 32-bit Xfce system, and I'm not seeing it there.

But, that system is AMD/nvidia340. Next step is to install Mageia 6 Xfce on an unused partition of my Intel-based production machine, and see what happens there. Again, that'll take a while...
Comment 17 Len Lawrence 2018-02-07 00:51:06 CET
@tj, comment 15; everything here is Intel.
Comment 18 Thomas Andrews 2018-02-07 01:41:16 CET
(In reply to Len Lawrence from comment #17)
> @tj, comment 15; everything here is Intel.

Interesting. After installing Xfce on this Intel-based machine from the 32-bit Classical iso, and getting updates, the server kernel would suspend and resume as it should. But after installing and booting into the desktop kernel, it restarts instead of resuming.

So, it's not a Plasma thing, and apparently not an Intel thing. But, I still think it acts like a hardware-dependent thing.

Curiouser and curiouser.
Comment 19 Thomas Andrews 2018-02-07 01:43:45 CET
Created attachment 9961 [details]
Output of lspcidrake for the AMD-based machine that resumes properly
Comment 20 Thomas Andrews 2018-02-07 01:44:49 CET
Created attachment 9962 [details]
output of lspcidrake for the 2nd Intel machine that doesn't resume
Comment 21 katnatek 2018-02-07 03:52:42 CET
(In reply to Thomas Andrews from comment #18)
> Interesting. After installing Xfce on this Intel-based machine from the
> 32-bit Classical iso, and getting updates, the server kernel would suspend
> and resume as it should. But after installing and booting into the desktop
> kernel, it restarts instead of resuming.
> 
> So, it's not a Plasma thing, and apparently not an Intel thing. But, I still
> think it acts like a hardware-dependent thing.
> 
> Curiouser and curiouser.

Just to discard other thing, what dm use in the xfce installation?

I think maybe is a combination of hardware+sddm
Comment 22 Thomas Andrews 2018-02-07 04:40:24 CET
Both of the Xfce installs, the one that works and the one that doesn't, are using the LightDM, as installed by the Classical iso.
Marja Van Waes 2018-02-07 11:12:03 CET

Assignee: bugsquad => kernel
CC: (none) => marja11

Comment 23 katnatek 2018-02-08 02:23:21 CET
(In reply to Thomas Andrews from comment #22)
> Both of the Xfce installs, the one that works and the one that doesn't, are
> using the LightDM, as installed by the Classical iso.

Another issue related, with the kernel-server in the Plasma/SDDM laptop i lost the cursor after suspend/resume

I have to kill the graphic session with Ctrl+Alt*Backspace
Comment 24 Thomas Andrews 2018-02-08 03:09:54 CET
I haven't seen that one yet, even after ten or twelve tries just a few minutes ago. With my laptop, the cursor shows first.
Comment 25 Thomas Andrews 2018-02-08 22:35:26 CET
Still valid for the 4.14.18 kernels.
Comment 26 katnatek 2018-02-13 22:19:19 CET
*** Bug 22356 has been marked as a duplicate of this bug. ***
Comment 27 Thomas Andrews 2018-02-19 22:26:00 CET
Still valid with the 4.14.20 kernels. No changes, including after updating various firmware packages.
Comment 28 Mauricio Andrés Bustamante Viveros 2018-03-15 19:08:04 CET
Hi QA team

Some one said in the 4.14.25 update request that the suspend option is working again

Can test for this again using that kernel to close this issue??
Thanks

CC: (none) => neoser10

Comment 29 Thomas Andrews 2018-03-15 19:53:41 CET
I was just coming here to do that.

The issue has been resolved for me on two different sets of hardware, and another user confirmed it in the 4.14.25 update request. That's good enough for me.

Marking this as resolved, as of kernel 4.14.25. Of course, should it re-appear with a later kernel, it can be re-opened.

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


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