From: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
To: Li Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: lkml <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
ACPI-DEV
<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
Len Brown <len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Zwane Mwaikambo <zwane-T6AQWPvKiI1fDP7aoN8Z5Q@public.gmane.org>,
Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>
Subject: Re: [PATCH 6/6]suspend/resume SMP support
Date: Wed, 13 Apr 2005 10:32:02 +0200 [thread overview]
Message-ID: <20050413083202.GA1361@elf.ucw.cz> (raw)
In-Reply-To: <1113309627.5155.3.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
Hi!
> > > Using CPU hotplug to support suspend/resume SMP. Both S3 and S4 use
> > > disable/enable_nonboot_cpus API. The S4 part is based on Pavel's
> > > original S4 SMP patch.
> >
> > I tested it on 2x PII(?) 550MHz system. Suspend went ok, resume loaded
> > image from disk, but then I got
> >
> > Thawing cpus ....
> > Booting processor 1/0 eip 3000
> >
> > ...and very funny effect on keyboard leds. They started to blink
> > (panic-like), but with very wrong frequency. It looked like 2 cpus
> > doing panic blinks at once...
> Check if /sys/device/system/cpu/cpu1/online attribute works. If it
> works, then it's other issue. I only tested the patches in two HT based
> systems.
Ok, this is PIII system 550MHz system:
root@hobit:/home/pavel# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 551.309
cache size : 512 KB
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 mmx fxsr sse
bogomips : 1085.44
core id : 255
cpu cores : 1
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 551.309
cache size : 512 KB
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 mmx fxsr sse
bogomips : 1097.72
core id : 255
cpu cores : 1
root@hobit:/home/pavel#
Offlining CPU seems to work ok:
root@hobit:/sys/devices/system/cpu/cpu1# cat online
1
root@hobit:/sys/devices/system/cpu/cpu1# echo 0 > online
root@hobit:/sys/devices/system/cpu/cpu1# sync
root@hobit:/sys/devices/system/cpu/cpu1# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 3
cpu MHz : 551.309
cache size : 512 KB
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 mmx fxsr sse
bogomips : 1085.44
core id : 255
cpu cores : 1
root@hobit:/sys/devices/system/cpu/cpu1#
Putting cpu back online, I get:
Booting processor 1/0 eip 3000
on console, and mess in syslog. Seems like my cpu #1 panicked but cpu
#0 just keeps going?!
root@hobit:/sys/devices/system/cpu/cpu1# dmesg | tail -20
[<c02c758f>] vt_console_print+0x24f/0x260
[<c02c7340>] vt_console_print+0x0/0x260
[<c01247e7>] __call_console_drivers+0x57/0x60
[<c01248e0>] call_console_drivers+0x80/0x110
[<c0124d8e>] release_console_sem+0x4e/0xc0
[<c0124c12>] vprintk+0x192/0x240
[<c0528891>] preempt_schedule_irq+0x51/0x80
[<c02adeca>] acpi_processor_idle+0x0/0x265
[<c010325e>] need_resched+0x1f/0x21
[<c02adeca>] acpi_processor_idle+0x0/0x265
[<c0124a77>] printk+0x17/0x20
[<c010b583>] cpu_init+0x73/0x360
[<c0117bd6>] start_secondary+0x6/0x170
Code: d2 74 bd fc 8b 44 24 28 b9 0e 00 00 00 8b 74 24 14 01 c6 b8 0e
00 00 00 89 74 24 1c 8b 74 24 30 89 44 24 10 8b 7c 24 1c 83 c6 10 <f3>
a5 8b 74 24 24 8b 44 24 1c 89 4c 24 10 01 ee f7 d5 21 ee 89
<0>Kernel panic - not syncing: Attempted to kill the idle task!
Stuck ??
Inquiring remote APIC #0...
... APIC #0 ID: 00000000
... APIC #0 VERSION: 00040011
... APIC #0 SPIV: 000000ff
root@hobit:/sys/devices/system/cpu/cpu1# dmesg | tail -25
[<c011d001>] activate_task+0x1/0xa0
[<c011d128>] resched_task+0x68/0x90
[<c011d8ba>] try_to_wake_up+0x2aa/0x2f0
[<c025ed7a>] fbcon_cursor+0x19a/0x270
[<c02c4958>] hide_cursor+0x18/0x30
[<c02c758f>] vt_console_print+0x24f/0x260
[<c02c7340>] vt_console_print+0x0/0x260
[<c01247e7>] __call_console_drivers+0x57/0x60
[<c01248e0>] call_console_drivers+0x80/0x110
[<c0124d8e>] release_console_sem+0x4e/0xc0
[<c0124c12>] vprintk+0x192/0x240
[<c0528891>] preempt_schedule_irq+0x51/0x80
[<c02adeca>] acpi_processor_idle+0x0/0x265
[<c010325e>] need_resched+0x1f/0x21
[<c02adeca>] acpi_processor_idle+0x0/0x265
[<c0124a77>] printk+0x17/0x20
[<c010b583>] cpu_init+0x73/0x360
[<c0117bd6>] start_secondary+0x6/0x170
Code: d2 74 bd fc 8b 44 24 28 b9 0e 00 00 00 8b 74 24 14 01 c6 b8 0e
00 00 00 89 74 24 1c 8b 74 24 30 89 44 24 10 8b 7c 24 1c 83 c6 10 <f3>
a5 8b 74 24 24 8b 44 24 1c 89 4c 24 10 01 ee f7 d5 21 ee 89
<0>Kernel panic - not syncing: Attempted to kill the idle task!
Stuck ??
Inquiring remote APIC #0...
... APIC #0 ID: 00000000
... APIC #0 VERSION: 00040011
... APIC #0 SPIV: 000000ff
root@hobit:/sys/devices/system/cpu/cpu1#
Pavel
--
Boycott Kodak -- for their patent abuse against Java.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
next prev parent reply other threads:[~2005-04-13 8:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-12 5:31 [PATCH 6/6]suspend/resume SMP support Li Shaohua
[not found] ` <1113283867.27646.434.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-12 9:43 ` Pavel Machek
2005-04-12 10:51 ` Pavel Machek
2005-04-12 12:40 ` Li Shaohua
[not found] ` <1113309627.5155.3.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-13 8:32 ` Pavel Machek [this message]
2005-04-14 8:27 ` Li Shaohua
2005-04-14 8:40 ` Li Shaohua
2005-04-23 22:35 ` Andrew Morton
[not found] ` <20050423153501.5286b6c6.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-23 22:41 ` Pavel Machek
2005-04-25 0:49 ` Li Shaohua
2005-04-28 7:22 ` Andrew Morton
[not found] ` <20050428002254.461fcf32.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-28 7:28 ` Li Shaohua
[not found] ` <1114673297.26367.3.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-28 7:41 ` Andrew Morton
[not found] ` <20050428004108.3c670bf2.akpm-3NddpPZAyC0@public.gmane.org>
2005-04-28 8:29 ` Li Shaohua
[not found] ` <1114676961.26367.12.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-28 8:35 ` Pavel Machek
[not found] ` <20050428083459.GM1906-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-28 9:04 ` Rafael J. Wysocki
2005-04-28 7:35 ` Li Shaohua
[not found] ` <1114673725.26367.7.camel-U5EdaLXB8smDugQYiPIPGdh3ngVCH38I@public.gmane.org>
2005-04-28 7:42 ` Pavel Machek
[not found] ` <20050428074201.GA1906-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-28 8:11 ` Yu, Luming
[not found] ` <200504281611.00254.luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2005-04-28 8:20 ` Pavel Machek
[not found] ` <20050428082037.GG1906-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-28 8:34 ` Yu, Luming
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=20050413083202.GA1361@elf.ucw.cz \
--to=pavel-+zi9xunit7i@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=akpm-3NddpPZAyC0@public.gmane.org \
--cc=len.brown-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=zwane-T6AQWPvKiI1fDP7aoN8Z5Q@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