[SOLVED] TTY freeze after hibernation (4.4.x kernel)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Machine is running Slackware64 with the latest updates but the problem started occurring intermittently ever since moving to 4.4.x (4.1.x had no issues).
Suspend to disk (hibernate) seems to work well, but upon resume all the TTY's are frozen, only the X session (using KDE here) is back up. Logging out of X or trying to change TTY's (via ctrl-alt-F1 through F6) leads to a frozen TTY showing the resume lines. Keyboard remains active and responds to crtl-alt-del etc.
Suspend to RAM works well on the other hand and has no issues.
Location: The Glorious People's Republic of Austin
Posts: 178
Rep:
I can confirm at least a similar issue on my thinkpad T430. In my case, it doesn't appear to be directly related to suspend/resume, but something with the change in how the control of the screen gets handed off between the X server and kernel when switching between TTYs. The only other thing I have noticed is that the issue first arose when I switched this system from booting from Legacy BIOS to UEFI.
I haven't yet found a workable solution, as there are multiple posts on other forums suggesting turning off the gfxterm in grub, checking checking power-saving options in WMs, etc.
Sorry I don't have a fix, but I did want to confirm that you aren't the only one running into this on the 4.4 kernel. The 4.3 kernel works as expected, however.
***Edit***
Interestingly enough, the issue doesn't appear to occur on a 4.5 kernel built from the same config, so it appears to be a bug specific to the 4.4 branch.
Last edited by bl0tt0; 04-17-2016 at 02:27 PM.
Reason: New information came to light
Thanks for your tips. Haven't tried the 4.5.x kernel but interestingly the TTY freeze stopped occurring as of the Apr. 18 updates to Slackware-current, I could not reproduce it at all so far so I'll mark this thread as solved (for now).
By the way the laptop that was affected has UEFI boot, my other older machine uses BIOS boot and never had that problem in the first place.
Marking as unsolved, problem re-occurred today, not sure if due to the Apr. 19th or Apr. 24th updates. Also hard to tell if it had been solved in the first place after the Apr. 18th updates, although it stopped occurring during those few days in between.
Location: The Glorious People's Republic of Austin
Posts: 178
Rep:
Seriously, try the 4.5 series of kernel. That's been the only way that I've managed to get TTY switching working as expected with post 4.3 kernels. you can just copy the config from /proc/config.gz and follow through with the defaults on make oldconfig, and it seems to work fine. I dunno what got screwed up in the 4.4 series, but I'm a little surprised that more people haven't seen this issue.
***Correction***
originally posted most recent kernels. This problem seems unique to 4.4, as both 4.3 and 4.5 run as expected.
Seriously, try the 4.5 series of kernel. That's been the only way that I've managed to get TTY switching working as expected with post 4.3 kernels. you can just copy the config from /proc/config.gz and follow through with the defaults on make oldconfig, and it seems to work fine. I dunno what got screwed up in the 4.4 series, but I'm a little surprised that more people haven't seen this issue.
***Correction***
originally posted most recent kernels. This problem seems unique to 4.4, as both 4.3 and 4.5 run as expected.
Agreed the 4.4.x hasn't been good on my laptop, 4.5.3 has so far been running without this issue.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.