hibernate is unreliable on on Lenovo 3000 N100

Bug #64439 reported by LarryGrover
6
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-2.6.17-10-generic

Hibernate is on my laptop (Lenovo 3000 N100 model 0689-6EU). I am running Edgy, with all updates applied.

Hibernate fails about 33-50% of the time when I am trying to "wake" the system back up. When hibernate fails, the system appears to suspend-to-disk correctly (lots of disk write activity followed by power off), but resuming fails: after powering on, grub boots the system correctly and the usplash screen appears briefly, but then the system freezes at a blank (black) sreen with either a normal cursor, a "busy" cursor, or sometimes alternating every few seconds between normal and busy cursors eventually followed by a freeze. When system freezes it does not respond to keyboard or mouse input; I need to force a power-off to recovery.

Some additional information on my system:

$ uname -a
Linux skink 2.6.17-10-generic #2 SMP Fri Oct 6 00:36:14 UTC 2006 i686 GNU/Linux

$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller IDE (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
05:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
05:04.0 CardBus bridge: ENE Technology Inc CB1410 Cardbus Controller (rev 01)
05:06.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832
05:06.1 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
05:06.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)
05:06.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)
05:06.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

From /var/log/messages (beginning when hibernate started and ending at system freeze):

Oct 6 10:02:28 skink gnome-power-manager: (grover) Hibernating computer because the DBUS method Hibernate(
) was invoked
Oct 6 10:02:37 skink kernel: [17227070.752000] ACPI: PCI interrupt for device 0000:05:01.0 disabled
Oct 6 10:02:39 skink kernel: [17227072.952000] Freezing cpus ...
Oct 6 10:02:39 skink kernel: [17227073.076000] CPU 1 is now offline
Oct 6 10:02:39 skink kernel: [17227073.076000] SMP alternatives: switching to UP code
Oct 6 10:30:46 skink kernel: [17227073.076000] CPU1 is down
Oct 6 10:30:49 skink kernel: [17227073.076000] Stopping tasks: ===========================================
==========================================================================================|
Oct 6 10:30:49 skink kernel: [17227073.464000] Shrinking memory... ^H-^H\^H|^H/^H-^H\^Hdone (62647 pages
freed)
Oct 6 10:30:49 skink kernel: [17227082.052000] ACPI: PCI interrupt for device 0000:05:06.1 disabled
Oct 6 10:30:49 skink kernel: [17227082.068000] ACPI: PCI interrupt for device 0000:05:04.0 disabled
Oct 6 10:30:49 skink kernel: [17227082.068000] eth1: Going into suspend...
Oct 6 10:30:49 skink kernel: [17227082.176000] ACPI: PCI interrupt for device 0000:03:00.0 disabled
Oct 6 10:30:49 skink kernel: [17227082.192000] ACPI: PCI interrupt for device 0000:00:1f.2 disabled
Oct 6 10:30:49 skink kernel: [17227082.208000] ACPI: PCI interrupt for device 0000:00:1d.7 disabled
Oct 6 10:30:49 skink kernel: [17227082.224000] ACPI: PCI interrupt for device 0000:00:1d.3 disabled
Oct 6 10:30:49 skink kernel: [17227082.224000] ACPI: PCI interrupt for device 0000:00:1d.2 disabled
Oct 6 10:30:49 skink kernel: [17227082.224000] ACPI: PCI interrupt for device 0000:00:1d.1 disabled
Oct 6 10:30:50 skink gnome-power-manager: (grover) Resuming computer
Oct 6 10:30:50 skink kernel: [17227082.224000] ACPI: PCI interrupt for device 0000:00:1d.0 disabled
Oct 6 10:30:51 skink kernel: [17227082.224000] ACPI: PCI interrupt for device 0000:00:1b.0 disabled
Oct 6 10:30:51 skink kernel: [17227082.224000]
Oct 6 10:30:51 skink kernel: [17227082.224000] swsusp: Need to copy 59728 pages
Oct 6 10:30:51 skink kernel: [17227082.224000] swsusp: Restoring Highmem
Oct 6 10:30:51 skink kernel: [17228752.264000] ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low)
-> IRQ 177
Oct 6 10:30:51 skink kernel: [17228752.264000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low)
-> IRQ 233
Oct 6 10:30:51 skink kernel: [17228752.328000] ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI 17 (level, low)
-> IRQ 169
Oct 6 10:30:51 skink kernel: [17228752.328000] ACPI: PCI Interrupt 0000:00:1c.1[B] -> GSI 16 (level, low)
-> IRQ 177
Oct 6 10:30:51 skink kernel: [17228752.328000] ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 23 (level, low)
-> IRQ 217
Oct 6 10:30:51 skink kernel: [17228752.328000] ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low)
-> IRQ 209
Oct 6 10:30:51 skink kernel: [17228752.328000] ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low)
-> IRQ 225
Oct 6 10:30:51 skink kernel: [17228752.328000] ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI 16 (level, low)
-> IRQ 177
Oct 6 10:30:51 skink kernel: [17228752.344000] PCI: Enabling device 0000:00:1d.7 (0000 -> 0002)
Oct 6 10:30:51 skink kernel: [17228752.344000] ACPI: PCI Interrupt 0000:00:1d.7[A] -> GSI 23 (level, low)
-> IRQ 217
Oct 6 10:30:51 skink kernel: [17228752.360000] ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low)
-> IRQ 209
Oct 6 10:30:51 skink kernel: [17228752.360000] eth1: Coming out of suspend...
Oct 6 10:30:51 skink kernel: [17228752.376000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low)
-> IRQ 169
Oct 6 10:30:51 skink kernel: [17228752.376000] ACPI: PCI Interrupt 0000:05:04.0[A] -> GSI 16 (level, low)
-> IRQ 177
Oct 6 10:30:51 skink kernel: [17228752.376000] ACPI: PCI Interrupt 0000:05:06.0[A] -> GSI 22 (level, low)
-> IRQ 233
Oct 6 10:30:51 skink kernel: [17228752.392000] ACPI: PCI Interrupt 0000:05:06.1[B] -> GSI 23 (level, low)
-> IRQ 217
Oct 6 10:30:51 skink kernel: [17228752.440000] pnp: Device 00:09 does not support activation.
Oct 6 10:30:51 skink kernel: [17228752.440000] pnp: Device 00:0a does not support activation.
Oct 6 10:30:51 skink kernel: [17228753.248000] ata1: dev 0 configured for UDMA/100
Oct 6 10:30:51 skink kernel: [17228753.412000] ata2: dev 0 configured for UDMA/33
Oct 6 10:30:51 skink kernel: [17228753.484000] hci_usb: probe of 1-2:1.2 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.484000] hci_usb: probe of 1-2:1.3 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.524000] hci_usb: probe of 1-2:1.2 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.524000] hci_usb: probe of 1-2:1.3 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.612000] hci_usb: probe of 1-2:1.2 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.612000] hci_usb: probe of 1-2:1.3 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.652000] hci_usb: probe of 1-2:1.2 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.652000] hci_usb: probe of 1-2:1.3 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.688000] hci_usb: probe of 1-2:1.2 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.688000] hci_usb: probe of 1-2:1.3 failed with error -113
Oct 6 10:30:51 skink kernel: [17228753.736000] Restarting tasks... done
Oct 6 10:30:51 skink kernel: [17228753.744000] Thawing cpus ...
Oct 6 10:30:51 skink kernel: [17228753.764000] SMP alternatives: switching to SMP code
Oct 6 10:30:51 skink kernel: [17228753.764000] Booting processor 1/1 eip 3000
Oct 6 10:30:51 skink kernel: [17228753.772000] Initializing CPU#1
Oct 6 10:30:51 skink kernel: [17228753.852000] Calibrating delay using timer specific routine.. 3325.16 Bo
goMIPS (lpj=6650328)
Oct 6 10:30:51 skink kernel: [17228753.852000] monitor/mwait feature present.
Oct 6 10:30:51 skink kernel: [17228753.852000] CPU: L1 I cache: 32K, L1 D cache: 32K
Oct 6 10:30:51 skink kernel: [17228753.852000] CPU: L2 cache: 2048K
Oct 6 10:30:51 skink kernel: [17228753.852000] CPU: Hyper-Threading is disabled
Oct 6 10:30:51 skink kernel: [17228753.852000] CPU1: Intel Genuine Intel(R) CPU T2300 @ 1.66GHz
 stepping 08
