Subject: Re: bge(4) problem
To: Christoph Kaegi <kgc@zhwin.ch>
From: Nicolas Joly <njoly@pasteur.fr>
List: current-users
Date: 01/16/2004 10:19:26
On Fri, Jan 16, 2004 at 09:59:19AM +0100, Christoph Kaegi wrote:
> On 16.01-09:55, Nicolas Joly wrote:
> > > 
> > > The card is recognized, but dmesg doesn't say anything about PHY's:
> > > 
> > > -------------------------------------- 8< --------------------------------------
> > > bge0 at pci3 dev 1 function 0: Broadcom BCM5701 Gigabit Ethernet
> > > bge0: interrupting at irq 11
> > > bge0: ASIC BCM5701 B5 (0x0105), Ethernet address 00:08:02:28:12:73
> > > -------------------------------------- 8< --------------------------------------
> > > 
> > > Are PHY's needed for the card to function.
> > 
> > Yes.
> > 
> > Check that you enabled brgphy(4) in your kernel config file.
> > 
> > brgphy* at mii? phy ?
> 
> That's enabled.
> 
> Any idea why the kernel didn't detect it?

Can you try do run a kernel with bge(4) debug mode set ?

Set `bgedebug' variable to 5 in `src/sys/dev/pci/if_bge.c' :

[...]
#define BGE_DEBUG
#ifdef BGE_DEBUG
#define DPRINTF(x)      if (bgedebug) printf x
#define DPRINTFN(n,x)   if (bgedebug >= (n)) printf x
int     bgedebug = 0;
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)
#endif
[...]

-- 
Nicolas Joly

Biological Software and Databanks.
Institut Pasteur, Paris.