View previous topic :: View next topic |
Author |
Message |
Punchcutter Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8840505284b663e1853131.jpg)
Joined: 11 Feb 2007 Posts: 363
|
Posted: Sun Mar 04, 2007 10:47 pm Post subject: [SOLVED] Making suspend-to-disk work |
|
|
Hi,
I'm a newcomer to Gentoo, but liking it an awful lot so far.
Trying to make suspend-to-disk work on my Thinkpad 600X (PIII). To make a long story short, I found the HOWTO on the Gentoo Wiki, and started following that, but it seems that the recommended method is to get a whole new set of kernel sources (suspend2-sources) and build a new kernel out of that. That's fine, but I spent a good amount of time configuring my first kernel, and it seems that I'm gonna have to start all over again configuring this new kernel. What a pain
Is there any easy way to bring over the configs from my other kernel to use as a starting point for configuring these new sources? Or am I missing something more basic, and going in entirely the wrong direction with this?
Oh, I should mention: after just emerging a bunch of stuff that seemed necessary, and turning on suspend in my current generic "gentoo-sources" kernel, if I try to suspend to disk, I get the following error:
Quote: | The kernel version "kernel-2.6.19-gentoo-r5" in /boot does not match the running kernel version "2.6.19-gentoo-r5". Resuming with this kernel will not work. If you know what you are doing, you can override this in /etc/sysconfig/powersave/sleep with the variable SUSPEND2DISK_IGNORE_KERNEL_MISMATCH=yes. |
I've searched around these forums, and out on google, but haven't found anything very useful.
Any help much appreciated.
Dave
Last edited by Punchcutter on Wed Mar 07, 2007 5:02 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tuber Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 12 Nov 2004 Posts: 267
|
Posted: Mon Mar 05, 2007 5:59 am Post subject: |
|
|
The kernel configuration is in the .config file in the kernel source tree. So just copy it over to your new kernel source tree. For example, Code: | cp /usr/src/linux-2.6.19-gentoo-r5/.config /usr/src/linux-2.6.16-suspend2-r8 | As for your kernel error message, did you reboot with the new kernel before trying to suspend the machine? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Punchcutter Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/8840505284b663e1853131.jpg)
Joined: 11 Feb 2007 Posts: 363
|
Posted: Wed Mar 07, 2007 5:01 am Post subject: [solved] Making suspend-to-disk work |
|
|
Yes, I had rebooted with the new kernel....
But in the end I copied over my .config and built with the suspend2 kernel sources, and suspend seems to be working fine. Thanks!
Dave |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|