[Dell Inc. Inspiron 910] suspend/resume failure when SD card is mounted

Bug #436729 reported by shokforums
172
This bug affects 36 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Low
Unassigned
Nominated for Karmic by Andrew Lee
Nominated for Lucid by satmandu

Bug Description

Easy 1 step repro, with the machine set to suspend when the lid is closed, close lid.
Results: indicator light never flashes to indicate suspend mode, when lid is opened screen is frozen and hard reboot is required.
If lid is left down battery is still consumed so it never even makes it into a power saving mode.

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: ALC268 Analog [ALC268 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ajahns 1479 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0540000 irq 22'
   Mixer name : 'Realtek ALC268'
   Components : 'HDA:10ec0268,102802b0,00100101'
   Controls : 17
   Simple ctrls : 11
Date: Fri Sep 25 09:18:35 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: suspend/resume
HibernationDevice: RESUME=UUID=297c1dfc-8240-406d-8a20-8072119cf5ec
InterpreterPath: /usr/bin/python2.6
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Dell Inc. Inspiron 910
NonfreeKernelModules: wl
Package: linux-image-2.6.31-10-generic 2.6.31-10.35
ProcCmdLine: root=UUID=1bfafbc8-af43-4fcb-acb5-d13a3d23b835 ro quiet splash
ProcCmdline: /usr/bin/python /usr/share/apport/apportcheckresume
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.31-10.35-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-10-generic N/A
 linux-firmware 1.19
SourcePackage: linux
Tags: resume suspend ubuntu-unr
Title: [Dell Inc. Inspiron 910] suspend/resume failure [non-free: wl]
Uname: Linux 2.6.31-10-generic i686
UserGroups:

WpaSupplicantLog:

dmi.bios.date: 12/29/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: CN0J14
dmi.board.vendor: Dell Inc.
dmi.board.version: A04
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A04
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd12/29/2008:svnDellInc.:pnInspiron910:pvrA04:rvnDellInc.:rnCN0J14:rvrA04:cvnDellInc.:ct8:cvrA04:
dmi.product.name: Inspiron 910
dmi.product.version: A04
dmi.sys.vendor: Dell Inc.

Revision history for this message
shokforums (shokforums) wrote :
Revision history for this message
Bardamu (bardamu) wrote :

By unmounting my sdhc card before going into suspend mode, suspend and resume work without a problem.
With the last kernel update, my sdhc card is mounted automatically at startup.

Revision history for this message
Jandro (jrodvil) wrote :

@Bardamu: Thx!!! that is the problem. thx for the solution

Changed in linux (Ubuntu):
status: New → Fix Committed
status: Fix Committed → In Progress
status: In Progress → Fix Committed
Revision history for this message
Oliver (lobohacks) wrote : apport-collect data

Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: oliver 2158 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xefebc000 irq 21'
   Mixer name : 'SigmaTel STAC9200'
   Components : 'HDA:83847690,102801d8,00102201'
   Controls : 11
   Simple ctrls : 6
CheckboxSubmission: fc0287e3285450636a8267e07a7f707a
CheckboxSystem: d00f84de8a555815fa1c4660280da308
DistroRelease: Ubuntu 9.10
HibernationDevice: RESUME=UUID=a0269ef7-f495-498e-8d8e-baf526f63e63
MachineType: Dell Inc. MXC061
Package: linux (not installed)
ProcCmdLine: root=/dev/mapper/vg--insp-root ro quiet splash
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 linux-backports-modules-2.6.31-14-generic N/A
 linux-firmware 1.24
Uname: Linux 2.6.31-14-generic i686
UserAsoundrc:
 pcm.btheadset {
         type bluetooth
         device 00:12:EE:17:DB:82
         profile “auto”
 }
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
WpaSupplicantLog:

dmi.bios.date: 04/02/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.name: 0MG532
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA10:bd04/02/2007:svnDellInc.:pnMXC061:pvr:rvnDellInc.:rn0MG532:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: MXC061
dmi.sys.vendor: Dell Inc.

Revision history for this message
Oliver (lobohacks) wrote : AlsaDevices.txt
Revision history for this message
Oliver (lobohacks) wrote : AplayDevices.txt
Revision history for this message
Oliver (lobohacks) wrote : BootDmesg.txt
Revision history for this message
Oliver (lobohacks) wrote : Card0.Amixer.values.txt
Revision history for this message
Oliver (lobohacks) wrote : Card0.Codecs.codec.0.txt
Revision history for this message
Oliver (lobohacks) wrote : CurrentDmesg.txt
Revision history for this message
Oliver (lobohacks) wrote : IwConfig.txt
Revision history for this message
Oliver (lobohacks) wrote : Lspci.txt
Revision history for this message
Oliver (lobohacks) wrote : Lsusb.txt
Revision history for this message
Oliver (lobohacks) wrote : PciMultimedia.txt
Revision history for this message
Oliver (lobohacks) wrote : ProcCpuinfo.txt
Revision history for this message
Oliver (lobohacks) wrote : ProcInterrupts.txt
Revision history for this message
Oliver (lobohacks) wrote : ProcModules.txt
Revision history for this message
Oliver (lobohacks) wrote : RfKill.txt
Revision history for this message
Oliver (lobohacks) wrote : UdevDb.txt
Revision history for this message
Oliver (lobohacks) wrote : UdevLog.txt
Revision history for this message
Oliver (lobohacks) wrote : WifiSyslog.txt
Revision history for this message
Oliver (lobohacks) wrote : XsessionErrors.txt
tags: added: apport-collected
Revision history for this message
Oliver (lobohacks) wrote : Re: [Dell Inc. Inspiron 910] suspend/resume failure [non-free: wl]

Hi there,
this bug isnt fixed for me.
---
Same behavior as the original author described, sd-card attached -> suspend fail, no sd -> everything is fine.
My system is up2date i have even karmic-proposed turned on.
I dist-upgraded from jaunty maybe a old config is the problem ??

regards oliver

Revision history for this message
erlguta (gonzalomarcote) wrote :

I can confirm this bug it is not fixed yet. I happened to me today in mi Dell mini 9 with Karmic Beta properly updated.
It is very annoying to see this kind of regressions.
This bugs seems to be duplicateds of a lot of users with the same bug:
#430815
#398207

Revision history for this message
erlguta (gonzalomarcote) wrote :

The solution provided by Bardamu should not be vaiid. I shouldn't care about unmounting my sdhc all the times before suspending, when i never did it (in NBR Jaunty for example).
What kind of unprofessional solution is this?
It is a temporary solution, but must be corrected.

This seems to be duplicateds too:
#407908
#398207
#444051

Revision history for this message
Chorca (chorca) wrote :

I also have an SDHC card installed when suspending. For me, choosing Suspend on the menu caused my USB devices to power down, and the mouse to lockup and the system to hard-freeze, requiring a hard power off to resolve.

Revision history for this message
Nicholas Sanders (nick-linuxfiend) wrote :

I can confirm this bug on a newly installed Netbook Remix 9.10 RC. With SD card mounted, closing the lid powers off display, but system never suspends. Displays powers on when lifting lid, but the keyboard and mouse do not respond and screen is frozen. A hard reboot is required. With SD card unmounted, suspend operates correctly.

Revision history for this message
Dominic Hargreaves (dom) wrote :

I can also confirm this behaviour with Netbook Remix upgraded from 9.04 to 9.10 RC. Suspend freezes (needs power button pressing to turn off) with SDHC card inserted, works without.

Gord Seifert (gkseifert)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Jeff Fortin Tam (kiddo) wrote :

Jandro, could you tell me the meaning of fix committed in this context (as there's no upstream bug)? Does it mean that you committed a fix for this bug in a package, but the package has not yet been published on the repositories?

Revision history for this message
amtks07 (adam-m-tho) wrote :

Hi,

I think this is related to my SDHC card. When I take out the card, I don't have any issues

This issue is new and started immediately when i upgraded from 9.04 to 9.10. Note that in 9.04, my SDHC card was not supported "Error whilst initialising SD card." Now, it is.

Thanks,
Adam

Revision history for this message
Dominic Hargreaves (dom) wrote :

Relating to Jandro's status changes and Jean-François's question, there is no evidence on this bug report that the problem has been fixed. Jandro's status change is immediately preceded by evidence that they have learnt about a workaround, which is not the same as a fix.

I am therefore reverting his status change.

Changed in linux (Ubuntu):
status: Fix Committed → New
Revision history for this message
erlguta (gonzalomarcote) wrote :

This bug is important, and apperas even with new status and not confirmed.
It seems that some umount and remount option is missed in somewhere, that was present in all previous releases.

Andy Whitcroft (apw)
tags: added: regression-release
Revision history for this message
matt.bell (matt-bellifemine) wrote :

I'm not too familiar with how bugs like this are handled. Is it likely to be fixed before the next release? It is really helpful to have a big SD card always in the slot especially with a small SSD.

Jerone Young (jerone)
Changed in dell:
status: New → Invalid
tags: added: karmic
Revision history for this message
erlguta (gonzalomarcote) wrote :

This bug is very important. As Matt.bell says, is very useful to have a microSD card always inserted in small ssd like dell mini 9. Why is stiil unasigned if it affects so many people and equipment (all the Dell's)?.

Revision history for this message
erlguta (gonzalomarcote) wrote :

I think this bug is related with this one:
https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/424877

It seems that it is independent from hardware model. The systems complety hangs up if you try to suspend with one MicroSD inserted.

Is the workaround mentioned in #424877 bug, of installing 'linux-backports-modules-karmic' and adding GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pciehp.pciehp_force=1" to /etc/default/grub solving this bug?.

or perhaps someone simply forgot to put in karmic one script in /etc/pm/sleep.d/ or /usr/lib/pm-utils/sleep.d/ like this:
case "$1" in
    hibernate|suspend)
        umount /path/to/SD_Card
        ;;
    resume|thaw)
        mount /path/to/SD_Card /mount/point/
        ;;
    *) exit 0
        ;;
    esac

