You are not logged in.
Hello. Today I've observed that hibernation doesn't work. Notebook goes to hibernation fine, but freezes after resuming ( after snapshot is read 100% ). Simple blank screen, without any reaction on key inputs etc. Ctrl + Alt + Del, ALt + Sysrq + B doesn't works, but caps led doesn't blinks. I should turn off notebook by power button, and it loads again ( without hibernation ). However, s2ram works fine. I've tried hibernation with X, without X, from only bash ( init=/bin/bash in grub ), but nothing helps.
My hibernation script is uswsusp. This is /etc/suspend.conf
snapshot device = /dev/snapshot
resume device = /dev/disk/by-uuid/aa994c3f-946c-465f-b1c9-a7bb425e6922
resume pause = 20
shutdown method = platform
compute checksum = y
compress = y
This is HOOK line in /etc/mkinitcpio.conf
base udev autodetect pata scsi sata uresume filesystems
This is /etc/pm/config.d/module
HIBERNATE_MODE="platform"
SLEEP_MODULE="uswsusp"
I've tried to change shutdown method from platform to shutdown, but nothing.
I can't debug it, because I can't find anything in /var/log. I don't know, is it kernel panic or not?
I've tried to remove uswsusp, and use native kernel method ( I've changed uresume to resume HOOK too ), but I have same symptoms. The one difference, that when netbook freezes after native kernel hibernation resuming, Caps LED is blinking ( Kernel Panic, i know ). But I can't find anything in logs.
My steps betweens worked and nonworked hibernations are increasing RAM from 2gb to 4gb and moving from i686 to x86_64 architecture. My SWAP partition only 2gb, but I've tried with separate swapfile ( 4gb sized ), but it doesn't work too.
I have 2.6.38-ARCH kernel from testing repo. I have Acer Aspire 1551, with ATI Radeon HD 4225 ( I'm using open source drivers ).
Say me, what information I could provide.
Offline
Try using the kernel from [core] aka 2.6.37.x. IIRC, it's related to 2.6.38.
Arch64/DWM || My Dropbox referral link
Offline
Try using the kernel from [core] aka 2.6.37.x. IIRC, it's related to 2.6.38.
And 2.6.37.6 as well, if I'm reading some of the MLs I'm on correctly. Try 2.6.37.5.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
2.6.37.6 and 2.6.38.2 in x86_64 have this bug.
Here is some info about it
Last edited by eduardo.eae (2011-04-02 22:12:58)
Offline
yes, I can confirm this. I've made downgrade to 2.6.37.5 version, and hibernation is working
Offline
yes. today I had the same situation ..
I have kernel 2.6.38-2 and hibernation dosen't work.. works only suspend.
After power-on I can see only how CapsLock blinks.
Offline
I can confirm that too. On a thinkpad T60, intel 945GM, 2.6.38-2 fails too resume from hibernate (same caps lock blinking after reading the resume image), while 2.6.37-5 resumes well.
Thanks jokerboy and ngoonee.
edit: x86_64 here
Last edited by frigaut (2011-04-10 03:36:43)
Archer since 03/2009 - AUR packages
Offline
You have to apply this patch to make the hibernation work again on 2.6.38
Offline
I reported this bug here, but from the mailing list it seems they'll be moving 2.6.38.2 anyway. I hope 2.6.38.3 will be out soon.
2.6.37.5 and 2.6.38.1 are not affected so you can use either of those in the meantime.
Offline
You have to apply this patch to make the hibernation work again on 2.6.38
Thank you for the link.. It really helped me
Offline
You have to apply this patch to make the hibernation work again on 2.6.38
Can someone please quickly explain how such a patch is actually applied?
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
It is non-trivial.
You will be changing arch/x86/kernel/setup.c in the kernel source tree. See man patch for how to apply a diff output to an existing file to incorporate those changes to make an updated file.
This then turns it to an exercise in building and installing a kernel.
The best way to do this (IMHO - best means high probability of success) entails:
Install abs (if you have not done this already)
Copy the kernel package to a working directory of your choice.
Optional - Do a makepkg to ensure everything works (At this point it is just like building an AUR package by hand)
Copy the patch into the working directory
Modify the PKGBUILD to incorporate the patch after unpack and before compile
Perform a makepkg
Do a pacman -U on the resulting package.
Profit (I could not resist)
I've seen your posts, I know you'll be able to do it
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
A similar approach step by step:
$ sudo pacman -S abs
$ sudo abs
$ cp -a /var/abs/core/kernel26 .
$ cd kernel26
$ makepkg -o
$ wget "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=patch;h=4da9484bdece39ab0b098fa711e095e3e9fc8684" -O patch.diff
$ patch -d src/linux-2.6.38 -p1 < patch.diff
$ makepkg -es
$ sudo pacman -U kernel26-2.6.38.2-1-x86_64.pkg.tar.xz
$ cd ..
$ rm -r kernel26
If you don't have/use/like sudo, you have to run the commands beginning with sudo as root.
Offline
A similar approach step by step:
$ sudo pacman -S abs $ sudo abs $ cp -a /var/abs/core/kernel26 .
To get only kernel26's PKGBUILD in the current directory:
ABSROOT=. abs core/kernel26
Arch64/DWM || My Dropbox referral link
Offline
I'm also having resume problems (but I get flashing caps lock ?= kernel panic after the resume image has been loaded 100%)).
Has this been patched in 2.6.38.3? It was released yesterday, so it should be in Arch soon, right :-)?
Offline
Has this been patched in 2.6.38.3? It was released yesterday, so it should be in Arch soon, right :-)?
No, the patch doesn't seem to make it into the 2.6.38.3 :(
Offline
No, the patch doesn't seem to make it into the 2.6.38.3
Thanks. Is there any way to downgrade the arch kernel easily to 2.6.38.1 (with matching nvidia modules) or should I get the -lts kernel?
Offline
There's a nice article about downgrading in general in the wiki here.
Offline
There's a nice article about downgrading in general in the wiki here.
<Slaps himself over the forehead> Thanks, should've checked there first. I keep forgetting Arch has the best wiki in town. (Why on earth doesn't it show up higher in google searches )
Offline
I reported this bug here, but from the mailing list it seems they'll be moving 2.6.38.2 anyway. I hope 2.6.38.3 will be out soon.
Let's wait for it: http://www.archlinux.org/packages/core/x86_64/kernel26/, Flagged out-of-date on 2011-04-14
Offline
A similar approach step by step:
$ sudo pacman -S abs $ sudo abs $ cp -a /var/abs/core/kernel26 . $ cd kernel26 $ makepkg -o $ wget "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=patch;h=4da9484bdece39ab0b098fa711e095e3e9fc8684" -O patch.diff $ patch -d src/linux-2.6.38 -p1 < patch.diff $ makepkg -es $ sudo pacman -U kernel26-2.6.38.2-1-x86_64.pkg.tar.xz $ cd .. $ rm -r kernel26
If you don't have/use/like sudo, you have to run the commands beginning with sudo as root.
If I apply this, is it going to broke again after kernel update ?
Offline
If I apply this, is it going to broke again after kernel update ?
yep. 2.6.38.3 does not fix the issue.
EDIT:
...but 2.6.39-rc3 does.
EDIT 2:
It's entirely up to the package maintainer, what is our next kernel going to look like.
Last edited by laloch (2011-04-17 19:22:39)
Offline
thx for your answer.
I ll patch it, and do it again if it stops working.... I use hibernation alot.
Offline
I confirm that this patch works !
thx
Offline
yep. 2.6.38.3 does not fix the issue.
2.6.38.3-ARCH does.
Arch64/DWM || My Dropbox referral link
Offline