SSD Drive does not wake up after suspend

Bug #819096 reported by EJ Finneran
92
This bug affects 20 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I installed a SSD drive in my Dell Mini 1012 running 11.04 and when the computer resumes from suspend, the kernel starts spitting out errors like:
end_request: I/O error, dev sda
The kernel is running but the hard drive doesn't respond to any request so the computer is unusable until I perform a reboot.

Other users have reported the same error on the forums:
http://ubuntuforums.org/showthread.php?t=1594629

Uname:
Linux ej-Inspiron-1012 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
Release:
Natty 11.04

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.38-8-generic 2.6.38-8.42
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
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: ej 1423 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 45'
   Mixer name : 'Realtek ALC272'
   Components : 'HDA:10ec0272,1028041a,00100001'
   Controls : 14
   Simple ctrls : 8
Date: Sun Jul 31 21:22:49 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
MachineType: Dell Inc. Inspiron 1012
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=2fee7e98-9a39-4dfa-bbd3-ab8c4e57e632 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/12/2010
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A11
dmi.board.name: 0P9MDV
dmi.board.vendor: Dell Inc.
dmi.board.version: A11
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A11
dmi.modalias: dmi:bvnDellInc.:bvrA11:bd11/12/2010:svnDellInc.:pnInspiron1012:pvrA11:rvnDellInc.:rn0P9MDV:rvrA11:cvnDellInc.:ct8:cvrA11:
dmi.product.name: Inspiron 1012
dmi.product.version: A11
dmi.sys.vendor: Dell Inc.

Revision history for this message
EJ Finneran (ej-finneran) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Igor Nikolic (nikolic-igor) wrote :

Hi,

This bug affects me on a Thinkpad x121e using an OCZ Agility 3 120GB SSD.

For reference, support requests have been posted on the :
Lenovo support forum :
http://forums.lenovo.com/t5/Linux-Discussion/Resuming-from-suspend-with-Ubuntu-11-04-fails-on-Thinkpad-121e/m-p/542929

OCZ support forum
http://www.ocztechnologyforum.com/forum/showthread.php?94374-Resuming-from-suspend-on-Agility-3-fails-with-Ubuntu-11.04-on-Thinkpad-121e&p=680031&highlight=#post680031

Lets see what they have to say.

Greetings
igor

Revision history for this message
Reinis Zumbergs (reinis-zumbergs) wrote :

I have this problem with:
 - Lenovo 3000 N200 0769
 - Crucial RealSSD 64GB m4

tags: added: ocelot
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the release candidate kernel versus the daily build. 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.

tags: added: oneiric
removed: ocelot
tags: added: needs-upstream-testing
Revision history for this message
Brad Figg (brad-figg) wrote : Test with newer development kernel (3.0.0-12.20)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

We have noted that there is a newer version of the development kernel than the one you last tested when this issue was found. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.0.0-12.20
Revision history for this message
Igor Nikolic (nikolic-igor) wrote :

This bug still affects me on 11.10 Thinkpad x121e using an OCZ Agility 3 120GB SSD.

 uname -a
Linux think 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

What other information do you need ?

tags: removed: needs-upstream-testing
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Igor,

Were you able to test the latest mainline kernel, which is version: v3.1-rc9-oneiric

Revision history for this message
Igor Nikolic (nikolic-igor) wrote :

@Joseph

I installed the package : linux-image-3.1.0-0301rc9-generic_3.1.0-0301rc9.201110050905_amd64.deb
from http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1-rc9-oneiric/

$ uname -a
Linux think 3.1.0-0301rc9-generic #201110050905 SMP Wed Oct 5 09:15:03 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

The problem persists. Is there anything else I can test ?

Greetings
Igor

Revision history for this message
Igor Nikolic (nikolic-igor) wrote :

Not sure of this is useful, but based on comments on various forums and blogs, I tested the setup with adding "acpi=nonvs" to the kernel boot options. Resume problem persists.

For the record, the complete kernel parameters are

Command line: BOOT_IMAGE=/boot/vmlinuz-3.1.0-0301rc9-generic root=UUID=47478777-f2c1-4989-9137-30a263fa11ad ro quiet splash acpi_sleep=nonvs vt.handoff=7

Also attached is the output of

# dmesg | grep ACPI > dmesg_ACPI.txt

in hope that it is useful.

Igor

