[ltp] Suspend on IBM ThinkPad T23

Tino Keitel linux-thinkpad@linux-thinkpad.org
Mon, 24 Jan 2005 09:51:13 +0100


On Sun, Jan 23, 2005 at 18:02:27 +0100, Martin Steigerwald wrote:
> Am Sonntag, 23. Januar 2005 16:51 schrieb Tino Keitel:
> 
> > > CONFIG_SOFTWARE_SUSPEND_DEFAULT_RESUME2="swap:/dev/hda7"
> 
> > > And I even set it in "kopt" in "/boot/grub/menu.lst" as well
> > > (including running update-grub).
> 
> > I just use /dev/hda1 for CONFIG_SOFTWARE_SUSPEND_DEFAULT_RESUME2
> > without the "swap:" prefix, which works. IIRC swap: was only used with
> > the old swsusp1.
> 
> Hello Tino,
> 
> that would explain a lot. Well I simply adhered to the HOWTO at the 
> software suspend 2 page at berlios.
> 
> I used "/dev/hda7" for software suspend 1 (as noted in power/swsusp.txt in 
> kernel doc) and "swap:/dev/hda7" for software suspend 2 and when its the 
> other way around that may just be the reason that neither of them worked 
> for me.
> 
> Thanks for your hint. I will try this.

Maybe you also have to do 

mkswap /dev/hda7 ; echo /dev/hda7 > /proc/software_suspend/swapfilename

if you don't use hda7 as swap space in your configuration. This way,
swsusp2 will add /dev/hda7 to the swap space if you start to hibernate.

Regards,
Tino