From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965180AbXCGQet (ORCPT ); Wed, 7 Mar 2007 11:34:49 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965254AbXCGQet (ORCPT ); Wed, 7 Mar 2007 11:34:49 -0500 Received: from smtp.osdl.org ([65.172.181.24]:42665 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965180AbXCGQes (ORCPT ); Wed, 7 Mar 2007 11:34:48 -0500 Date: Wed, 7 Mar 2007 08:34:18 -0800 (PST) From: Linus Torvalds To: Michal Piotrowski cc: Linux Kernel Mailing List , Pavel Machek , "Rafael J. Wysocki" , Ingo Molnar , Thomas Gleixner Subject: Re: Linux v2.6.21-rc3 In-Reply-To: <45EEB66C.9090901@googlemail.com> Message-ID: References: <45EEB66C.9090901@googlemail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [ Ingo and Thomas added to Cc, because I think this is them.. ] Ingo, I think this came in during commit 95492e4646, "x86: rewrite SMP TSC sync code". (Leaving the original message quoted in full for Ingo and Thomas, sorry for the waste of bandwidth) Linus --- On Wed, 7 Mar 2007, Michal Piotrowski wrote: > > I get this while > echo shutdown > /sys/power/disk; echo disk > /sys/power/state > > BUG: using smp_processor_id() in preemptible [00000001] code: swsusp_shutdown/3359 > caller is check_tsc_sync_source+0x1b/0xef > [] show_trace_log_lvl+0x1a/0x2f > [] show_trace+0x12/0x14 > [] dump_stack+0x16/0x18 > [] debug_smp_processor_id+0xa2/0xb4 > [] check_tsc_sync_source+0x1b/0xef > [] __cpu_up+0x136/0x158 > [] _cpu_up+0x74/0xbf > [] cpu_up+0x26/0x38 > [] enable_nonboot_cpus+0x4d/0x9a > [] pm_suspend_disk+0x11c/0x210 > [] enter_state+0x50/0x1d0 > [] state_store+0x86/0x9c > [] subsys_attr_store+0x20/0x25 > [] sysfs_write_file+0xc1/0xe9 > [] vfs_write+0xaf/0x138 > [] sys_write+0x3d/0x61 > [] syscall_call+0x7/0xb > ======================= > > l *check_tsc_sync_source+0x1b/0xef > 0xc0113caa is in check_tsc_sync_source (/mnt/md0/devel/linux-git/arch/i386/kernel/../../x86_64/kernel/tsc_sync.c:99). > 94 /* > 95 * Source CPU calls into this - it waits for the freshly booted > 96 * target CPU to arrive and then starts the measurement: > 97 */ > 98 void __cpuinit check_tsc_sync_source(int cpu) > 99 { > 100 int cpus = 2; > 101 > 102 /* > 103 * No need to check if we already know that the TSC is not > > echo platform > /sys/power/disk; echo disk > /sys/power/state > doesn't work (as always). > > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-rc3/boot.log > http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-rc3/git-config > > Regards, > Michal > > -- > Michal K. K. Piotrowski > LTG - Linux Testers Group (PL) > (http://www.stardust.webpages.pl/ltg/) > LTG - Linux Testers Group (EN) > (http://www.stardust.webpages.pl/linux_testers_group_en/) >