kern/109733: bge link state issues
Don Brearley
donbrearley at hibbing.edu
Thu Mar 1 22:40:03 UTC 2007
>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 at 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:
More information about the freebsd-bugs
mailing list