public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Lord <lkml@rtr.ca>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
	simon.derr@bull.net, Len Brown <lenb@kernel.org>
Subject: Re: Problems with SMP & ACPI powering off
Date: Thu, 27 Sep 2007 19:07:20 -0400	[thread overview]
Message-ID: <46FC37A8.90200@rtr.ca> (raw)
In-Reply-To: <200709280000.53001.rjw@sisk.pl>

Rafael J. Wysocki wrote:
> On Thursday, 27 September 2007 23:29, Mark Lord wrote:
>> Question:  do we disable all CPUs except 0 when doing ACPI power off?
> 
> No, but we should.
> 
>> Background:
>> I have a machine here dedicated to running MythTV.
>> It powers up to record, and then sets the RTC alarm for next time
>> and powers down again in between recordings.
>>
>> It has an Intel Core2duo E6300 CPU, currently on an ICH8 motherboard.
>> Previously it was on a completely different (vendor,bios,...) ICH7 motherboard.
>>
>> In both cases, "halt -p" sometimes fails to actually turn off the power,
>> which means that it later then fails to "turn on" to record again.
>>
>> Annoying.
>>
>> This is a 32-bit kernel/runtime, with full ACPI (not APM) kernel support enabled.
>>
>> So I'm wondering if it may be due to the old SMP-poweroff bogeyman ?
> 
> May be.
> 
> Which kernel?

Latest 2.6.23-rc-git.  Same problem from time to time on 2.6.17, as well.
Dunno about in between those Revs., but it's much more common on the latest
than it was on the old kernel.

> 
>> For now, I've hardcoded a cpu_down(1) into the poweroff code,
>> and we'll see if that helps or is merely redundant.
>>
>> But I do wonder where else to look for a cause?
>>
>> Two different boards, vendors, BIOSs, same CPU chip.  Same problem.
> 
> Same chipset, perchance?

Mmmm I originally didn't think so.

But actually one board is ICH8, the other ICH8R,
so yes, they use the same chipset.

Cheers

  reply	other threads:[~2007-09-27 23:07 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-27 21:29 Problems with SMP & ACPI powering off Mark Lord
2007-09-27 21:30 ` Mark Lord
2007-09-27 22:00 ` Rafael J. Wysocki
2007-09-27 23:07   ` Mark Lord [this message]
2007-09-28  4:57   ` Len Brown
2007-09-28 12:55     ` Rafael J. Wysocki
2007-09-28 13:22       ` Mark Lord
2007-09-28 13:44         ` Rafael J. Wysocki
2007-09-28 13:46           ` Mark Lord
2007-09-28 13:52             ` [PATCH] disable non-boot CPUs before poweroff Mark Lord
2007-09-28 14:11               ` Mark Lord
2007-09-28 14:55               ` Thomas Gleixner
2007-09-28 19:53                 ` [PATCH] (repost) Fix SMP poweroff hangs Mark Lord
2007-09-30  9:00                   ` Santiago Garcia Mantinan
2007-09-30 17:21                     ` Mark Lord
2007-09-30 17:54                       ` Santiago Garcia Mantinan
2007-09-30 18:47                         ` Mark Lord
2007-09-30 20:03                           ` Santiago Garcia Mantinan
2007-09-30 22:52                             ` 32-bit Athlon X2 won't poweroff (was: Fix SMP poweroff hangs) Mark Lord
2007-09-30 22:56                               ` 32-bit Athlon X2 won't poweroff Mark Lord
2007-10-01 16:19                               ` 32-bit Athlon X2 won't poweroff (was: Fix SMP poweroff hangs) Santiago Garcia Mantinan
2007-10-01 16:37                                 ` 32-bit Athlon X2 won't poweroff Mark Lord
2007-10-01 20:05                         ` [PATCH] (repost) Fix SMP poweroff hangs Rafael J. Wysocki
2007-10-01 22:38                           ` Santiago Garcia Mantinan
2007-09-28 15:05               ` [PATCH] disable non-boot CPUs before poweroff Rafael J. Wysocki
2007-09-28 15:02                 ` Thomas Gleixner

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=46FC37A8.90200@rtr.ca \
    --to=lkml@rtr.ca \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=simon.derr@bull.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