LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2005, 06:04 AM   #1
mithu_sree
LQ Newbie
 
Registered: May 2005
Location: /India/Kerala
Posts: 22

Rep: Reputation: 15
Red face 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
 
Old 05-07-2005, 12:59 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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
 
Old 05-19-2005, 02:13 AM   #3
mithu_sree
LQ Newbie
 
Registered: May 2005
Location: /India/Kerala
Posts: 22

Original Poster
Rep: Reputation: 15
Please help me
 
Old 05-19-2005, 05:41 AM   #4
Cyborg16
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian "Sarge" testing
Posts: 19

Rep: Reputation: 0
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.

Last edited by Cyborg16; 05-19-2005 at 05:43 AM.
 
Old 05-19-2005, 09:45 AM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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?
 
Old 05-21-2005, 03:03 AM   #6
favnix
LQ Newbie
 
Registered: May 2005
Location: Kerala
Posts: 2

Rep: Reputation: 0
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...
 
Old 05-21-2005, 10:58 AM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hibernation in Kernal 2.6 mithu_sree Fedora 2 05-08-2005 11:22 AM
Hibernation in kernal 2.6 mithu_sree Linux From Scratch 2 05-06-2005 05:52 AM
Kernal modules on a Newly Compiled Kernal sethgeekx86 Slackware 4 05-03-2004 11:08 PM
How do you configure the kernal, overwriting the old version of the same kernal? sabaka Linux - Newbie 13 10-04-2003 10:00 AM
Help! Configuring Kernal failed, GRUB can't boot new kernal, help! sabaka Linux - Newbie 4 09-16-2003 09:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:07 AM.

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