Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Sep 2002 19:27:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Sep 2002 19:27:07 -0400 Received: from 12-231-242-11.client.attbi.com ([12.231.242.11]:42510 "HELO kroah.com") by vger.kernel.org with SMTP id ; Fri, 27 Sep 2002 19:27:06 -0400 Date: Fri, 27 Sep 2002 16:30:44 -0700 From: Greg KH To: linux-kernel@vger.kernel.org Subject: Sleeping function called from illegal context... Message-ID: <20020927233044.GA14234@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 39 So I got bold and enabled CONFIG_PREEMPT in 2.5.39, and got the following message at boot time: Sleeping function called from illegal context at slab.c:1374 c12a5ea8 c0117a26 c0296260 c0298202 0000055e c1283060 c013ab4f c0298202 0000055e c03b668c 00000002 00000003 c01ff5ec c03b668c 00000042 c12838e0 c12838e0 c12838e0 00000246 cfdee214 c0207830 04000000 c03b65f0 c0109be2 Call Trace: []__might_sleep+0x56/0x5d []kmalloc+0x4f/0x330 []piix_tune_chipset+0x33c/0x350 []ide_intr+0x0/0x320 []request_irq+0x52/0xa0 []init_irq+0x263/0x400 []ide_intr+0x0/0x320 []hwif_init+0x10c/0x260 []probe_hwif_init+0x1d/0x70 []ide_setup_pci_device+0x41/0x70 []piix_init_one+0x35/0x40 []init+0x8b/0x250 []init+0x0/0x250 []kernel_thread_helper+0x5/0xc kksymoops is very nice :) The system still seems to be running ok, but I think I'll turn off CONFIG_PREEMPT just to be sure. This is a SMP kernel running on a UP box. Other configuration options available if needed. thanks, greg k-h - 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/