LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Hibernation with Kernal 2.6 (https://www.linuxquestions.org/questions/linux-hardware-18/hibernation-with-kernal-2-6-a-320672/)

mithu_sree 05-06-2005 06:04 AM

Hibernation with Kernal 2.6
 
Dears,

I wanted to enable software suspend during kernel compilation of 2.6.

I know software suspend is a good way to break linux.

Support for it is still extremely experimental.

So I need some help to complete my project "Linux Distribution with Fast Booting options"

any help is greatly appreciated!

Thanks,
Mithun :newbie: :newbie:

Half_Elf 05-07-2005 12:59 PM

it's not really dangerous to break your linux by activating hibernation, but it is somehow complex to setup :)
First of all, dont use the software suspend that come with the kernel, it is really broken, dont expect any good of it. Instead, go get "swsusp2" (software suspend 2) there : http://www.suspend2.net/ .

This is a patch for the kernel source, so you will need to get the source of the kernel and to recompile the kernel from source once patched. Take a look at swsusp2 documentation, there is some step by step instructions.

Oh, but before trying anything nasty, you better backup you actual kernel and to make a an entry about this backup kernel in your boot loader, just in case something goes bad :)

mithu_sree 05-19-2005 02:13 AM

Please help me

Cyborg16 05-19-2005 05:41 AM

I also want to use swsusp2, but with the debian kernel the patch doesn't apply cleanly. So can anyone give me some hints on applying the patch, or do I have to download a clean kernel and then apply the debian patches + swsusp2 to that? Well I don't know if I actually need the debian patches, but I know I need a patch to use compressed initrd images.

mithu_sree, what do you mean by please help me? Do you want help with kernel compilation, applying the patch or what? If it's just compiling the kernel there are several tutorials on the web for that.

Half_Elf 05-19-2005 09:45 AM

Cyborg16 : I dont think swsusp2 patch can apply on distro kernel, at my opinion you will have to use a "kernel.org" clean kernel.

mithu_sree : Help you about what? I told you what to do, now if you don't understand a part, ask about it. What do you expect from an "please help me" post when someone already told you what to do?

favnix 05-21-2005 03:03 AM

I downloaded swsusp, installed and recompiled the 2.6.10 kernel
no errors
& installed the kernel
But i can't boot with this kernel
Some write dev support is needed...

Half_Elf 05-21-2005 10:58 AM

favnix: kernel recompilation is somewhat tricky. You are probably missing an option... first kernel recompilations are guess and tries; configure the kernel again (what where you using, make menuconfig or make xconfig?) and try to find what options are missing. Don't be afraid to activate too much stuff, usually it doesn't matter, once you will know what you need, you could desactivate useless options.


All times are GMT -5. The time now is 06:30 PM.