From owner-freebsd-stable@FreeBSD.ORG Fri Jul 4 12:39:04 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 76CDB62F; Fri, 4 Jul 2014 12:39:04 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 125EB262B; Fri, 4 Jul 2014 12:39:03 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.9/8.14.9) with ESMTP id s64Cd12X053859; Fri, 4 Jul 2014 05:39:01 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.9/8.14.9/Submit) id s64Cd1ht053858; Fri, 4 Jul 2014 05:39:01 -0700 (PDT) (envelope-from david) Date: Fri, 4 Jul 2014 05:39:01 -0700 From: David Wolfskill To: stable@freebsd.org Subject: r268244 (stable/9) seems to break "sysctl hw.ncpu" Message-ID: <20140704123901.GR6056@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , stable@freebsd.org, Hans Petter Selasky MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xHTUIiWqaPwZ9IpM" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Hans Petter Selasky X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jul 2014 12:39:04 -0000 --xHTUIiWqaPwZ9IpM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After building & installing @r268208 (yesterday), "sysctl hw.ncpu" reports a number (e.g., "2" for my laptop). After building & installing @r268244 (today)... freebeast(9.3-P)[5] sysctl hw.ncpu | hd 00000000 68 77 2e 6e 63 70 75 3a 20 0a |hw.ncpu: .| 0000000a freebeast(9.3-P)[6]=20 After reverting r268244, then "cd /usr/src/sbin/sysctl && make && make install": g1-252(9.3-P)[8] sysctl hw.ncpu | hd 00000000 68 77 2e 6e 63 70 75 3a 20 32 0a |hw.ncpu: 2.| 0000000b g1-252(9.3-P)[9]=20 I note that I also track stable/10 and head (on different slices; daily) on the machine; haven't seen similar behavior in either environment. Note that it is not uncommon for certain ports builds to expect to get a number from "sysctl -n hw.ncpu", and when that doesn't happen, the ports builds tend to stop working. Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --xHTUIiWqaPwZ9IpM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQJ8BAEBCgBmBQJTtqBjXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7awsP+gPPc3SomuRhHioZdHLoFXOw vlZGT30sZB5GKs6NkNDltjVTxIkvnQLgKFIy+U/f8t7ACgSA/5HB9C+hbP8i/hio wHlNEIa+9EeDhUfzS8vfnl/zLU99fAjW6X6iUYKmPD69mjXywoJ//nE2+rcCCPka LBo6YMV9ceUOGOv9uXjKm8m6kFFPzkLlMYkcnZ/sSv3WRmn913en4QodZg6NjTaG SQGxQyoCGLz7YOgPYgZgOpPWALfgGrEmdx6F73FHAexoccM/Tz7p77lnsLC89G7h 2CdhRGb7piThnCL0Xf1Q/V4Nn4Fk83r/oqQc2k2d53AA5vhnya668+NbiExhh0Sp e8ysNbf5U/a3dBkVHIef4/FrLGHWDZMv7uVU8gaj2SxyJp51gylZ69j+4j5q5D3R R9qmOBUjSESH2vjM+XxOWHTu7MOwSPhSCuo+aeJA3ZMg/BWLwebUqj453zKoH44X FQVwJRvmgTqflugikm+OKz7yDSUgpnukpCcRReATsWUD9Q7KeoRJpZhFufv/KiCE A+aGusP+gp/FAAIFFQapc4UEPVpeXgJc3l4vvS4x1X6NSlA2mdXkQvpGeAZG0LHO /8aPA9pv/a9fP/GpI05X/c6q/hs2/mlMN8A27juUnZ/OLml/GgN5nLYXOqu9GgM5 3HJqJ47uNVn10gxaQY6K =G9Eb -----END PGP SIGNATURE----- --xHTUIiWqaPwZ9IpM--