LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-16-2017, 11:25 AM   #1
philygee
LQ Newbie
 
Registered: Oct 2017
Posts: 2

Rep: Reputation: Disabled
Question System reboots instead of resumes after suspend


I've been having a problem with resuming my system from sleep/suspend, and can't seem to find the answer.
The computer seems to go to sleep properly. I press the power button or close the lid, and it enters sleep mode (at least, I believe it does because the power LED flashes at regular intervals). When I attempt to resume the computer, it goes through the same start-up process that it goes through when it starts up from off. After I log in, it appears that the computer has actually rebooted and not resumed a previous session (all applications are closed down, for instance).
How can I troubleshoot this?
I'm running Linux fedora 4.13.5-200.fc26.x86_64 on an older Sony Vaio laptop (VGN265D). Any help would be appreciated!
 
Old 10-17-2017, 09:49 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
There is/was a forum on linux-laptop.net where all these laptop-specific tweaks were argued over, and kernel patches were fought over in past times. Those are configurable options in the linux kernel today, and the main advice I would pass on is to build your own kernel.

I see you're on Fedora; To put it kindly, you're a crash tester for Red Hat using Alpha/Beta software. Best leave their kernel there, and add yours in grub/lilo/whatever they use now. Don't compile their source if you have the disk space to add a pure one. Red Hat distros have over a Meg of patches applied to the source.
IIRC, there are specific options for some Sony, Thinkpad and other laptops in the acpi stuff. There are also boot options and other quirks in odd places for exotic stuff.
 
1 members found this post helpful.
Old 10-17-2017, 10:43 AM   #3
philygee
LQ Newbie
 
Registered: Oct 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. I'll have a look over on linux-laptop and see what I can find. I'm a bit of a Linux newb so I don't know if I'm quite ready to build my own kernel just yet...(if you had any useful online literature on the subject, I'd be happy to read it though).

Quote:
Originally Posted by business_kid View Post
There is/was a forum on linux-laptop.net where all these laptop-specific tweaks were argued over, and kernel patches were fought over in past times. Those are configurable options in the linux kernel today, and the main advice I would pass on is to build your own kernel.

I see you're on Fedora; To put it kindly, you're a crash tester for Red Hat using Alpha/Beta software. Best leave their kernel there, and add yours in grub/lilo/whatever they use now. Don't compile their source if you have the disk space to add a pure one. Red Hat distros have over a Meg of patches applied to the source.
IIRC, there are specific options for some Sony, Thinkpad and other laptops in the acpi stuff. There are also boot options and other quirks in odd places for exotic stuff.
 
Old 10-18-2017, 03:32 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
It's not as active now but there should be searchable forums and maybe old mailing list archives. There is also model-specific stuff.
 
Old 10-18-2017, 04:42 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
As a constant Fedora user, I am continually amazed at this "bleeding edge" reference.
I have had to request options be turned on in their kernels - the devs can be quite conservative.

@philygee, what did you change to activate the suspend option(s) ?. Also pls post the output of this
Code:
sed -nr '/Login/,$ p' /etc/systemd/logind.conf
 
Old 10-19-2017, 03:51 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,373

Rep: Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336Reputation: 2336
@syg00: I've loaded most existing distros at some time or another, and quite a few that no longer exist. Fedora is the only system where you can upgrade to a non functional kernel in my experience.
 
Old 10-19-2017, 06:31 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
The only time I've had broken kernels is with rawhide - and the breakages are pretty infrequent all things considered. Standard Fedora has been fine - even avoided a Radeon regression that annoyed me in rawhide kernels with 4.13
And I guess I'm one of those that accept the possibility - if I can help nut out a fix, we all win.
 
  


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
Suspend to disk reboots instead of hibernating - Jan. 13 update, 4.4.0 kernel (32 bit only) dr.s Slackware 2 01-16-2016 11:44 PM
System stuck during boot for about a minute, then resumes normally. iro_number1 Gentoo 3 08-24-2013 11:51 PM
[SOLVED] Suspend - reboots on resume Sli Slackware 3 11-04-2012 10:26 AM
system freezes then resumes after fglrx and kernel update cougar618 Fedora 6 09-26-2008 12:37 AM
Acer 4315: suspend to ram reboots on recover. Simon Bridge Linux - Laptop and Netbook 4 05-05-2008 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:17 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