From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751182AbWDMXFQ (ORCPT ); Thu, 13 Apr 2006 19:05:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751185AbWDMXFQ (ORCPT ); Thu, 13 Apr 2006 19:05:16 -0400 Received: from mailgw.aecom.yu.edu ([129.98.1.16]:56295 "EHLO mailgw.aecom.yu.edu") by vger.kernel.org with ESMTP id S1751182AbWDMXFO (ORCPT ); Thu, 13 Apr 2006 19:05:14 -0400 Mime-Version: 1.0 Message-Id: Date: Thu, 13 Apr 2006 19:05:16 -0400 To: linux-kernel@vger.kernel.org From: Maurice Volaski Subject: Bonding driver appears to call a sleeping function from an invalid context in 2.6.17-rc1 Cc: bonding-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org At startup, the bonding driver appears to call a sleeping function from an invalid context in 2.6.17-rc1. Computer is 64-bit (AMD64). [ 141.736492] BUG: sleeping function called from invalid context at include/linux/rwsem.h:43 [ 141.736494] in_atomic():1, irqs_disabled():0 [ 141.736497] [ 141.736498] Call Trace: {__might_sleep+190} [ 141.736513] {blocking_notifier_call_chain+36} [ 141.736519] {dev_set_mac_address+85} {:bonding:alb_set_slave_mac_addr+71} [ 141.736540] {:bonding:alb_swap_mac_addr+149} {:bonding:bond_alb_handle_active_change+182} [ 141.736561] {:bonding:bond_change_active_slave+522} [ 141.736571] {:bonding:bond_select_active_slave+177} [ 141.736580] {:bonding:bond_mii_monitor+1039} {:bonding:bond_mii_monitor+0} [ 141.736598] {run_timer_softirq+382} {__do_softirq+85} [ 141.736607] {call_softirq+30} {do_softirq+53} [ 141.736615] {irq_exit+72} {smp_apic_timer_interrupt+75} [ 141.736623] {default_idle+0} {apic_timer_interrupt+132} [ 141.736630] {default_idle+0} {default_idle+47} [ 141.736637] {cpu_idle+156} {start_secondary+1134} [ 141.751070] BUG: warning at kernel/mutex.c:281/__mutex_trylock_slowpath() [ 141.751229] [ 141.751230] Call Trace: {mutex_trylock+134} [ 141.751581] {rtnl_trylock+16} {inetdev_event+35} [ 141.751966] {rt_cache_flush+168} {notifier_call_chain+37} [ 141.752356] {blocking_notifier_call_chain+60} [ 141.752587] {dev_set_mac_address+85} {:bonding:alb_set_slave_mac_addr+71} [ 141.752988] {:bonding:alb_swap_mac_addr+149} {:bonding:bond_alb_handle_active_change+182} [ 141.753399] {:bonding:bond_change_active_slave+522} [ 141.753635] {:bonding:bond_select_active_slave+177} [ 141.753872] {:bonding:bond_mii_monitor+1039} {:bonding:bond_mii_monitor+0} [ 141.754275] {run_timer_softirq+382} {__do_softirq+85} [ 141.754661] {call_softirq+30} {do_softirq+53} [ 141.761298] {irq_exit+72} {smp_apic_timer_interrupt+75} [ 141.761683] {default_idle+0} {apic_timer_interrupt+132} [ 141.762127] {default_idle+0} {default_idle+47} [ 141.762508] {cpu_idle+156} {start_secondary+1134} [ 141.762985] RTNL: assertion failed at net/ipv4/devinet.c (987) [ 141.763104] [ 141.763104] Call Trace: {inetdev_event+75} [ 141.763451] {rt_cache_flush+168} {notifier_call_chain+37} [ 141.763838] {blocking_notifier_call_chain+60} [ 141.764067] {dev_set_mac_address+85} {:bonding:alb_set_slave_mac_addr+71} [ 141.764466] {:bonding:alb_swap_mac_addr+149} {:bonding:bond_alb_handle_active_change+182} [ 141.764876] {:bonding:bond_change_active_slave+522} [ 141.765112] {:bonding:bond_select_active_slave+177} [ 141.765349] {:bonding:bond_mii_monitor+1039} {:bonding:bond_mii_monitor+0} [ 141.765751] {run_timer_softirq+382} {__do_softirq+85} [ 141.766136] {call_softirq+30} {do_softirq+53} [ 141.766516] {irq_exit+72} {smp_apic_timer_interrupt+75} [ 141.766901] {default_idle+0} {apic_timer_interrupt+132} [ 141.767348] {default_idle+0} {default_idle+47} [ 141.767730] {cpu_idle+156} {start_secondary+1134} [ 141.782517] RTNL: assertion failed at net/ipv4/devinet.c (987) [ 141.782632] [ 141.782632] Call Trace: {inetdev_event+75} [ 141.782984] {rt_cache_flush+168} {notifier_call_chain+37} [ 141.783380] {blocking_notifier_call_chain+60} [ 141.783610] {dev_set_mac_address+85} {:bonding:alb_set_slave_mac_addr+71} [ 141.784011] {:bonding:alb_swap_mac_addr+168} {:bonding:bond_alb_handle_active_change+182} [ 141.784422] {:bonding:bond_change_active_slave+522} [ 141.784659] {:bonding:bond_select_active_slave+177} [ 141.784896] {:bonding:bond_mii_monitor+1039} {:bonding:bond_mii_monitor+0} [ 141.785298] {run_timer_softirq+382} {__do_softirq+85} [ 141.785685] {call_softirq+30} {do_softirq+53} [ 141.786067] {irq_exit+72} {smp_apic_timer_interrupt+75} [ 141.786453] {default_idle+0} {apic_timer_interrupt+132} [ 141.786898] {default_idle+0} {default_idle+47} [ 141.787286] {cpu_idle+156} {start_secondary+1134} [ 141.787808] bonding: bond0: first active interface up! -- Maurice Volaski, mvolaski@aecom.yu.edu Computing Support, Rose F. Kennedy Center Albert Einstein College of Medicine of Yeshiva University