Changed in linux (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Dikko Mittmer (mod-q) wrote :

I have this issue on an x121e with an corsair force gt (firmware 1.3.2) SSD drive. After suspend the drive dissapears completely.
This happens also in Debian wheezy and Ubuntu 11.10 and 12.04 precise beta 1. I think this is ultimately due to very poor
firmware in the corsair drives, but according to this post:
http://forum.corsair.com/forums/showthread.php?t=98568
there should be a work around. I have not have had any luck getting it to work on ubuntu or debian.
When run from a usb flash stick suspend works properly.

I'd be happy to test any solutions as long as I still have access to the laptop.

Revision history for this message
Curtis Nelson (stylebox) wrote :

I have the same issue on an HP Dm1-4010us with an OCZ Vertex 3 120GB SSD. Running 12.04 LTS with kernel 3.2.0-23. Suspend works perfectly using live boot to USB flash drive or regular HD that came with the machine.

Revision history for this message
xorik (xor29a) wrote :

Same here:
Linux: 3.5.0 vanilla
Laptop: Samsung r528
SSD: OCZ Vertex4 128Gb

Revision history for this message
Joe Littlejohn (joelittlejohn) wrote :

Same here:

HP EliteBook 8540w
Ubuntu 12.04, 3.2.0-31-generic x86_64
Crucial M4 128GB, Firmware 0009

Revision history for this message
Thomas (rundablage) wrote :

This affects me too.
Dell e4300
Ubuntu 3.5.0-18-generic x86_64
OCZ Vertex 3 120 GB

But I did find a workaround from her http://forums.crucial.com/t5/Solid-State-Drives-SSD/SOLVED-M4-CT512M4SSD1-7mm-512Gb-SSD-too-slow-when-laptop-wakes/td-p/102666

Add libata.force=nohrst to the kernel command line and it works like a charm.

Revision history for this message
Carlos (hirs) wrote :

Option libata.force=nohrst doesn't work for me.
I'm using an OCZ 60GB Vertex 2 SSD.
In my case sometimes the disk wakes up and sometimes doesn't.
I have tried blacklisting ath9k and snd_hda_intel to discard any conflict, no luck with this.

Using an asus ul30a laptop.

Revision history for this message
Adam (adam1213) wrote :

I have the same problem as Carlos. I have found that suspend generally works when done for short periods of time. However when I my laptop is suspend for an extended amount of time (perhaps 30 minutes) resuming from suspend always results in issues accessing the SSD.

I am using an asus ul80vt laptop with an Intel SSD. Linux 3.5.0-23-generic #35-Ubuntu SMP Thu Jan 24 13:15:40 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux.

I have not tested "libata.force=nohrst" yet.

Revision history for this message
David Monniaux (david-monniaux) wrote :

Also in 12.10 kernel 3.5.0-26-generic #42-Ubuntu SMP.
Note: this is an encrypted SSD,

$ sudo hdparm -i /dev/sda

/dev/sda:

 Model=SAMSUNG SSD PM830 FDE 2.5" 7mm 256GB, FwRev=CXM76D1Q, SerialNo=[removed]
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=unknown, MaxMultSect=1, MultSect=1
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=500118192
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes: pio0 pio1 pio2 pio3 pio4
 DMA modes: mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: unknown: ATA/ATAPI-2,3,4,5,6,7

 * signifies the current active mode

Revision history for this message
David Monniaux (david-monniaux) wrote :

This bugs seems to affect all our new Dell laptops with encrypted SSDs, running quantal.

Revision history for this message
David Monniaux (david-monniaux) wrote :

I caught the laptop doing it with another machine nearby, and typed the error messages (typing errors are possible):

ata1.00: status { DRDY ERR }
ata1.00: error { ABRT }
ata1.00: exception Emask 0x0 SACt 0x0 SErr 0x0 action 0x0
ata1.00: irq_stat 0x40000001
ata1.00: failed command: READ DMA
ata1.00: cmd c8/00:08:00:8e:9a/00:00:00:00:00/ef tag 0 dma 4096 im
         res 51/04:08:00:8e:9a/00:00:00:00:00/0f Emask 0x1 (device error)
ata1.00: status { DRDY ERR }
ata1.00: error { ABRT }
end_request: I/O error, dev sda, sector 261787136

Revision history for this message
Ro$k0 (kroskolii) wrote :

My laptop stop wake up after SSD installation. Asus P81IJ, SSD Intel 520 120 Gb SSDSC2CW12, Ubuntu 13.04 x32.
Is there any possibility to fix this? Any help would be appreciated.

Revision history for this message
penalvch (penalvch) wrote :

EF Finneran, 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? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

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

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

Also, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.12

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: bios-outdated-a12
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Triaged → Incomplete
Revision history for this message
EJ Finneran (ej-finneran) wrote :

I unfortunately don't have that laptop anymore. Sorry.

Revision history for this message
penalvch (penalvch) wrote :

EJ Finneran, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/819096/comments/22 regarding you no longer have the hardware. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Slava (pisarevsky-v) wrote :

I had the similar issue on Lenovo T60 and T410 with OCZ Vertex 4. Ubuntu 14 LTS failed to wakeup after suspend due to SATA link down error.
I have solved the problem by switching SATA compatibility mode from "Compatible" to "AHCI".

Hope it helps somebody.

Revision history for this message
mutoo shami (mutooshaml) wrote :

Bug linux is more important in this technique.many bug are do not controlled in Linux. It is coded language to organise.we are provided https://myspace.com/yahoomailservice yahoo mail customer support number and do this best technique in Linux.

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.