References : http://lkml.org/lkml/2007/8/27/58 http://lkml.org/lkml/2007/9/3/65 Submitter : Pavel Machek <pavel@ucw.cz> Handled-By : Thomas Gleixner <tglx@linutronix.de>
Fixed by commit 5e41d0d60a534d2a5dc9772600a58f44c8d12506
(In reply to comment #1) > Fixed by commit 5e41d0d60a534d2a5dc9772600a58f44c8d12506 Commit: 5e41d0d60a534d2a5dc9772600a58f44c8d12506 Parent: 31d9b3938c0459e5e9755ce0a98ac1e24eeff972 Author: Thomas Gleixner <tglx@linutronix.de> AuthorDate: Sun, 16 Sep 2007 13:36:43 +0000 (15:36 +0200) Committer: Thomas Gleixner <tglx@chaos.(none)> CommitDate: Sun, 16 Sep 2007 13:36:43 +0000 (15:36 +0200) clockevents: prevent stale tick update on offline cpu "http://git.kernel.org/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5e41d0d60a534d2a5dc9772600a58f44c8d12506"
Reopened because of: http://lkml.org/lkml/2007/10/2/104
Hmm, root@amd:/sys/devices/system/cpu/cpu1# echo 0 > online root@amd:/sys/devices/system/cpu/cpu1# echo 0 > online -bash: echo: write error: Device or resource busy The second one fails. The cpu _IS_ already offline. otherwise the first one would not have come back. Thats the problem which was caused by the subtle clock events thinkos. The clock event bugs made the first one to be stuck for ever. That's a different problem. Did this ever work ? root@amd:/sys/devices/system/cpu/cpu1# echo 1 > online -bash: echo: write error: Device or resource busy This might be a follow up error caused by the second write. I do not see how this should be connected to the clock events problems which we had before. Pavel, does the following work ? root@amd:/sys/devices/system/cpu/cpu1# echo 0 > online root@amd:/sys/devices/system/cpu/cpu1# echo 1 > online Is your double offline problem really a new one in .23 ?
Pavel?
(Sorry for delay) Yes, repeated offlines/onlines seem to work now. echo 0, twice, is probably different issue. So I guess this is "CODE_FIX" now.