[LUCID] suspend/resume issue on Dell Inspiron 1464

Bug #571422 reported by Ben Guthro
48
This bug affects 9 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned

Bug Description

In Lucid, running 2.6.32-21-generic, the system fails to resume.

Things seem to go down fine...but never come back. I always have to cold boot.
I am unable to ssh into the box, and it is totally unresponsive, not even lighting up the LCD

The power light goes from pulsing, to solid...and I get a blip of the HDD, but then it is just stuck

I've tried adding modules to the list to unload in /usr/lib/pm-utils/defaults - but no dice, so far

I have also tried the methods described in linux-2.6/Documentation/power/s2ram.txt and basic-pm-debugging.txt
testing all modes in /sys/power/pm_test succeed, but when I echo none to it, the system does not come back. According to the documentation, this suggests that it is in the invocation of the platform firmware

booting with nomodeset results in X not displaying, so that is not a viable solution. Booting without plymouth/splash has no effect.

WORKAROUND: I tried a .34 kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc5-lucid/linux-image-2.6.34-020634rc5-generic_2.6.34-020634rc5_amd64.deb with the acpi_sleep=sci_force_enable flag and this seemed to solve the issue

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-21-generic 2.6.32-21.32
Regression: No
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: bguthro 1302 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0700000 irq 22'
   Mixer name : 'Intel G45 DEVIBX'
   Components : 'HDA:10ec0269,10280002,00100004 HDA:80862804,80860101,00100000'
   Controls : 17
   Simple ctrls : 9
Date: Wed Apr 28 16:09:17 2010
HibernationDevice: RESUME=UUID=55f14074-ef48-458e-ab46-99175ca0529f
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate amd64 (20100419.1)
MachineType: Dell Inc. Inspiron 1464
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=ef1959f5-00c5-4150-8701-43c115e71f3d ro quiet splash
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:

SourcePackage: linux
dmi.bios.date: 04/20/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A07
dmi.board.name: 0C6HFD
dmi.board.vendor: Dell Inc.
dmi.board.version: A07
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A07
dmi.modalias: dmi:bvnDellInc.:bvrA07:bd04/20/2010:svnDellInc.:pnInspiron1464:pvrA07:rvnDellInc.:rn0C6HFD:rvrA07:cvnDellInc.:ct8:cvrA07:
dmi.product.name: Inspiron 1464
dmi.product.version: A07
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ben Guthro (ben-guthro) wrote :
Revision history for this message
Ben Guthro (ben-guthro) wrote :

As suggested on IRC #ubuntu-kernel, I tried a .34 kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.34-rc5-lucid/linux-image-2.6.34-020634rc5-generic_2.6.34-020634rc5_amd64.deb with the acpi_sleep=sci_force_enable flag and this seemed to solve the issue

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi bguthro,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kernel-suspend
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Ben Guthro (ben-guthro) wrote :

Jeremy,

I tested the mainline package from here: http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/linux-image-2.6.34-999-generic_2.6.34-999.201004291005_amd64.deb and the acpi_sleep=sci_force_enable flag and everything seems to be working properly.

Ideally, the info from dmidecode would be added to the tables in sleep.c for these Dells, so the command line option would not be necessary...but this fix certainly gets things working again - thanks!

tags: removed: needs-upstream-testing
Revision history for this message
illume (illume) wrote :

Suspend with lucid does not work for me either.

Dell Inspiron 1525.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi bguthro,
    I agree, and I also know that we have some folks working on this, so hopefully you will be all good before long.

Thanks!

~Jfo

Revision history for this message
jedioetzi (jedioetzi) wrote :

suspend and hibernate seems to work on my dell x200, when resuming from hibernate it seems that the display is off

00:00.0 Host bridge: Intel Corporation 82830 830 Chipset Host Bridge (rev 04)
00:02.0 VGA compatible controller: Intel Corporation 82830 CGC [Chipset Graphics Controller] (rev 04)
00:02.1 Display controller: Intel Corporation 82830 CGC [Chipset Graphics Controller]
00:1d.0 USB Controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801CA/CAM USB Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801CA/CAM USB Controller #3 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801CA/CAM SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
02:03.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev b8)
02:03.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C551 IEEE 1394 Controller
02:05.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
02:07.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)

Revision history for this message
Ronald Evers (ronaldpaulusevers-deactivatedaccount) wrote :

I can confirm that running kernel 2.6.34 rc5 or rc6 fixes the suspend/resume issue. But for me, on a Dell Inspiron 1564, running these newer kernels breaks the proprietary Broadcom STA driver that I was running.

