From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: WARN_ON() hit in fsl bitbanged phy driver Date: Mon, 11 Feb 2008 15:50:02 -0600 Message-ID: <47B0C30A.1030801@freescale.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@ozlabs.org, netdev@vger.kernel.org To: Rune Torgersen Return-path: Received: from az33egw01.freescale.net ([192.88.158.102]:52482 "EHLO az33egw01.freescale.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754143AbYBKVuV (ORCPT ); Mon, 11 Feb 2008 16:50:21 -0500 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Rune Torgersen wrote: > I hit the following WARN_ON when using mii-tools agains a ethernet > interface using a bit-banged mii interface > It is only diplayed once, and does not seem to impact usage at all > > Does somebody know what is wrong, and how to fix it? It looks like the kernel thinks it's in an interrupt, even though it clearly isn't from the backtrace. Presumably, something slept from an interrupt handler; try turning on sleep-in-spinlock debugging. The root cause was probably something other than the phy code. -Scott