From patchwork Mon Apr 5 17:36:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 49398 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 26261B7CF8 for ; Tue, 6 Apr 2010 03:36:35 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755880Ab0DERg0 (ORCPT ); Mon, 5 Apr 2010 13:36:26 -0400 Received: from mail.perches.com ([173.55.12.10]:1340 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755840Ab0DERgY (ORCPT ); Mon, 5 Apr 2010 13:36:24 -0400 Received: from [192.168.1.151] (Joe-Laptop.home [192.168.1.151]) by mail.perches.com (Postfix) with ESMTP id 3337424368; Mon, 5 Apr 2010 10:36:13 -0700 (PDT) Subject: Re: tulip_stop_rxtx() failed (CSR5 0xf0260000 CSR6 0xb3862002) on DEC Alpha Personal Workstation 433au From: Joe Perches To: Adrian Glaubitz Cc: Grant Grundler , Kyle McMartin , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20100405171318.GA18915@physik.fu-berlin.de> References: <20100405171318.GA18915@physik.fu-berlin.de> Date: Mon, 05 Apr 2010 10:36:22 -0700 Message-ID: <1270488982.31062.28.camel@Joe-Laptop.home> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 2010-04-05 at 19:13 +0200, Adrian Glaubitz wrote: > Hi guys, > > I installed Debian unstable on an old digital workstation "DEC Digital > Personal Workstation 433au" (Miata) which has an on-board tulip > network controller. I'm not really using that network controller but > an off-board intel e1000 controller. However, I found that the tulip > driver produces a lot of noise in the message log, the following > message is repated periodically and spams the whole message log: > > 0000:00:03.0: tulip_stop_rxtx() failed (CSR5 0xf0260000 CSR6 0xb3862002) > > Do you think this is related to the fact that no cable is connected to > the network controller? Probably something is trying periodically to open the device. Maybe this helps reduce the message log noise: Signed-off-by: Joe Perches Acked-by: Adrian Glaubitz --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/tulip/tulip.h b/drivers/net/tulip/tulip.h index 0afa2d4..8c675aa 100644 --- a/drivers/net/tulip/tulip.h +++ b/drivers/net/tulip/tulip.h @@ -515,12 +515,11 @@ static inline void tulip_stop_rxtx(struct tulip_private *tp) while (--i && (ioread32(ioaddr + CSR5) & (CSR5_TS|CSR5_RS))) udelay(10); - if (!i) - printk(KERN_DEBUG "%s: tulip_stop_rxtx() failed" - " (CSR5 0x%x CSR6 0x%x)\n", - pci_name(tp->pdev), - ioread32(ioaddr + CSR5), - ioread32(ioaddr + CSR6)); + if (!i && tulip_debug > 1) + printk(KERN_DEBUG "%s: tulip_stop_rxtx() failed (CSR5 0x%x CSR6 0x%x)\n", + pci_name(tp->pdev), + ioread32(ioaddr + CSR5), + ioread32(ioaddr + CSR6)); } }