View previous topic :: View next topic |
Author |
Message |
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Thu Sep 13, 2012 6:52 pm Post subject: Suspend to RAM weird behavior... bad behavior... |
|
|
The hardware: HP Envy4 laptop. Replace "hard drive" with "SSD".
The setup: Dual boot, swap partition for Linux hibernation. Gnome power manager.
The problem:
When I hit suspend in Gnome or suspend to disk after setting up the hibernation partition, it does something weird:
First, the machine seems to suspend. Then seconds later it wakes up and writes a bunch of stuff to disk and then shuts off... this isn't S3! It seems to have gone to S4 hibernate somehow.
When I turn the machine back on, it seems to resume fine from disk.
HOWEVER! I notice that my swap partition is corrupt! When I shut down and restart the machine, the swap partition is no longer recognized as a valid swap partition.
With the swap partition invalid, hibernate no longer works... BUT if I hit "suspend" again, this time it will suspend and not touch the hard drive. The power LED blinks as if it were in S3 suspend-to-RAM, and it resumes just fine.
Anyone know what's going on here? I'm using the kernel default swsusp code but it shouldn't be triggered for the S3 suspend-to-RAM?
My initial guess is that ACPI BIOS is actually trying to suspend to disk and not linux swsusp. I can't think of how or why the swap partition gets corrupted.
Any thoughts on why my swap partition gets eaten? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Thu Sep 13, 2012 8:56 pm Post subject: |
|
|
Are you running a 3.6-rcX kernel? AFAIK they are implementing something like on Windows/OSX, hybrid suspend/hibernate, maybe it's got to do with it. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Thu Sep 13, 2012 9:27 pm Post subject: |
|
|
I'm using 3.4.9 (x86_64 stable?), are they doing in-kernel hybrid suspend in that version? _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
avx Advocate
Joined: 21 Jun 2004 Posts: 2152
|
Posted: Thu Sep 13, 2012 9:52 pm Post subject: |
|
|
AFAIK not, it's only scheduled for 3.6 or 3.7.
I'm on 3.5.3 and can't reproduce this, but then again, I'm not using gnome. _________________ ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>. |
|
Back to top |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Fri Sep 14, 2012 2:23 pm Post subject: |
|
|
I'm pretty sure this is BIOS and not Linux corrupting that partition. Going to try to put swsusp partition somewhere else and see where/if it still corrupts...
Also I wonder if Intel Rapid Start is causing some of this headache... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
|
|