[Acer Aspire one] suspend/resume failure

Bug #424877 reported by Robbie Williamson
140
This bug affects 23 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
Karmic
Won't Fix
Undecided
Unassigned

Bug Description

Resumes to a frozen screen. Could not switch VTs, and had to hold power button down to reset.

ProblemType: KernelOops
Annotation: This occured during a previous suspend and prevented it from resuming properly.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: courtney 2781 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0x58340000 irq 16'
   Mixer name : 'Realtek ALC272'
   Components : 'HDA:10ec0272,1025022f,00100001'
   Controls : 14
   Simple ctrls : 9
Date: Sat Sep 5 10:33:28 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: suspend/resume
HibernationDevice: RESUME=UUID=6aaadfe7-165c-4ff4-b159-638b456e48f5
InterpreterPath: /usr/bin/python2.6
MachineType: Acer Aspire one
Package: linux-image-2.6.31-9-generic 2.6.31-9.29
PccardctlIdent:

PccardctlStatus:

ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-9-generic root=UUID=6c406fc7-803f-4348-a843-d3e72d84c960 ro quiet splash
ProcCmdline: /usr/bin/python /usr/share/apport/apportcheckresume
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-9-generic N/A
 linux-firmware 1.16
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Tags: resume suspend ubuntu-unr
Title: [Acer Aspire one] suspend/resume failure
Uname: Linux 2.6.31-9-generic i686
UserGroups:

dmi.bios.date: 07/09/2009
dmi.bios.vendor: Acer
dmi.bios.version: V1.08
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Aspire one
dmi.board.vendor: Acer
dmi.board.version: V1.08
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.version: V1.08
dmi.modalias: dmi:bvnAcer:bvrV1.08:bd07/09/2009:svnAcer:pnAspireone:pvrV1.08:rvnAcer:rnAspireone:rvrV1.08:cvnAcer:ct10:cvrV1.08:
dmi.product.name: Aspire one
dmi.product.version: V1.08
dmi.sys.vendor: Acer

Revision history for this message
Robbie Williamson (robbiew) wrote :
Changed in linux (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Robbie Williamson (robbiew) wrote :

Not consistently reproducible, but will continue to suspend/resume and update if/when occurs again.

Changed in linux (Ubuntu Karmic):
importance: High → Medium
Revision history for this message
Robbie Williamson (robbiew) wrote :

haven't been able to reproduce, so moving to incomplete. If it occurs again, will mark as confirmed.

Changed in linux (Ubuntu Karmic):
status: Confirmed → Incomplete
Revision history for this message
jeroenl (jeroenl) wrote :

I can confirm this on a Asus Eee PC 1101HA. After the system is suspended, the power button is blinking (like it should), but when I push shortly the power button, the button stops blinking (like it should), but the screen remains black. It seems it's indeed frozen, because it doesn't respond on the capslock key.

Revision history for this message
ubucrates (ubucrates) wrote :

This is also happening on my Compaq Presario V2310 laptop. After lifting lid of laptop after suspend, the screen remains blank, with only the power button lit. The wifi button and the scrollpad buttons do not light up again. The fan is still heard running. No combination of key presses solves the problem and a hard reset is necessary.

Changed in linux (Ubuntu Karmic):
importance: Medium → Undecided
Revision history for this message
Steve Langasek (vorlon) wrote :

Please file separate bug reports for suspend/resume issues on other hardware.

Changed in linux (Ubuntu Karmic):
status: Incomplete → Invalid
Revision history for this message
pinduvoz (pinduvoz) wrote :

Suspend does not work since the install of Alpha 5 in my AA1.

So, for me the bug is confirmed.

Revision history for this message
Burke (bschrammel) wrote :

Can confirm this for a Acer A110L.
As pinduvoz mentions, the freezing occured the first time in the Alpha5 and still consists in the RC of Karmic.

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Had this bug to. It happend when I left a sd card mounted in the left slot. Unmounting fixed it temporarly.
Then I installed linux-backports-modules-karmic and added pciehp.pciehp_force=1 to the kernel comandline (see bug 271019).
This fixed it.

Jim

Revision history for this message
Ariel Palazzesi (arielpalazzesi) wrote : Re: [Bug 424877] Re: [Acer Aspire one] suspend/resume failure
Download full text (3.3 KiB)

Good news!

i try, and then tell you. :P

GRACIAS!

-------------------------------------------------------------
Ariel Palazzesi
Web: www.ucontrol.com.ar
Foro: http://www.ucontrol.com.ar/forosmf/index.php
Visita www.neoteo.com

On Fri, Oct 30, 2009 at 4:17 AM, Jim Bauwens <email address hidden> wrote:

> Had this bug to. It happend when I left a sd card mounted in the left slot.
> Unmounting fixed it temporarly.
> Then I installed linux-backports-modules-karmic and added
> pciehp.pciehp_force=1 to the kernel comandline (see bug 271019).
> This fixed it.
>
> Jim
>
> --
> [Acer Aspire one] suspend/resume failure
> https://bugs.launchpad.net/bugs/424877
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “linux” package in Ubuntu: Invalid
> Status in linux in Ubuntu Karmic: Invalid
>
> Bug description:
> Resumes to a frozen screen. Could not switch VTs, and had to hold power
> button down to reset.
>
> ProblemType: KernelOops
> Annotation: This occured during a previous suspend and prevented it from
> resuming properly.
> AplayDevices:
> **** List of PLAYBACK Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> Architecture: i386
> ArecordDevices:
> **** List of CAPTURE Hardware Devices ****
> card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
> AudioDevicesInUse:
> USER PID ACCESS COMMAND
> /dev/snd/controlC0: courtney 2781 F.... pulseaudio
> CRDA: Error: [Errno 2] No such file or directory
> Card0.Amixer.info:
> Card hw:0 'Intel'/'HDA Intel at 0x58340000 irq 16'
> Mixer name : 'Realtek ALC272'
> Components : 'HDA:10ec0272,1025022f,00100001'
> Controls : 14
> Simple ctrls : 9
> Date: Sat Sep 5 10:33:28 2009
> DistroRelease: Ubuntu 9.10
> ExecutablePath: /usr/share/apport/apportcheckresume
> Failure: suspend/resume
> HibernationDevice: RESUME=UUID=6aaadfe7-165c-4ff4-b159-638b456e48f5
> InterpreterPath: /usr/bin/python2.6
> MachineType: Acer Aspire one
> Package: linux-image-2.6.31-9-generic 2.6.31-9.29
> PccardctlIdent:
>
> PccardctlStatus:
>
> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-9-generic
> root=UUID=6c406fc7-803f-4348-a843-d3e72d84c960 ro quiet splash
> ProcCmdline: /usr/bin/python /usr/share/apport/apportcheckresume
> ProcEnviron: PATH=(custom, no user)
> ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
> RelatedPackageVersions:
> linux-backports-modules-2.6.31-9-generic N/A
> linux-firmware 1.16
> RfKill:
> 0: phy0: Wireless LAN
> Soft blocked: no
> Hard blocked: no
> SourcePackage: linux
> Tags: resume suspend ubuntu-unr
> Title: [Acer Aspire one] suspend/resume failure
> Uname: Linux 2.6.31-9-generic i686
> UserGroups:
>
> dmi.bios.date: 07/09/2009
> dmi.bios.vendor: Acer
> dmi.bios.version: V1.08
> dmi.board.asset.tag: Base Board Asset Tag
> dmi.board.name: Aspire one
> dmi.board.vendor: Acer
> dmi.board.version: V1.08
> dmi.chassis.type: 10
> dmi.chassis.vendor: Acer
> dmi.chassis.version: V1.08
> dmi.modalias:
> dmi:bvnAcer:bvrV1.08:bd07/09/2009:svnAcer:pnAspireone:pvrV...

Read more...

Revision history for this message
Ariel Palazzesi (arielpalazzesi) wrote :
Download full text (3.7 KiB)

Woks fine.
Thanks!

-------------------------------------------------------------
Ariel Palazzesi
Web: www.ucontrol.com.ar
Foro: http://www.ucontrol.com.ar/forosmf/index.php
Visita www.neoteo.com

On Fri, Oct 30, 2009 at 6:13 AM, Ariel Palazzesi
<email address hidden>wrote:

> Good news!
>
> i try, and then tell you. :P
>
> GRACIAS!
>
> -------------------------------------------------------------
> Ariel Palazzesi
> Web: www.ucontrol.com.ar
> Foro: http://www.ucontrol.com.ar/forosmf/index.php
> Visita www.neoteo.com
>
>
> On Fri, Oct 30, 2009 at 4:17 AM, Jim Bauwens <email address hidden> wrote:
>
>> Had this bug to. It happend when I left a sd card mounted in the left
>> slot. Unmounting fixed it temporarly.
>> Then I installed linux-backports-modules-karmic and added
>> pciehp.pciehp_force=1 to the kernel comandline (see bug 271019).
>> This fixed it.
>>
>> Jim
>>
>> --
>> [Acer Aspire one] suspend/resume failure
>> https://bugs.launchpad.net/bugs/424877
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in “linux” package in Ubuntu: Invalid
>> Status in linux in Ubuntu Karmic: Invalid
>>
>> Bug description:
>> Resumes to a frozen screen. Could not switch VTs, and had to hold power
>> button down to reset.
>>
>> ProblemType: KernelOops
>> Annotation: This occured during a previous suspend and prevented it from
>> resuming properly.
>> AplayDevices:
>> **** List of PLAYBACK Hardware Devices ****
>> card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
>> Subdevices: 1/1
>> Subdevice #0: subdevice #0
>> Architecture: i386
>> ArecordDevices:
>> **** List of CAPTURE Hardware Devices ****
>> card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
>> Subdevices: 1/1
>> Subdevice #0: subdevice #0
>> AudioDevicesInUse:
>> USER PID ACCESS COMMAND
>> /dev/snd/controlC0: courtney 2781 F.... pulseaudio
>> CRDA: Error: [Errno 2] No such file or directory
>> Card0.Amixer.info:
>> Card hw:0 'Intel'/'HDA Intel at 0x58340000 irq 16'
>> Mixer name : 'Realtek ALC272'
>> Components : 'HDA:10ec0272,1025022f,00100001'
>> Controls : 14
>> Simple ctrls : 9
>> Date: Sat Sep 5 10:33:28 2009
>> DistroRelease: Ubuntu 9.10
>> ExecutablePath: /usr/share/apport/apportcheckresume
>> Failure: suspend/resume
>> HibernationDevice: RESUME=UUID=6aaadfe7-165c-4ff4-b159-638b456e48f5
>> InterpreterPath: /usr/bin/python2.6
>> MachineType: Acer Aspire one
>> Package: linux-image-2.6.31-9-generic 2.6.31-9.29
>> PccardctlIdent:
>>
>> PccardctlStatus:
>>
>> ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-9-generic
>> root=UUID=6c406fc7-803f-4348-a843-d3e72d84c960 ro quiet splash
>> ProcCmdline: /usr/bin/python /usr/share/apport/apportcheckresume
>> ProcEnviron: PATH=(custom, no user)
>> ProcVersionSignature: Ubuntu 2.6.31-9.29-generic
>> RelatedPackageVersions:
>> linux-backports-modules-2.6.31-9-generic N/A
>> linux-firmware 1.16
>> RfKill:
>> 0: phy0: Wireless LAN
>> Soft blocked: no
>> Hard blocked: no
>> SourcePackage: linux
>> Tags: resume suspend ubuntu-unr
>> Title: [Acer Aspire one] suspend/resume failure
>> Uname: Linux 2.6.31-9-generic i...

Read more...

Jim Bauwens (jimbauwens)
Changed in linux (Ubuntu Karmic):
status: Invalid → Confirmed
status: Confirmed → Fix Released
Revision history for this message
Micah (ndroftheline) wrote :

Bug confirmed on Acer Aspire One ZG5 (8gb SSD). Freezes solid when I shut the lid or attempt to use the sleep function key. Have to hard reset. Attempting pciehp fix.

Revision history for this message
Micah (ndroftheline) wrote :

The pciehp fix did not work. Ejecting my SD card before suspending does work, however. I may have implemented the pciehp fix incorrectly, as I am not familiar with GRUB2 yet. Attached are my /etc/default/grub file and my /boot/grub/grub.cfg file.

Revision history for this message
Micah (ndroftheline) wrote :

Attached is my /etc/default/grub file with the pciehp fix in place. I'm not sure I did it right, as I'm not very familiar with GRUB2.

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Hi ender, your grub looks fine. Did you also install linux-backports-modules-karmic?
Jim

Revision history for this message
Micah (ndroftheline) wrote :

Yes, sorry I didn't include that. I did install
linux-backports-modules-karmic before adding the pciehp line.

~Micah

On Tue, Nov 3, 2009 at 1:22 AM, Jim Bauwens <email address hidden> wrote:

> Hi ender, your grub looks fine. Did you also install
> linux-backports-modules-karmic?
> Jim
>
> --
> [Acer Aspire one] suspend/resume failure
> https://bugs.launchpad.net/bugs/424877
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

I forgot to tell that you need to run 'update-grub' after that you edited to grub config.
I hope this is the problem, because on my ZG5 this helped.
Good luck ;)
Jim

