[arch-general] Mkinitcpio and tuxonice?
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240 A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice. Any suggestions?
On 08.12.2009 04:54, Ng Oon-Ee wrote:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice.
Any suggestions?
The Arch initcpio is currently undergoing big changes. See here: http://bugs.archlinux.org/task/17298 The best thing you can do right now is changing from tuxonice to another solution for suspend/hibernate. -- Sven-Hendrik
On Tue, 2009-12-08 at 04:57 +0100, Sven-Hendrik Haase wrote:
On 08.12.2009 04:54, Ng Oon-Ee wrote:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice.
Any suggestions?
The Arch initcpio is currently undergoing big changes. See here: http://bugs.archlinux.org/task/17298 The best thing you can do right now is changing from tuxonice to another solution for suspend/hibernate.
Ah.... now THAT is sub-optimal. tuxonice just works the best, in my experience. Thanks for the link though.
Ng Oon-Ee schrieb:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice.
Just replace the resume hook. The klibc stuff from testing will not move to core anyway, so that doesn't matter either.
On Tue, 2009-12-08 at 07:13 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice.
Just replace the resume hook. The klibc stuff from testing will not move to core anyway, so that doesn't matter either.
Replacing the resume hook sounds okay, as per wiki? So there's no plans to patch mkinitcpio as it currently is, for tuxonice support?
Ng Oon-Ee schrieb:
On Tue, 2009-12-08 at 07:13 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice. Just replace the resume hook. The klibc stuff from testing will not move to core anyway, so that doesn't matter either.
Replacing the resume hook sounds okay, as per wiki? So there's no plans to patch mkinitcpio as it currently is, for tuxonice support?
There are, there is just the slight time issue, if anyone can send a patch, it would be most convenient.
On Tue, 2009-12-08 at 09:02 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
On Tue, 2009-12-08 at 07:13 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice. Just replace the resume hook. The klibc stuff from testing will not move to core anyway, so that doesn't matter either.
Replacing the resume hook sounds okay, as per wiki? So there's no plans to patch mkinitcpio as it currently is, for tuxonice support?
There are, there is just the slight time issue, if anyone can send a patch, it would be most convenient.
Thanks for clarification. The wiki states that these two lines should be added to /lib/initcpio/hooks/resume resumedevice=${resume#*:} resumedevice=${resumedevice%:*} Would that be 'patch' enough?
I have tried that 'patch' from wiki, but it didn't help me. 2009/12/8 Ng Oon-Ee <ngoonee@gmail.com>
On Tue, 2009-12-08 at 09:02 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
On Tue, 2009-12-08 at 07:13 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice. Just replace the resume hook. The klibc stuff from testing will not move to core anyway, so that doesn't matter either.
Replacing the resume hook sounds okay, as per wiki? So there's no plans to patch mkinitcpio as it currently is, for tuxonice support?
There are, there is just the slight time issue, if anyone can send a patch, it would be most convenient.
Thanks for clarification. The wiki states that these two lines should be added to /lib/initcpio/hooks/resume
resumedevice=${resume#*:} resumedevice=${resumedevice%:*}
Would that be 'patch' enough?
On Tue, 2009-12-08 at 14:40 +0500, Vasiliy Kurdin wrote:
2009/12/8 Ng Oon-Ee <ngoonee@gmail.com>
On Tue, 2009-12-08 at 09:02 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
On Tue, 2009-12-08 at 07:13 +0100, Thomas Bächler wrote:
Ng Oon-Ee schrieb:
Hi all, I've been holding the mkinitcpio package due to http://bugs.archlinux.org/task/15240
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice. Just replace the resume hook. The klibc stuff from testing will not move to core anyway, so that doesn't matter either.
Replacing the resume hook sounds okay, as per wiki? So there's no plans to patch mkinitcpio as it currently is, for tuxonice support?
There are, there is just the slight time issue, if anyone can send a patch, it would be most convenient.
Thanks for clarification. The wiki states that these two lines should be added to /lib/initcpio/hooks/resume
resumedevice=${resume#*:} resumedevice=${resumedevice%:*}
Would that be 'patch' enough?
I have tried that 'patch' from wiki, but it didn't help me.
Fixed for you, please don't top-post. And yes, I can't seem to get that to work. Would assume there's just something not matching in the checks. Anyone have any ideas on getting tuxonice working with latest mkinitcpio?
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice.
Any suggestions?
The hook I have is this,and resume with tuxonice works just fine. I'm using latest mkinitcpio (as always) /lib/initcpio/hooks/resume: # vim:set ft=sh: run_hook () { fmtdevice () { echo "${1}:${2}"; } if [ -n "${resume}" ] && poll_device "${resume}" ${rootdelay}; then # Try resuming with tuxonice tuxoniceroot="/sys/power/tuxonice" if [ -d "${tuxoniceroot}" ]; then echo ${resume} > ${tuxoniceroot}/resume echo > ${tuxoniceroot}/do_resume fi # Try resuming with vanilla hibernation if [ -e "/sys/power/resume" ]; then eval $(/bin/parseblock "${resume}") fmtdevice ${BLOCKDEVICE} > /sys/power/resume fi fi } I don't remember if I hacked this hook somewhat or it's vanilla -- damjan
On Wed, 2009-12-09 at 02:13 +0100, Damjan Georgievski wrote:
A quick look into testing shows that I won't be able to update the 2.6.32 kernel due to dependencies on klib invalidating my 'old' mkinitcpio package. Unfortunately I'm stuck here, since without this 'old' package for mkinitcpio (0.5.24-1) I'm unable to resume from hibernate in tuxonice.
Any suggestions?
The hook I have is this,and resume with tuxonice works just fine. I'm using latest mkinitcpio (as always)
/lib/initcpio/hooks/resume: # vim:set ft=sh: run_hook () { fmtdevice () { echo "${1}:${2}"; }
if [ -n "${resume}" ] && poll_device "${resume}" ${rootdelay}; then # Try resuming with tuxonice tuxoniceroot="/sys/power/tuxonice" if [ -d "${tuxoniceroot}" ]; then echo ${resume} > ${tuxoniceroot}/resume echo > ${tuxoniceroot}/do_resume fi
# Try resuming with vanilla hibernation if [ -e "/sys/power/resume" ]; then eval $(/bin/parseblock "${resume}") fmtdevice ${BLOCKDEVICE} > /sys/power/resume fi fi }
I don't remember if I hacked this hook somewhat or it's vanilla
It looks vanilla to me, and doesn't work here =(. Says 'waiting 10 seconds for swap:/dev/sda8' and then continues normal boot after 10 seconds.
It looks vanilla to me, and doesn't work here =(. Says 'waiting 10 seconds for swap:/dev/sda8' and then continues normal boot after 10 seconds.
I only use resume=/dev/sda2, but I also have CONFIG_TOI_REPLACE_SWSUSP=y -- damjan
On Wed, 2009-12-09 at 03:36 +0100, Damjan Georgievski wrote:
It looks vanilla to me, and doesn't work here =(. Says 'waiting 10 seconds for swap:/dev/sda8' and then continues normal boot after 10 seconds.
I only use resume=/dev/sda2, but I also have CONFIG_TOI_REPLACE_SWSUSP=y
I have the latter, but the former says resume=swap:/dev/sda8 Will try your form out later. Thanks
On Wed, 2009-12-09 at 11:02 +0800, Ng Oon-Ee wrote:
On Wed, 2009-12-09 at 03:36 +0100, Damjan Georgievski wrote:
It looks vanilla to me, and doesn't work here =(. Says 'waiting 10 seconds for swap:/dev/sda8' and then continues normal boot after 10 seconds.
I only use resume=/dev/sda2, but I also have CONFIG_TOI_REPLACE_SWSUSP=y
I have the latter, but the former says resume=swap:/dev/sda8
Will try your form out later. Thanks
Now, using resume=/dev/sda8 works in the sense that it tries to resume, but it gives a kernel panic every time....
participants (5)
-
Damjan Georgievski
-
Ng Oon-Ee
-
Sven-Hendrik Haase
-
Thomas Bächler
-
Vasiliy Kurdin