* 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-16 2:12 2.6.14.3 suspend/resume with SMP (HT) Li, Shaohua
@ 2005-12-16 20:17 ` Karl H. Beckers
[not found] ` <1134764243.27534.4.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2005-12-19 19:57 ` Karl H. Beckers
1 sibling, 1 reply; 9+ messages in thread
From: Karl H. Beckers @ 2005-12-16 20:17 UTC (permalink / raw)
To: Li, Shaohua; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Am Freitag, den 16.12.2005, 10:12 +0800 schrieb Li, Shaohua:
> [...] 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
>
Sure,
Script wurde gestartet: Fr 16 Dez 2005 11:57:11 CE
root@ubuntu:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6119.86
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6113.80
root@ubuntu:~# echo 0 > /sys/devices/system/cpu/cpu1/online
root@ubuntu:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6119.86
root@ubuntu:~# echo 1 > /sys/devices/system/cpu/cpu1/online
root@ubuntu:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6119.86
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6113.86
Seems to work,
will try once more in single-user mode with all services stopped and
modules unloaded like when I suspended and keep you posted.
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_id=7637&alloc_id=16865&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 2.6.14.3 suspend/resume with SMP (HT) Li, Shaohua
2005-12-16 20:17 ` Karl H. Beckers
@ 2005-12-19 19:57 ` Karl H. Beckers
1 sibling, 0 replies; 9+ messages in thread
From: Karl H. Beckers @ 2005-12-19 19:57 UTC (permalink / raw)
To: Li, Shaohua; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Am Freitag, den 16.12.2005, 10:12 +0800 schrieb Li, Shaohua:
> [...] 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
>
Sure,
Script wurde gestartet: Fr 16 Dez 2005 11:57:11 CE
root@ubuntu:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6119.86
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6113.80
root@ubuntu:~# echo 0 > /sys/devices/system/cpu/cpu1/online
root@ubuntu:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6119.86
root@ubuntu:~# echo 1 > /sys/devices/system/cpu/cpu1/online
root@ubuntu:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6119.86
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping : 9
cpu MHz : 3057.209
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips : 6113.86
Seems to work,
will try once more in single-user mode with all services stopped and
modules unloaded like when I suspended and keep you posted.
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_id=7637&alloc_id=16865&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
* 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
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-16 2:12 2.6.14.3 suspend/resume with SMP (HT) 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
-- strict thread matches above, loose matches on Subject: below --
2005-12-20 2:56 Li, Shaohua
2005-12-15 17:11 Karl H. Beckers
[not found] ` <6073.193.141.92.4.1134666664.squirrel-M7EjoFQNY9cJ6rt9v30lug@public.gmane.org>
2005-12-21 9:58 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox