Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
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).
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.
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.