Bug#370616: [Yaird-devel] Bug#370616: linux-image-2.6.16-2-686: 'resume' boot flag does nothing

C. Scott Ananian cscott at cscott.net
Tue Jun 6 18:29:21 UTC 2006


On Tue, 6 Jun 2006, Jonas Smedegaard wrote:

> Could you please double-check that your /etc/yaird/Default.cfg contains
> "TEMPLATE resume" alone on a line, and not just "RESUME"?

Actually, I think this "fix" was broken.  If you are not using suspend2, 
you need RESUME not "TEMPLATE resume".  I'm sorry I didn't pipe up on this 
subject earlier; somehow I never saw the original bug reports which led to 
the (dubious?) fix.

My personal configuration:
  1) "RESUME" in /etc/yaird/Default.cfg
  2) The following line in my /etc/fstab:
      /dev/hda5 none swap sw,resume 0 0
     (the important part here is the 'resume' option)
  3) That's it!  No boot time options, no lilo hacks, nothing.

As Jonas mentioned, be sure to 'dpkg-reconfigure' your kernel after 
adjusting the above, to give yaird a change to see the configuration.
Also, reboot before suspending, in order to be sure the right things
are written to /proc on bootup.

There are other ways that resume ought to work (including command-line 
options like you have given), but let's try to narrow down the problem by 
starting with a known-working setup.
  --scott

ESSENCE KUPALM JMMADD ODACID KUFIRE Justice Ortega assassination politics 
Albanian Legion of Doom FJDEFLECT Delta Force Morwenstow AK-47 South Africa
                          ( http://cscott.net/ )




More information about the Yaird-devel mailing list