From owner-freebsd-bugs Mon May 28 14:50: 8 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2504237B43C for ; Mon, 28 May 2001 14:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4SLo1P15450; Mon, 28 May 2001 14:50:01 -0700 (PDT) (envelope-from gnats) Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 55FDB37B424 for ; Mon, 28 May 2001 14:45:39 -0700 (PDT) (envelope-from wkb@freebie.demon.nl) Received: from [212.238.54.101] (helo=freebie.demon.nl) by post.mail.nl.demon.net with smtp (Exim 3.22 #1) id 154UpT-00037z-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 28 May 2001 21:45:35 +0000 Received: (from wkb@localhost) by freebie.demon.nl (8.11.3/8.11.2) id f4SLpDB00595; Mon, 28 May 2001 23:51:13 +0200 (CEST) (envelope-from wkb) Message-Id: <200105282151.f4SLpDB00595@freebie.demon.nl> Date: Mon, 28 May 2001 23:51:13 +0200 (CEST) From: wilko@freebsd.org Reply-To: wilko@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/27722: 3C905TX / xl driver broken by mii bug Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 27722 >Category: kern >Synopsis: 3C905TX / xl driver broken by mii bug >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 28 14:50:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Wilko Bulte >Release: FreeBSD 4-STABLE i386 >Organization: Private FreeBSD site - The Netherlands >Environment: 3Com 3c905-TX Fast Etherlink XL ethernet card is needed. System / mainboard is not relevant, observed on both a 750Mc Abit Athlon and a Asus P75. Ethernet card is connected to a Linksys 10/100 mbit hub. Lacking an ethernet switch I could not test that variation. This is not a hardware problem, it occurs on multiple cards in different systems. May 28 22:21:59 freebie /kernel: xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xe000-0xe03f irq 10 at device 13.0 on pci0 May 28 22:21:59 freebie /kernel: xl0: Ethernet address: 00:60:08:09:b7:41 May 28 22:21:59 freebie /kernel: miibus0: on xl0 May 28 22:21:59 freebie /kernel: nsphy0: on miibus0 May 28 22:21:59 freebie /kernel: nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >Description: Given mii/nsphy.c V1.8 in the kernel the 3COM cards do not autonegotiate anymore. Rather, they report 'no carrier'. Manually forcing media to 10baseT/UTP does work. Manually forcing 100baseTX does not work. In autonegotiate no link LEDs on the hub or the 3C905 are lit. >How-To-Repeat: See above >Fix: Revert to mii/nsphy.c V1.7 which does not 'enable some undocumented bits' in the PHY chip. Apparantly this does work for fxp, but breaks xl on the 3C905-TX cards. cvs log of mii/nsphy.c ---------------------------- revision 1.8 date: 2001/03/16 14:17:02; author: jlemon; state: Exp; lines: +9 -6 Enable some undocumented bits in the DP83840 PHY, which is needed when using it with the Intel fxp driver. Tested by: peter, Ollivier Robert , Peter Schultz ---------------------------- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message