LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-16-2016, 11:28 AM   #1
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Rep: Reputation: 156Reputation: 156
TTY freeze after hibernation (4.4.x kernel)


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.
Attached Thumbnails
Click image for larger version

Name:	TTY1.jpg
Views:	68
Size:	103.7 KB
ID:	21539  
 
Old 04-16-2016, 04:44 PM   #2
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
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
 
1 members found this post helpful.
Old 04-19-2016, 10:06 PM   #3
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Original Poster
Rep: Reputation: 156Reputation: 156
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.
 
Old 04-24-2016, 10:23 AM   #4
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Original Poster
Rep: Reputation: 156Reputation: 156
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.
 
Old 04-25-2016, 05:42 PM   #5
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 178

Rep: Reputation: 62
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.

Last edited by bl0tt0; 04-25-2016 at 05:44 PM.
 
1 members found this post helpful.
Old 05-10-2016, 05:38 PM   #6
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Original Poster
Rep: Reputation: 156Reputation: 156
Quote:
Originally Posted by bl0tt0 View Post
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.
 
Old 07-01-2016, 04:42 PM   #7
dr.s
Member
 
Registered: Feb 2010
Distribution: Slackware64-current
Posts: 339

Original Poster
Rep: Reputation: 156Reputation: 156
Marking as solved, no issues with 4.1.x, 4.5.x and 4.6.x kernels.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any kernel hack to perform Hibernation in ubuntu 8.10 vibinlakshman Linux - Software 1 12-12-2008 08:46 PM
Freeze when switching to tty gd2shoe Linux - General 1 08-18-2007 09:01 PM
Nvidia and Xorg freeze when switching tty/X molgrum Linux - General 2 05-10-2005 01:52 PM
Freeze on hibernation about every 4th try elempoimen Linux - Hardware 3 12-09-2004 09:56 AM
DISCUSSION: Hibernation with SuSE 9.0, Kernel 2.6.3 and Bootsplash hyperlink1uk LinuxAnswers Discussion 0 06-07-2004 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration