From owner-freebsd-bugs@FreeBSD.ORG Thu Jan 29 20:00:28 2004 Return-Path: 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 C2D0D16A4CF for ; Thu, 29 Jan 2004 20:00:28 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD73843D4C for ; Thu, 29 Jan 2004 20:00:25 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0U40PFR097377 for ; Thu, 29 Jan 2004 20:00:25 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0U40PX9097374; Thu, 29 Jan 2004 20:00:25 -0800 (PST) (envelope-from gnats) Resent-Date: Thu, 29 Jan 2004 20:00:25 -0800 (PST) Resent-Message-Id: <200401300400.i0U40PX9097374@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Kenneth Culver Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BEA216A4CE for ; Thu, 29 Jan 2004 19:51:33 -0800 (PST) Received: from ken.sweetdreamsracing.biz (hachigo.sweetdreamsracing.biz [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08D2043D1F for ; Thu, 29 Jan 2004 19:51:32 -0800 (PST) (envelope-from culverk@ken.sweetdreamsracing.biz) Received: from ken.sweetdreamsracing.biz (localhost [127.0.0.1]) i0U3pLKn000995 for ; Thu, 29 Jan 2004 22:51:22 -0500 (EST) (envelope-from culverk@ken.sweetdreamsracing.biz) Received: (from culverk@localhost)i0U3kN4p000926; Thu, 29 Jan 2004 22:46:23 -0500 (EST) (envelope-from culverk) Message-Id: <200401300346.i0U3kN4p000926@ken.sweetdreamsracing.biz> Date: Thu, 29 Jan 2004 22:46:23 -0500 (EST) From: Kenneth Culver To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/62094: 3com 940 gigabit ethernet dhcp failure X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kenneth Culver List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 04:00:29 -0000 >Number: 62094 >Category: kern >Synopsis: 3com 940 gigabit ethernet dhcp failure >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 29 20:00:25 PST 2004 >Closed-Date: >Last-Modified: >Originator: Kenneth Culver >Release: FreeBSD 5.2-CURRENT i386 >Organization: none >Environment: System: FreeBSD ken.sweetdreamsracing.biz 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Thu Jan 29 11:12:54 EST 2004 culverk@ken.sweetdreamsracing.biz:/usr/src/sys/i386/compile/KEN i386 >Description: On an Asus K8V Deluxe motherboard (athlon 64) in both the i386 and amd64 versions of FreeBSD, when the machine first boots up, and dhclient starts, it hangs, and eventually times out. During this time the lights on the switch showing whether the ethernet card is connected keep flashing on and off (not the activity lights but the ones that show whether it's actually got a connection). A few minutes after boot (and breaking out of the dhclient that happens on boot using ctrl-c) I can type "dhclient sk0" on the commandline, and there is no problem. This leads me to believe that the auto- negotiaton code for my PHY is messed up. Here is the relevent output from dmesg: skc0: <3Com 3C940 Gigabit Ethernet> port 0xdc00-0xdcff mem 0xfdc00000-0xfdc03fff irq 10 at device 10.0 on pci0 skc0: 3Com Gigabit LOM (3C940) sk0: on skc0 sk0: Ethernet address: 00:0c:6e:ba:a7:49 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto >How-To-Repeat: All that's needed is to have this on-board ethernet controller, and try to use dhclient to get network configuration. >Fix: Currently the only workaround is to set a static ip, and hope nobody else is using it. >Release-Note: >Audit-Trail: >Unformatted: