Subject: bge on amd64
To: None <tech-kern@netbsd.org>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 08/28/2005 09:09:56
hi,

I recently got an amd64 box and discovered that the built-in bge
doesn't work (all received packets are garbage, though transmitted
packets appear to be fine).  the problem is caused by some of the
host memory having physical addresses larger than 4 GB...
if I don't use that memory then it works fine.  a wm card works fine
with all of the memory.  the two devices are:

bge0 at pci2 dev 0 function 0: Broadcom BCM5751 Gigabit Ethernet
bge0: interrupting at ioapic0 pin 3 (irq 3)
bge0: ASIC unknown BCM5750 (0x4101), Ethernet address 00:11:d8:cc:f1:f7
brgphy0 at bge0 phy 1: BCM5750 1000BASE-T media interface, rev. 0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

wm0 at pci1 dev 7 function 0: Intel i82544GC 1000BASE-T Ethernet, rev. 2
wm0: interrupting at ioapic0 pin 5 (irq 5)
wm0: 32-bit 33MHz PCI bus
wm0: 64 word (6 address bits) MicroWire EEPROM
wm0: Ethernet address 00:02:b3:eb:6b:fc
makphy0 at wm0 phy 1: Marvell 88E1000 Gigabit PHY, rev. 0
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto

(this is all with a 3.x kernel.)

how can I make the bge work with all the memory?

-Chuck