No resume after suspend - [ACPI: _PSW execution failed] dell 1012 - aspireone 721

Bug #642091 reported by Lars Kumbier
108
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Linux
Expired
Medium
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Acer Aspire One 721Ubuntu Maverick 10.10 beta, 32bit

When putting the laptop into standby, everything works - the screen and -backlight are deactivated and the power led flashes slowly.

When trying to resume, the power light comes back to it's normal state, but neither the harddrive LED nor the screen are reactivated. This happens every time.

I ran the system through this test: https://wiki.ubuntu.com/DebuggingKernelSuspendHibernateResume

stage 1:
The system does start going into standby (deactivating screen), but does not really go into standby (where the power LED would slowly blink). After the screen goes on again, I have the following problems:
- touchpad running wild (touching it opens multiple new windows, etc)
- wireless is deactivated in nm-applet

Stage 2 test:
- no resume possible (any button presses have no effect), the system stays in standby (no return of the power LED from slowly flashing to "on" state)

Stage 3 test - same effects as the normal standby:
no resume possible (the power LED comes back from slowly blinking to "on" state, but screen stays blank)

**** 2.6.37-rc2 tested, not working *****

Any hints?

Revision history for this message
Lars Kumbier (derlars) wrote :
Revision history for this message
Lars Kumbier (derlars) wrote :
Revision history for this message
Lars Kumbier (derlars) wrote :
Revision history for this message
Mark Smith (tntc-tig) wrote :

I have what appears to be the same problem with my Dell Mini 1012 in the current 10.10 beta. This seems to be a regression, since suspend/resume worked fine for me in 10.04.

I tried the workaround found at http://ubuntuforums.org/showpost.php?p=6105510&postcount=12 and it appears to work. This bug was fixed back in intrepid, but seems to have showed up again. Unfortunately, I have no idea which prior bug this is related to.

The basic idea if the workaround is that if you disable all but one CPU before suspend, the machine will resume properly. Once your machine has resumed, it re-enables the other CPU(s).

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
can someone run in a terminal
apport-collect -p linux 642091
Thanks
Fabio

affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: aspire-one721 dell-1012 maverick regression-release
Revision history for this message
Kai Springer (kai-nuknetz) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: SB [HDA ATI SB], device 0: ALC271X Analog [ALC271X Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nuk 1539 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xd0400000 irq 16'
   Mixer name : 'Realtek ALC271X'
   Components : 'HDA:10ec0269,10250429,00100100'
   Controls : 18
   Simple ctrls : 10
Card1.Amixer.info:
 Card hw:1 'HDMI'/'HDA ATI HDMI at 0xd0110000 irq 19'
   Mixer name : 'ATI RS690/780 HDMI'
   Components : 'HDA:1002791a,00791a00,00100000'
   Controls : 4
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'IEC958',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 10.10
Frequency: Once a day.
HibernationDevice: RESUME=UUID=1b89ecbd-31ef-4b1d-8995-101d7921e6a7
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta i386 (20100901.1)
MachineType: Acer Aspire One 721
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-22-generic root=UUID=ba7ab6ea-f613-4c07-841d-3cdbf54fb0f5 ro quiet splash
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Regression: No
RelatedPackageVersions: linux-firmware 1.38
Reproducible: No
Tags: maverick kernel-power suspend resume needs-upstream-testing
Uname: Linux 2.6.35-22-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
dmi.bios.date: 04/15/2010
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: V1.07
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire One 721
dmi.board.vendor: Acer
dmi.board.version: V1.07
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.07
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvrV1.07:bd04/15/2010:svnAcer:pnAspireOne721:pvrV1.07:rvnAcer:rnAspireOne721:rvrV1.07:cvnAcer:ct10:cvrV1.07:
dmi.product.name: Aspire One 721
dmi.product.version: V1.07
dmi.sys.vendor: Acer

tags: added: apport-collected
Revision history for this message
Kai Springer (kai-nuknetz) wrote : AcpiTables.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : AlsaDevices.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : AplayDevices.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : BootDmesg.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : IwConfig.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : Lspci.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : Lsusb.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : PciMultimedia.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : ProcModules.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : RfKill.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : UdevDb.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : UdevLog.txt

apport information

Revision history for this message
Kai Springer (kai-nuknetz) wrote : WifiSyslog.txt

apport information

Revision history for this message
Fabio Marconi (fabiomarconi) wrote : Re: Acer Aspire One 721 - no resume after suspend

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Kai Springer (kai-nuknetz) wrote :

The system comes back to life after about 5 minutes. Then wireless is deactivated.

Revision history for this message
young_simba (simba-neuroscience) wrote :

The same is with Acer Aspire One 721. System does wakes up after 300 seconds of inactivity with following lines in dmesg output:
[ 452.649042] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20100428/evregion-474)
[ 452.649053] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.LID0._PSW] (Node ffff88006db345e0), AE_TIME
[ 452.649098] ACPI: _PSW execution failed