Oct 6 10:30:51 skink kernel: [17228753.856000] CPU1 is up
Oct 6 10:30:51 skink kernel: [17228753.980000] usb 1-1: new low speed USB device using uhci_hcd and addres
s 5
Oct 6 10:30:51 skink kernel: [17228754.156000] usb 1-1: configuration #1 chosen from 1 choice
Oct 6 10:30:51 skink kernel: [17228754.160000] usb 1-2: USB disconnect, address 4
Oct 6 10:30:51 skink kernel: [17228754.520000] usb 1-2: new full speed USB device using uhci_hcd and addre
ss 6
Oct 6 10:30:51 skink kernel: [17228754.692000] usb 1-2: configuration #1 chosen from 1 choice
Oct 6 10:30:51 skink kernel: [17228756.908000] ipw3945: Detected geography ABG (11 802.11bg channels, 13 8
02.11a channels)
Oct 6 10:30:52 skink kernel: [17228766.400000] usbcore: registered new driver hiddev
Oct 6 10:30:52 skink kernel: [17228766.416000] input: Logitech USB-PS/2 Optical Mouse as /class/input/inpu
t2
Oct 6 10:30:52 skink kernel: [17228766.416000] input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse
] on usb-0000:00:1d.0-1
Oct 6 10:30:52 skink kernel: [17228766.416000] usbcore: registered new driver usbhid
Oct 6 10:30:52 skink kernel: [17228766.416000] drivers/usb/input/hid-core.c: v2.6:USB HID core driver
Oct 6 10:30:54 skink kernel: [17228768.788000] ADDRCONF(NETDEV_UP): eth1: link is not ready
Oct 6 10:30:54 skink kernel: [17228769.104000] 8139too Fast Ethernet driver 0.9.27
Oct 6 10:30:54 skink kernel: [17228769.108000] ACPI: PCI Interrupt 0000:05:01.0[A] -> GSI 21 (level, low)
-> IRQ 50
Oct 6 10:30:54 skink kernel: [17228769.108000] eth0: RealTek RTL8139 at 0xe044c000, 00:0f:b0:c9:53:bd, IRQ
 50
