LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2005, 10:38 PM   #16
Half_Elf
Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45

that's what I think. Again, my guess is to try various version of hibernate from swsusp2 website... it's hard to tell which version should work with which version of the patch. There might be some mention in the readme file, thought.
 
Old 08-08-2005, 10:06 PM   #17
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
would using the debian kernel-patch package work w/ their version of hibernate?
 
Old 08-08-2005, 10:11 PM   #18
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
If you're talking about kernel-patch-suspend2, it's only available in experimental right now.
 
Old 08-08-2005, 10:15 PM   #19
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
I thinks it's in sarge as well, at least, I thought so
 
Old 08-08-2005, 10:19 PM   #20
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
nope your right, it that etch? or sid? etch is testing right?
 
Old 08-08-2005, 10:19 PM   #21
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Not according to packages.debian.org. It shows up in the list for me in sid because some other package references it but it's not installable.

Generally you should grab the newest version of the hibernate script and suspend2 patch from suspend2.net, grab the kernel it was created against and use those.
 
Old 08-08-2005, 10:21 PM   #22
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
ok, I'll have to wait until I get internet(high-speed) acess. Can I do make-kpkg on so called 'pristine' kernel sources? do I need to apply any debian patches?
 
Old 08-08-2005, 10:23 PM   #23
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
make-kpkg will work on any kernel source.
 
Old 08-08-2005, 10:25 PM   #24
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Original Poster
Rep: Reputation: 45
k, thanks. If there are any other thoughts that'd be great, other wise...I guess this is it
 
Old 08-08-2005, 10:54 PM   #25
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
I've never seen your particular problem, infact the only part of the hibernate script that references /proc/sys/kernel/osrelease is /usr/share/hibernate/scriptlets.d/modules. AFAIK everything you should need to get things working is on wiki.suspend2.net

Hibernation in the form of swsusp or suspend2 can be a real pain to get working sometimes, the infrastructure for power management is pretty new in the kernel so not all drivers place nice and it can take a good amount of work to track down what's broken. It's the reason I'm still using 2.6.9, anything newer and the box hangs on resume.
 
Old 08-09-2005, 03:28 AM   #26
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
I'd download several different suspend script versions and try them one after another. Or you could google (www.google.com/linux) with the error message, if you have not already done that.
 
Old 08-09-2005, 09:59 AM   #27
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Or you could just stop by the suspend2 IRC channel and talk to the developers. The only annoying thing is that Nigel lives in Australia, so it can be hard to get ahold of him sometimes.
 
Old 08-27-2005, 08:50 AM   #28
taboom
LQ Newbie
 
Registered: Aug 2005
Distribution: debian sarge (3.1)
Posts: 9

Rep: Reputation: 0
I have the same problem. I use kernel 2.6.12.5, software suspend 2.1.9.9 for 2.6.12 and hibernate script 1.10-1.

By doing "hibernate -v4" (verbosity) I find that it seems as

+ echo Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules
Unloading blacklisted modules listed /etc/hibernate/blacklisted-modules

---snip---

+ FindModuleDeps nvidia
+ Get26ModulesFile
+ grep -q ^2\.4\. /proc/sys/kernel/osrelease
grep: /proc/sys/kernel/osrelease: No such file or directory
+ cat /proc/modules

and the same happens for:
FindModuleDeps acx100
FindModuleDeps acx_pci
FindModuleDeps prism54

All modules I don't have, but are blacklisted in /etc/hibernate/blacklisted-modules

The module "usbhid" causes the same problem, and this is a module I do have, and need.

I don't have a directory called /proc/sys, maybe I should (I will have to look at my kernel configurations obviously). But just wanted to know there are other ones with the same problem.
 
Old 08-27-2005, 10:37 AM   #29
taboom
LQ Newbie
 
Registered: Aug 2005
Distribution: debian sarge (3.1)
Posts: 9

Rep: Reputation: 0
SOLVED

And this solved the problem:
I enabled
General setup --->[*] Sysctl support
in the kernel. This gave ma a /proc/sys and within that all I needed. Now suspending works fine.
 
Old 08-27-2005, 12:05 PM   #30
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
Why would you remove that in the first place?
 
  


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
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


All times are GMT -5. The time now is 05:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration