Subject: Re: dma read modebits on Broadcom NICs
To: Stephen Borrill <netbsd@precedence.co.uk>
From: Joseph A. Dacuma <jadacuma@ched.gov.ph>
List: netbsd-users
Date: 12/05/2006 19:13:54
> On Tue, 5 Dec 2006, Joseph A. Dacuma wrote:
>> I have servers here with Broadcom Gigabit NICs. Every time these
>> machines
>> boot this message appears on the console:
>>
>> dma read modebits: 0x     3fe
>>
>> Anyone on the list experiencing the same thing?
>
> I always see the following with bge:
> bge0: pcistate failed to revert
>
> On some hardware this is followed by the modebits line above. Here's a
> dmesg fragment:
>
> bge0 at pci2 dev 4 function 0: Broadcom BCM5703X Gigabit Ethernet
> bge0: interrupting at irq 22, event channel 7
> bge0: ASIC BCM5703 A2 (0x1002), Ethernet address 00:02:55:b7:63:ff
> brgphy0 at bge0 phy 1: BCM5703 1000BASE-T media interface, rev. 2
>
> This happens on 3.1 and -current.
>
> We use these machines in production and I'm not _aware_ of any problems,
> but perhaps a bge meister could explain whether they are just
> informational or something to be worried about.
>

Hi Mr Borril!

Yes, I remember distinctly on the same machine, it never appeared on 3.0
only when I updated it to stable branch. The said message appeared.


NetBSD 3.1_STABLE (generica) #1: Wed Nov  8 20:47:54 PHT 2006
        root@emilio.ched.gov.ph:/usr/obj/sys/arch/i386/compile/generica
total memory = 2047 MB
avail memory = 2000 MB
BIOS32 rev. 0 found at 0xf0000
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (COMPAQ   PROLIANT    )

---snip---

bge0 at pci0 dev 4 function 0: Broadcom BCM5702X Gigabit Ethernet
bge0: interrupting at ioapic1 pin 12 (irq 5)
bge0: ASIC BCM5703 A2 (0x1002), Ethernet address 00:11:85:c3:6d:be
brgphy0 at bge0 phy 1: BCM5703 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FD
X, auto

---snip---

root file system type: ffs
cpu1: CPU 6 running
dma read modebits: 0x     3fe
wsdisplay0: screen 1 added (80x25, vt100 emulation)

The file if_bge.c says something that if NIC is 5750 above it would
generate that message. (XXX broadcom-supplied linux driver; undocumented).
I wonder what that means.


Regards,

Joseph