public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Lidakis <nlidakis-H+0wwilmMs3R7s880joybQ@public.gmane.org>
To: Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Desktop and S3 suspend the Holy Grail of ACPI?
Date: Thu, 26 Feb 2004 22:20:10 -0500	[thread overview]
Message-ID: <403EB76A.60204@verizon.net> (raw)
In-Reply-To: <1077686228.5911.93.camel-D2Zvc0uNKG8@public.gmane.org>

Len Brown wrote:

>>>...D875PBZ...
>>>      
>>>
>
>On this box S1 works for me, but S3 doesn't resume (below)
>
>Note that you need to enable S3 in the BIOS SETUP to try S3.
>
>  
>
I do have S3 enabled in the BIOS. I just grabbed Debian's 
kernel-source-2.6.3 and compiled it without SMP support. cat 
/sys/power/state gives me standby mem disk.
I tried echo -n disk /sys/power/state (as per the ACPI docs on 
sourceforge) and the system did try to write the contents to disk, but 
failed. I then realized I don't have enough swap space, which I will try 
to exapnd later.

I then tried eco -n mem > /sys/power/state and the machine basically 
shuts down (completely off I think) so fast that I don't get a chance to 
see any console messages. Doesn't resume when I hit a key. If I try to 
hit the power button once, the machine beeps hi-lo (BIOS error I guess?) 
without booting. I have to then hold the power swithc for 4 seconds, 
then turn it on again.

Doing:
# /etc/init.d/acpid stop
echo -n standby > /sys/power/state
the machine does go into standy with no error messages.
I am able to resume by hitting the power button once.

Thank you for the  "acpid stop" tip, I never saw it mentioned in the howto.
The only problem is the case fans are still on even though I have the 
fans set for off at low temperature in the BIOS.
I was hoping for a silent sleeping machine; maybe I'll wait an hour and 
see if the case fans do eventually shut off.


>Note that neither S1 nor S3 will do anything on the SMP kernel.
>(and unfortunately, they will not even tell you that when you try)
>
>-Len
>
>BIOS SETUP: Power/ACPI
>ACPI Suspend State [S3 State] (default is S1)
>
>boot FC2-test1 UP kernel
>
># cat /proc/acpi/sleep
>S0 S1 S3 S4 S5
>
># /etc/init.d/acpid stop
>(to make power button resume event not initiate a shut-down)
>
># echo 1 >/proc/acpi/sleep
>Stopping tasks: ================================|
>psmouse.c: bad data from KBC - timeout bad parity
>hdc: start_power_step(step: 0)
>hdc: completing PM request, suspend
>hda: start_power_step(step: 0)
>hda: start_power_step(step: 1)
>hda: complete_power_step(step: 1, stat: 50, err: 0)
>hda: completing PM request, suspend
>psmouse.c: bad data from KBC - timeout bad parity
>psmouse.c: bad data from KBC - timeout bad parity
>PM: Entering state.
>i8042.c: Can't restore CTR.
>
>
><press power button here to resume>
>
>
>Back to C!
>i8042.c: Can't read CTR while initializing i8042.
>i8042: resume failed
>PM: Finishing up.
>PCI: Setting latency timer of device 0000:00:1d.0 to 64
>PCI: Setting latency timer of device 0000:00:1d.1 to 64
>PCI: Setting latency timer of device 0000:00:1d.2 to 64
>PCI: Setting latency timer of device 0000:00:1d.3 to 64
>hda: Wakeup request inited, waiting for !BSY...
>hda: start_power_step(step: 1000)
>e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex
>blk: queue f7dcb5c0, I/O limit 4095Mb (mask 0xffffffff)
>hda: completing PM request, resume
>hdc: Wakeup request inited, waiting for !BSY...
>hdc: start_power_step(step: 1000)
>hdc: completing PM request, resume
>Restarting tasks... done
>#
>
>system running normally here.
>
>now try S3:
>
># echo 3 >/proc/acpi/sleep
>Stopping tasks: =================================|
>hdc: start_power_step(step: 0)
>hdc: completing PM request, suspend
>hda: start_power_step(step: 0)
>hda: start_power_step(step: 1)
>hda: complete_power_step(step: 1, stat: 50, err: 0)
>hda: completing PM request, suspend
>PM: Entering state.
>
><power is off, press power button here to wake up system>
>
>here a bunch of garbled junk comes out my serial console.
>But video is not restored to my matrox mystique FB.
>ping doesn't work.
>
>  
>

This is on the INTEL D875PBZ, is that correct? What kernel version is 
FC2-test1 UP kernel? I am also assuming debian's kernel 2.6.3 would have 
all the latest ACPI patches?

>Curiously CTRL-ALT-DEL results in the following on the serial console:
>
>quotaoff: numerical sysctl 5 16 8 is obsolete.
>md: stopping all md devices.
>md: md0 switched to read-only mode.
>Restarting system.
>
><and the system reboots here>
>
>So it seems that the system did resume and talk to the keyboard at
>least...
>
>
>
>
>  
>
Len, thank you for your detailed responses, much appreciated.


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click

  parent reply	other threads:[~2004-02-27  3:20 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-22 18:27 Desktop and S3 suspend the Holy Grail of ACPI? nick
     [not found] ` <4038F499.2060302-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-22 20:25   ` Bruno Ducrot
     [not found]     ` <20040222202519.GB2869-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-23  2:02       ` Nick Lidakis
     [not found]         ` <40395F51.9060101-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-23  8:45           ` Bruno Ducrot
2004-02-23  6:31   ` Len Brown
     [not found]     ` <1077517907.12673.43.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-24  5:06       ` Nick Lidakis
     [not found]         ` <403ADBCC.9060108-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-25  5:17           ` Len Brown
     [not found]             ` <1077686228.5911.93.camel-D2Zvc0uNKG8@public.gmane.org>
2004-02-25  5:50               ` Huw Rogers
2004-02-27  3:20               ` Nick Lidakis [this message]
2004-02-25 18:20   ` Pavel Machek
     [not found]     ` <20040225182030.GG1214-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-28 21:38       ` Nick Lidakis
     [not found]         ` <40410A69.3070800-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-28 22:04           ` Pavel Machek
     [not found]             ` <20040228220435.GD10530-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-28 22:17               ` Nick Lidakis
     [not found]                 ` <4041136B.9000904-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-02-28 23:09                   ` Pavel Machek
     [not found]                     ` <20040228230941.GA488-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-02-29  0:19                       ` count0-tC47gz4GrgtWk0Htik3J/w
     [not found]                         ` <1950.66.108.215.112.1078013994.squirrel-2RFepEojUI20LjuDPgauC1aTQe2KTcn/@public.gmane.org>
2004-02-29  7:20                           ` Pavel Machek
2004-03-02  2:08                       ` Nick Lidakis
     [not found]                         ` <4043ECB4.7080203-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-02 10:19                           ` Pavel Machek
     [not found]                             ` <20040302101904.GA303-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-02 21:51                               ` Nick Lidakis
     [not found]                                 ` <404501D8.8090506-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-02 22:34                                   ` Pavel Machek
     [not found]                                     ` <20040302223446.GG1225-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-04  0:42                                       ` Nick Lidakis
     [not found]                                         ` <40467B8E.7060709-H+0wwilmMs3R7s880joybQ@public.gmane.org>
2004-03-04  0:51                                           ` Nick Lidakis
2004-03-04 10:52                                           ` Pavel Machek
     [not found]                                             ` <20040304105233.GA308-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-03-09 22:52                                               ` Nick Lidakis
  -- strict thread matches above, loose matches on Subject: below --
2004-02-25  9:43 Yu, Luming
2004-03-02  2:55 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E7B-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  2:56   ` Nick Lidakis
2004-03-02  3:12 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E87-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  3:17   ` Nick Lidakis
2004-03-02  3:33 Ow Mun Heng
     [not found] ` <C386328088ED7F4E9F81AFBABDDF60DA045C6E94-Yw6hFe9C1vnHQcBQSaPqJq0fmWJ9l57d0E9HWUfgJXw@public.gmane.org>
2004-03-02  3:29   ` Nick Lidakis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=403EB76A.60204@verizon.net \
    --to=nlidakis-h+0wwilmms3r7s880joybq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox