[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/37762: bge hw assist problems
>Synopsis: bge hw assist problems
>Arrival-Date: Tue Jan 15 12:20:00 +0000 2008
>Release: NetBSD 4.99.49
System: NetBSD vekotin.local 4.99.49 NetBSD 4.99.49 (VEKOTIN) #1: Sun Jan 13
00:31:02 EET 2008
There are some problems with hardware assisted TCP segmentation and
checksumming in the bge driver. The NIC is attached like so:
bge0 at pci2 dev 0 function 0: Broadcom BCM5787M Gigabit Ethernet
bge0: interrupting at ioapic0 pin 18 (irq 11)
bge0: ASIC BCM5754/5787 A2 (0xb002), Ethernet address 00:1b:38:2b:fc:30
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5754/5787 1000BASE-T media interface, rev. 0
bge0: block failed to stop: reg 0x1400, bit 0x00000002
ifconfig bge0 says:
bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
media: Ethernet autoselect (100baseTX
inet 10.0.0.11 netmask 0xffffff00 broadcast 10.0.0.255
I don't have any specifics what exactly is going wrong, but the symptoms
- With TSO4, NFS (client) is useless. With even a little traffic the
client seems to think the server is gone (server not responding
tcpdumping the traffic shows some NFS traffic happening constantly,
but tcpdump shows for example invalid rpc response codes etc.
- With TCP checksum options turned on, bad checksums occur.
One interesting effect was that I couldn't access www.facebook.com,
but other sites worked mostly. When I turned TCP checksum offload
off, everything seems to work (except skype).
netstat -s on this machine shows 208 received packets discarded due
to bad checksums. The LAN router shows 480 received packets
discarded due to checksums.
- IP4 csum offload possibly works, netstat -s shows no IP packets
discarded due to checksum. Same for UDP.
- Even with all offload options turned off I still can't connect skype,
but that could be due to linux32 emulation problems and not bge. But
I wouldn't rule bge out either.
Run bge on Acer Aspire 5310 with various hw assist options turned on.
Main Index |
Thread Index |