Somebody can say something about this bug, please?

Revision history for this message
erlguta (gonzalomarcote) wrote :

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:

# Drop to: /etc/pm/sleep.d
# Use this script to prevent data loss on mounted MMC/SD
# cards. It syncs data and umounts all mmcblk devices prior to
# suspend, and cancels suspend if umounting was not possible
# (i.e: something locks a file)
case "${1}" in
    hibernate|suspend)
        /bin/sync
        for drive in $( /bin/ls /dev/mmcblk?p* ); do
            /bin/umount ${drive} > /dev/null
            # If umount failed: abort suspend
            if [ $? -gt 0 ]; then
            # Test if device keeps mounted. Previous command could fail
            # (i.e device was not mounted) with a non-stopper
            # problem for the suspend process.
            /bin/mount | /bin/grep ${drive}
            if [ $? -eq 0 ]; then
                exit 1
            fi
            fi
        done
        ;;
# resume|thaw)
## Do nothing. All devices will be automatically mounted again.
# ;;
esac

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

Revision history for this message
amtks07 (adam-m-tho) wrote : Re: [Bug 436729] Re: [Dell Inc. Inspiron 910] suspend/resume failure [non-free: wl]

For me, the problem went away when I formatted the card as ext3 instead of
FAT.

-Adam

