From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 19 18:58:45 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55C10106564A for ; Thu, 19 Jul 2012 18:58:45 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from smtp.getmail.no (smtp.getmail.no [84.208.15.66]) by mx1.freebsd.org (Postfix) with ESMTP id 049BF8FC0A for ; Thu, 19 Jul 2012 18:58:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from get-mta-scan04.get.basefarm.net ([10.5.16.4]) by get-mta-out03.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0M7F00EYT8PVBX80@get-mta-out03.get.basefarm.net> for freebsd-ppc@freebsd.org; Thu, 19 Jul 2012 20:58:43 +0200 (MEST) Received: from get-mta-scan04.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id E9AD01F02B69_085958B for ; Thu, 19 Jul 2012 19:00:40 +0000 (GMT) Received: from kg-v2.kg4.no (cm-84.215.134.159.getinternet.no [84.215.134.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by get-mta-scan04.get.basefarm.net (Sophos Email Appliance) with ESMTPSA id CA87A1F02B56_085958F for ; Thu, 19 Jul 2012 19:00:40 +0000 (GMT) Date: Thu, 19 Jul 2012 20:58:43 +0200 From: Torfinn Ingolfsen To: freebsd-ppc@freebsd.org Message-id: <20120719205843.73076551d5c4b55d87edbe98@getmail.no> In-reply-to: <20120719155612.dec83e5ad75d9c5fc6c6b166@getmail.no> References: <20120719135536.a2bc5ff0258ffe7cf79e6036@getmail.no> <50080CAA.5030705@freebsd.org> <20120719155612.dec83e5ad75d9c5fc6c6b166@getmail.no> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) 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 18:58:45 -0000 On Thu, 19 Jul 2012 15:56:12 +0200 Torfinn Ingolfsen wrote: > Aha! > root@kg-ibook# sysctl dev.cpu.0.freq > dev.cpu.0.freq: 710 > > root@kg-ibook# sysctl dev.cpu.0.freq=1420 > dev.cpu.0.freq: 710 -> 1420 > root@kg-ibook# sysctl dev.cpu.0.freq > dev.cpu.0.freq: 1420 Wrapping up: without any "tinkering", this is what I get: root@kg-ibook# sysctl dev.cpu.0.freq_levels dev.cpu.0.freq_levels: 1420/-1 710/-1 root@kg-ibook# sysctl dev.cpu.0.freq dev.cpu.0.freq: 710 Simply adding dev.cpu.0.freq=1420 to /etc/sysctl.conf, and the machine comes up with CPU at the full speed: root@kg-ibook# sysctl dev.cpu.0.freq dev.cpu.0.freq: 1420 So that's it. -- Torfinn Ingolfsen