LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 08-01-2005, 09:25 PM   #1
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
Getting Software Suspend 2 to work


Ok, so I downloaded the patch for kernel 2.6.8 I believe it patch software-suspend-2.0.0.105-for-2.6.8.1. I applied it using the command
Code:
../software-suspend<version here>/apply
in the kernel sources directory. I recompiled the kernel, and installed it. But when I run
Code:
hibernate
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.
 
Old 08-02-2005, 02:30 PM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
*posting your error here could help*
 
Old 08-02-2005, 08:08 PM   #3
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
here's the error, sorry about the delay
Code:
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
 
Old 08-02-2005, 10:13 PM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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 2.6.8.1 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.
 
Old 08-03-2005, 11:31 AM   #5
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
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 2.6.8.1, will that make a huge difference? Where do I get the hibernate source?
 
Old 08-03-2005, 11:49 AM   #6
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

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

You can find hibernate at http://www.suspend2.net/
 
Old 08-03-2005, 11:56 AM   #7
Kdr Kane
Member
 
Registered: Jan 2005
Distribution: SUSE, LFS
Posts: 357

Rep: Reputation: 30
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.
 
Old 08-03-2005, 12:16 PM   #8
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
which version of hibernate should I use? theres anywhere from 0.95.1 to 1.10. Thoughts?
 
Old 08-05-2005, 08:45 PM   #9
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
nobody knows what version of hibernate I need to download? Thoughts?
 
Old 08-06-2005, 07:10 PM   #10
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Is /proc mounted? I looked on one of my boxes (running 2.6.8-2-sparc64-smp) and it's there for me.
 
Old 08-07-2005, 11:38 AM   #11
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
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
 
Old 08-07-2005, 12:54 PM   #12
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
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.
 
Old 08-07-2005, 08:48 PM   #13
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

Rep: Reputation: 48
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?
 
Old 08-07-2005, 08:52 PM   #14
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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.
 
Old 08-07-2005, 09:09 PM   #15
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445

Original Poster
Blog Entries: 9

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


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
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
Software suspend won't work . iZvi Linux - Software 2 12-05-2004 05:32 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 - Laptop and Netbook

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