From owner-freebsd-questions@FreeBSD.ORG Wed Oct 24 21:27:38 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4FC416A468 for ; Wed, 24 Oct 2007 21:27:38 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 47CEF13C494 for ; Wed, 24 Oct 2007 21:27:38 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:53815 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IknlB-0001nr-8U for freebsd-questions@freebsd.org; Wed, 24 Oct 2007 23:27:30 +0200 Received: (qmail 40792 invoked from network); 24 Oct 2007 23:27:16 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 24 Oct 2007 23:27:16 +0200 Received: (qmail 86531 invoked by uid 1001); 24 Oct 2007 23:27:16 +0200 Date: Wed, 24 Oct 2007 23:27:16 +0200 From: Erik Trulsson To: Ross Penner Message-ID: <20071024212716.GA86428@owl.midgard.homeip.net> Mail-Followup-To: Ross Penner , Erik Cederstrand , User questions , Roland Smith References: <471EF23F.7040506@cederstrand.dk> <20071024195646.GA67817@slackbox.xs4all.nl> <20071024203843.GA69008@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1IknlB-0001nr-8U. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1IknlB-0001nr-8U 44890c78788baf70d02c210f93d8f41a Cc: Roland Smith , User questions , Erik Cederstrand Subject: Re: Via C7 Processor (CPU) - cpufreq and make.conf support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 21:27:38 -0000 On Wed, Oct 24, 2007 at 03:02:21PM -0600, Ross Penner wrote: > On 10/24/07, Roland Smith wrote: > > On Wed, Oct 24, 2007 at 02:25:11PM -0600, Ross Penner wrote: > > > > What does 'sysctl dev.cpu.0.freq_levels' report? It should list the > > > > available CPU frequencies. > > > > > > > I get: > > > dev.cpu.0.freq_levels: 397/-1 198/-1 > > > > > > Is this something I should be reporting to stable? It's not explicitly > > > mentioned in the hardware notes so I'm not sure if my processor is > > > actually supported in 6.2. Is it possible that I've been shipped the > > > wrong processor? If so, how would I be able to tell short of ripping > > > off the giant heatsink and looking? > > > > Have a look at the dmesg output with 'dmesg |head -n 24'. There should > > be some info about the CPU in there. Post those lines here. > > Lines from dmesg: > > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: VIA C7 Esther+RNG+AES+AES-CTR+SHA1+SHA256+RSA (399.40-MHz 686-class CPU) > Origin = "CentaurHauls" Id = 0x6a9 Stepping = 9 > Features=0xa7c9bbff > Features2=0x181 > > It clearly indicates that it's a 400MHz processor, but the timecounter > makes me think it' the 1.2 GHz it's supposed to be. The 'i8254' timecounter is completely independent of the CPU, and the 'Hz' value associated with it has nothing to do with the clock frequency of the CPU. > > > And have a look at the bios. It could have some settings to regulate the > > CPU speed. > > The BIOS didn't seem to have anything to adjust the CPU speed, but > while booting I did notice that it declared itself as a via C7 400MHz > processor. It sounds like the CPU actually is running at 400MHz then. Either that or both the BIOS and FreeBSD misidentifes the CPU speed. It could be that the BIOS do not set up the processor correctly. Are you sure there are no BIOS settings related to the CPU speed? Have you tried updating the BIOS? -- Erik Trulsson ertr1013@student.uu.se