Oct 6 10:30:56 skink kernel: [17228770.908000] eth0: link down
Oct 6 10:30:56 skink kernel: [17228770.908000] ADDRCONF(NETDEV_UP): eth0: link is not ready
Oct 6 10:30:56 skink dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for su
b-path eth0.dbus.get.reason
Oct 6 10:30:58 skink kernel: [17228773.560000] ACPI: Power Button (FF) [PWRF]
Oct 6 10:30:58 skink kernel: [17228773.560000] ACPI: Lid Switch [LID0]
Oct 6 10:30:58 skink kernel: [17228773.560000] ACPI: Power Button (CM) [PWRB]
Oct 6 10:30:59 skink kernel: [17228773.632000] ACPI Exception (acpi_thermal-0417): AE_NOT_FOUND, Invalid a
ctive threshold [0] [20060707]
Oct 6 10:30:59 skink kernel: [17228773.632000] ACPI: Thermal Zone [TZ00] (34 C)
Oct 6 10:30:59 skink kernel: [17228773.696000] ACPI: AC Adapter [ACAD] (on-line)
Oct 6 10:30:59 skink kernel: [17228773.816000] ACPI: Battery Slot [BAT1] (battery present)
Oct 6 10:31:19 skink gconfd (grover-15020): Received signal 15, shutting down cleanly
Oct 6 10:31:22 skink gconfd (grover-15020): Exiting
Oct 6 10:31:25 skink kernel: [17228799.812000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Oct 6 10:31:36 skink dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for su
b-path eth1.dbus.get.host_name
Oct 6 10:31:36 skink dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for su
b-path eth1.dbus.get.nis_domain
Oct 6 10:31:36 skink dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for su
b-path eth1.dbus.get.nis_servers

Revision history for this message
GeneW (etwilson) wrote :

Hibernate causes a Kernel panic for me right when it starts to hibernate. This only happens with the 2.6.17 kernel, 2.6.15 works correctly. I'm running a Thinkpad T42.

Uname -a:
Linux ewilson-laptop 2.6.17-10-386 #2 Fri Oct 6 00:34:13 UTC 2006 i686 GNU/Linux

/var/log/messages is not very helpful:
Oct 10 07:28:45 localhost gnome-power-manager: (ewilson) Hibernating computer because the DBUS method Hibernate() was invoked
Oct 10 07:30:34 localhost syslogd 1.4.1#18ubuntu6: restart.

Revision history for this message
GeneW (etwilson) wrote :

Hibernate is now working again on the T42. Still running the 2.6.17-10-386 Kernel but the latest batch of other updates must have fixed it.

Revision history for this message
LarryGrover (lgrover) wrote :

I originally filed this bug against the kernel because I thought it was a problem with hibernation or recovery from hibernation, but I have had the chance to observe this bug several more times and I think this may not be a kernel bug after all.

When my laptop get "stuck" resuming (blank screen with cursor only) I am able to ssh in to the machine. When I do this I consistently see that these processes are running: gdmopen, sh and whiptail. Running strace against the gdmopen processes revealed it was hung at:

waitpid(11654,

the processes with pid # 11654 was whiptail, running strace against whiptail revealed:

select(1, [0], [], [], NULL

Whiptail is apparently some type of dialog display program, and it seems that it may be stuck waiting for input. However, at the time that the gdmopen, sh and whiptail processes are running the screen is totally blank and dark except for an X cursor which is sometimes in a normal state (arrow) and sometimes in a busy state (timer). The system does not respond to keyboard input at this point (one of the reasons I originally thought this was a kernel bug).

Revision history for this message
LarryGrover (lgrover) wrote :

A recent update, perhaps the fix reported in acpi-support in bug # 56365, seems to have fixed this bug too. Hibernate is working reliably for me now.

Revision history for this message
Nicolas DERIVE (kalon33) wrote :

As the reporter said it is fixed now, marked as "fix released". Thanks Larry for your information about the bug status on your computer.

Changed in acpi-support:
status: Unconfirmed → Fix Released
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.