Subject: Re: annoying "link state changed" messages on boot
To: None <tech-kern@netbsd.org>
From: None <joerg@britannica.bec.de>
List: tech-kern
Date: 05/02/2006 09:59:05
On Mon, May 01, 2006 at 04:29:05PM +1000, Simon Burge wrote:
> Every time on boot, I'm seeing messages like:
> 
> 	wm0: link state changed to DOWN
> 	wm0: link state changed to UP
> 
> for any interface that's used, and just a
> 
> 	re0: link state changed to DOWN
> 
> or similar for any interface that isn't used.
> 
> Other than being somewhat annoying, do they serve any useful
> purpose?  If there any problem if "#ifdef DEBUG"ing them in
> if_link_state_change()?

I was thinking about that as well, when I initially changed the code to
use the common functions. I'd suggest to place it under bootverbose,
but that's just an opinion. It is helpful to find flacky links, but can
be achieved with different means.

Joerg