From owner-freebsd-arm@freebsd.org Thu Feb 22 00:43:02 2018 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF213F118E7 for ; Thu, 22 Feb 2018 00:43:02 +0000 (UTC) (envelope-from hyun@caffeinated.codes) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E9477C22D for ; Thu, 22 Feb 2018 00:43:01 +0000 (UTC) (envelope-from hyun@caffeinated.codes) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1361E20A91 for ; Wed, 21 Feb 2018 19:43:01 -0500 (EST) Received: from web3 ([10.202.2.213]) by compute7.internal (MEProxy); Wed, 21 Feb 2018 19:43:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= caffeinated.codes; h=content-transfer-encoding:content-type:date :from:in-reply-to:message-id:mime-version:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=G//ZeL8hbq4dw5jvF pP55au907BeeXLKDHWjFcyGBrQ=; b=Y0laRW1LI85pBbqmy8ZsYJbGvQy3zqKhk i9J4sI9xS+KaBAg4hjBThoTt1cd9JtYueVc2g9we3aovC/PwDxWwS2f4+tY7JhVv YlStd5fiKcP47JOHhEQqZPs8qbj/0kVWPZ7BXA/wndSmslPXV6FuNq61ltA4mYCj pC0eiqU8eMlHxU2tti39SSP1wHIhVHkrgOmsMQCKLVzc9j+O+feBxLVpZaQN/uTE KCVgJS9Bh7ACWJcsO2l31eSKV+0VR+HaIXciaFj6MKwxqOy0+VZnOxoYulzZCh+3 aQ+5ytezuc6SaYaVuTFp+ZtkuDUSmP1miCZXKEjCyS2ABXIfmwNLA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=G//ZeL 8hbq4dw5jvFpP55au907BeeXLKDHWjFcyGBrQ=; b=d+rxEPnOY99Ala9U0ZzcrL MEA6UbRemGwpkQgqClNVSBiVFiAhzOBTe0HuPWMMQ+1RlRpv/IcMOI8e3K4QQ+Ip 9oqeAHOr/Um9aOCN/effoWPLJKsOPwUrY8s2AzxEMzGo0yIBxXHCE81CtcPUIWsk B+WevaGlLsgTid722C/lXH8TA596yrjByoSy2CfDs2xzw0P82L/GLY/+jl96c6en pAo3vGaf/1qefot9la+gdrzau/PUKYIN8h0M75lXF7vTRrrhz4ApRRGXACHF+YbS KV0dxoypK56hb+W2zF/JcHwDf8R2pqNN3dgLI7009M3/ggplpp7m4NbMrDX4SRrw == X-ME-Sender: Received: by mailuser.nyi.internal (Postfix, from userid 99) id E9A719E0DA; Wed, 21 Feb 2018 19:43:00 -0500 (EST) Message-Id: <1519260180.4079890.1279083320.2A7C0983@webmail.messagingengine.com> From: Hyun Hwang To: freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-efbb3405 References: <1519183416.596433.1277874832.72C8988D@webmail.messagingengine.com> Subject: Re: sysctl hw.model does not exist on arm[64]? Date: Wed, 21 Feb 2018 19:43:00 -0500 In-Reply-To: <1519183416.596433.1277874832.72C8988D@webmail.messagingengine.com> X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 00:43:03 -0000 On Tuesday, February 20, 2018, 10:23 PM (UTC-0500), Hyun Hwang wrote: > Hi, > > I'm currently running the armv7 build of r329609 on my Raspberry Pi 2. I > just installed sysutils/bsdstats, and upon the first time sending the > report, this happened: > ``` > Posting OS statistics to rpt.bsdstats.org ... SUCCESS > Posting device statistics to rpt.bsdstats.org ... SUCCESS > sysctl: unknown oid 'hw.model' > Posting CPU information to rpt.bsdstats.org ... SUCCESS > Posting port statistics to rpt.bsdstats.org ... SUCCESS > ``` > The same thing is expected to happen on aarch64 build (RPi3) because it > does not exist on that arch, too. > > Is this an expected/intended behavior? Because on my amd64 machine, > `sysctl hw.model` shows the CPU info: `Intel(R) Core(TM) i3-5005U CPU @ > 2.00GHz` > -- > Hyun Hwang Hi, I just submitted [diff on this issue](https://reviews.freebsd.org/D14465). Any comment is appreciated. Thank you. -- Hyun Hwang