Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2008 14:27:28 +0200 (CEST)
From:      sthaug@nethelp.no
To:        nakal@web.de
Cc:        freebsd-stable@freebsd.org
Subject:   Re: em(4) on FreeBSD is sometimes annoying
Message-ID:  <20080801.142728.74660240.sthaug@nethelp.no>
In-Reply-To: <20080801142005.473c17ca@zelda.local>
References:  <20080801142005.473c17ca@zelda.local>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hasn't anyone really noticed yet that em(4) only appears when you boot
> FreeBSD with the interface physically attached to a switch for example?
> If you attach it later, after boot up, the interface won't power up and
> appear in the interface list (ifconfig)?

I'm afraid I don't see your problem at all. My em interfaces appear
as they should, even if not connected to a switch. And when I connect
an em interface to a switch, I get link and things work as expected.

> Steps to reproduce:
> 1) Switch your PC/laptop off. Really OFF, no reboot.
> 2) Disconnect the em(4) NIC from your switch.
> 3) Boot FreeBSD.
> 4) Plug in the ethernet cable.
> 5) Tataa! All leds at the NIC stay off. You won't be able to use em(4)
> unless you reboot your machine.
> 
> Something is not being initialized properly on em(4) devices, it seems. 

This may well be the case - but not that the em driver handles several
different chip models. You may have a problem which is specific to one
or a few chip models.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080801.142728.74660240.sthaug>