Subject: Re: Several Issues
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: Simon Burge <simonb@wasabisystems.com>
List: port-i386
Date: 02/18/2003 08:56:10
Pavel Cahyna wrote:

> > > 4. This error comes up in my daily report (or from iostat -x):
> > > 
> > > iostat: sysctl hw.diskstats failed: Invalid argument
> > 
> > Do you have out of sync kernel and userland ?
> > 
> Excuse my ignorance, but isn't sysctl interface here to keep
> compatibility, even if userland and kernel are out of sync? What's the
> point of using sysctl if you must keep them in sync? You might as well
> grovel kernel memory, no?

Unfortunately not all of the kmem grovellers have been converted to use
backward compatible sysctls.  It's an ongoing project.  iostat and vmstat
will be next, and are mostly done.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/