suspend/resume broken on dell Latitude E6400 kernel 2.6.27-3

Bug #269490 reported by freiric
50
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

I installed for some days intrepid Ibex alpha 5 on a latitude E6400 and done an upgrade on september 11/2008, resuming from suspend come up with a frozen screen.

The following log are attached:
* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

Tags: linux-2.6.27
Revision history for this message
freiric (freiric2) wrote :
Revision history for this message
freiric (freiric2) wrote :

dmesg.log is obtained after following the steps from https://wiki.ubuntu.com/DebuggingKernelSuspend

Revision history for this message
freiric (freiric2) wrote :
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Rob Frohne (frohro) wrote :

I just got my Dell E6400, and did try suspend and resume once, and it worked for me, but I only tried it once. I am using Intripid Ibex and my kernel is given by:

$ uname -r
2.6.27-3-generic

Hope this helps!

Rob

Revision history for this message
freiric (freiric2) wrote :

I forgot to say that it worked once as well for me. And in fact two more times, each after an upgrade.

Revision history for this message
hasi (whynot-nurfuerspam) wrote :

Previously, the standby/hibernate and resume functions tended to be affected by the kvm module(s). This was documented in bugs #113038 and #163862.

Is there a chance the observed behavior may depend on whether the kvm/kvm-intel modules are loaded? I seem to remember that suspend would no longer work after I had installed VirtualBox in an earlier version.

I apologize if this information is very vague. I hope that these hints would be helpful to the ones who want to play around with some settings to hunt the bug.

Revision history for this message
freiric (freiric2) wrote :

Thanks, some hints are greatly appreciated. Alas, on my computer there is no kvm module (lsmod | grep kvm does not return anything). If anybody have some other ideas, I would like to try them.

Revision history for this message
Mario Limonciello (superm1) wrote :

Removing the Dell project. This isn't a machine shipping with Ubuntu.

Changed in dell:
status: New → Invalid
Revision history for this message
hasi (whynot-nurfuerspam) wrote :

Does that mean that this machine will never be sold with Ubuntu?

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 269490] Re: suspend/resume broken on dell Latitude E6400 kernel 2.6.27-3

It doesn't mean it will *never* be sold with Ubuntu, but it's not in the
current lineup of machines that has been, currently is, or will be
targeted with Ubuntu.

hasi wrote:
> Does that mean that this machine will never be sold with Ubuntu?
>
>

--
Mario Limonciello
*Dell | Linux Engineering*
<email address hidden>

Revision history for this message
Rob Frohne (frohro) wrote :

This seems to be fixed with 2.6.27-5-generic on my E6400 Latitude. I tried several times to suspend and it came back every time! Thanks to whoever fixed it! Hibernation even worked, though I only tested it once.

Rob

Revision history for this message
freiric (freiric2) wrote :

Still not fixed on my machine. Have you done anything special Rob? Maybe a specificity of my laptop is that I upgraded the Bios to version A03. Should I send the logs I get on 2.6.27-5 ?

Revision history for this message
Rob Frohne (frohro) wrote :

I don't have anything special that I can think of. I installed Intrepid with A5, copied my home directories from my old notebook, and have been keeping things up to date. (I have proposed updates and every other kind of update selected in Sysaptic.) I am also using Bios A01.

Rob

Revision history for this message
Kai Jauch (kaijauch) wrote :

