Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270755AbTHOTeY (ORCPT ); Fri, 15 Aug 2003 15:34:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270765AbTHOTeY (ORCPT ); Fri, 15 Aug 2003 15:34:24 -0400 Received: from fw.osdl.org ([65.172.181.6]:59041 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S270755AbTHOTeX (ORCPT ); Fri, 15 Aug 2003 15:34:23 -0400 Date: Fri, 15 Aug 2003 12:30:53 -0700 From: "Randy.Dunlap" To: Dave Jones Cc: linux-kernel@vger.kernel.org Subject: Re: Debug: sleeping function called from invalid context Message-Id: <20030815123053.2f81ec0a.rddunlap@osdl.org> In-Reply-To: <20030815173246.GB9681@redhat.com> References: <20030815101856.3eb1e15a.rddunlap@osdl.org> <20030815173246.GB9681@redhat.com> Organization: OSDL X-Mailer: Sylpheed version 0.9.4 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Face: +5V?h'hZQPB9kW Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 34 On Fri, 15 Aug 2003 18:32:47 +0100 Dave Jones wrote: | On Fri, Aug 15, 2003 at 10:18:56AM -0700, Randy.Dunlap wrote: | | > Debug: sleeping function called from invalid context at include/asm/uaccess.h:473 | > Call Trace: | > [] __might_sleep+0x54/0x5b | > [] save_v86_state+0x71/0x1f0 | > [] handle_vm86_fault+0xc5/0xa90 | > [] ext3_file_write+0x28/0xc0 | > [] __change_page_attr+0x26/0x220 | > [] do_general_protection+0x0/0x90 | > [] error_code+0x2d/0x40 | > [] syscall_call+0x7/0xb | | That's one really wierd looking backtrace. What else was that | machine up to at the time ? Some parts of it are explainable (to me), some not. I don't know what caused a GP fault or why ext3 shows up. But I can follow from do_general_protection() to handle_vm86_fault() to [inline] return_to_32bit() to save_v86_state() to __might_sleep(). And __might_sleep() is correct if change_page_attr() was called, since it takes a spinlock. I just can't connect quite all of the dots. -- ~Randy - 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/