Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/ic



Quentin Garnier writes:

> On Sat, Apr 19, 2008 at 08:49:55AM -0700, Tim Rightnour wrote:
> [...]
> > My problem with aprint_error in normal operation is that I can't
> > shut it up.  I don't consider a boot time flag a reasonable
> > solution to that when we have a perfectly good facility for it
> > already.
> 
> But the kernel can't always rely on userland to get the message to the
> admin.  Say for instance you have root on NFS;  the NIC is experiencing
> an issue of some sort.  syslogd is long blocked on some stalled NFS
> operation.  You probably want the kernel to bypass syslogd in that case.

A suitably smart log() could dump (duplicate) the message to the
console if a message isn't read from /dev/klog within one second [with
more immediate output to console under certain conditions (on panic,
sysctl setting)].


Home | Main Index | Thread Index | Old Index