Also broken on my E6400. Neither suspend to RAM nor suspend to disk are working with Ubuntu 8.10 beta. The machine is suspending and shutting down, but crashes on resume (magic-sysreq keys don't work) in either case.
Attaching output of lspci -nv.

Revision history for this message
Kai Jauch (kaijauch) wrote :

Strange! I just tried suspend to ram with /etc/acpi/sleep.sh force in order to obtain further debug information. The first suspend did not resume correctly, the second one apparently did (I am writing from the resumed system). Sound however does not work again, I'm just getting distorted crackling noise.
Attaching dmesg.

Revision history for this message
Kai Jauch (kaijauch) wrote :

Disregard the sound problem, apparently sound broke completely after some update. Deleting personal configuration files resolved that.

Revision history for this message
Kai Jauch (kaijauch) wrote :

Suspend broke again after rebooting. I can't think of anything I did differently this time, once it worked I could suspend/resume multiple times in a row.

Revision history for this message
Robert Entner (robertentner) wrote :

The same here. I could suspend/resume several times without problems on my E6400. Now, suddenly it seems to freeze my system regularly at resume.

Revision history for this message
Robert Entner (robertentner) wrote :

I have copied an Intrepid beta to an USB stick using usb-creator. When I boot from that stick suspend works fine, just as it did with my hdd install some days ago. Booting from the harddisk with an up-to-date Ubuntu does not work though.

Also I tried to install a release candidate without adding any packages to default -> suspend does not work.

When I switch to a text-console and suspend by using "pmi action suspend" it _never_ fails to resume. Switching to the graphical console (ALT+F7) then freezes the system. This is 100% the case when I was logged in to Gnome. When X was in GDM no crash happens.

I tried the newest Kernel (2.6.28-RC2 I think) -> still freezes.

Revision history for this message
Robert Entner (robertentner) wrote :

Here a list of packages and their versions of my live usb-stick with fully and reliably working suspend.

Revision history for this message
Robert Entner (robertentner) wrote :

After at least 20 successful suspend/resumes using my live usb-stick (above), resume got frozen for the first time :-/

Revision history for this message
Florian Schweikert (kelvan) wrote :

I tested suspend(ram/disk) on three Latitude E6500.
Suspend2Disk works (flackering display while suspending :(), but it stucks when resuming (empty grey unlock window, mousepointer stucks)
Suspend2RAM works often, last days it works less.

Revision history for this message
Robert Entner (robertentner) wrote :

Florian Schweikert wrote:
  "empty grey unlock window, mousepointer stucks"

that is exactly what it looks like on my E6400 after waking up from suspend.

Revision history for this message
Florian Schweikert (kelvan) wrote :

I tested this on three E6500 and one E6400 everywhere the same problem.

Revision history for this message
Florian Schweikert (kelvan) wrote :

I think it's an Xserver problem:

(II) intel(0): EDID vendor "SEC", prod id 21570
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 108.00 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (54.7 kHz)
(II) intel(0): Modeline "1440x900"x0.0 72.08 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (36.5 kHz)
(II) intel(0): EDID vendor "SEC", prod id 21570
(EE) intel(0): Mode 1280x1024 does not fit virtual size 2880x900 - internal error
(II) intel(0): EDID vendor "SEC", prod id 21570
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 108.00 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (54.7 kHz)
(II) intel(0): Modeline "1440x900"x0.0 72.08 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (36.5 kHz)
(II) intel(0): EDID vendor "SEC", prod id 21570
(EE) intel(0): Mode 1280x1024 does not fit virtual size 2880x900 - internal error
(II) intel(0): EDID vendor "SEC", prod id 21570
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 108.00 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (54.7 kHz)
(II) intel(0): Modeline "1440x900"x0.0 72.08 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (36.5 kHz)
(II) intel(0): EDID vendor "SEC", prod id 21570
(EE) intel(0): Mode 1280x1024 does not fit virtual size 2880x900 - internal error
(II) intel(0): EDID vendor "SEC", prod id 21570
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 108.00 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (54.7 kHz)
(II) intel(0): Modeline "1440x900"x0.0 72.08 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (36.5 kHz)
(II) intel(0): EDID vendor "SEC", prod id 21570
(EE) intel(0): Mode 1280x1024 does not fit virtual size 2880x900 - internal error
(II) intel(0): EDID vendor "SEC", prod id 21570
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 108.00 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (54.7 kHz)
(II) intel(0): Modeline "1440x900"x0.0 72.08 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (36.5 kHz)
(II) intel(0): EDID vendor "SEC", prod id 21570
(EE) intel(0): Mode 1280x1024 does not fit virtual size 2880x900 - internal error
(II) intel(0): EDID vendor "SEC", prod id 21570
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0 108.00 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (54.7 kHz)
(II) intel(0): Modeline "1440x900"x0.0 72.08 1440 1504 1536 1976 900 903 906 912 +hsync -vsync (36.5 kHz)
(II) intel(0): EDID vendor "SEC", prod id 21570
(EE) intel(0): Mode 1280x1024 does not fit virtual size 2880x900 - internal error

Revision history for this message
pauls (paulatgm) wrote :

Similar experience on my Dell E1505 (aka 6400) with ATI video card. Suspend works sometimes, but hibernate will not resume. This happened after I upgraded from hardy. So, I tried doing a fresh install, but have the same experience. I tried both 32-bit and 64-bit versions of intrepid, with the same result.

I edited the grub boot line to elimate "quiet splash" and noticed that the resume successfully unpacked the resume image file, but hung at the next step with the error message:

suspending consoles (use no_console_suspend to debug)

I tried this at the end of the boot line and it showed a little more messages, but still did not show any errors. It just hangs,

Revision history for this message
qzio (joel-hansson) wrote :

Florian Schweikert wrote:
  "empty grey unlock window, mousepointer stucks"

This is what's happening to me, I'm on a clevo m735T. I really hope this will be sorted out soon. It used to work for me on hardy. (I did update-manager -d from 64bit hardy)

Revision history for this message
Ivo Cavalcante (iscc) wrote :

Same here.

Microboard Centturion Plus, Turion 64 X2, Ubuntu 8.10 amd64 upgraded from Hardy. Video is ATI, by the way - not sure it's related, but I think it's worth mentioning, as someone here believes it may be an X problem. Suspend/hibernate works fine, but the system freezes on resume - grey screen, mouse pointer and locked touch and keyboard (on suspend) or only mouse pointer and black screen, no touch, no keys (on hibernate).

Ideas?

Revision history for this message
Thomas Neff (t-neff) wrote :

Kubuntu 8.10, Dell Latitude E6400 with intel graphics.

Resume mostly does not work with default settings. Problems appears to be with the xserver. I observed after a successful resume that xrandr reports a spurious "VGA connected" in addition to "LVDS connected".

Resume is working for me if I explicitly disable all outpus except LVDS in xorg.conf (I have not tested whether it would be enough to just disable VGA).

>>>>>> in xorg.conf

Section "Device"
        Identifier "Configured Video Device"
        Option "monitor-VGA" "VGA"
        Option "monitor-LVDS" "LVDS"
        Option "monitor-HDMI-1" "HDMI-1"
        Option "monitor-HDMI-2" "HDMI-2"
        Option "monitor-TV" "TV"
EndSection

Section "Monitor"
        Identifier "VGA"
        Option "Ignore" "true"
EndSection

Section "Monitor"
        Identifier "LVDS"
EndSection

Section "Monitor"
        Identifier "HDMI-1"
        Option "Ignore" "true"
EndSection

Section "Monitor"
        Identifier "HDMI-2"
        Option "Ignore" "true"
EndSection

Section "Monitor"
        Identifier "TV"
        Option "Ignore" "true"
EndSection

<<<<<

Revision history for this message
Robert Entner (robertentner) wrote :

@Thomas Neff: I tried your workaround, but resume failed at the second try. For me only the "disable CPUs" fix works.
http://www.entner.net/blog/workaround-intel-graphics-and-suspend-in-linux-english

Revision history for this message
Rob Frohne (frohro) wrote :

Robert's "disable CPUs" work around works for me, and I like it much better than disabling the VGA as I use this machine for presentations everyday.

Thanks Robert!

Rob

Revision history for this message
Robert Entner (robertentner) wrote :

@Rob: The trick does not come from myself. I think the original post is the following:
http://ubuntuforums.org/showpost.php?p=6105510&postcount=12
Then there are other interesting sources:
https://bugs.freedesktop.org/show_bug.cgi?id=17807
http://www.thinkwiki.org/wiki/Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T400#Suspend.2FHibernate
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/276943

The only problem is that CPU frequency scaling cannot be properly changed using the gnome applet afterwards.

Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Changed in somerville:
status: New → Invalid
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305573

no longer affects: somerville
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.