Author Topic: Suspend/resume  (Read 1396 times)

Offline mag

  • Full Member
  • ***
  • Posts: 68
Suspend/resume
« on: November 21, 2011, 11:02:05 AM »
My system won't suspend (under Openbox) or sleep (under KDE) and then successfully resume.

It suspends/sleeps apparently OK.

On resume the HDD starts to spin, but the screen stays blank and the CD drive starts up and and goes into and endless loop of initial 'clunks'.

No other distro that I've tried will suspend/resume successfully either on this machine (though the symptoms differ).

The machine is an e-machines E4062. About 6 years old.

1.5Gb RAM, twin Pentium D processors. ATI RC410 (Radeon Xpress 200) video card.

Any pointers as to where I might start looking to investigate further?

Thanks

Offline The Chief

  • Hero Member
  • *****
  • Posts: 2339
Re: Suspend/resume
« Reply #1 on: November 21, 2011, 12:00:10 PM »
Do you know if it ever did it with Windows?  It  might be a hardware problem.  Not as in failure, but as in design, it is pretty old.

Retired Senior Chief, Retired Software Engineer, Active GrandPa

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #2 on: November 21, 2011, 12:31:59 PM »
It ran xp without problems on suspend or hibernate.

I agree it might well be hardware compatibility with linux though - given that it won't suspend/resume with linux mint gnome or LXDE either.

Offline pags

  • Hero Member
  • *****
  • Posts: 2602
  • Keep it clean.
Re: Suspend/resume
« Reply #3 on: November 21, 2011, 01:38:11 PM »
How big is your swap partition?

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #4 on: November 21, 2011, 01:49:25 PM »
It's 3.9Gig (I just let draklive installer set it's own swap size - PCLOS has the entire 120Gig HDD).

Offline Roc4fun

  • Hero Member
  • *****
  • Posts: 619
  • The life so short, the craft so long to learn
Re: Suspend/resume
« Reply #5 on: November 22, 2011, 05:20:20 AM »
Hi mag,  I've had differing success with different kernels.  Some kernels, suspend from the menu works fine, others not so much.

I've always been able to get it to work with s2ram - it's in the repo.

Have a look at this...

http://tr.opensuse.org/S2ram

It gives some examples of switches that might help your hardware when it resumes.

If one works for you, you can create a launcher for your taskbar.

HTH,

Dave

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #6 on: November 22, 2011, 11:03:58 AM »
Thanks for the info - it looks very interesting.

My novice's exploration of Linuxland has been diverted down another path at present - but I'll get back to this.

One question that immediately occurs to me - should I uninstall suspend to install s2ram?

(Edit - I think you can probably ignore that question - I see that PCLOS Openbox seems to have both installed already)
« Last Edit: November 22, 2011, 01:29:42 PM by mag »

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #7 on: May 04, 2012, 05:52:22 AM »
I've /bin/bash-ed my way through all the s2ram options in the opensuse link - but sadly none have resulted in a successful resume. :(

I'm now using LXDE. Another change to my system - I have installed a new video card (nvidia GeForce 8400GS) to solve a problem of occasional boot failures (which it did).

The resume behaviour is now different. It now all sounds much more hopeful (no CD drive clunking), but all I get is a static cursor at the top left of the screen.

This is the same display I get briefly before the nvidia logo appears during normal boot - so I'm wondering if the break point is perhaps trying to restart the video card?

If anyone has any other suggestions on how to get suspend/resume working I'd be pleased to hear them.

Thanks

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #8 on: August 04, 2012, 06:46:16 AM »
Just in case it's any use to anyone else having this problem, the solution for my machine seems to be to use 'noapic' in kernel boot options.
« Last Edit: August 04, 2012, 08:36:58 AM by mag »

Offline T6

  • Super Villain
  • ******
  • Posts: 19051
  • xmas is comming!
Re: Suspend/resume
« Reply #9 on: August 04, 2012, 08:02:07 AM »
What kernel are you using?
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #10 on: August 04, 2012, 08:29:45 AM »
I had the problem using 2.6.38.8-pclos3.bfs.

I tried the fix out with a PCLOS LXDE LiveCD running the same kernel.

Without noapic it won't resume from suspension. With noapic it will.

This machine actually has xubun2 12.04LTS installed now -so I can't try it out on a PCLOS installed OS at present, or on the more recent kernels - I'll get round to that sometime in future.
« Last Edit: August 04, 2012, 08:31:32 AM by mag »

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #11 on: August 31, 2012, 01:51:38 PM »
PCLOS KDE 4.8.3  (3.2.18 kernel) now installed on HDD, and suspend/resume is working with noapic in boot line.

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3881
Re: Suspend/resume
« Reply #12 on: August 31, 2012, 02:10:35 PM »
Congratulations! I'm glad you found a solution.

Galen

Offline mag

  • Full Member
  • ***
  • Posts: 68
Re: Suspend/resume
« Reply #13 on: August 31, 2012, 02:23:43 PM »
Thanks - and it's only taken me 9 months! :-[