Revision history for this message
Matt Grice (mattgrice) wrote :

This does nothing for me. The only fix for me is to unmount all of the SD cards before suspending :(

Revision history for this message
Micah (ndroftheline) wrote :

Yeah, I'm in Matt's position. I did run grub-update aftter editing the
default file. I also copied the actual grub.cfg file to the bug report, so I
know it was actually working on the kernel line. In fact, I even checked to
make sure it was present before booting the 2nd time by hitting "e" at the
grub prompt...so it's for sure that it doesn't work for me. Matt, what
filesystem is on your SD card? Mine is using FAT32 because I switch it
between linux and windows systems frequently. Maybe that's the problem?

~Micah

On Tue, Nov 3, 2009 at 12:07 PM, Matt Grice <email address hidden> wrote:

> This does nothing for me. The only fix for me is to unmount all of the
> SD cards before suspending :(
>
> --
> [Acer Aspire one] suspend/resume failure
> https://bugs.launchpad.net/bugs/424877
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

The card I use is also FAT32, but I only have one card in my computer.

The exact steps I did were :
Modify the /etc/default/grub file and change
' GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" ' to ' GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pciehp.pciehp_force=1" '.
Run update-grub
Then I installed linux-backports-modules-karmic using ' sudo apt-get install linux-backports-modules-karmic '.
I then rebooted and the problem was gone.

The SD card i'm using is a 4 GB SDHC card. It is in the left slot, but suspend also works when it is in the right slot.
And also I have disabled that mounted media opens automaticly in nautilus using the gconf-editor, but I don't think this really matters.

I will continue to think for a solution.
Jim

Changed in linux (Ubuntu Karmic):
status: Fix Released → In Progress
Revision history for this message
White Rabbit (wight-rabbyt) wrote :

Just a quick question? Should we now be running "update-grub" or "update-grub2"? Or is there no difference between these?

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

'update-grub' worked fine for me

Revision history for this message
Richard Mathie (richard-mathie) wrote :

same here suspend with a sd card mounted in the left hand slot results in suspend freezing before it has completed.
i have also tryed the pciehp.pciehp_force=1 kernal cmd line option in grub2 with update-grup and backports. and this failed to resolve the issue, manualy unmounting the drive before suspend works, but this is a little inconvenient as forgetting to do so before shuting the lid will also result in a frozen suspend.

are you shure that the pciehp module is in the backports, i cand find it with modprob.

i will just sit tight for now and see if the next kernal update fixes things

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Well, the the pciehp module was removed in jaunty, but pciehp.pciehp_force=1 for some magical reason still works, see bug 271019 (this fixes the weird behavior of the SD card slots).
I'm really sorry to hear that this workaround doesn't work for you guys.
Just a shot in the wild: could anyone try to see what happens if you disable '/apps/nautilus/preferences/media_automount_open' in gconf-editor?
This is the only other tweak I did on my system.

Jim

Revision history for this message
gmillman (gary-stompboxboutique) wrote :

Hi

Been having the same problem. I did the grub change and installed backports and now both card slots work but it still hangs on suspend. I have found out though that my AAO 110 only hangs with my 16Gig card. If I put the only other card I have, a 2Gig, in the left slot it suspends and resumes OK! Even with the 16Gig in the right slot it still hangs. Strange but true. JB above got me thinking when his 4Gig worked OK. Anyone tried an 8Gig?

Gary

Revision history for this message
Matt Grice (mattgrice) wrote :

My acer One crashes with an 8gig card in the left slot.

On Nov 4, 2009 9:21 PM, "gmillman" <email address hidden> wrote:

Hi

Been having the same problem. I did the grub change and installed
backports and now both card slots work but it still hangs on suspend. I
have found out though that my AAO 110 only hangs with my 16Gig card. If
I put the only other card I have, a 2Gig, in the left slot it suspends
and resumes OK! Even with the 16Gig in the right slot it still hangs.
Strange but true. JB above got me thinking when his 4Gig worked OK.
Anyone tried an 8Gig?

Gary

-- [Acer Aspire one] suspend/resume failure
https://bugs.launchpad.net/bugs/424877 You received th...

Revision history for this message
patrick chamberlain (patrickchamberlain) wrote :

My AOA 110 hangs on suspend with an 8GB SD card in the left hand slot, unless I unmount it first,

I've installed backports, added pciehp_force=1 to the kernel command line (which does allow me to use the right card slot) and have 'browse media when inserted' unticked in nautilus preferences.

Revision history for this message
Richard Mathie (richard-mathie) wrote :

>Just a shot in the wild: could anyone try to see what happens
>if you disable '/apps/nautilus/preferences/media_automount_open' in gconf-editor?
>This is the only other tweak I did on my system.

>Jim

no it still crashes screen is frozen and not suspended, perhaps I will try to unmount and mount in the pm-suspend/resume scripts, as I have heard that works, though its probably not the most ideal solution...

Revision history for this message
Richard Mathie (richard-mathie) wrote :

i added a hook in /ect/pm/sleep.d/11_mmc_mounts

#!/bin/sh
# mmcard must be mounted or unmounted before suspend | hibinate
case "$1" in
 hibernate|suspend)
  umount /dev/mmcblk0p1
  ;;
 thaw|resume)
  mount /dev/mmcblk0p1
  ;;
 *) exit 0
  ;;
esac

chmod +x /ect/pm/sleep.d/11_mmc_mounts

end of problem, though perhaps i should be smarter about running through mm cards, and cards which wont unmount

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

I'm glad you got it to work, but what happens if you have to SD cards in your computer?
As I can see in the script it only unmounts one SD card.
@matt : I will see if I can find some other cards to experiment with.

Jim

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Sorry , I meant Garry instead of Matt.

Revision history for this message
gmillman (gary-stompboxboutique) wrote :

Richard

The script works for me using the 16Gig in LH slot. I guess you would just need to add another couple of lines to unount mmcblk1p1 also. At the moment it still hangs with a card in the RH slot. So how come the size of the card matters?? Is it a kernel module that unmounts the mmc normally or some other script that gets run on suspend? Would be nicer/cleaner to fix that really. Still, nice to be able to use the 16G now anyway.

Gary

Revision history for this message
Matt Grice (mattgrice) wrote :

2009/11/4 Richard Mathie <email address hidden>:
> i added a hook in /ect/pm/sleep.d/11_mmc_mounts
>
> #!/bin/sh
> # mmcard must be mounted or unmounted before suspend | hibinate
> case "$1" in
>        hibernate|suspend)
>                umount /dev/mmcblk0p1
>                ;;
>        thaw|resume)
>                mount /dev/mmcblk0p1
>                ;;
>        *) exit 0
>                ;;
> esac
>
> chmod +x /ect/pm/sleep.d/11_mmc_mounts
>
> end of problem, though perhaps i should be smarter about running through
> mm cards, and cards which wont unmount

