From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Greear Subject: wireless-testing (2.6.36-rc6): inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. Date: Thu, 30 Sep 2010 13:16:00 -0700 Message-ID: <4CA4F000.2060509@candelatech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: "linux-wireless@vger.kernel.org" , NetDev Return-path: Received: from mail.candelatech.com ([208.74.158.172]:50464 "EHLO ns3.lanforge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932304Ab0I3UQB (ORCPT ); Thu, 30 Sep 2010 16:16:01 -0400 Sender: netdev-owner@vger.kernel.org List-ID: We saw this on a system that has two ath9k APs, some extra routing tables and rules to use them, and a user-space 'bridge' that uses packet-sockets. Aside from a few patches to help virtualize wireless devices (and none directly to ath9k), this is today's wireless-testing tree. ================================= [ INFO: inconsistent lock state ] 2.6.36-rc6-wl+ #20 --------------------------------- inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usage. kworker/u:0/5 [HC0[0]:SC0[0]:HE1:SE1] takes: (&(&list->lock)->rlock){+.?...}, at: [] packet_rcv+0x1f3/0x27a {IN-SOFTIRQ-W} state was registered at: [] __lock_acquire+0x27f/0xb8c [] lock_acquire+0x5a/0x78 [] _raw_spin_lock+0x1b/0x2a [] packet_rcv+0x1f3/0x27a [] __netif_receive_skb+0x340/0x389 [] process_backlog+0x9e/0x16e [] net_rx_action+0x99/0x17a [] __do_softirq+0x86/0x111 [] do_softirq+0x36/0x5a [] irq_exit+0x35/0x69 [] do_IRQ+0x86/0x9a [] common_interrupt+0x2e/0x40 [] cpuidle_idle_call+0x7f/0xb4 [] cpu_idle+0x4e/0x6b [] rest_init+0x8d/0x92 [] start_kernel+0x316/0x31b [] i386_start_kernel+0xd0/0xd7 irq event stamp: 62565 hardirqs last enabled at (62565): [] kmem_cache_alloc+0xa0/0xc5 hardirqs last disabled at (62564): [] kmem_cache_alloc+0x52/0xc5 softirqs last enabled at (62562): [] run_filter+0x9b/0xa5 softirqs last disabled at (62560): [] run_filter+0x11/0xa5 other info that might help us debug this: 4 locks held by kworker/u:0/5: #0: ((wiphy_name(local->hw.wiphy))){+.+...}, at: [] process_one_work+0x173/0x2c3 #1: ((&sc->hw_check_work)){+.+...}, at: [] process_one_work+0x173/0x2c3 #2: (rcu_read_lock){.+.+..}, at: [] ieee80211_tx_status+0x5c1/0x6b9 [mac80211] #3: (rcu_read_lock){.+.+..}, at: [] rcu_read_lock+0x0/0x21 stack backtrace: Pid: 5, comm: kworker/u:0 Not tainted 2.6.36-rc6-wl+ #20 Call Trace: [] ? printk+0xf/0x15 [] valid_state+0x131/0x144 [] mark_lock+0xef/0x1de [] ? check_usage_backwards+0x0/0x68 [] __lock_acquire+0x2ed/0xb8c [] ? valid_state+0x11f/0x144 [] ? sk_run_filter+0x1d0/0x3c0 [] ? mark_lock+0x1e/0x1de [] lock_acquire+0x5a/0x78 [] ? packet_rcv+0x1f3/0x27a [] _raw_spin_lock+0x1b/0x2a [] ? packet_rcv+0x1f3/0x27a [] packet_rcv+0x1f3/0x27a [] __netif_receive_skb+0x340/0x389 [] netif_receive_skb+0x72/0x78 [] ieee80211_tx_status+0x669/0x6b9 [mac80211] [] ? ntp_start_leap_timer+0x4b/0x67 [] ath_tx_complete_buf+0x1ba/0x219 [ath9k] [] ? trace_hardirqs_on_caller+0x104/0x125 [] ath_draintxq+0x179/0x2c8 [ath9k] [] ath_drain_all_txq+0x10f/0x11d [ath9k] [] ath_reset+0x40/0x15e [ath9k] [] ath_hw_check+0x3c/0x47 [ath9k] [] process_one_work+0x1bd/0x2c3 [] ? process_one_work+0x173/0x2c3 [] ? ath_hw_check+0x0/0x47 [ath9k] [] worker_thread+0xf7/0x1f7 [] ? worker_thread+0x0/0x1f7 [] kthread+0x62/0x67 [] ? kthread+0x0/0x67 [] kernel_thread_helper+0x6/0x1a Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com