Does not resume from suspend

Bug #60752 reported by Pascal d'Hermilly
12
Affects Status Importance Assigned to Milestone
hal-info (Ubuntu)
Invalid
Undecided
Daniel T Chen
linux-source-2.6.20 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: acpi

When I try to resume from suspend in Edgy knot 3 (installed and updated) it shows some sort of "nothern lights" (might just be my display) and doesnt resume the session. It fades to black screen and I have to shut it off manually.
I get same behaviour in Dapper Drake.

This are my specs (please note they are in danish, but I will translate if you cant read them):
http://nordic.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/jsp/productPage.do?LNG=19&service=ND&PRODUCT_ID=117168&toshibaShop=false

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I've done the HWDB thing, and this is my number: 60ac0d457a4db6b202ccba69f697cdc2

I'm not sure the data is on the server yet, because I had to email it. The automatical upload timed out.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I think this is a better package

Revision history for this message
Ben Collins (ben-collins) wrote :

Please be sure to test latest kernel (2.6.17-9.23, or 2.6.17-8.22).

Changed in linux-source-2.6.17:
status: Unconfirmed → Needs Info
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I've just tested with 2.6.17-8.22 and it's the same.

Revision history for this message
Andrea Gamba (andrea-gamba) wrote :

I think that the importance of the problem should be considered high.

Aiglx is an important innovation with respect to Dapper, it brings Ubuntu in direct competition with the GUIs of Mac OS or Vista.

However, nobody is going to use Aiglx on the laptop if it impairs useful features such as hibernate or suspend.

The problem with Aiglx and suspend has been discussed in several places, here for instance:
http://www.ubuntuforums.org/showthread.php?t=145068&page=103

but is still not solved. However, it should be solvable in principle.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I'm afraid I might have mislead some of you.
I've just tried with the kubuntu dapper live desktopcd and it doesn't work there either. But it does the same sort of "nothern lights.." as I was refering to before therefore it cannot be the Aiglx.
I think it might just be my display that doesn't know what to show.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I've tested with kernel 2.6.17-9 and it doesn't work.

description: updated
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I'm opening again since I've supplied the requested info

Changed in linux-source-2.6.17:
status: Needs Info → Unconfirmed
Revision history for this message
Matthew Garrett (mjg59) wrote :

aiglx works fine with suspend/resume - the references on the forums relate to a fixed bug.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

Is there anyway I can help?
I would very much like edgy to support suspend for my laptop.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I've tested with kernel 2.6.17-10 and I get the same behaviour.
Can I paste some sort of logfile?

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

how do we move on?

Revision history for this message
Andrea Gamba (andrea-gamba) wrote :

>aiglx works fine with suspend/resume - the references
>on the forums relate to a fixed bug.

Can you please give the reference of the fix?

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

Doesn't work in Edgy RC1.

Andrea, mathew is not subscribed to this bug, but you can contact him about the aiglx bug by clicking on his name.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Thanks this bug report. To make progress, some more information will be needed.

Please attach (by commenting on the bug) to the bug report the output of the following commands:

uname -a

sudo lspci -vv

sudo lspci -vvn

sudo dmidecode

It would also be helpful if you could try to hibernate/suspend and after that fails, restart your system and attach /var/log/kern.log.0 as well.

Since there will be a lot of output, please do be sure to attach rather than commenting -in-line. Thanks again!

Changed in linux-source-2.6.17:
status: Unconfirmed → Needs Info
Revision history for this message
Andrea Gamba (andrea-gamba) wrote :

After some upgrade everything started working. I am now using Edgy and compiz-freedesktop 0.2.1-0gandalf and everything is ok (I stopped upgrading compiz the moment hibernation started working).

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Andrea, thanks for that. We'll wait a bit to hear from Pascal; if things work for him as well, we can mark as fix released.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

It still does not work for me on an updated Kubuntu Edgy.

pascal@Grrr:~$ uname -a
Linux Grrr 2.6.17-10-386 #2 Tue Dec 5 22:26:18 UTC 2006 i686 GNU/Linux

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I've attached kern.log instead of kern.log.0 because I think this is the one you mean.

I believe this was when I tried to resume: Jan 18 14:02:41

Revision history for this message
Peter Whittaker (pwwnow) wrote :

Marking as confirmed based on availability of required logs. Thanks, Pascal!