Fixed - this works for me.

Many thanks.

Matt

Revision history for this message
patrick chamberlain (patrickchamberlain) wrote :

Thanks Richard. That script works for me with an 8GB SD card in the left slot.

Revision history for this message
Noel J. Bergman (noeljb) wrote :

See also Bug 464712, which appears to be a duplicate of this one.

I like Richard's script, but its resume|thaw behavior will mount a device that might have been explicitly unmounted by the user prior to the suspend|hibernate.

Revision history for this message
Benno Zuure (bzuure) wrote :

Same problem here with an 4 Gb SD-card in the left slot in an AOO 150.
Did the pciehp kernel line change and installed the backports modules with no succes.
Installed Richard's script for now.

When the card is write protected (notch on the SD card) hibernate,sleep and resume works.

Revision history for this message
White Rabbit (wight-rabbyt) wrote :

I can confirm the same behaviour as Benno Zuure. Same pciehp modification and backports module installed. Suspend/resume works when SD card write protected. Otherwise lockup on suspend or hibernate.

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Thanks for the tip White Rabit! I just noticed that my card is also write protected, and my acer crashes when it is not write protected.
I also removed the backport modules, but it crashes then also when the card is protected.

Revision history for this message
Peter Harding (phh-hardnet) wrote :

This a seems to only happen with my 8GB SDHC card mounted and not my 2GB SD card in both my Acer Aspire One 110 and my Dell Mini 9 (8GB SSD). The regular SD card suspends and resumes normally in both machines. Screen does not blank it just freezes with whatever was on it at the time of the suspend.

