Hi! (Hope this is the right place to ask this)

I have a BCM57781 adapter built into a new ASRock motherboard. The adapter runs great, however it periodically dies - about once a day. When it dies existing connections (like ssh) work fine, but any new incoming or outgoing connections fail. I am not running a firewall. When in the crashed state I've checked my ifconfig/routes/resolve.conf all looks good. I have also checked the max/current sockets in sysctl and it is nowhere near the max. The only thing I can do to get my connection working again is /etc/rc.d/netif restart.

# pciconf -lvvv

bge0@pci0:3:0:0: class=0x020000 card=0x96b11849 chip=0x16b114e4 rev=0x10 hdr=0x00
    vendor     = 'Broadcom Corporation'
    device     = 'NetLink BCM57781 Gigabit Ethernet PCIe'
    class      = network
    subclass   = ethernet

# dmesg |grep bge
bge0: <Broadcom BCM57765 B0, ASIC rev. 0x57785100> mem 0xf2110000-0xf211ffff,0xf2100000-0xf210ffff irq 19 at device 0.0 on pci3
bge0: CHIP ID 0x57785100; ASIC REV 0x57785; CHIP REV 0x577851; PCI-E
miibus0: <MII bus> on bge0
bge0: Ethernet address: bc:5f:f4:43:87:9e

# uname -a
FreeBSD jeffu-htpc 9.0-STABLE FreeBSD 9.0-STABLE #0: Thu Jun 7 13:34:56 EDT 2012 root@jeffu-htpc:/usr/obj/usr/src/sys/GENERIC amd64

Here is some output while the problem is occurring:

# ping google.com
ping: cannot resolve google.com: Host name lookup failure

# cat /etc/resolv.conf
# Generated by resolvconf
search gateway.2wire.net
nameserver 192.168.1.254

# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags    Refs      Use  Netif Expire
default            192.168.1.254      UGS         0   402197   bge0
localhost          link#6             UH          0   286788    lo0
192.168.1.0        link#3             U           0    77598   bge0
192.168.1.65       link#3             UHS         0        0    lo0

Internet6:
Destination        Gateway            Flags      Netif Expire
::                 localhost          UGRS        lo0
localhost          link#6             UH          lo0
::ffff:0.0.0.0     localhost          UGRS        lo0
fe80::             localhost          UGRS        lo0
fe80::%lo0         link#6             U           lo0
fe80::1%lo0        link#6             UHS         lo0
ff01::%lo0         localhost          U           lo0
ff02::             localhost          UGRS        lo0
ff02::%lo0         localhost          U           lo0

# sysctl -a |grep sockets
kern.ipc.maxsockets: 25600
kern.ipc.numopensockets: 251

# dmesg |grep bge
bge0: <Broadcom BCM57765 B0, ASIC rev. 0x57785100> mem 0xf2110000-0xf211ffff,0xf2100000-0xf210ffff irq 19 at device 0.0 on pci3
bge0: CHIP ID 0x57785100; ASIC REV 0x57785; CHIP REV 0x577851; PCI-E
miibus0: <MII bus> on bge0
bge0: Ethernet address: bc:5f:f4:43:87:9e
bge0: link state changed to DOWN
bge0: link state changed to UP
bge0: link state changed to DOWN
bge0: link state changed to UP

^--- the up/downs were from much earlier

# ping 192.168.1.254
PING 192.168.1.254 (192.168.1.254): 56 data bytes

--- 192.168.1.254 ping statistics ---
352 packets transmitted, 0 packets received, 100.0% packet loss


# ifconfig -a
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c019b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE>
    ether bc:5f:f4:43:87:9e
    inet 192.168.1.65 netmask 0xffffff00 broadcast 192.168.1.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (1000baseT <full-duplex>)
    status: active

What can i do to troubleshoot this? I've checked the bge manpage and don't see anything related to debugging.
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to