Sleep/Suspend stopped working

Bug #33612 reported by Łukasz Halman
16
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I have MSI S260 laptop which is a centrino one with 915 chipset. Until recent updated everything worked smoothly. Right now when laptop wakes up from sleep state screen stays black and "alt-ctrl-backspace + alt-ctrl-del" doesn't result in reboot. I assume it doesn't actually wake up at all.

Hibernate will shutdown the laptop, but after that I won't boot-up resulting in "Inconsistent disk state" error. When I boot it in "rescue/safe" mode it will boot-up and even actually resume hibernated session.

I don't know what would be a valuable data to trace this bug. I'll provide whatever is needed.

Once again. Everything WAS working week ago.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

It might be helpful to attach the output of lspci -v and uname -a . This is most likely a kernel bug...

Revision history for this message
Łukasz Halman (lukasz-halman) wrote :
Download full text (7.3 KiB)

I just updated everything to latest versions and sleep is working again. However hibernate still results in "Inconsistent disk structure" error. What's weird is that when I choose "rescue" mode the hibernated session will be resumed correctly.

uname -a:
Linux megabook 2.6.15-17-386 #1 PREEMPT Fri Mar 3 00:50:17 UTC 2006 i686 GNU/Linux

lspci -v:
0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, fast devsel, latency 0
 Capabilities: <available only to root>

0000:00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA])
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, fast devsel, latency 0, IRQ 201
 Memory at fbe80000 (32-bit, non-prefetchable) [size=512K]
 I/O ports at dc00 [size=8]
 Memory at d0000000 (32-bit, prefetchable) [size=256M]
 Memory at fbe40000 (32-bit, non-prefetchable) [size=256K]
 Capabilities: <available only to root>

0000:00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, fast devsel, latency 0
 Memory at fbd80000 (32-bit, non-prefetchable) [size=512K]
 Capabilities: <available only to root>

0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04) (prog-if 00 [UHCI])
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, medium devsel, latency 0, IRQ 193
 I/O ports at d880 [size=32]

0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04) (prog-if 00 [UHCI])
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, medium devsel, latency 0, IRQ 169
 I/O ports at d800 [size=32]

0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04) (prog-if 00 [UHCI])
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, medium devsel, latency 0, IRQ 185
 I/O ports at d480 [size=32]

0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04) (prog-if 00 [UHCI])
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, medium devsel, latency 0, IRQ 201
 I/O ports at d400 [size=32]

0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04) (prog-if 20 [EHCI])
 Subsystem: Micro-Star International Co., Ltd.: Unknown device 0121
 Flags: bus master, medium devsel, latency 0, IRQ 193
 Memory at fbe3bc00 (32-bit, non-prefetchable) [size=1K]
 Capabilities: <available only to root>

0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4) (prog-if 01 [Subtractive decode])
 Flags: bus master, fast devsel, latency 0
 Bus: primary=00, secondary=01, subordinate=02, sec-latency=32
 I/O behind bridge: 0000e000-0000efff
 Memory behind bridge: fbf00000-fbffffff
 Prefe...

Read more...

Revision history for this message
Łukasz Halman (lukasz-halman) wrote :

I also wanted to note that sleep works great when I choose it from menu. Clicking sleep button on laptop will work just as good, but after wake-up gnome-power-manager gives notification "System failed to suspend", which is obviously wrong.

Revision history for this message
Richard Hughes (richard-hughes) wrote : redhat patch to fix timeout problem

You might want to try the attached patch, as this is what redhat use. I'm going to commit something similar to gnome CVS today.

Richard

Revision history for this message
Daniel Silverstone (dsilvers) wrote :

thanks richard. i've put this into our 2.13.93 package

Revision history for this message
Daniel Silverstone (dsilvers) wrote :

Fixed in 2.13.93-0ubuntu1

Changed in gnome-power-manager:
assignee: nobody → dsilvers
status: Unconfirmed → Fix Released
Revision history for this message
Łukasz Halman (lukasz-halman) wrote :

Everything stopped working again after. It was ok in flight4, then broken, then fixed and now it is broken again.

Laptop turns to sleep ok, but then doesn't wake up. Screen stays black and disk activity led is on permanently, although no disk moves can be heard.

Suspending doesn't work at all. I have to turn it off manually.

Changed in gnome-power-manager:
status: Fix Released → Confirmed
Revision history for this message
Daniel Silverstone (dsilvers) wrote :

I'm fairly confident this is an acpi-support or a kernel bug. The acpi-support guys should be better placed to help you

Changed in gnome-power-manager:
assignee: dsilvers → nobody
Revision history for this message
Łukasz Halman (lukasz-halman) wrote :

I found what is causing problems. It's the bluetooth module. When it is turned on sleep/hibernate will fail, when off everything work reliably (so far).

Is there a way to fix/workaround this?

Revision history for this message
Paul Sladen (sladen) wrote :

Could you check if the machine does *finally* hibernate? I have seen the IDE LED being on permanently (again, no sound of any physical activity), but the machine didn't actually turn itself off (after about 5minutes of having left it alone).

Revision history for this message
Łukasz Halman (lukasz-halman) wrote :

When I enable bluetooth the situation is as follows:

1. Sleep

Notebook goes to sleep, but doesn't resume. There is some disk activity for a while, power led stops flashing, but computer is totally unresponsive. It's not just that screen is blank, notebook is literally frozen.

2. Hibernate

Hibernation doesn't work at all. Desktop blanks, there's some audible disk activity for a while, some noises in speakers and then nothing.
Notebook doesn't turn off and disk activity led is on, altough disk isn't doing anything. I have to turn it off by force and always get some serious problems with filesystem after that. Nothing lost yet, reiserfs always survives, but last time I needed to 2 reboots to get machine running again.

Revision history for this message
Łukasz Halman (lukasz-halman) wrote :

If there's some techical info I can provide, please tell me. I wanted to find out what bluetooth chipset it actually is, but haven't found anything in dmesg nor /proc.

Revision history for this message
Paul Sladen (sladen) wrote :

Hi Łukasz, please could you try leaving the laptop a *really long time* (eg. 10-15minutes) and see if it does eventually complete the hibernate - you can tell because it will have turned itself off.

Revision history for this message
Paul Sladen (sladen) wrote :

The internal bluetooth dongles are normally USB. Which can be viewed with:

  $ lsusb

Revision history for this message
Łukasz Halman (lukasz-halman) wrote :

Yes, notebook does finally hibernate after around 10 minutes. What worries me is that it worked immediately without bluetooth on few days ago, now it will take 10 minutes too.

My BlueTooth dongle is:
Camridge Silicon Radio, Ltd Bluetoot Dongle (HCI mode)

Is hibernation meant to work if swap partition is 512MB and whole ram (512) and half of swap is used? If not how can I set up seperate partition for hibernation purposes only?

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

Resume should work with the 2.6.15-20 kernel that's just been uploaded. Please open another bug for the problem with the slow hibernation.

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