Revision history for this message
Micah (ndroftheline) wrote :

Hey Everybody,

Has there been any progress on this bug? Richard's script didn't seem to
work for me, unfortunately.

On Wed, Nov 11, 2009 at 8:45 AM, Peter Harding <email address hidden> wrote:

> This a seems to only happen with my 8GB SDHC card mounted and not my 2GB
> SD card in both my Acer Aspire One 110 and my Dell Mini 9 (8GB SSD). The
> regular SD card suspends and resumes normally in both machines. Screen
> does not blank it just freezes with whatever was on it at the time of
> the suspend.
>
> --
> [Acer Aspire one] suspend/resume failure
> https://bugs.launchpad.net/bugs/424877
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

Hi Ender, could you run the 'mount' command on your computer and post the output to me.
Probably the device name is a bit different.
I will modify the script for your computer.

Jim

Revision history for this message
Matt Grice (mattgrice) wrote :

This has actually started to affect me again. It doesn't sleep anymore, and I get this in the suspend log :

Wed Jan 6 20:37:50 GMT 2010: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/000record suspend suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks from HAL: --quirk-none
success.
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: Linux Defiant 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:01:29 UTC 2009 i686 GNU/Linux
Module Size Used by

<Module list removed for space>

             total used free shared buffers cached
Mem: 949224 477420 471804 0 56100 235696
-/+ buffers/cache: 185624 763600
Swap: 385520 0 385520
success.
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
/usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend: success.
/etc/pm/sleep.d/10_grub-common suspend suspend: success.
/etc/pm/sleep.d/10_unattended-upgrades-hibernate suspend suspend: success.
/etc/pm/sleep.d/11_mmc_mounts suspend suspend: umount2: Device or resource busy
umount: /home: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount2: Device or resource busy
Returned exit code 1.
Wed Jan 6 20:37:50 GMT 2010: Inhibit found, will not perform suspend
Wed Jan 6 20:37:50 GMT 2010: Running hooks for resume
/etc/pm/sleep.d/10_unattended-upgrades-hibernate resume suspend: success.
/etc/pm/sleep.d/10_grub-common resume suspend: success.
/usr/lib/pm-utils/sleep.d/01PulseAudio resume suspend: success.
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
/usr/lib/pm-utils/sleep.d/00auto-quirk resume suspend: success.
/usr/lib/pm-utils/sleep.d/000record resume suspend: success.

I added the -f switch to umount in the script, but to no avail.

Revision history for this message
White Rabbit (wight-rabbyt) wrote :

Can I suggest the attached script which I found at https://help.ubuntu.com/community/AspireOne/Ubuntu9.10

It works for me and I think it should unmount any SD cards before sleeping.

Revision history for this message
erlguta (gonzalomarcote) wrote :

This bug happens too in several Dell's (mini9, Inspiron...) so it seems to be independent from hardware (not only Acer).
This bug for example is related:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/436729

I can confirm that script at https://help.ubuntu.com/community/AspireOne/Ubuntu9.10 works for me too in one 'Dell mini 9' and it unmount any SD cards before sleeping.

So the soluttion to all of this duplicated bugs is simple, no?

Revision history for this message
ldi38 (ivan-ledieudelinformatique) wrote :

I can confirm that script at https://help.ubuntu.com/community/AspireOne/Ubuntu9.10 works for me too
ZG5 aspireone

Revision history for this message
Bob Clough (parag0n) wrote :

