My laptop doesn't resume from S3 ACPI sleep state.

Bug #31293 reported by Pedro Martinez-Julia
18
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Undecided
Unassigned
linux-meta (Ubuntu)
Fix Released
Medium
Unassigned
linux-source-2.6.15 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I've got a Sony Vaio VGN FS285M (it's the same as VGN FS660W).

It works fine going to S3 Suspend, It has a blinking red light (as it should be). The problem is in the resume, it resumes when any key is pressed...

I press one key and it's lights changes, the DVD drive and hard drive seems to be initialized, the power and wifi lights are on and the hard drive light is always on (for a few minutes) but the system is freezed. I try to click caps-lock key but it doesn't change the caps-lock LED, the screen is black, nothing happends...

I've tried suspend using a lot of kernel parameters like noapic, nolapic, acpi_sleep=s3_bios,s3_mode and acpi_os_name="Windows Windows XP".

I'm using Dapper but I could never resume the machine from S3 suspend, 2.6.12 doesn't work too (Breezy doesn't resume).

Changed in linux-meta:
status: Unconfirmed → Rejected
Changed in linux:
status: Unconfirmed → Rejected
Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Stop filing each bug 3 times please

Revision history for this message
Daniel Silverstone (dsilvers) wrote :

Have you tried the various tweaks in /etc/default/acpi-support -- in particular, my laptop will freeze on resume unless I comment out the POST_VIDEO option

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote : Re: [Bug 31293] My laptop doesn't resume from S3 ACPI sleep state.

I've tried running with init=/bin/bash and sleeping with "echo mem
> /sys/power/state" and it does the same... I'm sure it's kernel
related.

--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
IMs: GTalk: <email address hidden>
     Jabber: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
James Blackwell (jblack) wrote :

I've had this same problem with all of my Vaios. For me the problem is that is a bit of a delay (up to a couple minutes) as the kernel takes its time to do a reset on the IDE bus. You could look for a setting to specify a reset upon resume and see if that fixes it.

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

I've tried to add hdparm -w /dev/hda just after the resume but if it's
problem of the hard drive... it cant read hdparm...

Also I've tried:
(in single mode without a lot of kernel modules)

hdparm -i /dev/hda
hdparm -i /dev/hda
hdparm -i /dev/hda # 3 times to ensure it is loaded in RAM
echo mem > /sys/power/state
hdparm -w /dev/hda

But it doesn't worked for me :(

Have you solved your problem? What did you used?

Now I'm using ubuntu dapper...

Regards,

    Pedro

El mar, 14--2006 a las 13:49 +0000, James Blackwell escribió:
> Public bug report changed:
> https://launchpad.net/malone/bugs/31293
>
> Comment:
> I've had this same problem with all of my Vaios. For me the problem is
> that is a bit of a delay (up to a couple minutes) as the kernel takes
> its time to do a reset on the IDE bus. You could look for a setting to
> specify a reset upon resume and see if that fixes it.
--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
IMs: GTalk: <email address hidden>
     Jabber: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Ante Karamatić (ivoks) wrote :

What video driver do you use? I had same problem, but with new nvidia driver everything works fine.

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote : Re: [Bug 31293] Re: My laptop doesn't resume from S3 ACPI sleep state.

El mar, 11-04-2006 a las 06:17 +0000, Ante Karamatić escribió:
> What video driver do you use? I had same problem, but with new nvidia driver everything works fine.

I'm using Dapper's driver for nvidia (8756). This is a new release
upgraded yesterday and I need to test it.

Have you got a Vaio VGN-FS285M or VGN-FS660W ?

Regards,

    Pedro

--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Ante Karamatić (ivoks) wrote :

No, I have Dell, but this problem was on all laptops with nvidia prop. driver. So, try it (new nvidia-glx package solved this problem for me). Make sure you have /etc/default/acpi-support looking like this:

SAVE_VBE_STATE=false
POST_VIDEO=false
USE_DPMS=true (you can try with false too)

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

When I try to resume, my laptop dont work (caps-lock doesn't work) and
hard drive light is always on.

In the past I've read that it could be problem in the initialization of
my hard drive.

Thank you very much for your help.

Regards,

    Pedro

--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Ante Karamatić (ivoks) wrote : Re: [Bug 31293] Re: [Bug 31293] Re: My laptop doesn't resume from S3 ACPI sleep state.

pedromj wrote:

> When I try to resume, my laptop dont work (caps-lock doesn't work) and
> hard drive light is always on.

Sorry, I forgot. Add:

Option "NvAGP" "1"

to /etc/X11/xorg.conf (under Nvidia card Device section)

and:

blacklist intel_agp

to /etc/modprobe.d/blacklist if you have Intel chipset. If it's some
else chipset, check /usr/share/doc/nvidia-glx/README.txt.gz to see if it
is supported (Appendix F). If it is supported, you have to find out what
module you use (lsmod | grep agp). Reboot and then try to suspend.

This is exact same behaviour I had untill I did this changes. It's a bug
in nvidia module wich Nvidia is aware of. You can try with nv module in
X, and it should work (but then it's SAVE_VBE_STATE=true).

--
Ante Karamatic | 0xD3BDA225 | 0x0A4A0161
<email address hidden> | <email address hidden> | ivoks.blogspot.com
"Tomorrow is my day off, so please stay off the powder!"

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote : Re: [Bug 31293] Re: [Bug 31293] Re: [Bug 31293] Re: My laptop doesn't resume from S3 ACPI sleep state.

I've done all of this (also, I've unloaded ipw2200) and it still doesn't
suspend to RAM. :(

In the past I've done a test (kernel patch) that runs all suspend code
but just before send "suspend" to the hardware it sends "resume" and it
works. It seems that it is not a Linux-Suspend problem, it's a hardware
initialization problem.

Thank you very much for your help.

Regards,

    Pedro

--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

My Sony VAIO VGN-FS115 doesn't resume from sleep too.
Driver "nv". Also during hibernate I hear cracking sound from speakers.

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote : Re: [Bug 31293] Re: My laptop doesn't resume from S3 ACPI sleep state.

I'm using NVidia driver. Try it and see if it works, please.

Regards,

    Pedro

El vie, 28-04-2006 a las 18:00 +0000, Igor Zubarev escribió:
> My Sony VAIO VGN-FS115 doesn't resume from sleep too.
> Driver "nv". Also during hibernate I hear cracking sound from speakers.
>
--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Igor Zubarev (igor.zubarev) wrote :

I tryed NVIDIA driver. Suspend is OK, Hibernate works with cracking sound from speakers. But this sound is more silent, than using NV driver. Although in Windows hibernate goes without any sound from speakers.

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

You can add soundcard to the list of modules that should be removed
before suspend/hibernate (and restored after resume).

If you like "nv" rather than "NVidia" you can try to call video-post
after resume...

Regards,

    Pedro

El sáb, 29-04-2006 a las 05:15 +0000, Igor Zubarev escribió:
> I tryed NVIDIA driver. Suspend is OK, Hibernate works with cracking
> sound from speakers. But this sound is more silent, than using NV
> driver. Although in Windows hibernate goes without any sound from
> speakers.
>
--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Igor Zubarev (igor.zubarev) wrote : Re: [Bug 31293] Re: [Bug 31293] Re: My laptop doesn't resume from S3 ACPI sleep state.

> You can add soundcard to the list of modules that should be removed
> before suspend/hibernate (and restored after resume).

I think it's better to change settings for all users by developers.
Because it's very annoying bug since Breezy. I tryed hibernate then and
decided never use it it in order save my laptop and souncard working.

If you like "nv" rather than "NVidia" you can try to call video-post
> after resume...
>
No, I prefer using "Nvidia" driver.

Igor

Revision history for this message
Simon Law (sfllaw) wrote :

Pedro,

With the recent Flight of Dapper, does this still happen?

Thanks.

Changed in linux-source-2.6.15:
status: Unconfirmed → Needs Info
Revision history for this message
Pedro Martinez-Julia (pedromj) wrote : Re: [Bug 31293] Re: My laptop doesn't resume from S3 ACPI sleep state.

I'm using Dapper, linux-image-2.6.15-21-386.

A few months in the past I've researched about the problem and it seems
to be my hard drive (that comes with Sony Vaio VGN FS 285M / 660W).

Regards,

    Pedro

--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

Revision history for this message
Simon Law (sfllaw) wrote :

Pedro,

What can you tell us about your hard drive that causes it to fail?

Is there information you can point us to read?

Thanks.

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

I think it's the hard drive because it doesn't do anything after the
"echo mem > /sys/power/state"... I took a look at:

http://bugzilla.kernel.org/show_bug.cgi?id=2039

Attached the HD information.

Regards,

    Pedro

--
Pedro Martínez Juliá
\ <email address hidden>
)| WebLog: http://www.pedromj.com/blog
/ Página web: http://www.pedromj.com
GoogleTalk: <email address hidden>
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org

/dev/hda:

ATA device, with non-removable media
 Model Number: TOSHIBA MK8025GAS
 Serial Number: 658Q8001S
 Firmware Revision: KA023H
Standards:
 Supported: 6 5 4 3
 Likely used: 6
Configuration:
 Logical max current
 cylinders 16383 16383
 heads 16 16
 sectors/track 63 63
 --
 CHS current addressable sectors: 16514064
 LBA user addressable sectors: 156301488
 device size with M = 1024*1024: 76319 MBytes
 device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
 LBA, IORDY(can be disabled)
 bytes avail on r/w long: 48 Queue depth: 1
 Standby timer values: spec'd by Standard, no device specific minimum
 R/W multiple sector transfer: Max = 16 Current = ?
 Advanced power management level: unknown setting (0x0080)
 DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
      Cycle time: min=120ns recommended=120ns
 PIO: pio0 pio1 pio2 pio3 pio4
      Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
 Enabled Supported:
    * NOP cmd
    * READ BUFFER cmd
    * WRITE BUFFER cmd
    * Host Protected Area feature set
    * Look-ahead
    * Write cache
    * Power Management feature set
  Security Mode feature set
    * SMART feature set
    * Mandatory FLUSH CACHE command
    * Device Configuration Overlay feature set
  SET MAX security extension
    * Advanced Power Management feature set
    * SMART self-test
    * SMART error logging
Security:
 Master password revision code = 65534
  supported
 not enabled
 not locked
  frozen
 not expired: security count
 not supported: enhanced erase
 72min for SECURITY ERASE UNIT.
HW reset results:
 CBLID- above Vih
 Device num = 0 determined by the jumper
Checksum: correct

Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

In Dapper, with latest Kernel, latest ACPI tables fix and inside XWindows (latest NVidia drivers) the machine suspends and resumes right. I think the machine doesn't resume in text mode but by now it's working on X.

Simon Law (sfllaw)
Changed in linux-source-2.6.15:
status: Needs Info → Fix Released
Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

It's fixed for linux-source-2.6.15, for linux (upstream) too.

Changed in linux:
status: Unconfirmed → Fix Released
Revision history for this message
Pedro Martinez-Julia (pedromj) wrote :

Fixed in dapper kerenl, fixed in linux-meta too.

Changed in linux-meta:
status: Rejected → Fix Released
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.