Subject: NIC underperforming
To: None <netbsd-users@netbsd.org>
From: Jay L.T. Cornwall <jay.cornwall@imperial.ac.uk>
List: netbsd-users
Date: 03/14/2006 11:16:59
Hi,

I'm trying to get my on-board Broadcom Gigabit Ethernet NIC to work under
NetBSD. The kernel recognises the device correctly:

[root@python ~]# dmesg | grep bge0
bge0 at pci4 dev 0 function 0: Broadcom BCM5721 Gigabit Ethernet
bge0: interrupting at irq 9
bge0: ASIC BCM5751 A1 (0x4101), Ethernet address 00:e0:81:2d:bb:12
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0

However, the driver autonegotiates to 100baseTX half duplex. If I try to
force the media type to 1000baseT, half or full duplex, ifconfig reports the
status as 'no carrier'. Also rather oddly, if I force the media type to
100baseTX full duplex the performance of my Samba daemon drops considerably.

I just booted an Ubuntu LiveCD which confirmed my suspicions; the card
autonegotiates at 1Gbit fine in Linux. It performs at very high speeds in
this configuration.

I've tried swapping in a cable/port that I use for another machine, which
operates fine at 1Gbit, but to no avail. Any ideas?

-- 
Jay L.T. Cornwall, http://www.esuna.co.uk/~jay/
PhD Student
Imperial College London