SONY Vaio: Wakeup from standby doesn't work

Bug #1113547 reported by Valentin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Joseph Salisbury

Bug Description

All testet Ubuntu version 11.04 - 13.04 doesn't wake up after standby. After clicking on standby, the notebook goes to sleep, but he doesn't wake up anymore but makes a cold boot.

There is a workaround how to fix the problem:

1. Open following file with a texteditor as root
/etc/default/grub

2. Search for this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

3. Replace it with:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_sleep=nonvs"
(add acpi_sleep=nonvs)

I don't know what "acpi_sleep=nonvs" makes, but after adding this, standby works perfectely.
---
ApportVersion: 2.8-0ubuntu4
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: valentin 3967 F.... pulseaudio
 /dev/snd/controlC0: valentin 3967 F.... pulseaudio
 /dev/snd/pcmC0D0p: valentin 3967 F...m pulseaudio
DistroRelease: Ubuntu 13.04
InstallationDate: Installed on 2013-01-31 (2 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130131)
MachineType: Sony Corporation VGN-FW41E_H
MarkForUpload: True
Package: linux (not installed)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-4-generic root=UUID=c221008b-e254-411d-a0e6-1fdb10faec4d ro quiet splash acpi_sleep=nonvs vt.handoff=7
ProcVersionSignature: Ubuntu 3.8.0-4.8-generic 3.8.0-rc6
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-4-generic N/A
 linux-backports-modules-3.8.0-4-generic N/A
 linux-firmware 1.100
Tags: raring running-unity
Uname: Linux 3.8.0-4-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
dmi.bios.date: 08/27/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R3110Y0
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR3110Y0:bd08/27/2009:svnSonyCorporation:pnVGN-FW41E_H:pvrC601DVDW:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-FW41E_H
dmi.product.version: C601DVDW
dmi.sys.vendor: Sony Corporation

Related branches

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1113547

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

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

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Valentin (valentin-stn) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected raring running-unity
description: updated
Revision history for this message
Valentin (valentin-stn) wrote : BootDmesg.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : CRDA.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : IwConfig.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : Lspci.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : Lsusb.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : ProcEnviron.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : ProcModules.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : PulseList.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : RfKill.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : UdevDb.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : UdevLog.txt

apport information

Revision history for this message
Valentin (valentin-stn) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.8 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

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'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.8-rc6-raring/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: suspend-watch
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Also, I'll do some research and see what acpi_sleep=nonvs is doing.

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

Might be related:

[ 3626.936673] ACPI Error: Field [CMDX] at 224 exceeds Buffer [SCBF] size 168 (bits) (20121018/dsopcode-236)
[ 3626.936679] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SATA.GTFB] (Node ffff880139a63fc8), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
[ 3626.936685] ACPI Error: Method parse/execution failed [\_SB_.PCI0.SATA.SPT0._SDD] (Node ffff880139a63e88), AE_AML_BUFFER_LIMIT (20121018/psparse-537)
[ 3626.936690] ata1.00: ACPI _SDD failed (AE 0x300a)

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

From sleep.c, this is what setting nonvs does:

/*
 * The ACPI specification wants us to save NVS memory regions during hibernation
 * and to restore them during the subsequent resume. Windows does that also for
 * suspend to RAM. However, it is known that this mechanism does not work on
 * all machines, so we allow the user to disable it with the help of the
 * 'acpi_sleep=nonvs' kernel command line option.
 */

I see many Sony systems with quirks in acpisleep_dmi_table[].

Can you run the following and post the output:
sudo dmidecode -t system

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

@Valentin,

I added a quirk for your system and created a test kernel. The test kernel can be downloaded from:
http://people.canonical.com/~jsalisbury/lp1113547/

Can you install this kernel and see if it allows your system to suspend/resume properly without using the nonvs parameter?

If this does resolve this bug, I'll send the fix upstream and to the ubuntu kernel.

Thanks in advance!

Changed in linux (Ubuntu):
status: Incomplete → In Progress
assignee: nobody → Joseph Salisbury (jsalisbury)
Revision history for this message
Valentin (valentin-stn) wrote :

Hallo Joseph,

thanks a lot for your responses. First the output of this command:

~$ sudo dmidecode -t system
[sudo] password for valentin:
# dmidecode 2.11
SMBIOS 2.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
 Manufacturer: Sony Corporation
 Product Name: VGN-FW41E_H
 Version: C601DVDW
 Serial Number: 28218663-5001712
 UUID: 6E347340-4A02-11DE-85A6-001DBAEEECD9
 Wake-up Type: Power Switch
 SKU Number: N/A
 Family: N/A

Handle 0x000F, DMI type 32, 20 bytes
System Boot Information
 Status: No errors detected

Now I'll test your test kernels. I'll be back in some minutes.

Revision history for this message
Valentin (valentin-stn) wrote :

I installed your test kernel, I restartet the PC and tested suspend and resume (suspend to RAM) - they're working now also without the nonvs parameter! :-)

I also still have this problem (but I don't know if it has something to do with my SONY Vaio or if it is a bug in Unity/Compiz): https://bugs.launchpad.net/compiz/+bug/1113325

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 3.8.0-4.9

---------------
linux (3.8.0-4.9) raring; urgency=low

  [ Herton Ronaldo Krzesinski ]

  * d-i: Add mellanox ethernet drivers to nic-modules
    - LP: #1015339

  [ Joseph Salisbury ]

  * SAUCE: ACPI: Add DMI entry for Sony VGN-FW41E_H
    - LP: #1113547

  [ Kamal Mostafa ]

  * SAUCE: alx driver import script

  [ Qualcomm Atheros, Inc ]

  * SAUCE: alx: Update to heads/master

  [ Tim Gardner ]

  * Release Tracking Bug
    - LP: #1117673

  * [debian] Remove dangling symlink from headers package
    - LP: #1112442
  * [config] CONFIG_ALX=m
  * [Config] Add alx to d-i nic-modules
  * [Config] CONFIG_SATA_AHCI=m
    - LP: #1056563
 -- Leann Ogasawara <email address hidden> Tue, 05 Feb 2013 05:54:32 -0800

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

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.