T42p with Ubuntu 5.04 won't hibernate

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
egibbs
Senior Member
Senior Member
Posts: 896
Joined: Tue Apr 27, 2004 6:05 am
Location: New Jersey

T42p with Ubuntu 5.04 won't hibernate

#1 Post by egibbs » Thu Apr 28, 2005 6:49 am

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

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#2 Post by Edward Mendelson » Thu Apr 28, 2005 9:59 pm

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

egibbs
Senior Member
Senior Member
Posts: 896
Joined: Tue Apr 27, 2004 6:05 am
Location: New Jersey

#3 Post by egibbs » Fri Apr 29, 2005 6:58 am

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

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#4 Post by Edward Mendelson » Fri Apr 29, 2005 8:15 am

are you sure /dev/hdc3 is right? Not /dev/hdc5 ???

egibbs
Senior Member
Senior Member
Posts: 896
Joined: Tue Apr 27, 2004 6:05 am
Location: New Jersey

#5 Post by egibbs » Fri Apr 29, 2005 8:52 am

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

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#6 Post by Edward Mendelson » Fri Apr 29, 2005 9:03 am

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.

egibbs
Senior Member
Senior Member
Posts: 896
Joined: Tue Apr 27, 2004 6:05 am
Location: New Jersey

#7 Post by egibbs » Fri Apr 29, 2005 9:05 am

I will when I get home tonight. Right now I'm at work on a Windows box.

Ed Gibbs

Edward Mendelson
**SENIOR** Member
**SENIOR** Member
Posts: 583
Joined: Mon May 24, 2004 10:11 am

#8 Post by Edward Mendelson » Sat Apr 30, 2005 9:22 am

Did /dev/hdc5 fix the problem?

egibbs
Senior Member
Senior Member
Posts: 896
Joined: Tue Apr 27, 2004 6:05 am
Location: New Jersey

#9 Post by egibbs » Sat Apr 30, 2005 3:07 pm

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.

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: No registered users and 2 guests