Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270940AbTGPQW7 (ORCPT ); Wed, 16 Jul 2003 12:22:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270941AbTGPQW7 (ORCPT ); Wed, 16 Jul 2003 12:22:59 -0400 Received: from bristol.phunnypharm.org ([65.207.35.130]:29127 "EHLO bristol.phunnypharm.org") by vger.kernel.org with ESMTP id S270940AbTGPQW5 (ORCPT ); Wed, 16 Jul 2003 12:22:57 -0400 Date: Wed, 16 Jul 2003 12:36:48 -0400 From: Ben Collins To: Philippe Gramoull? Cc: linux-kernel@vger.kernel.org, Linux IEEE 1394 Devel Mailing List Subject: Re: 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module Message-ID: <20030716163648.GO685@phunnypharm.org> References: <20030716180855.22d4a4f4.philippe.gramoulle@mmania.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030716180855.22d4a4f4.philippe.gramoulle@mmania.com> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1605 Lines: 41 On Wed, Jul 16, 2003 at 06:08:55PM +0200, Philippe Gramoull? wrote: > Hello, > > With 2.6.0-test1-mm1, i have the following in my logs after i rmmod'ed the > ohci1394 module: > > bad: scheduling while atomic! > Call Trace: > [] schedule+0x578/0x580 > [] copy_thread+0x32/0x250 > [] wait_for_completion+0x8c/0xf0 > [] default_wake_function+0x0/0x30 > [] default_wake_function+0x0/0x30 > [] kill_proc_info+0x51/0x80 > [] nodemgr_remove_host+0x55/0xa0 [ieee1394] > [] highlevel_remove_host+0x8a/0xa0 [ieee1394] > [] ohci1394_pci_remove+0x3d/0x160 [ohci1394] > [] sysfs_hash_and_remove+0x4e/0x7c > [] pci_device_remove+0x3b/0x40 > [] device_release_driver+0x66/0x70 > [] driver_detach+0x2b/0x40 > [] bus_remove_driver+0x3e/0x80 > [] driver_unregister+0x13/0x2a > [] pci_unregister_driver+0x16/0x30 > [] ohci1394_cleanup+0xf/0x11 [ohci1394] > [] sys_delete_module+0x139/0x170 > [] sys_munmap+0x45/0x70 > [] syscall_call+0x7/0xb So is kill_proc() bad while atomic, e.g. when a module is being removed? I'll look into it. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ - 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/