-   Linux - Laptop and Netbook (
-   -   Getting Software Suspend 2 to work (

microsoft/linux 08-01-2005 09:25 PM

Getting Software Suspend 2 to work
Ok, so I downloaded the patch for kernel 2.6.8 I believe it patch software-suspend- I applied it using the command

../software-suspend<version here>/apply
in the kernel sources directory. I recompiled the kernel, and installed it. But when I run

I get some error, and the computer does not hibernate. thoughts? I'll have to get the error. Something about /proc/sys/<something here> not existing I think.

Half_Elf 08-02-2005 02:30 PM

*posting your error here could help*

microsoft/linux 08-02-2005 08:08 PM

here's the error, sorry about the delay

awk: cannot open /proc/sys/kernel/osrelease (No such file or directory)
grep: /proc/sys/kernel/osrelease: No such file or directory
grep: /proc/sys/kernel/osrelease: No such file or directory
grep: /proc/sys/kernel/osrelease: No such file or directory
shift: 795: can't shift that many

Half_Elf 08-02-2005 10:13 PM

Ok... the hibernate script change often, nearly as often as the software-suspend patch. Make sure you have the "old" script installed, the one relative to the kernel patch. Your hibernate script is probably too recent or too old, depending, it is probably looking for something that doesn't exist in your software-suspend version.

microsoft/linux 08-03-2005 11:31 AM

ok, I installed the debian package hibernate. I know I have a kernel that is 2.6.8, but I don't know if it's, will that make a huge difference? Where do I get the hibernate source?

Half_Elf 08-03-2005 11:49 AM

I don't know about the exact version of the kernel, I suppose you will have to try :)

You can find hibernate at

Kdr Kane 08-03-2005 11:56 AM

You might check to see if you have a swap partition - separate from your root partition - that is at least as large as your memory.

microsoft/linux 08-03-2005 12:16 PM

which version of hibernate should I use? theres anywhere from 0.95.1 to 1.10. Thoughts?

microsoft/linux 08-05-2005 08:45 PM

nobody knows what version of hibernate I need to download? Thoughts?

Noth 08-06-2005 07:10 PM

Is /proc mounted? I looked on one of my boxes (running 2.6.8-2-sparc64-smp) and it's there for me.

microsoft/linux 08-07-2005 11:38 AM

yes /proc is mounted. Why does that affect which version of hibernate I need to download? I was told I need to download a certain version because I have a 2.6.8 kernel

Noth 08-07-2005 12:54 PM

It doesn't affect it, but the errors you're getting make it seem like it's not mounted. I'm using hibernate 1.10-1 from unstable with kernel 2.6.9 and it works fine.

microsoft/linux 08-07-2005 08:48 PM

hmmmm....I'll hvae to check and make certain that /proc is mounted, but I'm pretty sure it is. Other thoughts? Should the most recent version of hibernate support all old patches?

Half_Elf 08-07-2005 08:52 PM

I'm not quite sure... maybe but it's hard to tell.
My guess would be to upgrade to the latest kernel wih the latest software suspend2 patch as well, so you will be sure it is fine.

microsoft/linux 08-07-2005 09:09 PM

is it possible that the version of hibernate in Sarge is too old for the version of the patch I applied?

All times are GMT -5. The time now is 08:45 PM.