em(4) problems.

Andre Oppermann andre at freebsd.org
Thu May 6 13:23:23 PDT 2004


Andre Oppermann wrote:
> 
> Søren Schmidt wrote:
> >
> > Andre Oppermann wrote:
> > > Søren Schmidt wrote:
> > >
> > >>Petri Helenius wrote:
> > >>
> > >>>I´m highly confident that this is a case of integrated "CSA" ethernet
> > >>>with broken BIOS. I suspect you get an message about that when booting.
> > >>
> > >>Nope. no messages to that effect, oh and it works in windows(tm)...
> > >>
> > >>The last thing I see if I try to use em0 is:
> > >>em0: Link is up 100 Mbps Full Duplex
> > >>and then the system locks up hard.
> > >
> > > What MIIPHY does the card have?
> >
> > No idea, builtin of sorts, there is no mention of it in the probe, and
> > no HW to see on the boards. I have two different boards with these on
> > them both show the problem...
> 
> There must be some sort of MII message in dmesg.

I'm wrong.  em uses built in PHYs indeed.  Which also means link_state
doesn't work there...

Check out the function em_local_timer() in sys/dev/em/if_em.c and maybe
you get some more insight by enabling if debugging or putting some
printf's in there.  What makes me a little bit wondering is the direct
use of printf() instead of dev_printf().  I don't know what the locking
implications are if any.

-- 
Andre


More information about the freebsd-net mailing list