Confirming this bug is still existent in 10.04, and is solved by the above script. Is it worth setting up a PPA with the script to make it easier to install?

Revision history for this message
Juha Jeronen (juha-jeronen) wrote :

The freeze on suspend seems common to Debian-based distros. I tried with Debian testing (Squeeze) and was able to reproduce the same issue (Aspire One model ZG5, 8GB SSD, BIOS v.3309).

The script linked above by White Rabbit resolved the issue for me, too. (I have also applied the pciehp_force=1 option, which was needed to get the card readers working.)

I extended the script slightly. The new version remounts cards on resume, preserving ownership. I.e. each card will be owned by the same user who owned it before suspend, and will only be remounted if it was mounted before suspend. The new version also supports the KDE4.x solid-hardware daemon (for us KDE users). Unmount using the graphical widget works after suspend/resume as it should.

Two things to note: first, any documents that are open from an MMC/SD card will still prevent a suspend (so, close any MPlayers and terminal windows first before closing the lid). Secondly, even those apps that don't actually lock their open documents, might think that the file has been removed when the machine is resumed (e.g. KWrite behaves this way). In reality, of course it is only the mount point that has been removed (and then added back).

I'm attaching the new version here in case someone might find it useful. Feel free to use/distribute/modify it further. I've tested the script with one and two SD cards inserted (one 16GB, one 512MB). As usual, I won't guarantee anything, but do let me know if there are problems with this version. ;)

Thanks for the info and the original fix, everyone!

Revision history for this message
Paul Natsuo Kishimoto (khaeru) wrote :

Bug #554695 and Bug #477106 may be related.

Revision history for this message
Debian (debian-bugs-freemail) wrote :

this bug is terrible for power conscious netbooks (I freeze w/o any SD cards too): can I help in any way to get a fix upstream for Debian? thanks!

Revision history for this message
Lee Jones (lag) wrote :

I am currently working on a similar bug.

Can someone try this and report back here whether it works for them or not please?

Momentary workaround:
    echo "SUSPEND_MODULES=\"sdhci sdhci_pci\"" | sudo tee -a /etc/pm/config.d/suspend_modules

This will unload the SD card reader module on suspend and reload it on resume.

Revision history for this message
Lee Jones (lag) wrote :

I received this message in my inbox this morning:

-----------------------------------------------------------------------------------------------------------------------------------
Hi,

I tried to post this message to

https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/424877

but the web server refused my posting, for some reason. I was logged in as user siguc. Hence emailing directly. If you want to post it to the board, please, feel free under your or whatever userid.

Your solution worked great on my Acer Aspire One ZG5, SDHC 8G card.

With the addition of the pciehp.pciehp_force=1 kernel option mentioned above, the netbook now suspends and resumes with the SDHC card in the slot. The card is mounted just before the resume and it appears mounted right after the resume.

The kernel option by itself (i.e. before I implemented your solution) caused a consistent crash on suspend.

I also checked, that the wireless came up OK and it connected to my wifi network.

Thank you for your essential contribution to fixing my problem!
-----------------------------------------------------------------------------------------------------------------------------------

I'm pleased the workaround worked so well for you siguc.

I am still working on a permanent kernel fix, so Ubuntu will suspend and resume with an SD card inserted out-of-the-box.

Watch this space.

Revision history for this message
Daniel Dräs (g-kar) wrote :

@Lee: great fix! This works fo me on an AAO 110L ZG5.
thanks!!

Revision history for this message
Jim Bauwens (jimbauwens) wrote :

I had bad luck, I think because of this patch my SD-card got corrupted :(
I am now trying to recover my files...

Error in dmesg :

EXT2-fs error (device mmcblk0): ext2_check_descriptors: Block bitmap for group 1 not in group (block 0)!
[ 9011.671907] EXT2-fs: group descriptors corrupted!
[ 9020.304199] mmc0: card 0007 removed

[ 9026.239622] mmc0: new SDHC card at address 0007
[ 9026.241247] mmcblk0: mmc0:0007 SD08G 7.49 GiB
[ 9026.241557] mmcblk0: unknown partition table

I had three partitions, one fat and two ext2.

Jim

Revision history for this message
Leann Ogasawara (leannogasawara) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie karmic. The bug task representing the karmic nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Karmic):
status: In Progress → Won't Fix
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.