Pascal, any chance you can try booting with pci=routeirq ? Let us know if this changes anything (it is suggestion from kern.log to try if a device doesn't work properly). Thanks again!

Changed in linux-source-2.6.17:
status: Needs Info → Confirmed
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I interactively added "pci=routeirq" to the 'kernel line' in GRUB and booted. This was what was meant right?
It didn't change the behaviour.

Revision history for this message
Peter Whittaker (pwwnow) wrote :

That should be fine, Pascal, thanks for testing that out, it makes another data point for the developers.

Thanks again!

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I've tested with 2.6.20-9-generic and I can't resume here either.
Is there anything I can do to provide information?

Revision history for this message
Peter Whittaker (pwwnow) wrote :

I've updated the affected package to Feisty's kernel, since the bug persists.

Pascal, to make further progress, it would be useful if you provide all previously requested information (lspci, etc.) from Feisty. Also, please try the steps on the page https://wiki.ubuntu.com/DebuggingKernelSuspend

Thanks!

Changed in linux-source-2.6.20:
assignee: nobody → ubuntu-kernel-acpi
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Ralph Janke (txwikinger) wrote :

Unfortunately this bug report is being closed because we received no response to the last inquiry for information. However, the Intrepid Ibex 8.10 Beta release was most recently announced - http://www.ubuntu.com/testing/intrepid/beta . If you are able to confirm this is still an issue with this most recent release please feel free to reopen this report. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks.

Changed in linux:
importance: Undecided → Medium
status: Incomplete → Won't Fix
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I have a different laptop today. A lenovo t61, but I'm having troubles with resuming with that one as well.
I'm running an up to date Intrepid now. And here comes some output:

uname:
Linux pascal-laptop 2.6.27-7-generic #1 SMP Fri Oct 10 03:55:24 UTC 2008 i686 GNU/Linux

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

It's very strange!
I've been following the guide on https://wiki.ubuntu.com/DebuggingKernelSuspend
When I run the following as root, I resume just fine:
sync; echo 1 > /sys/power/pm_trace; /etc/acpi/sleep.sh force
however, when I suspend using the Guidance power manager I don't resume properly.
Could this be a permissions problem?

//Pascal

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

just tried to suspend again with the powermanager when /sys/power/pm_trace = 1

upon resume the screen started to flickered with colors for about 5 seconds and then X restarted and I was presented with KDM logon prompt. I logged on and it seems to work ok, expect that my session was kicked.

I'm attaching the dmesg output.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

Just did suspend via powermanager again, but this time I was not able to resume at all.
However after booting up again, I now have some more clues:
[ 1.850402] Magic number: 0:953:379
[ 1.850405] hash matches /build/buildd/linux-2.6.27/drivers/base/power/main.c:390
There are no more "hash matches". So I hope it helps.

Again. Attaching the dmesg output

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

reopening since lots of information has been provided.
Can somebody help?

Changed in linux:
status: Won't Fix → New
Revision history for this message
Pete Graner (pgraner) wrote :

It sounds like when using the pm-suspend system via the pm applet that you are getting a quirk set that your system does not like. Please attach the output of:

lshal | grep quirk

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

The output:

pascal@pascal-laptop:~$ lshal | grep quirk
  power_management.quirk.vbe_post = true (bool)

Revision history for this message
Pete Graner (pgraner) wrote :

Try some of the suggestions here:

http://people.freedesktop.org/~hughsient/quirk/quirk-suspend-debug.html

if you find a combo that works post it here and we can tweak the fdi file for you particular machine.

if not we need to dig deeper.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

I can't get pm-suspend resume properly.

however
/etc/acpi/sleep.sh force
just works with no modifications.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) wrote :

Changing status due to the response given.

Changed in linux-source-2.6.20:
status: Won't Fix → New
Revision history for this message
Daniel T Chen (crimsun) wrote :

Please attach your /etc/default/acpi-support so we can contrast with pm-utils.

Changed in linux:
assignee: nobody → crimsun
importance: Medium → Undecided
status: New → Incomplete
Revision history for this message
Peter Whittaker (pwwnow) wrote :

I'm closing this (marking as invalid) owing to inactivity and lack of requested debug information. If the problem persists on the machines in question AND the requested debug information is available, please reopen.

Changed in linux-source-2.6.20:
status: New → Invalid
Changed in hal-info:
status: Incomplete → Invalid
Curtis Hovey (sinzui)
Changed in linux-source-2.6.20 (Ubuntu):
assignee: Registry Administrators (registry) → nobody
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.