Luckily the b43 driver will happily take over if you instruct it to use pio mode and turn off qos. See first part of first post on here for more information: http://ubuntuforums.org/showthread.php?t=126662

% sudo modprobe b43 pio=1 qos=0

It takes a while (some 10-20 seconds) before it starts scanning networks so be patient! And no, sorry, I don't know how to make it load automatically on boot.

Revision history for this message
Ronald Evers (ronaldpaulusevers-deactivatedaccount) wrote :

Oops, chopped of a 0, link should be: http://ubuntuforums.org/showthread.php?t=1266620

Add 'options b43 pio=1 qos=0' to /etc/modprobe.d/b43.conf and add 'b43' to /etc/modules to make it autoload.

Sorry for being a little off topic.

Revision history for this message
EwS (ews) wrote :

Not working for me (Dell Inspiron 1564 on Lucid 2.6.34-020634rc6-generic ) , laptop tries to come back from suspend , stops and won't respond to keys or pings.

Revision history for this message
Ben Guthro (ben-guthro) wrote :

This patch should work for the 1X64 series, out of the box:

diff -r 3f56a60a9311 drivers/acpi/sleep.c
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -467,6 +467,30 @@
   DMI_MATCH(DMI_BOARD_NAME, "CF51-2L"),
   },
  },
+ {
+ .callback = init_set_sci_en_on_resume,
+ .ident = "Dell Inspiron 1464",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1464"),
+ },
+ },
+ {
+ .callback = init_set_sci_en_on_resume,
+ .ident = "Dell Inspiron 1564",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1564"),
+ },
+ },
+ {
+ .callback = init_set_sci_en_on_resume,
+ .ident = "Dell Inspiron 1764",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 1764"),
+ },
+ },
  {},
 };
 #endif /* CONFIG_SUSPEND */

Revision history for this message
Omry Yadan (omry) wrote :

I tried to use linux-image-2.6.34-020634rc5-generic with the acpi_sleep=sci_force_enable flag, and it did seem to work.
however:
1. I had to use a different version of the bcmwl driver (from maverick).
2. this kernel caused random lockups of the machine. it took me some time to figure it's the cause. once I switched back to the 2.6.32 kernel the lockups stopped.

Revision history for this message
zpletan (zpletan) wrote :

I don't know if this holds true for everyone reading this, but the latest Lucid kernel update (to 2.6.32-23) fixes the problem for me.

Revision history for this message
Juan Trujillo (juantrujillo) wrote :

I am running a Dell Inspiron 1564 on Lucid 10.04 32 bits and I still have the same suspend problem with the .34 kernel. Any clue?

Revision history for this message
Marcos Roriz (marcosrorizinf) wrote :

Why this bug has been marked incomplete?

I am running a Dell Inspiron 1564 with latest kernel and still have the suspend problem.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
SaintDanBert (saint-grillongroup) wrote :

I have similar troubles with restart-after-hibernate -- what pm-* and acpi seem to call "thaw" behavior.

I have a media unmount script in /etc/pm/sleep.d/00_* that uses the logger shell command to
add /var/log/messages entries about the parameters passed to the script and other details
found along the way. I see the following parameter strings:

    "suspend" ..... following a suspend-to-ram request
    "resume" ...... following a restart from suspend-to-ram
    "hibernate" ... following a suspend-to-disk request
    "thaw" .......... following a restart from suspend-to-disk

I have to essentially identical (hardware and software) laptops -- Lenovo Thinkpad X61-tablet 7764CTO. Both laptops "suspend" and "resume" reliably. Both laptops appear to "hibernate" reliably. One laptop will "thaw" correctly. The other laptop does not "thaw" under any circumstances. At present, I do not understand why. Since my logger entries do not appear, I can only presume that the failing system does a cold-start instead of a restart-from-hibernate.

For what its worth, I added /etc/pm/config.d/unload_modules to remove "iwlagn" and "usb_storage" during any suspend-to-* processing in addition to my media unmount script.

Revision history for this message
SaintDanBert (saint-grillongroup) wrote :
Revision history for this message
Christopher M. Peñalver (penalvch) wrote :

Ben Guthro, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

summary: - [LUCID] suspend/resume issue on Dell Inspiron 1464/1564/1764
+ [LUCID] suspend/resume issue on Dell Inspiron 1464
tags: added: needs-upstream-testing
description: updated
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers