LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 09-12-2006, 01:28 PM   #1
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Rep: Reputation: 31
Software suspend in 2.6.17


Hello everyone,

I downloaded the 2.6.17-2 kernel source with Debian patches and enabled Software Suspend when I built it. My initrd has been updated to use the feature. I have the hibernate and uswsusp packages installed. Unfortunately, s2disk does not properly invoke the suspend feature--it fails to unload my nvidia module, and even when I do this manually (i.e. from the console), the screen blinks with some extra text and I get "s2disk failed." Has anyone had any experience with the kernel level software suspend feature? How would I get it working? It's pretty new, and a few hours worth of Googling didn't produce anything valuable.

Before you recommend it, I CANNOT use the suspend2 patch. The stable patch does not apply cleanly, and the development patch is buggy (i.e. I tried it out and I couldn't resume from a disk suspend).

Thank you
 
Old 09-12-2006, 03:33 PM   #2
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
I pray for the day when Linux has software suspend like Mac OS 10.x. I can't wait for it work properly. Maybe someone else has it working okay, but I personally think you're wasting your time. People seem to have better success with the "Hibernate" feature. From my experience, it's better just to shutdown and start up normally. That's what you end up having to do anyway with Linux suspend.
 
Old 09-13-2006, 02:13 AM   #3
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
I use 2.6.17.8 (or .9) and I have the ACPI all built into my kernel for my laptop. I use Slackware, and Gnome. I used Gnome power management to tell it to go into suspend when I close the lid when connected to AC, and to hibernate when on battery.

Works fine for me now, takes about a minute to start up though, so I usually just hibernate.

I dunno if I can help you, but if you want to know any of my specific config settings I'll be happy to share them
 
Old 09-13-2006, 10:19 AM   #4
meetscott
Samhain Slackbuild Maintainer
 
Registered: Sep 2004
Location: Phoenix, AZ, USA
Distribution: Slackware
Posts: 411

Rep: Reputation: 43
I'm using 2.6.17.7 and I haven't tried for 2.6.17. I would be very interested in your settings, your personal reliability. So am I understanding this right? It takes a minute to get out of suspend? It really shouldn't be that way. I would consider hibernate though if it took a minute. Still I would like to see what you have done for this.
 
Old 09-13-2006, 11:37 AM   #5
pda_h4x0r
Member
 
Registered: Feb 2006
Location: somewhere in cyberspace
Distribution: Debian, Familiar
Posts: 380

Original Poster
Rep: Reputation: 31
Actually, I meant to ask about the "hibernate" feature, not the "suspend" feature. I couldn't care less about the suspend feature

Out of curiosity, what were your settings?
 
  


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
Getting Software Suspend 2 to work microsoft/linux Linux - Laptop and Netbook 33 08-30-2005 11:20 AM
swap + software suspend astrowill Linux - Software 1 03-27-2005 05:34 AM
Software Suspend 2 error VertX Linux - Laptop and Netbook 0 02-08-2005 07:43 AM
Anyone has Software Suspend working? suslik Slackware 4 09-05-2004 08:16 PM
Software suspend won't compile jspenguin Linux - Software 0 07-17-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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