Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751013AbWEVSfg (ORCPT ); Mon, 22 May 2006 14:35:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751020AbWEVSfg (ORCPT ); Mon, 22 May 2006 14:35:36 -0400 Received: from mx1.redhat.com ([66.187.233.31]:45000 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S1751013AbWEVSff (ORCPT ); Mon, 22 May 2006 14:35:35 -0400 Date: Mon, 22 May 2006 14:35:34 -0400 From: Dave Jones To: Linux Kernel Subject: cpu hotplug sleeping from invalid context Message-ID: <20060522183534.GA8920@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 942 Lines: 29 (2.6.17rc4-git9) echo 0 > /sys/devices/system/cpu/cpu1/online echo 1 > /sys/devices/system/cpu/cpu1/online on my dual-core notebook gets me this: CPU 1 is now offline SMP alternatives: switching to UP code SMP alternatives: switching to SMP code Booting processor 1/1 eip 3000 CPU 1 irqstacks, hard=c0799000 soft=c0779000 Initializing CPU#1 BUG: sleeping function called from invalid context at mm/page_alloc.c:945 in_atomic():0, irqs_disabled():1 __alloc_pages+0x32/0x2a8 printk+0x1f/0xaf schedule+0xa21/0xa8a get_zeroed_page+0x31/0x3d cpu_init+0x10a/0x323 start_secondary+0xc/0x3ef cpu_exit_clear+0x22/0x43 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/