From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 1 22:40:03 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3CB3C16A401 for ; Thu, 1 Mar 2007 22:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 17D7E13C47E for ; Thu, 1 Mar 2007 22:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l21Me2bS070640 for ; Thu, 1 Mar 2007 22:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l21Me2fO070639; Thu, 1 Mar 2007 22:40:02 GMT (envelope-from gnats) Resent-Date: Thu, 1 Mar 2007 22:40:02 GMT Resent-Message-Id: <200703012240.l21Me2fO070639@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, Don Brearley Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E7EA916A404 for ; Thu, 1 Mar 2007 22:32:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id BB35E13C461 for ; Thu, 1 Mar 2007 22:32:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l21MWnkv032093 for ; Thu, 1 Mar 2007 22:32:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l21MWnhd032092; Thu, 1 Mar 2007 22:32:49 GMT (envelope-from nobody) Message-Id: <200703012232.l21MWnhd032092@www.freebsd.org> Date: Thu, 1 Mar 2007 22:32:49 GMT From: Don Brearley To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/109733: bge link state issues X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 22:40:03 -0000 >Number: 109733 >Category: kern >Synopsis: bge link state issues >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 01 22:40:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Don Brearley >Release: 6.2-STABLE >Organization: Hibbing Community College >Environment: FreeBSD blah.com 6.2-STABLE FreeBSD 6.2-STABLE #8: Thu Mar 1 15:40:33 CST 2007 root@blah.com:/usr/src/sys/i386/BLAH i386 >Description: I have two 3com 3C996-SX (Broadcom 5701 chipset) NICs connected to a Tyan motherboard which do not function properly. This is a dual CPU i386 machine. I began with a fresh install of 6.1-RELEASE, discovered this issue, and then CVSup'ed my source to 6.2-STABLE. I've rebuilt the world and kernel and installed both successfully, and ran mergemaster as well. As a side note, the NIC worked fine with i386 5.4-RELEASE. When the machine comes up, the interfaces stay "status: no carrier" until I either type "ifconfig bge0 media 1000baseSX mediaopt full-duplex" or "ifconfig bge0 up". Naturally, I wish to use both NIC's so I enter the same info but replace bge0 with bge1. Setting an IP address and netmask also did not help. Once I type either of those, I get a continuous stream of: bge0: link state changed to UP bge0: link state changed to DOWN bge1: link state changed to UP bge1: link state changed to DOWN bge0: link state changed to UP bge0: link state changed to DOWN bge1: link state changed to UP bge1: link state changed to DOWN .. forever. I also get an intermittent statement: bgeX: 2 link states coalesced This will occur until I shut down the interfaces with "ifconfig bge0 down" and "ifconfig bge1 down" statements. I have rebuilt my kernel with "BGE_FAKE_AUTONEG" and added ' hw.bge.fake_autoneg="1" ' to the /boot/loader.conf which resulted in no noticable effect. sysctl maintains that this oid does not exist, and sysctl -w does not show any entry related to hw.bge* -- It would be nice to be able to see if this is actually being set or not. I've added and removed SMP support, added and removed DEVICE_POLLING and various combinations with and without APIC. I've also gone back and forth between booting with ACPI and without ACPI, again, without a noticable effect on the issue. I tried merging the device drivers in from HEAD, but as I expected, that was futile :) If necessary, it may be possible for me to provide a 3com 3c996-SX NIC to help fix this issue. >How-To-Repeat: Get a 3Com 3c996-SX nic, and try to use it on FreeBSD 6.2-STABLE or -RELEASE. >Fix: Don't use a 3com 3C996-SX with FreeBSD 6.2. Try using FreeBSD 5.4 -- the Interface worked fine then. I did not try using 5.5. >Release-Note: >Audit-Trail: >Unformatted: