public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.14.3 suspend/resume with SMP (HT)
@ 2005-12-15 17:11 Karl H. Beckers
       [not found] ` <6073.193.141.92.4.1134666664.squirrel-M7EjoFQNY9cJ6rt9v30lug@public.gmane.org>
  0 siblings, 1 reply; 9+ messages in thread
From: Karl H. Beckers @ 2005-12-15 17:11 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi all,

am a little stuck with suspend/resume on my ubuntu breezy system with a
vanilla 2.6.14.3 kernel built according to
http://www.columbia.edu/~ariel/acpi/acpi_howto.html

Can't get it to suspend cleanly in normal runlevels, but when I boot to
single user mode without vesafb, fbcon etc. and if I stop next to
everything (NetworkManager, pcmcia, alsa etc.) and then unload all sorts
of modules I can get the system to suspend ... though it seems to hang
with a line "Shutdown: hda" till I hit Enter.

Now, when I resume, I get:

Thawing cpus ...
Booting processor 1/1 eip 3000
Initializing CPU#1
Stuck ??
Inquiring remote API #1...
... APIC #1 ID: failed
... APIC #1 VERSION: failed
... APIC #1 SPIV: failed
Error taking cpu 1 up: -22
Kernel panic - not synching: Not enough cpus

While I tend to agree that I could use some more CPUs I don't panic about
it ;)

Anyway, from what I see on this list the code that actually gives this
output seems to be in some of the required patches mentioned here. Is it
safe to assume that 2.6.14.3 includes the patches needed for
suspend/resume on a P4 with SMP/HT/PREEMPT in the kernel?

TIA,

Karl.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: 2.6.14.3 suspend/resume with SMP (HT)
@ 2005-12-16  2:12 Li, Shaohua
  2005-12-16 20:17 ` Karl H. Beckers
  2005-12-19 19:57 ` Karl H. Beckers
  0 siblings, 2 replies; 9+ messages in thread
From: Li, Shaohua @ 2005-12-16  2:12 UTC (permalink / raw)
  To: Karl H. Beckers, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,
>
>am a little stuck with suspend/resume on my ubuntu breezy system with a
>vanilla 2.6.14.3 kernel built according to
>http://www.columbia.edu/~ariel/acpi/acpi_howto.html
>
>Can't get it to suspend cleanly in normal runlevels, but when I boot to
>single user mode without vesafb, fbcon etc. and if I stop next to
>everything (NetworkManager, pcmcia, alsa etc.) and then unload all
sorts
>of modules I can get the system to suspend ... though it seems to hang
>with a line "Shutdown: hda" till I hit Enter.
>
>Now, when I resume, I get:
>
>Thawing cpus ...
>Booting processor 1/1 eip 3000
>Initializing CPU#1
>Stuck ??
>Inquiring remote API #1...
>... APIC #1 ID: failed
>... APIC #1 VERSION: failed
>... APIC #1 SPIV: failed
>Error taking cpu 1 up: -22
>Kernel panic - not synching: Not enough cpus
>
>While I tend to agree that I could use some more CPUs I don't panic
about
>it ;)
>
>Anyway, from what I see on this list the code that actually gives this
>output seems to be in some of the required patches mentioned here. Is
it
>safe to assume that 2.6.14.3 includes the patches needed for
>suspend/resume on a P4 with SMP/HT/PREEMPT in the kernel?
I think it's yes.
Could you please try the CPU offline and online in the system?
just do
offline:
echo 0 > /sys/devices/system/cpu/cpu1/online
online:
echo 1 > /sys/devices/system/cpu/cpu1/online
please check if the CPU1 is correctly online after that.

Thanks,
Shaohua


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: 2.6.14.3 suspend/resume with SMP (HT)
@ 2005-12-20  2:56 Li, Shaohua
  0 siblings, 0 replies; 9+ messages in thread
From: Li, Shaohua @ 2005-12-20  2:56 UTC (permalink / raw)
  To: Karl H. Beckers, Christoph Galler
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,
>
>I do have hotplug_cpu configured into my kernel and disabling/enabling
>CPUs works just as well in the situation where I did my suspend, s.
>below.
>
>Could it be the setting idle=halt is causing problems? I need that (or
>max_cstate=1 to keep my CPU up to speed)
Might be an issue fixed in latest kernel. Please try.

Thanks,
Shaohua



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id\x16865&op=click

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-12-21  9:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-15 17:11 2.6.14.3 suspend/resume with SMP (HT) Karl H. Beckers
     [not found] ` <6073.193.141.92.4.1134666664.squirrel-M7EjoFQNY9cJ6rt9v30lug@public.gmane.org>
2005-12-21  9:58   ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2005-12-16  2:12 Li, Shaohua
2005-12-16 20:17 ` Karl H. Beckers
     [not found]   ` <1134764243.27534.4.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-12-17  0:30     ` Christoph Galler
     [not found]       ` <43A35C09.9040809-TsugTnnrXQsdc6zLPptBHg@public.gmane.org>
2005-12-19 20:20         ` Karl H. Beckers
2005-12-19 20:34         ` Karl H. Beckers
2005-12-19 19:57 ` Karl H. Beckers
2005-12-20  2:56 Li, Shaohua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox