Subject: kern/29660: vlans broken on bge(4)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <prlw1@cam.ac.uk>
List: netbsd-bugs
Date: 03/11/2005 17:31:00
>Number: 29660
>Category: kern
>Synopsis: vlan so slow as to be useless with bge
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 11 17:31:00 +0000 2005
>Originator: Patrick Welche
>Release: NetBSD 2.99.16
>Organization:
>Environment:
>Description:
>How-To-Repeat:
Find a computer (eg Dell GX280) with
bge0 at pci2 dev 0 function 0: Broadcom BCM5751 Gigabit Ethernet
bge0: interrupting at irq 11
bge0: ASIC BCM5750 A1 (0x4001), Ethernet address 00:11:43:7c:6c:3a
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
Plug it into a vlan capable switch (eg 3com 3300xm), with the port set to
just passing the default vlan (1), untagged.
ifconfig bge0 up inet a.b.c.d netmask 0xffffff00
(I also happened to also enable h/w checksumming, but that doesn't
seem to change anything)
and autoneg seems to work:
media: Ethernet autoselect (100baseTX full-duplex,flowcontrol,rxpause,txpause)
scp GENERIC from somewhere at 9MB/s.
Now change the port to send through no untagged vlan, and just tagged default.
ifconfig bge0 delete inet a.b.c.d
ifconfig vlan0 create vlan 1 vlanif bge0
ifconfig vlan0 inet a.b.c.d netmask 0xffffff00
scp GENERIC from somewhere - password prompt all rather responsive, but then
the transfer is so slow it stalls and finally gives up.
>Fix:
I wish I knew - looks like stick to ex(4).
>Unformatted:
-current/i386 of 11 Mar 2005