Subject: kern/21057: bge(4) hangs for a few seconds on "ifconfig -a"
To: None <>
From: Matthias Scheler <>
List: netbsd-bugs
Date: 04/07/2003 22:28:58
>Number:         21057
>Category:       kern
>Synopsis:       bge(4) hangs for a few seconds on "ifconfig -a"
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 07 13:30:00 PDT 2003
>Release:        NetBSD 1.6Q (2003-04-07 sources, also NetBSD 1.6.1)
Matthias Scheler                        
System: NetBSD 1.6Q NetBSD 1.6Q (LYSSA) #0: Mon Apr 7 12:54:05 CEST 2003 i386
Architecture: i386
Machine: i386

I've two NetBSD-i386 systems (1.6.1 and 1.6Q) with Netgear GA302T cards
which are recognized by NetBSD like this:

bge0 at pci2 dev 9 function 0: Altima AC9100 Gigabit Ethernet
bge0: interrupting at apic 2 int 21 (irq 9)
bge0: ASIC BCM5701 B5, Ethernet address 00:09:5b:1c:28:56
brgphy0 at bge0 phy 1: BCM5701 1000BASE-T media interface, rev. 0

The card works fine but I experience short 1-2 seconds hangs from time to
time. On the NetBSD 1.6.1 I always get this kernel message in this case:

bge0: gigabit link up

The NetBSD 1.6Q system would probably print them, too, if I wouldn't have
disabled these message in revision 1.38 of "src/sys/dev/pci/if_bge.c".
The hang can be reproduced by using "ifconfig -a" on both systems. My
guess is that probing the PHY causes this problem.

1.) Perform a remote login into a system using bge(4) via an interface which
    uses that driver.
2.) Type "ifconfig -a".

None provided.