Wireless is deactivated, but could be manually activated by pressing Fn+F3 and restarting NetworkManager afterwards.

Revision history for this message
Kai Springer (kai-nuknetz) wrote :

This part of the dmesg output struck me most, maybe it helps to find the problem:

 [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 1sec aborting
[ 835.140104] [drm:atom_execute_table_locked] *ERROR* atombios stuck executing E7B4 (len 498, WS 0, PS 4) @ 0xE7F5
[ 836.156095] [drm:atom_op_jump] *ERROR* atombios stuck in loop for more than 1sec aborting
[ 836.156101] [drm:atom_execute_table_locked] *ERROR* atombios stuck executing E7B4 (len 498, WS 0, PS 4) @ 0xE7F5

Revision history for this message
young_simba (simba-neuroscience) wrote :

It seems to me that 300 seconds freeze before entering hibernation and upon wakeup from hibernation/suspend is due to ACPI error. Here is a piece of dmesg log upon waking up from hibernation:
[ 809.010089] ACPI: Waking up from system sleep state S4
[ 1109.023404] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20100428/evregion-474)
[ 1109.023414] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.LPC0.EC0_.ECWK] (Node ffff88006db36160), AE_TIME
[ 1109.023457] ACPI Error (psparse-0537): Method parse/execution failed [\_WAK] (Node ffff88006f802920), AE_TIME
[ 1109.023499] ACPI Exception: AE_TIME, During Method _WAK (20100428/hwsleep-601)

I've included decompiled DSDT table from Acer Aspire One 721-128ss BIOS as it can be helpful. If any further information or testing is needed I'll be glad to provide it.

Revision history for this message
Kai Springer (kai-nuknetz) wrote :

Here's my dmesg-output after update to kernel 2.6.35.22-generic. My system still hangs for about 5 minutes after standby but network doesn't need to be reactivated.

summary: - Acer Aspire One 721 - no resume after suspend
+ No resume after suspend - dell 1012 - aspireone 721
Revision history for this message
Andreas Noteng (andreas-noteng) wrote : Re: No resume after suspend - dell 1012 - aspireone 721

Settin importance medium on Fabio Marconi's request

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Norbert Dickmeis (nordic81) wrote :

Hi,
i have to intervene here....
I stumbled uppon this "bug report", looking for a solution for exactly the same problem with my own Acer Aspire One 721. Since I'm using the delivered Win 7 HP version, I hardly think that the problem is with Ubuntu or the drivers.
Maybe a BIOS update would do the trick.

It would be interesting to check the Hardware of the Acer and the Dell netbooks, if they've got something in common, maybe the same network adapter. Perhaps it would help to contact the manufacturers.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
If someone want to test the most advanced kernel actually build:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-rc2-maverick/

Revision history for this message
pkwarts (peter-kwarts) wrote :

Hello Fabio. I quickly tested suspend with the .37-rc2 kernel, but it still didn't work.

Revision history for this message
Niall Parker (stuff-pender) wrote :

