Dan Mick wrote:
Paul Durrant wrote:
On 17/05/07, James Carlson <[EMAIL PROTECTED]> wrote:
I'd like to see a day when the Ethernet drivers on my systems don't
just spam the logs. Am I alone in that?
Nope. I find it very irritating too - particularly because it's not
consistent spamming either; some drivers do it and others don't.
Given that dladm show-dev will give link up/down information (although
currently only to root) then there really should be no need to go
looking in the logs for current link status; and Nemo could log link
status on a driver's behalf for posterity, without troubling the
console.
Paul
Me Too. I think drivers should never print link status messages to
either
log or console, especially since dladm can query it reliably.
Paul makes a good point about posterity - that's really what I think
about when
deciding if/when/how to log messages from a driver or driver-subsystem.
I've
never understood why some drivers insist on logging link-status, much less
announcing it to the console. I'm sure there was a once a situation
where it
came in handy, but I do not know what it was.
I'm more tolerant of information that is likely to be interesting
post-mortem and
is only logged once, during startup, for example, the firmware revision
in an adapter,
or the versions of the ACPI tables in a machine. This information can
usually be
found via alternative methods, but it is sure convenient to scarf it out
of /var/adm/messages,
particularly when a community member is attempting to email bits of
information
to diagnose something remotely.
Dana
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss