Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755334AbXEUCqV (ORCPT ); Sun, 20 May 2007 22:46:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752864AbXEUCqO (ORCPT ); Sun, 20 May 2007 22:46:14 -0400 Received: from mtoichi15.ns.itscom.net ([219.110.2.185]:43644 "EHLO mtoichi15.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752854AbXEUCqN (ORCPT ); Sun, 20 May 2007 22:46:13 -0400 Date: Mon, 21 May 2007 11:44:37 +0900 From: Mattia Dongili To: Andrew Morton Cc: Linux Kernel Mailing List , Stuart Hayes , David Brownell , Greg Kroah-Hartman Subject: [2.6.22-rc1-mm1] ehci-hcd - BUG: scheduling while atomic: rmmod/0x00000001/4568 Message-ID: <20070521024437.GA4751@inferi.kami.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Message-Flag: Cranky? Try Free Software instead! X-Operating-System: Linux 2.6.22-rc1-mm1-3 i686 X-Editor: Vim http://www.vim.org/ X-Disclaimer: Buh! User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2061 Lines: 50 Hello, with gregkh-usb-usb-ehci-cpufreq-fix.patch removing ehci-hcd causes the following BUG: [ 459.800033] BUG: scheduling while atomic: rmmod/0x00000001/4568 [ 459.800045] [] dump_trace+0x63/0x1ec [ 459.800055] [] show_trace_log_lvl+0x1a/0x30 [ 459.800066] [] show_trace+0x12/0x14 [ 459.800099] [] dump_stack+0x16/0x18 [ 459.800135] [] __sched_text_start+0x56/0x7db [ 459.800142] [] wait_for_completion+0x65/0x9b [ 459.800147] [] synchronize_rcu+0x2d/0x33 [ 459.800154] [] synchronize_srcu+0x23/0x5f [ 459.800160] [] srcu_notifier_chain_unregister+0x43/0x4d [ 459.800185] [] cpufreq_unregister_notifier+0x22/0x32 [ 459.800203] [] ehci_stop+0x4f/0xb7 [ehci_hcd] [ 459.800248] [] usb_remove_hcd+0x97/0xd7 [usbcore] [ 459.800280] [] usb_hcd_pci_remove+0x18/0x6a [usbcore] [ 459.800317] [] pci_device_remove+0x1c/0x3d [ 459.800324] [] __device_release_driver+0x74/0x90 [ 459.800332] [] driver_detach+0x81/0xc2 [ 459.800337] [] bus_remove_driver+0x5d/0x7c [ 459.800342] [] driver_unregister+0xb/0xd [ 459.800347] [] pci_unregister_driver+0x13/0x65 [ 459.800351] [] ehci_hcd_cleanup+0x10/0x12 [ehci_hcd] [ 459.800360] [] sys_delete_module+0x187/0x1ae [ 459.800367] [] sysenter_past_esp+0x5f/0x85 [ 459.800373] [] 0xffffe410 [ 459.800384] ======================= static void ehci_stop (struct usb_hcd *hcd) { ... spin_lock_irq(&ehci->lock); if (HC_IS_RUNNING (hcd->state)) ehci_quiesce (ehci); #ifdef CONFIG_CPU_FREQ cpufreq_unregister_notifier(&ehci->cpufreq_transition, CPUFREQ_TRANSITION_NOTIFIER); #endif -- mattia :wq! - 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/