View Full Version : Suspend to RAM or disk with SATA hard drive

30th June 2006, 11:08 PM

Has anyone managed to get S3 suspend to RAM or S4 hibernate to disk
working on any Toshiba notebook with a SATA hard drive? How about
using Suspend2 to hibernate?

I'm looking to install FC5 on a new notebook and have spent several days
reading what I can find as guidance. Though it's less than scientific, Consumer
Reports ranks Toshiba and Thinkpad notebooks as the most reliable. The small
Toshiba's with Intel Core Solo processors appear to have long battery life. Like
most new notebooks, they also have SATA hard drives.

The reports at linux-on-laptops and tuxmobile are not encouraging regarding
suspending to RAM with a SATA drive.

Incidentally, I've never been able to suspend to RAM---or,
more to the point, recover afterwords---with my desktop system:

CPU: AMD Athalon 64 X2 Dual Core Processor 4200+
IDE controller: ATI Technologies Inc ATI 4379 Serial ATA Controller
Kernel: 2.6.16-1.2115_FC4smp (incorporating the sata_sil driver)

The symptoms match those described at
This is different from the resume-problems associated with display (and
sometimes other) drivers.

Inability to suspend/resume is more or less a fussbudget matter on a desktop
computer. With a notebook it's important.

There are a number of reports at bugzilla on this problem. One labeled
This is mainly about problems with Thinkpad T43's, which actually have PATA
controllers. But towards the end T60's, which have SATA, are involved.

As I understand it, the problem has (had?) to do with libata support for SATA
drives. The following encouraging words (dated 6/26/06) can be found at

``System suspend/resume (suspend-to-RAM, suspend-to-disk) is currently
supported for ata_piix driver. Patches are available to support system
suspend/resume on AHCI,sata_sil, and sata_sil24.

``ACPI support is also needed in certain situations, to ensure that Linux
properly initializes the device on boot, and after resume. A patch from Intel
is available for this.''

I'm too much of a novice to know what to do with this information, I'm afraid.

After a lot of searching, I've only found three encouraging installation reports.
Apparently FC5 installed with suspend to ram and hibernate to disk working on a Dell810
(http://www.mjmwired.net/linux/2006/05/16/fedora-core-5-on-dell-d810-laptop/). And
hiberphoptik mentions in these Forums that the same was true for his
HP Pavilion 8000. Somewhere I saw that suspend to ram and disk works on a
Thinkpad T60 under kernel 2.6.17-1.2139_FC5. I believe all three have SATA drives.

On the other hand, I still can't resume with kernel 2.6.17-1.2139_FC4 on my desktop system.

My fondest hope is that someone has installed FC5 on a Toshiba notebook with a
SATA drive and suspend to RAM and disk just works!

Thanks for any help and advice.

1st July 2006, 02:30 AM
I have a Toshiba M70-DL400E. My specs will be different than yours, but the laptop does have a SATA drive and "suspend to ram" works 95% of the time, the display always comes back up, but sometimes the keyboard is borked and only a restart fixes it. Actually I'm very pleased how well this laptop works with FC5.

Laptop specs:
Pentium M- 1.86GHz
1gig DDR2 533MHz ram
100GB SATA drive
915 Integrate intel graphics adapter

Here's what I've done to get "suspend to ram" to work, YMMV.

Altered my xorg.conf to remove any resolutions I don't use (only left the 1280x800 resolution), and added "VBERestore" "true" see relevent sections of my conf file below:

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x800"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 90.0
VertRefresh 60.0 - 60.0
Option "dpms"

Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Option "VBERestore" "true"

I also modified the "functions-intel" file located in /etc/pm. See code below:

# /usr/sbin/vbetool post
/usr/sbin/vbetool vbestate restore < /var/run/vbestate
) >/dev/null 2>&1

Here I commented out the "/usr/sbin/vbetool post" line.

Everyworks like a charm now (well most of the time)

Like I said, my hardware will be quite different from yours, but it is possible to Suspend/restore working on a laptop with a SATA drive.

Good luck!!


1st July 2006, 03:15 AM

Thanks very much for your reply. This is exactly what I was interested to hear. And thanks very much for the relevant portions of your /etc/pm and xorg.conf files.

It's really not a big deal that I can't get my desktop machine to suspend to RAM. I was just experimenting with it. What I'm interested in is getting a new laptop to suspend. I'm considering a Toshiba M105, and your computer is similar enough to make it look like there's a really decent chance suspending will work. I've read enough to expect to spend some time getting the display and wireless working. I don't mind that. What's scarier is that there are a lot of people who have just given up getting any kind of suspension to work.

Thanks again, Mack

2nd July 2006, 11:41 PM
I have a Thinkpad T60 with FC5 on it with the kernel updated to 2.6.17-1.2139_FC5smp and found that suspend works just fine (I close the lid of the laptop and the little moon LED lights up and the computer suspends. When I open the lid everything comes back to life), but hibernate still doesn't work well (instead of resuming, the computer reboots).

3rd July 2006, 05:40 PM
Hi jstarmer,

Thanks very much for your posting. I'm enouraged by your information, which is even more germane to my case than bfc's on the Toshiba M70, as it turns out. I've ordered a Toshiba M105-S3041. If what I've found googling around about T60's is right, your computer has the same motherboard chipset (Intel 945GM express) and possibly even the same graphics (Intel graphics accelerator 950), though I believe two ATI graphics options are also available on T60's.

From what I've found in the past couple of days, it looks like S3 suspend with SATA drives is more or less working in the very latest 2.6.17 kernels, though there are a number of recent relevant patches, so it may be a little bit before all of the wrinkles are ironed out of the stable kernels.

I don't know what to make of it, but Emporor Linux advertises a T60 with hibernate-to-disk working at
http://www.emperorlinux.com/mfgr/lenovo/toucan/?tab=details&id=358. They don't mention suspend-to-RAM, which you have working fine.

Thanks again for your help!