Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Nov 2004 09:53:58 -0700
From:      Scott Long <scottl@freebsd.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/em if_em.c
Message-ID:  <41890D26.5050101@freebsd.org>
In-Reply-To: <20041103.094841.89130476.imp@bsdimp.com>
References:  <200411031411.iA3EBIqL012134@repoman.freebsd.org> <418905E5.1050605@freebsd.org> <20041103.094841.89130476.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> In message: <418905E5.1050605@freebsd.org>
>             Scott Long <scottl@FreeBSD.org> writes:
> : Poul-Henning Kamp wrote:
> : > phk         2004-11-03 14:11:18 UTC
> : > 
> : >   FreeBSD src repository
> : > 
> : >   Modified files:
> : >     sys/dev/em           if_em.c 
> : >   Log:
> : >   Put the "Link is up/down" printfs behind bootverbose.  gigE is not so uncommon
> : >   that we need to tell people about every cable in the network anymore.  It can
> : >   be enabled for debugging purposes with "boot -v".
> : >   
> : >   Revision  Changes    Path
> : >   1.51      +8 -6      src/sys/dev/em/if_em.c
> : 
> : I think that in general we can start eyeing a lot of similar verbosity
> : in all of our drivers, both at boot and at runtime.  For example most
> : nic drivers print out their MAC and all of their possible negotiation
> : rates on attach.  This same info can be obtained from ifconfig.  Why
> : clutter the boot with it?
> 
> Well, you can't get all the info you need from ifconfig.  If you want
> to know WHICH nic is in WHAT slot, it is a lot easier to get that from
> the one liner printed on boot (especially when trying to troubleshoot
> things) than to get it from ifconfig + dmesg.  I think that's useful
> to continue to have there.
> 
> I do agree that the rate thing of the wireless drivers is excessive,
> as is many of the rate things.
> 
> fwohci likely can use some trimming as well, even in the non-verbose
> mode.
> 
> The CAM messages are the only messages in FreeBSD more verbose than
> VMS :-)
> 
> Warner

I've looked at the CAM messages, yes.  I'm not calling for immediate
action, just saying that it's something to keep an eye on and think
about.

Scott



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