On 2/7/10 1:22 PM, "erlguta" <email address hidden> wrote:

> 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:
>
> # Drop to: /etc/pm/sleep.d
> # Use this script to prevent data loss on mounted MMC/SD
> # cards. It syncs data and umounts all mmcblk devices prior to
> # suspend, and cancels suspend if umounting was not possible
> # (i.e: something locks a file)
> case "${1}" in
> hibernate|suspend)
> /bin/sync
> for drive in $( /bin/ls /dev/mmcblk?p* ); do
> /bin/umount ${drive} > /dev/null
> # If umount failed: abort suspend
> if [ $? -gt 0 ]; then
> # Test if device keeps mounted. Previous command could fail
> # (i.e device was not mounted) with a non-stopper
> # problem for the suspend process.
> /bin/mount | /bin/grep ${drive}
> if [ $? -eq 0 ]; then
> exit 1
> fi
> fi
> done
> ;;
> # resume|thaw)
> ## Do nothing. All devices will be automatically mounted again.
> # ;;
> esac
>
> So the soluttion to all of this duplicated bugs is simple, no?

Revision history for this message
komputes (komputes) wrote : Re: [Dell Inc. Inspiron 910] suspend/resume failure [non-free: wl]

I preformed the following suspend tests on Lucid Beta:

-Suspend Dell Mini 9 with no SD card...PASS

-Suspend Dell Mini 9 with 1GB FAT32 SD card UNMOUNTED...PASS
  -Card is mounted at resume

-Suspend Dell Mini 9 with 1GB FAT32 SD card MOUNTED...FAIL
  -Freezes on black screen. Hard reboot is required.

Revision history for this message
komputes (komputes) wrote :

...continued

-Suspend Dell Mini 9 with 1GB EXT4 SD card UNMOUNTED...PASS
  -Card is mounted at resume

-Suspend Dell Mini 9 with 1GB EXT4 SD card MOUNTED...FAIL
  -Freezes on black screen. Hard reboot is required.

komputes (komputes)
summary: - [Dell Inc. Inspiron 910] suspend/resume failure [non-free: wl]
+ [Dell Inc. Inspiron 910] suspend/resume failure when SD card is mounted
komputes (komputes)
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in dell:
status: Invalid → Confirmed
Changed in linux (Ubuntu):
importance: Undecided → Low
Jerone Young (jerone)
Changed in dell:
status: Confirmed → Invalid
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/1305962

no longer affects: somerville
To post a comment you must log in.