X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=seCnGXy/Rf5acqlR9mrE9cvasWrzzRMD3SuntwL7GBywLUocIt2Yn
	SLgXgcSd9NR4LgnAmobfmCElZihEi+JU9EfaWobY0+bmTdP5a4GxjbAYaLCXdrcr
	ji8gVLftjv2TtS0XjMd/G/oLnGHaXR2NU5MrGPyONS+ctDurABg9wc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=jXG7lTY9Vxr/rqOuAD7eXe3MGHI=; b=o0MIOipUtlstcxFMpRvZ7oVsgcH7
	rODmcDl1OY7Yie8i4OZU5jUX13V65nloExp+x+arQEmYeS+p34FOszVh4mXzUDDJ
	C25SeZFDkJ3MCI2Gji6iDBzp2zM0bdP6LiKbsMLzenr3s+pJjfCInim4v8r+cVI6
	C7RugBuu/9csRgw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Fri, 22 Nov 2013 11:40:45 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: procps 3.2.8 on 64-bit Cygwin with Windows 8.1 displays "Unknown HZ value!" message
Message-ID: <20131122104045.GA5902@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <35ba87093d41433335f61fd666eb546b@uci.edu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="T4sUOijqQbZv57TR"
Content-Disposition: inline
In-Reply-To: <35ba87093d41433335f61fd666eb546b@uci.edu>
User-Agent: Mutt/1.5.21 (2010-09-15)

--T4sUOijqQbZv57TR
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov 21 14:13, casem wrote:
> Hello, I just reinstalled the latest 64-bit Cygwin yesterday on my
> Windows 8.1 machine. I installed the new procps 3.2.8-1 package as
> well (thanks for making it available for 64-bit). Now when I run any
> procps commands, I get this message:
> "Unknown HZ value! (632) Assume 1024."
>=20
> Versions:
> $ uname -srv
> CYGWIN_NT-6.2 1.7.25(0.270/5/3) 2013-08-31 20:37
>=20
> $ procps -V
> Unknown HZ value! (632) Assume 1024.
> procps version 3.2.8
>=20
> How can I fix the 'Unknown HZ value' problem?

I don't know why this happens.  It doesn't happen for me.  The cause is
a piece of code in procps which does not trust the HZ value given by the
header files to reflect the frequency used in files under /proc (because
of Linux, btw.), but rather calls a couple of functions to generate a
HZ value on the fly.  If the computed value doesn't fit into various
ranges, the above message is printed.  On my 8.1 64 bit machine, the
computed value is always 1000.  This is an expected value and thus I
never see the "Unknown HZ value" message.  I have not the faintest
idea why your system returns a different value.

However, since we know for certain that Cygwin always uses the HZ value
1000 in /proc file content, we could skip this function and just use the
well-known HZ value from sys/param.h.  I'll release a new procps with
this patch soon.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--T4sUOijqQbZv57TR
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iQIcBAEBAgAGBQJSjzStAAoJEPU2Bp2uRE+gGSYP/28wasLq0T+4l2qDVZmvLdWZ
h/AsyePYY+eraZUylxd+0V8aKuu0GnAocOdDB63a9YvoJNjRWyBpaDDJXK6LyxZf
h2jZEaelK+cMUoEF5AM7bFhl4eyr3zrUy9K08s56zSwXQlpNN/tpm5hBuGmBKOpb
+S8zQd4wSAouCXKTB1AMFp5+qVpB8E0q3PmInnO2C5iC1EO/GVqRiFKDwOJ0vZaH
RUoHJS9C1B9SI6uj28q+mz7R+LXCoNe0ado6Jpy/n7MH8swRud+3uWDTZ4GxSqks
zKEvNokg1roGLbCoFRcQp3MBl4F1FPM4+3tR0T2MEaqomtk1UQS24zzaalG9sMGK
gyhMcIeVzqdklr8vWthFyTblZ3b3jeZv/V/tgWj0AQKCK2LycqBXXFOh+FTO7wdD
mG9tgdDBUqopGuib3vBR6BHwRJtTDYxm/qVCIWmGFb+Wb/8widkOJ9EGSdmHQwR0
axME7NPyohQof2PO4qS2RNzuPiXT5VEiECd5TEnMxA7/X82nFO9dj9hlccurk7TW
4SFDg5rQQYhL0HcRHLxtF91SHh0q0RKzOjG0GrWToMtzXSmZdOaJTIheRQ4VR4XQ
UQJLcxzUABQfcSql2B8ap5He7V7h9r8vzzzdRgRoFXXfM1O0d6rjP7tchPuNdTfV
VNOJQNhVFdBHqQPDyScM
=nA90
-----END PGP SIGNATURE-----

--T4sUOijqQbZv57TR--
