[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspend - no resume



Am Thu, 25 May 2006 16:48:08 +1000
schrieb Takis Diakoumis <linux@executequery.org>:

> Hi
> 
> i'm trying to get suspend2 working on my thinkpad r52. i'm using debian
> etch with a vanilla kernel from kernel.org and custom config for this
> particular laptop.
> 
> following the instructions from suspend2.net i recompiled my kernel with
> suspend2 and installed hibernate etc. i modified hibernate.conf with
> relevant options. 
> 
> suspend itself seems to work ok. the machine begins to create the
> restore image, i get the text progress bar etc and then it shuts down as
> expected. however when i resume it goes through a normal boot process as
> opposed to restoring its previous state.
> 
> i have tried it with suspend to disk using both swap and a file. the
> result is exactly the same for both.
> 
> one thing that i'm unsure of is the creation of the initrd image.
> everything i have read regarding this setup for debian is different. i
> have tried the script from suspend2.net, and also the 2 (or 3) different
> script from the same sites wiki at
> http://wiki.suspend2.net/DistroAndHardwareSetup/DebianInitrd
> 
> the only suspend2 output i get with dmesg is as follows:
> Suspend2 Core.
> Suspend2 Compression Driver loading.
> Suspend2 Encryption Driver loading.
> Suspend2 Swap Writer loading.
> Suspend2 FileWriter loading.
> 
> my grub boot options seem to be correct:
> kernel  /vmlinuz-2.6.16.18-r52-1 root=/dev/sda3
> resume2=file:/dev/sda5:0xeac000 libata.atapi_enabled=1 ro vga=791 
> 
> the above was my last stuffing around with a suspend file - again, have
> tried suspend to swap with relevant changes made to the config and boot
> stuff and the result is the same.
> 
> no errors are generated. i'm stumped and spent most of the day fiddling
> with this.
> 
> some help would be most appreciated.
> thanks
> 
> Takis

I had the same problem, then I built my kernel without initrd support
(compile the ide drivers for your chipset into the kernel and remove
initram support). Then it worked for me.

Initrd causes problems with suspend2 which i couldn't solve, so i
disabled it...

Andreas

-- 
Andreas Juch, andreas.juch@aon.at, http://andreasjuch.mywol.org



Reply to: