hw.model is empty?
Marcel Moolenaar
xcllnt at mac.com
Sun Jan 14 21:47:53 UTC 2007
On Jan 14, 2007, at 12:00 PM, Torfinn Ingolfsen wrote:
> On Tue, 29 Aug 2006 18:30:39 -0700
> Peter Grehan <grehan at freebsd.org> wrote:
>
>>> The bsdstats script uses 'sysctl -n hw.model' to get cpu
>>> information, but on my machine this reports an empty string.
>>
>> Definitely a bug. The info is there - it can be seen in the dmesg -
>> just needs to be propagated to the sysctl.
>
> For completeness, this bug (sysctl hw.model is empty) is still present
> on:
> tingo at kg-g4$ uname -a
> FreeBSD kg-g4.kg4.no 7.0-CURRENT-200701 FreeBSD 7.0-CURRENT-200701
> #0: Sun Jan 7 15:57:16 UTC 2007 root at xserve.pn.xcllnt.net:/usr/
> obj/usr/src/sys/GENERIC powerpc
I just fixed this:
xserve% sysctl hw.model
hw.model: Motorola PowerPC 7455
xserve% uname -a
FreeBSD xserve.pn.xcllnt.net 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sun
Jan 14 13:40:10 PST 2007 marcel at xserve.pn.xcllnt.net:/nfs/freebsd/
7.x/src/sys/powerpc/compile/XSERVE powerpc
FYI,
--
Marcel Moolenaar
xcllnt at mac.com
More information about the freebsd-ppc
mailing list