From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932150AbWG2OJv (ORCPT ); Sat, 29 Jul 2006 10:09:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932153AbWG2OJu (ORCPT ); Sat, 29 Jul 2006 10:09:50 -0400 Received: from 83-216-141-215.markhi700.adsl.metronet.co.uk ([83.216.141.215]:31250 "EHLO mx.hindley.org.uk") by vger.kernel.org with ESMTP id S932150AbWG2OJu (ORCPT ); Sat, 29 Jul 2006 10:09:50 -0400 Date: Sat, 29 Jul 2006 15:09:42 +0100 To: linux-kernel@vger.kernel.org Subject: [2.6.17.7 BUG] bonding + wifi -> BUG: scheduling while atomic Message-ID: <20060729140942.GA11083@hindley.uklinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i From: Mark Hindley Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, I get the following BUG: scheduling while atomic when I remove my wifi pccard (madwifi) which is bonded to the wired interface in active-backup mode. I think this is bonding related, as there is no BUG logged when the wifi interface is standalone. This is 2.6.17.7, but has certainly existed with all 2.6.17. System: Acer Aspire 1350, preempt kernel, both bonding and madwifi drivers are modular. Let me know if you need more info, or if I should take this somewhere else. Thanks Mark Jul 29 10:38:54 mercury kernel: pccard: card ejected from slot 0 Jul 29 10:38:55 mercury kernel: bonding: bond0: link status definitely down for interface ath0, disabling it Jul 29 10:38:55 mercury kernel: BUG: scheduling while atomic: pccardd/0x00000102/1675 Jul 29 10:38:55 mercury kernel: schedule+0x43/0x531 autoremove_wake_function+0x18/0x3a Jul 29 10:38:55 mercury kernel: __wake_up_common+0x2b/0x4e __down+0x86/0xed Jul 29 10:38:55 mercury kernel: default_wake_function+0x0/0x12 __down_failed+0x7/0xc Jul 29 10:38:55 mercury kernel: .text.lock.if_ath+0x8b/0xb3 [ath_pci] bond_update_speed_duplex+0xa6/0xed [bonding] Jul 29 10:38:55 mercury kernel: __wake_up+0x21/0x44 printk+0xe/0x11 Jul 29 10:38:55 mercury kernel: bond_mii_monitor+0x32e/0x3e1 [bonding] run_timer_softirq+0x13c/0x19c Jul 29 10:38:55 mercury kernel: bond_mii_monitor+0x0/0x3e1 [bonding] __do_softirq+0x34/0x7d Jul 29 10:38:55 mercury kernel: do_softirq+0x22/0x26 irq_exit+0x29/0x34 Jul 29 10:38:55 mercury kernel: do_IRQ+0x1e/0x24 common_interrupt+0x1a/0x20 Jul 29 10:38:55 mercury kernel: delay_pmtmr+0xd/0x15 __delay+0xc/0xe Jul 29 10:38:55 mercury kernel: zz002dca0b+0x3c/0x5c [ath_hal] zz002dca0b+0x2b/0x5c [ath_hal] Jul 29 10:38:55 mercury kernel: ath_draintxq+0x20/0xda [ath_pci] ath_stop_locked+0xc4/0xf4 [ath_pci] Jul 29 10:38:55 mercury kernel: ath_stop+0x1e/0xa3 [ath_pci] ath_detach+0x37/0x82 [ath_pci] Jul 29 10:38:55 mercury kernel: ath_pci_remove+0x12/0x71 [ath_pci] pci_device_remove+0x19/0x2c Jul 29 10:38:55 mercury kernel: __device_release_driver+0x58/0x85 device_release_driver+0x17/0x26 Jul 29 10:38:55 mercury kernel: bus_remove_device+0x52/0x65 device_del+0x39/0x65 Jul 29 10:38:55 mercury kernel: device_unregister+0xb/0x16 pci_destroy_dev+0x1f/0xa0 Jul 29 10:38:55 mercury kernel: pci_remove_behind_bridge+0x22/0x36 socket_shutdown+0x8f/0x100 [pcmcia_core] Jul 29 10:38:55 mercury kernel: socket_detect_change+0x3b/0x52 [pcmcia_core] pccardd+0x11b/0x1b9 [pcmcia_core] Jul 29 10:38:55 mercury kernel: default_wake_function+0x0/0x12 ret_from_fork+0x6/0x20 Jul 29 10:38:55 mercury kernel: default_wake_function+0x0/0x12 pccardd+0x0/0x1b9 [pcmcia_core] Jul 29 10:38:55 mercury kernel: kernel_thread_helper+0x5/0xb