From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 19 13:33:44 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79E8D1065670 for ; Thu, 19 Jul 2012 13:33:44 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from argol.doit.wisc.edu (argol.doit.wisc.edu [144.92.197.212]) by mx1.freebsd.org (Postfix) with ESMTP id 49FCF8FC12 for ; Thu, 19 Jul 2012 13:33:44 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0M7E0040ITO26A00@smtpauth3.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Thu, 19 Jul 2012 08:33:38 -0500 (CDT) Received: from comporellon.tachypleus.net ([unknown] [76.210.63.3]) by smtpauth3.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0M7E00I2ETNU0T20@smtpauth3.wiscmail.wisc.edu>; Thu, 19 Jul 2012 08:33:31 -0500 (CDT) Date: Thu, 19 Jul 2012 08:33:30 -0500 From: Nathan Whitehorn In-reply-to: <20120719135536.a2bc5ff0258ffe7cf79e6036@getmail.no> To: Torfinn Ingolfsen Message-id: <50080CAA.5030705@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.63.3 X-Spam-PmxInfo: Server=avs-16, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.7.19.132416, SenderIP=76.210.63.3 References: <20120719135536.a2bc5ff0258ffe7cf79e6036@getmail.no> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120617 Thunderbird/13.0 Cc: freebsd-ppc@freebsd.org Subject: Re: iBook G4 - wrong CPU speed? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2012 13:33:44 -0000 On 07/19/12 06:55, Torfinn Ingolfsen wrote: > I just upgraded my iBook G4[1] to FreeBSD 9.1-prerelease. > > Before the upgrade, dmesg showed this for the CPU: > cpu0: Motorola PowerPC 7447A revision 1.5, 713.92 MHz > cpu0: Features 9c000000 > cpu0: HID0 8450c0bc > > The upgrade took a long time, so I could believe it was running at that speed. > > And after the upgrade, it still shows this: > root@kg-ibook# uname -a > FreeBSD kg-ibook.kg4.no 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Thu Jul 19 11:26:56 CEST 2012 > root@kg-ibook.kg4.no:/usr/obj/usr/src/sys/GENERIC powerpc > root@kg-ibook# dmesg | grep cpu > cpu0: Motorola PowerPC 7447A revision 1.5, 713.92 MHz > cpu0: Features 9c000000 > cpu0: HID0 8450c0bc > cpulist0: on nexus0 > cpu0: on cpulist0 > dfs0: on cpu0 > > But the CPU in this thing is supposedly running at 1.42 GHz, so why is it showing the wrong speed? > Details, dmesg output and more at the FreeBSD page for this machine[2]. > > References: > 1) http://sites.google.com/site/tingox/ibook_g4 > 2) http://sites.google.com/site/tingox/ibook_g4_freebsd iBooks boot with the CPU at half speed. You can turn it back up automatically (and control it based on load for power savings) by running powerd or alternately set it by hand using the sysctl dev.cpu.0.freq. -Nathan