dev/em: Link is not up until 2 seconds after "ifconfig up"

Don Bowman don at sandvine.com
Mon Dec 8 08:46:38 PST 2003


From: Fred Clift [mailto:fclift at verio.net]
> 
> On Mon, 8 Dec 2003, Jun Kuriyama wrote:
> 
> > At Sun, 7 Dec 2003 20:09:41 -0600,
> >
> > Unfortunately, doing "ifconfig em1 ether 01:02:03:04:05:06" causes 1
> > or 2 seconds "no carrier", too.
> >
> 
> 
> As an additional datapoint - I've noticed that adding aliases 
> causes the
> same kind of delay four our use of the em driver- slows down 
> booting of
> large hosting boxes when you have a script to add each 
> customer one at a
> time and you have 600 :)
> 
> Fred

I wonder if setting WAIT_FOR_AUTO_NEG_DEFAULT to 0 in if_em.h
would help you.

--don


More information about the freebsd-current mailing list