Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jan 2007 13:46:34 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: hw.model is empty?
Message-ID:  <DFFAA45F-7131-42CB-ADE3-BB0B9C2F96F7@mac.com>
In-Reply-To: <20070114210038.de993eb7.torfinn.ingolfsen@broadpark.no>
References:  <20060829110905.5443d020.torfinn.ingolfsen@broadpark.no> <44F4EA3F.8020706@freebsd.org> <20070114210038.de993eb7.torfinn.ingolfsen@broadpark.no>

index | next in thread | previous in thread | raw e-mail

On Jan 14, 2007, at 12:00 PM, Torfinn Ingolfsen wrote:

> On Tue, 29 Aug 2006 18:30:39 -0700
> Peter Grehan <grehan@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@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@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@xserve.pn.xcllnt.net:/nfs/freebsd/ 
7.x/src/sys/powerpc/compile/XSERVE  powerpc

FYI,

-- 
Marcel Moolenaar
xcllnt@mac.com




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFFAA45F-7131-42CB-ADE3-BB0B9C2F96F7>