Subject: bge0 hangs sometimes
To: None <port-i386@NetBSD.org>
From: David W. Talmage <talmage@madison.onespeeddave.com>
List: port-i386
Date: 07/27/2004 19:22:24
I'm looking for clues about bge0 not permitting new, outbound
connections from time to time.  I'm using NetBSD 2.0 Beta snapshot.

My nifty AOpen XCCube has the Broadcom 5705 gigabit ethernet chip on
board.  Occasionally, it refuses to open new, outbound connections on
bge0.  All existing connections continue to work.  If I re-ifconfig bge0
up

         sudo ifconfig bge0 `cat /etc/ifconfig.bge0` up

then bge0 lets me open new connections on it.

There aren't any messages about bge0 on the console or in
/var/log/messages.

At first, I thought there was a problem with DHCP leases.  The problem
persisted after I assigned bge0 a fixed address.

I looked in the bugs database and found kern/18676 and kern/25359.  I
don't think it's the kern/18676.  I don't believe that I'm using hw
checksum that might or might not have been the problem in kern/25359.

dmesg has this to say about the hardware:

bge0 at pci1 dev 7 function 0: Broadcom BCM5705 Gigabit Ethernet
bge0: interrupting at irq 10
bge0: ASIC BCM5705 A3 (0x3003), Ethernet address 00:01:80:4f:68:61
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

Here are the dates of the snapshot:
200403170000:
xbase.tgz    xcomp.tgz    xcontrib.tgz xfont.tgz    xmisc.tgz    xserver.tgz

200403310000:
INSTALL.html     boot1.fs         comp.tgz         games.tgz        man.tgz          text.tgz
base.tgz         boot2.fs         etc.tgz          kern-GENERIC.tgz misc.tgz

200404030000:
syssrc.tgz

David Talmage