Does OpenSolaris support Suspend/Resume? What are the requirements?

Yes, suspend and resume does work in OpenSolaris.  There are a few caveats, however:

  • Sparc systems only support Suspend to Disk, and x64 systems only support Suspend to RAM.
     All drivers on the machine must support DDI_SUSPEND and DDI_RESUME*
     On x64 machines, the BIOS must* have an _S3 method.

Sparc systems are automatically enabled (or not enabled, it doesn't make much sense in suspending the large machines), but x64 systems are not enabled mostly because of item two above.  One of the biggest problems is in the area of framebuffers.  Only drivers for nVidia and Intel framebuffers are known to work at this time.

To give suspend/resume a try, first see if it isn't already enabled.  If you are running GNOME, look for the "Power" icon on the panel, click it and see if Suspend is an option.  Or click on the Shutdown menu item to see if there is a Suspend item.  If so, then suspend and resume is enabled.  Clicking on the Suspend button should allow the machine to suspend.

If these buttons don't exist, and you would like to see if it will work, then the feature will need to be manually enabled.  Add the following line to /etc/power.conf:

     S3-support   enable

Then execute:

     /usr/sbin/pmconfig
     /usr/sbin/svcadm restart hal

This will save the settings and restart the HAL daemon, making the GNOME tools to use the new settings.

For more information, there is a good blog entry by randyf: Solaris Suspend and Resume: How to!.

last modified by admin on 2009/10/26 12:10
Collectives
Project


© Sun Microsystems Inc. 2009
XWiki Enterprise 1.8.2.19075 - Documentation
Terms Of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines | Site map | Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.