Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579500

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: 4.10-rc1: thinkpad x60: who ate my cpu?
Date 2017-02-13 09:10 +0100
Message-ID <tajRT-14I-1@gated-at.bofh.it> (permalink)
References (4 earlier) <sZPLr-YF-9@gated-at.bofh.it> <t9PAt-78M-1@gated-at.bofh.it> <ta4zv-84o-1@gated-at.bofh.it> <ta8tr-1YF-1@gated-at.bofh.it> <tadMt-5gT-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!

> >>>And now it is:
> >>>[692517.868523] ACPI: Preparing to enter system sleep state S3
> >>>[692518.172074] ACPI : EC: EC stopped
> >>>[692518.172076] PM: Saving platform NVS memory
> >>>[692518.172269] Disabling non-boot CPUs ...
> >>>[692518.172269] ACPI: Low-level resume complete
> >>>[692518.172269] ACPI : EC: EC started
> >>>[692518.172269] PM: Restoring platform NVS memory
> >>>[692518.172269] ACPI: Waking up from system sleep state S3
> >>>
> >>>Is there any test I could do on the CPU wakeup while in that state?
> >>>
> >>Is there a way to kick the offline-CPU into operation from /sys level?
> >echo 0 > /sys/devices/system/cpu/cpu1/online
> >
> >should work. And... good thinking :-).
> >									Pavel
> Did not work,
>     echo 0 > /sys/devices/system/cpu/cpu1/online
>     -su: echo: write error: Device or resource busy
> 
> However
>     echo 1 > /sys/devices/system/cpu/cpu1/online
> did not return an error ( but still only CPU0 seen)
> 
> Interesting experiment: I have hibernated and then woke up - and still only
> CPU0. I was expecting that after the power cycle the hotplug will bring CPU1
> up...

Which is interesting indeed. Hardware was powercycled, so what is
broken is probably some kernel state...

[Evil: /sys/devices/cpu/ -- some perf stuff.
       /sys/devices/system/cpu -- that's where real CPU stuff is
       hiding.]

cd /sys/devices/system/cpu/cpu1
while true; do echo 0 > online; echo 1 > online; done

...crashes x60 with 4.10-rc in few minutes. [Which is bad -- it should
not die, but also good -- this is easier to reproduce then running 100
suspend cycles.]

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: 4.10-rc1: thinkpad x60: who ate my cpu? Woody Suwalski <terraluna977@gmail.com> - 2017-02-12 00:50 +0100
  Re: 4.10-rc1: thinkpad x60: who ate my cpu? Woody Suwalski <terraluna977@gmail.com> - 2017-02-12 16:50 +0100
    Re: 4.10-rc1: thinkpad x60: who ate my cpu? Pavel Machek <pavel@ucw.cz> - 2017-02-12 21:00 +0100
      Re: 4.10-rc1: thinkpad x60: who ate my cpu? Woody Suwalski <terraluna977@gmail.com> - 2017-02-13 02:40 +0100
        Re: 4.10-rc1: thinkpad x60: who ate my cpu? Pavel Machek <pavel@ucw.cz> - 2017-02-13 09:10 +0100
          Re: 4.10-rc1: thinkpad x60: who ate my cpu? Thomas Gleixner <tglx@linutronix.de> - 2017-02-13 09:50 +0100
            Re: 4.10-rc1: thinkpad x60: who ate my cpu? Pavel Machek <pavel@ucw.cz> - 2017-02-13 10:50 +0100
              Re: 4.10-rc1: thinkpad x60: who ate my cpu? lkml@pengaru.com - 2017-02-13 11:20 +0100
                Re: 4.10-rc1: thinkpad x60: who ate my cpu? Thomas Gleixner <tglx@linutronix.de> - 2017-02-13 12:30 +0100
                Re: 4.10-rc1: thinkpad x60: who ate my cpu? lkml@pengaru.com - 2017-02-13 12:40 +0100
                Re: 4.10-rc1: thinkpad x60: who ate my cpu? lkml@pengaru.com - 2017-02-13 12:50 +0100
                Re: 4.10-rc1: thinkpad x60: who ate my cpu? Pavel Machek <pavel@ucw.cz> - 2017-02-13 13:00 +0100

csiph-web