It affects my system as well (aspire one 721-3922 with maverick), it appeared locked up on resume from suspend but did finally wake up after 5 minutes as predicted. Wireless was off and needed to be switched on again via fn-F3, network manager didn't need a restart, just a minute or two to recognize it.

Unlike Norbert above, suspend works just fine in Win 7 so may not be bios ?

I also tried hibernate but it doesn't seem to finish (leaves backlight on and blinks power lights orange) ... needs further investigation.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
Can someone test the latest upstream kernel from:
http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.37-rc2-maverick/

Revision history for this message
young_simba (simba-neuroscience) wrote :

I've tried upstream kernel 2.6.37-020637rc2-generic, the bug is still here.

$uname -a
Linux K125 2.6.37-020637rc2-generic #201011160905 SMP Tue Nov 16 09:08:47 UTC 2010 x86_64 GNU/Linux

[ 134.180467] ACPI: Waking up from system sleep state S3
[ 434.163560] ACPI Exception: AE_TIME, Returned by Handler for [EmbeddedControl] (20101013/evregion-474)
[ 434.163571] ACPI Error: Method parse/execution failed [\_SB_.LID0._PSW] (Node ffff880137e3eaa0), AE_TIME (20101013/psparse-537)
[ 434.163581] ACPI: _PSW execution failed

tags: added: upstream-tested
description: updated
summary: - No resume after suspend - dell 1012 - aspireone 721
+ No resume after suspend - [ACPI: _PSW execution failed]dell 1012 -
+ aspireone 721failed]
summary: - No resume after suspend - [ACPI: _PSW execution failed]dell 1012 -
- aspireone 721failed]
+ No resume after suspend - [ACPI: _PSW execution failed] dell 1012 -
+ aspireone 721
Revision history for this message
Niall Parker (stuff-pender) wrote :

WORKAROUND: see https://secure.theplatform.info/user/mateibota/view/linux-suspend-hibernate-fix

This replaces ACPI with APM and may have some other side effects but does allow one to suspend and resume without a 5 minute delay (thankyou Matei !)

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello to al reporters,
can someone reply at:
https://bugzilla.kernel.org/show_bug.cgi?id=24032
Thanks
Fabio

Revision history for this message
Steve (stevemain) wrote :

Replied with instructions to bugzilla.kernel.org # 24032.
--Steve

Revision history for this message
sbraz (sbraz) wrote :
Download full text (3.3 KiB)

ao721, reporting some success:

1. hit the hibernate button, display turns off, no data is written on disk, system hung, forced poweroff fixes the problem, on reboot networking is disabled:
turns out that APIC is not working well on this machine, disabling it makes it successfully dump ram data on a swap partition provided there's enough space to do that (i have a 2GB swap partition).
resuming now works with "radeon" driver, for fglrx read below.
networking is disabled because there are some scripts which among other things disables networking BEFORE issuing the actual ACPI suspend, and does the opposite after a SUCCESSFUL resuming of the system kernel.

sudo menuconfig
Processor type and features --->
[ ] Local APIC support on uniprocessors

2. wifi off on resume, requiring three "wifi on, wifi off" cycles of Fn+F3 button:
solved by disabling ACER_WMI module.

make menuconfig
device drivers ->
[*] X86 Platform Specific Device Drivers --->
< > Acer WMI Laptop Extras

fglrx 10.12 WON'T RESUME: i'll try the whole 10.xx series tomorrow, anyway after the kernel restors ram pages from swap partition screen turns off: xorg.log says this:

(WW) Falling back to old probe method for fglrx
(II) Loading PCS database from /etc/ati/amdpcsdb
(--) Chipset Supported AMD Graphics Processor (0x9712) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@0:22:2) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:5:1) found

........

(EE) fglrx(0): ACPI: DRM connection failed

........

(WW) fglrx(0): board is an unknown third party board, chipset is supported
(EE) fglrx(0): ACPI: DRM connection failed
(WW) fglrx(0): Hasn't establisted DRM connection

........

(WW) fglrx(0): No DRM connection for driver fglrx.

........

(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized.
(WW) fglrx(0): ***********************************************************
(WW) fglrx(0): * DRI initialization failed *
(WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
(WW) fglrx(0): * 2D and 3D acceleration disabled *
(WW) fglrx(0): ***********************************************************
(II) fglrx(0): FBADPhys: 0xc2900000 FBMappedSize: 0x10000000
(II) fglrx(0): Reserved 0x02900000 bytes o...

Read more...

Revision history for this message
sbraz (sbraz) wrote :

i forgot to add that i'm using kernel 2.6.35.10

Revision history for this message
Steve (stevemain) wrote :

derMars, could you please reply at
https://bugzilla.kernel.org/show_bug.cgi?id=24032

All reporters, this bug has been assigned to kernel bug #24032 in another forum, at the link above. Please keep an eye on this kernel bug if you are able to help answer questions, so they can get this solved promptly.

Thanks
 -- Steve

Revision history for this message
Steve (stevemain) wrote :

There seems to be a lot of other bug reports that could possibly be duplicates of this. I'm adding this comment so that I can redirect them here, so they can be compared.

Here is a composite of the comments above:

Resume from Hibernate or Standby seems to hang with a blank screen except for a flashing cursor in the upper left corner, although it actually resumes if you wait for about 5 minutes (300 seconds?).
Hibernate takes a while to complete, also.

So far, reported on Acer Aspire One 721 (single core athlon) and Dell 1012
with Ubuntu 10.10 maverick, kernels 2.6.35.24 and 2.6.37-rc2
assigned to kernel bug # 24032

Successful workarounds include:

Borislav Petkov, at amd64.org found that booting with the "nohpet" option on the kernel command line allows resume to work correctly.
1. From a terminal, edit the grub config file:
      sudo nano /boot/grub/grub.cfg
2. Find the first line with "vmlinuz" in it, and append " nohpet",
   so that "quiet splash" becomes "quiet splash nophet".
3. Ctrl-O to save it.

Alternatively, make sure CONFIG_NO_HZ and CONFIG_HI_RES_TIMERS are not set in your kernel. These two options (in Processor Type and Features) seem to expose this bug.

mateibota at www.theplatform.info found that replacing the ACPI power management module with the older APM module:
A. boot with the additional options "noacpi apm=on noapic"
   1. From a terminal, edit the grub config file:
         sudo nano /boot/grub/grub.cfg
   2. Find the first line with "vmlinuz" in it, and append the options,
      so that "quiet splash" becomes "quiet splash noacpi apm=on noapic".
   3. Ctrl-O to save it.
B. Install the cpufreqd module:
   sudo apt-get install cpufreqd

Changed in linux:
status: Unknown → Incomplete
Changed in linux:
importance: Unknown → Medium
Frankie Chan (atvtvb1)
Changed in linux (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Neal McBurnett (nealmcb) wrote :

I'm running a Dell Mini 1012 on Ubuntu Natty Narwhal (kernel 2.6.38-8-generic #42 Ubuntu) and can confirm that Mark's workaround in comment #4 (switching to one core during suspend as described at http://ubuntuforums.org/showpost.php?p=6105510&postcount=12 ) worked for me. I haven't tried it on Maverick, nor have I tried the nohpet or apm workarounds.

Yipee!!

Hibernate works also, except for an odd display problem (left 3/4 of screen has odd blue and white dots). That was fixed by doing a suspend/resume after the hibernate :)

Revision history for this message
Mike Ilagan (m-ilagan83) wrote :

Heyy guys, not sure if anyone have had a similar problem I got, but as for my Acer AO721 it frequently would go to windows error recovery from sleep/lock mode or standby mode. This would happen when I push the power button to wake it. it would open at times and allow me to input my password, then it would boot but then crashes and brings me back to window's error recovery. I really don't know why it does that but I would like to know if anyone out there can give me some feedback in regards to this. It would be much appreciated. Thanks in advance.

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello can someone update about the situation of this bug in oneiric ?
Thanks
Fabio
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.