From grog@freebie.lemis.com  Sat Nov 14 23:35:50 1998
Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA00304
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Nov 1998 23:35:48 -0800 (PST)
          (envelope-from grog@freebie.lemis.com)
Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137])
	by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id SAA07250
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 15 Nov 1998 18:05:23 +1030 (CST)
Received: (from grog@localhost)
	by freebie.lemis.com (8.9.1/8.9.0) id SAA00882;
	Sun, 15 Nov 1998 18:05:21 +1030 (CST)
Message-Id: <199811150735.SAA00882@freebie.lemis.com>
Date: Sun, 15 Nov 1998 18:05:21 +1030 (CST)
From: Greg Lehey <grog@lemis.com>
Reply-To: grog@lemis.com
To: FreeBSD-gnats-submit@freebsd.org
Subject:
X-Send-Pr-Version: 3.2

>Number:         8691
>Category:       bin
>Synopsis:       sysctl kern.clockrate returns an error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 14 23:40:00 PST 1998
>Closed-Date:    Sun Nov 15 15:22:12 PST 1998
>Last-Modified:  Sun Jan 31 18:10:35 PST 1999
>Originator:     Greg Lehey
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
Disorganized
>Environment:

	Any recent 3.0

>Description:

	The command 'sysctl kern.clockrate' returns an error message

>How-To-Repeat:

	$ sysctl kern.clockrate
	kern.clockrate: sysctl: S_clockinfo 20 != 16: Undefined error: 0

>Fix:

	None investigated.

Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Nov 15 15:11:25 PST 1998 
Responsible-Changed-Why:  
Misfiled PR. 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jkh 
State-Changed-When: Sun Nov 15 15:22:12 PST 1998 
State-Changed-Why:  
Unable to reproduce this on *any* 3.0 system with properly sync'd kernel 
and userland. 
>Unformatted:

Note:
	This seemingly trivial bug is a nuisance, since it also stops
	'sysctl -a' from completing: it aborts after this problem.

Greg Lehey, 31 January 1999:

	This bug is the result of incorrect update of userland.
	Although sysctl(8) is located in src/usr.sbin/sysctl, since
	December 1997 it is installed in /sbin.  No provision is made
	to remove an old /usr/sbin/sysctl.  If this problem occurs,
	perform this operation manually.
