Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 30 Mar 2003 10:58:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 30 Mar 2003 10:58:05 -0500 Received: from phoenix.infradead.org ([195.224.96.167]:49420 "EHLO phoenix.infradead.org") by vger.kernel.org with ESMTP id ; Sun, 30 Mar 2003 10:58:01 -0500 Date: Sun, 30 Mar 2003 17:08:29 +0100 (BST) From: James Simmons To: Kronos cc: linux-fbdev-devel@lists.sourceforge.net, Subject: Re: Debug: sleeping function called from illegal context at mm/slab.c:1723 In-Reply-To: <20030330132915.GA2198@dreamland.darkstar.lan> Message-ID: 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 Content-Length: 7576 Lines: 210 Try my patch at http://phoenix.infradead.org/~jsimmons/fbdev.diff.gz That should fix it. On Sun, 30 Mar 2003, Kronos wrote: > Hi, > I got this under 2.5.66. It happens when I'm using links (the browser) > and is reproducible: > > > .c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] fb_vbl_handler+0x85/0xa0 > [] update_process_times+0x46/0x50 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] fb_vbl_handler+0x85/0xa0 > [] pbd_waitq+0x18/0x20 [xfs] > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] fb_vbl_handler+0x85/0xa0 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] ide_dma_intr+0x0/0xc0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] i8042_interrupt+0x1ed/0x3a0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] fb_vbl_handler+0x85/0xa0 > [] update_process_times+0x46/0x50 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] i8042_interrupt+0x1ed/0x3a0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] fb_vbl_handler+0x85/0xa0 > [] update_process_times+0x46/0x50 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] update_process_times+0x46/0x50 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > Debug: sleeping function called from illegal context at mm/slab.c:1723 > Call Trace: > [] __might_sleep+0x5f/0xa0 > [] kmalloc+0x1a1/0x1c0 > [] i8042_interrupt+0x1ed/0x3a0 > [] accel_cursor+0xd5/0x300 > [] fb_vbl_handler+0x85/0xa0 > [] fb_vbl_handler+0x85/0xa0 > [] cursor_timer_handler+0x0/0x40 > [] cursor_timer_handler+0x21/0x40 > [] run_timer_softirq+0x154/0x400 > [] timer_interrupt+0x1a3/0x3f0 > [] do_softirq+0xa1/0xb0 > [] do_IRQ+0x23f/0x380 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] common_interrupt+0x18/0x20 > [] default_idle+0x0/0x30 > [] default_idle+0x0/0x30 > [] default_idle+0x27/0x30 > [] cpu_idle+0x31/0x40 > [] _stext+0x0/0xf0 > > [...] > > It keeps printing call traces so I have to reboot. > > HTH, > Luca > - 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/