From owner-freebsd-bugs Fri Jan 24 9:30: 6 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8FC6737B401 for ; Fri, 24 Jan 2003 09:30:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9261E43F1E for ; Fri, 24 Jan 2003 09:30:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0OHU2NS014502 for ; Fri, 24 Jan 2003 09:30:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0OHU2si014501; Fri, 24 Jan 2003 09:30:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ABAE37B401 for ; Fri, 24 Jan 2003 09:24:02 -0800 (PST) Received: from lurza.secnetix.de (lurza.secnetix.de [212.66.1.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B4E243F18 for ; Fri, 24 Jan 2003 09:24:01 -0800 (PST) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [IPv6:::1]) by lurza.secnetix.de (8.12.6/8.12.5) with ESMTP id h0OHNndK063885; Fri, 24 Jan 2003 18:23:49 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.6/8.12.5/Submit) id h0OHNmts063884; Fri, 24 Jan 2003 18:23:48 +0100 (CET) Message-Id: <200301241723.h0OHNmts063884@lurza.secnetix.de> Date: Fri, 24 Jan 2003 18:23:48 +0100 (CET) From: Oliver Fromme Reply-To: Oliver Fromme To: FreeBSD-gnats-submit@FreeBSD.org Cc: Oliver Fromme X-Send-Pr-Version: 3.113 Subject: kern/47440: dc0 driver in 5.0 broken for Macronix 98715/98715A chip 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: 47440 >Category: kern >Synopsis: dc0 driver in 5.0 broken for Macronix 98715/98715A chip >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jan 24 09:30:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Oliver Fromme >Release: FreeBSD 5.0-RELEASE i386 >Organization: secnetix GmbH & Co KG, http://www.secnetix.de/ >Environment: FreeBSD 5.0-RELEASE i386 >Description: I've got a machine (dual Celeron-466) with a Macronix 98715/98715A fast ethernet NIC. It had been running an old version of 5-current from August 3rd 2001 without any problems. Yesterday I decided to upgrade the machine to 5.0-Release, via FTP using boot floppies. However, it just hang when trying to resolve the name of the FTP server. A tcpdump on the router showed zero activity from that machine, as if the interface was dead. On sysinstall's debug screen (Alt-F2) I got the following information. I've copied it manually (no serial console), so there might be typos. DEBUG: Loading module if_dc.ko (DEC/Intel 21143 (and clones) PCI fast ethernet card) dc0: port 0xe400-0xe4ff mem 0xe5000000-0xe50000ff irq 5 at device 8.0 on pci0 dc0: Ethernet address: 00:00:00:00:00:00 miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto Note that the ethernet address (MAC) is not detected correctly! Then I decided to install a current 4-stable snapshot (4.7-20030120-STABLE). It seems to work fine, and detects the card like this: dc0: port 0xe400-0xe4ff mem 0xe5000000-0xe50000ff irq 2 at device 8.0 on pci0 dc0: Ethernet address: 00:00:e8:59:a3:47 miibus0: on dc0 dcphy0: on miibus0 dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >How-To-Repeat: Try to install 5.0-RELEASE on an i386 machine (via FTP) with a Macronix 98715/98715A NIC. >Fix: None known. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message