hibernate does not work

Bug #20952 reported by Eyal Oren
4
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

hibernate does not work on breezy (all packages up-to-date 2005/09/05).
it did work on hoary. suspend works (most of the time, sometimes problems resuming)

system goes into hibernate, screen blanks, and writes something to disk, but
does not shutdown.
on startup, the normal boot follows, no resume.

hibernate is enabled in /etc/defaults/acpi-support.
resume is added to /boot/grub/menu.lst

Revision history for this message
Matthew Garrett (mjg59) wrote :

Please edit /etc/default/acpi-support and change

USE_DPMS

to false. Attempt a suspend - there should now be more verbose output on the
screen. Does that give any indication? What hardware is this?

Revision history for this message
Eyal Oren (ikbeneyal) wrote :

It is an IBM R40.

the output does not mean much to me, I think it might be the wireless PCMCIA
card. I can give you a summary of the messages, if that doesn't help just tell
me what I should look for (or can I save and attach that output somehow?)

===
freeing mem ... done
ACPI pci interrupt 0000:02:00.0 disabled
ACPI pci interrupt 0000:00:1f.5 disabled
...
swsusp: need to copy 13332 pages
swsusp: critical section done
swsusp: restoring high mem
...
ACPI pci interrupt 0000:00:1f:1[A] -> Link ... -> GSI 11 -> IRQ 11
ACPI pci interrupt 0000:00:1f:5[B] -> Link ... -> GSI 5 -> IRQ 5
ACPI setting latency of 0000:00:1f to 64 (i think)
ACPI pci interrupt 0000:01:00.0[A] -> Link ... -> GSI 11 -> IRQ 11
ACPI pci interrupt 0000:02:00.0[A] -> Link ... -> GSI 11 -> IRQ 11

and then it hangs.
lspci says 0000:02:00.0 is my Cardbus bridge (0000:02:00.0 CardBus bridge: Texas
Instruments PCI1510 PC card Cardbus Controller)

btw, I looks like standby is resuming fine right now (I don't know what I could
have changed though)

Revision history for this message
Matthew Garrett (mjg59) wrote :

Ok. Could you try unplugging the PCMCIA card before hibernating and see if that
helps? If so, I think I've seen the problem - I'll take a look.

Revision history for this message
Eyal Oren (ikbeneyal) wrote :

yes. ejecting the wireless card beforehand makes hibernate work indeed.
but resuming does not work.

kernel starts loading and then i'm getting errors with inserting modules. the
system then freezes.

e.g.:
insmod: error inserting /lib/modules/.../console/bitblit.ko -1 file exists
insmod: error inserting /lib/modules/.../console/font.ko -1 file exists

Revision history for this message
Lars Volker (lv) wrote :

I have exactly the same problem here, but I dont't have andy cards in my
pcmcia-socket. I have an O2Micro Cardbus-Controller in an Acer TM803LMi. Any
suggestions for modules to unload etc.
Here is the relevant device from lspci:

0000:02:06.1 CardBus bridge: O2 Micro, Inc. OZ711M1 SmartCardBus MultiMediaBay
Controller (rev 20)

thx, Lars

Revision history for this message
Matthew Garrett (mjg59) wrote :

This should now be fixed. Please download the latest initramfs-tools and do

sudo dpkg-reconfigure linux-image-`uname -r`

to regenerate your initramfs. Let me know if there are any other problems.

Suspend with inserted PCMCIA cards will be fixed in the next kernel upload.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.