Page 1 of 1

T42p with Ubuntu 5.04 won't hibernate

Posted: Thu Apr 28, 2005 6:49 am
by egibbs
This is strange - everyting I've seen says hibernate works out of the box, but not for me. The system looks like it's going to hibernate, writes to disk for 30 seconds or so, turns the backlight off, then turns the baclight back on and brings the desktop back up (or if I have the screen saver enabled brings up the screen saver).

Suspend to RAM works fine - even with close and open the lid - but hibernate refuses to behave.

I've followed the instructions in the Ubuntu on IBM T42 HowTo found here http://resolute.ucsd.edu/diwaker/articl ... buntu.html and elsewhere, including:

Got the 686 kernel
Set ACPI_SLEEP=true in /etc/default/acpi-support (yes, I know this should only affect suspend to RAM)
Installed Thinkpad Buttons, they work.
Added resume=/dev/hdc3 to the #kopt line in /boot/grub/menu.lst and run update-grub

I checked my swap partition and it is 2.5 GB. I have 1 GB of RAM, so I would think that is plenty big enough.

I've googled and googled and searched the Ubuntu forums and I've found a few people who have trouble waking their machines from hibernate, but only one post with a problem similr to mine, and he had no replies.

Anyone have any ideas?

Thanks,

Ed Gibbs

Posted: Thu Apr 28, 2005 9:59 pm
by Edward Mendelson
Did you try the very last item in the page you linked to? About adding this to the kernel entry in menu.lst:

pci=noacpi acpi_sleep=s3_bios

Posted: Fri Apr 29, 2005 6:58 am
by egibbs
Yes - that's in there. Suspend to RAM works fine - it's just hibernate that is dorked.

My gut tells me it is something with writing to the swap partition since that is the main difference between suspend and hibernate. I just can't figure out what the problem is - everything looks right as far as I can tell.

Thanks - any other ideas?

Ed Gibbs

Posted: Fri Apr 29, 2005 8:15 am
by Edward Mendelson
are you sure /dev/hdc3 is right? Not /dev/hdc5 ???

Posted: Fri Apr 29, 2005 8:52 am
by egibbs
Good question...

QTParted shows partition 1 as the linux partition, partition 2 as an extended partition with an "unknown" file syste, and partition 3 as a logical partition in partition 2 with "Linux-Swap" file system.

I did read somewhere that Grub "calculates offsets differently" but there was no explanation of exactly how differently.

Our setups are close to identical - is yours set to hdc5 (I guess it must be or you wouldn't be asking)?

I think when I started out the default was set to partition 5 and it was not working - but the default may have been hda5.

Ed Gibbs

Posted: Fri Apr 29, 2005 9:03 am
by Edward Mendelson
Why not just *TRY* /dev/hdc5 ????? It can't do any harm.

fdisk -l (that's lower-case l)

tells you the names of your partitions.

Posted: Fri Apr 29, 2005 9:05 am
by egibbs
I will when I get home tonight. Right now I'm at work on a Windows box.

Ed Gibbs

Posted: Sat Apr 30, 2005 9:22 am
by Edward Mendelson
Did /dev/hdc5 fix the problem?

Posted: Sat Apr 30, 2005 3:07 pm
by egibbs
Yes - but fixing it in /boot/grub/menu.lst was not enough - I also had to remember that I'd futzed with /etc/fstab. It works fine now.

The dangers of a 1600x1200 display, aging eyes, and seeing what you expect to see. 1,2, of course the next number in the list is 3, not 5 right? And at 1600x1200 a 5 looks a lot like a 3.

Oh well - while I was in there I figured out how to mount my Windows drive automatically, and then I copied over my firefox bookmarks.

Set up evolution email too, and took a look at what it will take to get my saved outlook mail into evolution. Looks like I will need to use mozilla mail to convert the outlook messages to something evolution can import. That's not too bad, but there doesnt seem to be any way to easily transfer contacts. I've got hundreds.