linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Hocko <mhocko@suse.cz>
To: Len Brown <lenb@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>, Tony Vroon <tony@linx.net>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	Matthew Garrett <mjg59@srcf.ucam.org>,
	linux-kernel@vger.kernel.org,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	pm list <linux-pm@lists.linux-foundation.org>
Subject: Re: commit 9630bdd9 changes behavior of the poweroff - bug?
Date: Tue, 27 Apr 2010 09:04:05 +0200	[thread overview]
Message-ID: <20100427070405.GA6170@tiehla.suse.cz> (raw)
In-Reply-To: <alpine.LFD.2.00.1004261130090.3999@localhost.localdomain>

Hi Len,

On Mon 26-04-10 12:22:58, Len Brown wrote:
> Michal,
> 
> > my laptop changed behavior during poweroff recently (after upgrading
> > from .33 to .34-rc1). The system seems to be powered off (status display
> > is off) at first glance but when I close the lid then I can hear a noise
> > which sounds like HDD parking and when I open lid again it starts
> > booting without poweroff button (same like when I suspend to RAM).
> 
> Tony,
> 
> > I have the exact same "lid close = powering back on" regression on a
> > Fujitsu-Siemens Lifebook S6420.
> 
> Perhaps you can review this description and help me
> better understand the symptoms?
> 
> Michal,
> Re: poweroff
> 
> Before the regression you could hear the HDD park as a result of the

It is hard to tell whether this sound comes from HDD and I think that it
is actually something different as I've realized that I've heard this
kind of sound only when system was suspended to RAM and lid was closed.
Never during poweroff.

> "poweroff" command without touching the lid, and after the regression
> you don't hear that sound until after you close the lid -- no matter
> how long you wait to close the lid?

Yes. Also the main difference is that the laptop turns on automatically
after lid is open which did not happen before.

> 
> During this period after poweroff and LCD goes out, but before
> lid close, are there any other signs of life?  eg. does caps
> lock button light the caps LED?

No signs of life at all. The small display which shows the status
(charging, battery status, caps lock, num lock, etc.) is turned off.
No reaction to any key press.

> 
> How about during this period if you press the power button and
> hold it for 5 seconds, does that cause the HDD parking sound?

No sound. Even when I closed the lid. Nevertheless, laptop doesn't
start automatically after lid is open.

> 
> If yes, then the regression is that poweroff never completes,
> though perhaps a lid event allows it to complete.
> 
> When you say 'when I open the lid again i starts booting'.
> Is that a cold boot from scratch, or a resume from suspend?

Cold boot.

> 
> Does the new boot start when the lid is closed, or when it is
> subsequently opened?

I have not seen start during lid being closed. As I already said, the
system starts up automatically when I open the lid.

> 
> Thanks for sending your /proc/acpi/wakeup, it shows that
> 
> LID       S4    *enabled  
> 
> which means that the LID is not an S5 wakeup device.
> So if you really do get down to S5, the LID should
> not be able to wake the system.  So if it is, then
> we are never getting to S5.
> 
> Tony,
> Please send the /proc/acpi/wakeup file before and after
> the regression.  Does the system reach a complete poweroff
> before the lid is closed?  If yes, what happens when
> you press the power button w/o closing the lid?
> If you reached S5, it should give you a cold boot.
> If you did not reach S5, it will have no effect.
> 
> thanks,
> Len Brown, Intel Open Source Technology Center
> 

Thanks!
-- 
Michal Hocko
L3 team 
SUSE LINUX s.r.o.
Lihovarska 1060/12
190 00 Praha 9    
Czech Republic

  reply	other threads:[~2010-04-27  7:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-01 13:39 commit 9630bdd9 changes behavior of the poweroff - bug? Michal Hocko
2010-04-01 13:45 ` Matthew Garrett
2010-04-01 13:53   ` Michal Hocko
2010-04-02 19:31     ` Rafael J. Wysocki
2010-04-07  7:34       ` Michal Hocko
2010-04-07 19:49         ` Rafael J. Wysocki
2010-04-08  9:49           ` Michal Hocko
2010-04-08 20:43             ` Rafael J. Wysocki
2010-04-08 22:37               ` Tony Vroon
2010-04-08 22:54                 ` Rafael J. Wysocki
2010-04-09 20:42               ` Rafael J. Wysocki
2010-04-09 21:20                 ` Tony Vroon
2010-04-10 19:36                   ` Rafael J. Wysocki
2010-04-12 23:01                     ` Rafael J. Wysocki
2010-04-13  8:27                       ` Michal Hocko
2010-04-13 20:53                         ` Rafael J. Wysocki
2010-04-14  7:58                           ` Michal Hocko
2010-04-16 18:00                             ` Rafael J. Wysocki
2010-04-19 11:59                               ` Michal Hocko
2010-04-19 15:19                                 ` Rafael J. Wysocki
2010-04-25  2:35                                   ` Rafael J. Wysocki
2010-04-25  3:15                                     ` Rafael J. Wysocki
2010-04-26 15:05                                     ` Michal Hocko
2010-04-26 16:22                                       ` Len Brown
2010-04-27  7:04                                         ` Michal Hocko [this message]
2010-04-29 14:38                                         ` Tony Vroon
2010-04-26 18:51                                       ` Rafael J. Wysocki
2010-04-27  6:51                                         ` Michal Hocko
2010-04-27 22:06                                           ` Rafael J. Wysocki
2010-04-28 21:18                                             ` Rafael J. Wysocki

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=20100427070405.GA6170@tiehla.suse.cz \
    --to=mhocko@suse.cz \
    --cc=jbarnes@virtuousgeek.org \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=rjw@sisk.pl \
    --cc=tony@linx.net \
    /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;
as well as URLs for NNTP newsgroup(s).