Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
suspend2/hibernate not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
a_l_a_n
n00b
n00b


Joined: 16 Dec 2006
Posts: 49

PostPosted: Mon Apr 30, 2007 2:12 pm    Post subject: suspend2/hibernate not working Reply with quote

Im trying to get suspend2 to work but cant. I followed http://gentoo-wiki.com/HOWTO_Software_Suspend_v2 to install. When I run hibernate I get a load of gibberish on a terminal. It could be an error (I cant see the top of it). It contains things like a stack trace, and loads of hex, although it doesnt sound like an error, more like a log. It hangs and I have to hard reset. I cant get a copy of the output to show you. Once, when I did it from within a desktop environment, it was slowly outputting what looked like logs from my firewall below the aforementioned gibberish.

I have no idea where to go with this, and the more I fumble around blindly the greater the risk to my disks.

Heres a section of hibernate.log. Here you can see what happens when I first hibernate from an X-less console, then do it from the desktop environment, then do it from the desktop environment after making some changes to get the nvidia module out (from this thread). The point is that the known nvidia problem doesnt seem to be it.

Help me!

Code:

Starting suspend at Mon Apr 30 14:22:21 IST 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing ChangeToSwsuspVT ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing FullSpeedCPUSuspend ...
hibernate: [98] Executing Swsusp2ConfigSet ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: [98] Executing FullSpeedCPUResume ...
hibernate: [97] Executing ChangeFromSwsuspVT ...
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Mon Apr 30 14:22:21 IST 2007

Starting suspend at Mon Apr 30 14:22:32 IST 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
Some modules failed to unload: nvidia
hibernate: Aborting suspend due to errors in ModulesUnloadBlacklist (use --force to override).
hibernate: [90] Executing ModulesLoad ...
hibernate: [89] Executing RestoreKernelModprobe ...
hibernate: [85] Executing XHacksResumeHook2 ...
hibernate: [70] Executing ClockRestore ...
hibernate: [59] Executing RemountXFSBootRW ...
hibernate: [11] Executing XHacksResumeHook1 ...
hibernate: [01] Executing NoteLastResume ...
hibernate: [01] Executing LockFilePut ...
Resumed at Mon Apr 30 14:22:34 IST 2007

Starting suspend at Mon Apr 30 14:34:11 IST 2007
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureSwsusp2Capable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing ChangeToSwsuspVT ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [98] Executing FullSpeedCPUSuspend ...
hibernate: [98] Executing Swsusp2ConfigSet ...
hibernate: [99] Executing DoSwsusp2 ...
hibernate: Activating suspend ...
Back to top
View user's profile Send private message
terminal9
Apprentice
Apprentice


Joined: 12 Oct 2006
Posts: 157

PostPosted: Mon Apr 30, 2007 3:09 pm    Post subject: Reply with quote

http://www.suspend2.net/
especially FAQ -> Compatibility issues
Back to top
View user's profile Send private message
a_l_a_n
n00b
n00b


Joined: 16 Dec 2006
Posts: 49

PostPosted: Mon Apr 30, 2007 6:59 pm    Post subject: Reply with quote

I tried the troubleshooting steps but have learned nothing.

I tried in single user mode (init S), but got the same problem.

I then tried booting a bare bones kernel (http://www.suspend2.net/HOWTO.html#toc5.3) with the intention of searching exhaustively for a problem module, but after assembling my disks and trying $ hibernate again I got something like:

Code:

Hibernate: No suitable suspend methods were found on your machine.
Hibernate: You need to install a kernel with support for suspend to
Hibernate: disk or RAM and reboot, then try again.


which I would dispute:

Code:

$ dmesg | grep -i susp
Suspend2 Core.
Suspend2 Userspace UI Support module loaded.
Suspend2 Checksumming module loaded.
Suspend2 Userspace Storage Manager module loaded.
Suspend2 Compressor module loaded.
Suspend2 Encryptor module loaded.
Suspend2 Block I/O module loaded.
Suspend2 Swap Allocator module loaded.
Suspend2 2.2.9: SwapAllocator: Signature found.
Suspend2 2.2.9: Resuming enabled.
Suspend2 2.2.9: Normal swapspace found.
Suspend2 2.2.9: No image found.




Ive uploaded a photo of the result of $ hibernate. Im fairly sure its an error dump. So if you have any idea what it might be or can help me with the bare bones kernel problem, Im all ears!

I use softraid (RAID 0) if that might be relevant.
Back to top
View user's profile Send private message
terminal9
Apprentice
Apprentice


Joined: 12 Oct 2006
Posts: 157

PostPosted: Mon Apr 30, 2007 7:58 pm    Post subject: Reply with quote

I have no idea about your hardware, which of your modules are static (hence cannot be unloaded), which are dynamic, how you setup your swap area, whether you've patched the kernel yourself or directly using suspend-sources from portage, their versions, etc. Hibernate logs don't mean much to me, and the photo is snapshot of your kernel crash.
Suspend2 is very picky, that's why I posted the site's link, read everything because info is dispersed all over the site.
e.g. http://www.suspend2.net/HOWTO.html#toc2.2
http://www.suspend2.net/FAQ.html#toc4.4
I don't think soft RAID-0 meets these req's.

Edited to add:If you're really determined to make this work on your system, I suggest you examine the source code comments and other docs in Suspend patches.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum