From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267578AbUH2J5V (ORCPT ); Sun, 29 Aug 2004 05:57:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267587AbUH2J5V (ORCPT ); Sun, 29 Aug 2004 05:57:21 -0400 Received: from ee.oulu.fi ([130.231.61.23]:10900 "EHLO ee.oulu.fi") by vger.kernel.org with ESMTP id S267578AbUH2J5S (ORCPT ); Sun, 29 Aug 2004 05:57:18 -0400 Date: Sun, 29 Aug 2004 12:56:58 +0300 From: Pekka Pietikainen To: "David S. Miller" Cc: Brian Somers , Michael.Waychison@sun.com, linux-kernel@vger.kernel.org Subject: Re: TG3 doesn't work in kernel 2.4.27 (David S. Miller) Message-ID: <20040829095657.GA22755@ee.oulu.fi> References: <20040816110000.1120.31256.Mailman@lists.us.dell.com> <200408162049.FFF09413.8592816B@anet.ne.jp> <20040816143824.15238e42.davem@redhat.com> <412CD101.4050406@sun.com> <20040825120831.55a20c57.davem@redhat.com> <412CF0E9.2010903@sun.com> <20040825175805.6807014c.davem@redhat.com> <412DC055.4070401@sun.com> <20040826123730.375ce5d2.davem@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20040826123730.375ce5d2.davem@redhat.com> User-Agent: Mutt/1.4.2i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 26, 2004 at 12:37:30PM -0700, David S. Miller wrote: > On Thu, 26 Aug 2004 11:49:57 +0100 > Brian Somers wrote: > > > Can we get this guy to try running an older version of tg3 to see > > what change introduce the issue? > > Brian, we already narrowed it down to exactly the hw autoneg > changes Sun wrote. It breaks the IBM blades onboard 5704 > fibre chips. Reverting your change or disabling hw autoneg > in the new code both fix the problem. Just another datapoint, an IBM blade with 01:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704S Gigabit Ethernet (rev 02) 01:00.1 Class 0200: 14e4:16a8 (rev 02) Subsystem: 1014:029c Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- pci_chip_rev_id) == ASIC_REV_5704 && tp->phy_id == PHY_ID_SERDES) { /* Enable hardware link auto-negotiation */ ... } makes it work. So it looks like a A2 vs. A3 (or PCI_SUBSYSTEM_VENDOR_IBM ;) ) thing. Btw., a ethtool workaround would be appreciated or is that even possible? I tried ethtool -s eth1 speed 1000 duplex full port fibre autoneg off without luck. But that was over a java-based VNC thing run remotely over SSH port forwarding that gets keyboard mappings wrong, so I didn't spend too much time playing around :-) -- Pekka Pietikainen