From owner-freebsd-questions@FreeBSD.ORG Thu Oct 25 19:47:49 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 4CF6016A420 for ; Thu, 25 Oct 2007 19:47:49 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.freebsd.org (Postfix) with ESMTP id DF1DA13C48D for ; Thu, 25 Oct 2007 19:47:48 +0000 (UTC) (envelope-from ross.penner@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so1007239pyb for ; Thu, 25 Oct 2007 12:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=vL6e/FVhc1qEStdTtC7Ix1lOGBbR02B1mE9ZANFROPo=; b=CowKfKri7XqvHbXkXSoETKcaEH+9FnmWlt+Qq8uUZF+qgi2Dr+78z6RWVhCmKminz4qPupbnib5llfWMPijdJCIgyxz7YEU8bdVuUiuZQdlbh1tUHNTi0jZWA54LObGyXsId/uKdhSBQYY16J31qeXDAagNSWk3u+omRl6ZB4GU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oxALQcKyRx+oDzifcm2LWdgGVb5Npc8M8QCcR5jvfFXSyBnCs7yWnEMupq6FndXd1R/A1JcVyx7kPCdnJ/JLdj5664jbJ4A8CHzpqquaeZDmn517SDvugOua7daCY/fgRNt1cbICQABGdWsxnQ9vV56/RuLNxxyYfdQMSpbg4LA= Received: by 10.35.116.12 with SMTP id t12mr2433931pym.1193341667893; Thu, 25 Oct 2007 12:47:47 -0700 (PDT) Received: by 10.35.64.14 with HTTP; Thu, 25 Oct 2007 12:47:47 -0700 (PDT) Message-ID: Date: Thu, 25 Oct 2007 13:47:47 -0600 From: "Ross Penner" To: "Ross Penner" , "Erik Cederstrand" , "User questions" , "Roland Smith" In-Reply-To: <20071024212716.GA86428@owl.midgard.homeip.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <471EF23F.7040506@cederstrand.dk> <20071024195646.GA67817@slackbox.xs4all.nl> <20071024203843.GA69008@slackbox.xs4all.nl> <20071024212716.GA86428@owl.midgard.homeip.net> Cc: 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: Thu, 25 Oct 2007 19:47:49 -0000 On 10/24/07, Erik Trulsson wrote: > 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? I'm not sure that there are no settings, but I'm pretty confident. The system is an VIA Epia EN12000E Mini-ITX so I'd be quite surprised if the BIOS didn't set up the processor correctly. regardless, I upgraded the bios to no avail. I'm going to the via support boards to see if somebody there can help. thank you everybody for your help and I'll post any results.