You are not logged in.

#1 2006-08-05 12:35:24

foxcub
Member
From: California
Registered: 2006-06-10
Posts: 36

kernel 2.6.17.beyond3-1 resume problem

I just upgraded to kernel 2.6.17.beyond3-1, and hibernation is finally working again (as in the laptop hibernates without crashing). The problem now is that when I start the computer back up, instead of resuming it goes into the usual boot sequence (even though it says that hook [resume] is run). When the system has loaded up, the swap partition is not enabled, moreover running swapon doesn't turn it on (I first have to run makeswap).

Any ideas or suggestions on how I can fix this?
Thanks.

Offline

#2 2006-08-05 14:19:26

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: kernel 2.6.17.beyond3-1 resume problem

There's a long thread over on the laptop forum about this (I think).

I have the same problem, though my sus-to-RAM doesn't work at all anymore!

Do you have the resume=/dev/hda2 (might be wrong) option set in menu.lst?

Offline

#3 2006-08-05 14:32:18

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: kernel 2.6.17.beyond3-1 resume problem

resuming's failing here too, same symptoms. I run my swap on LVM, which I thought was the problem; do you have a similar setup?


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#4 2006-08-05 14:34:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel 2.6.17.beyond3-1 resume problem

If you're suspending to swap (like most people, AFAIK), it's

resume2=swap:/dev/hdaX

where hdaX is your swap partition.
To a file is

resume2=file:/dev/hdaX:0x123456

It's working perfectly for me, btw, with a custom beyond3 kernel.

Offline

#5 2006-08-05 14:39:43

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: kernel 2.6.17.beyond3-1 resume problem

Yeah, I have the same setup I was using before the suspend breakage in beyond2; my resume2=swap:/dev/vg0/swap (which did work fine). I haven't had time to investigate, but I'm *guessing* it may be that it's not activating the LVM until after it looks for the suspend image. Of course, the simple solution would be not to run swap-on-LVM (which would also have speed benefits, I think). But, I don't really have time to be running around reconfiguring my HD layout atm, and resume from swap-on-LVM did work, and should work again. I'll try to get more details later.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#6 2006-08-05 15:12:38

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: kernel 2.6.17.beyond3-1 resume problem

There have been changes to the suspend2 interface. You need to install the new mkinitcpio 0.4.4 from testing and regenerate your image to be able to resume again (these changes don't affect kernel26suspend2 as I held back the newest version until new mkinitcpio would move to current, I have no idea why it is in testing anyway - but beyond already has the newest suspend2 version).

Offline

#7 2006-08-05 15:34:39

nogoma
Member
From: Cranston, RI
Registered: 2006-03-01
Posts: 217

Re: kernel 2.6.17.beyond3-1 resume problem

Perfect! Everything's working w/ the new mkinitcpio, no changes needed. Thanks.


-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/

Offline

#8 2006-08-05 17:47:07

karsten
Member
Registered: 2006-07-14
Posts: 261

Re: kernel 2.6.17.beyond3-1 resume problem

it doesn't work for me.. i installed the new mkiniticpio and even reinstalled the kernel, put resume in the hooks section of the .conf file and it never even tries to resume.  does it need to be in a certain order in regards to the filesystem hook or something?

also, my swap isn't being activated as the OP mentioned.  i have to run swapon every time.  thanks..

Offline

#9 2006-08-05 19:14:49

foxcub
Member
From: California
Registered: 2006-06-10
Posts: 36

Re: kernel 2.6.17.beyond3-1 resume problem

Just for the record I am not using LVM, so the problem is not LVM related. menu.lst is setup correctly (everything was working perfectly before 2.6.17). I'll try out the new mkinitcpio now. Thanks for the replies.

Offline

#10 2006-08-05 19:22:49

foxcub
Member
From: California
Registered: 2006-06-10
Posts: 36

Re: kernel 2.6.17.beyond3-1 resume problem

Ah, everything works perfectly with mkinitcpio 0.4.4. Thanks a lot, brain0!

Offline

Board footer

Powered by FluxBB