From owner-freebsd-current@FreeBSD.ORG Mon Sep 22 23:33:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA90F1065671 for ; Mon, 22 Sep 2008 23:33:50 +0000 (UTC) (envelope-from annona2@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 58A798FC0A for ; Mon, 22 Sep 2008 23:33:50 +0000 (UTC) (envelope-from annona2@gmail.com) Received: by ti-out-0910.google.com with SMTP id d27so886774tid.3 for ; Mon, 22 Sep 2008 16:33:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:message-id:date:from :to:cc:subject:in-reply-to:references:user-agent:mime-version :content-type; bh=xFPsudEiQcujI0bQPIXi0cj7zAjNLmUGYsT+2D6Vutw=; b=Yc03i5ApOXZv/mliXAXsywVU0D60Ve5RZDlp+B3a86pVsYBfZ/xwzMvEPY0oiieL4Q L8Aybo99goaaQGybMyvch1cB9lcyayztxkudkMm7xytILI0LHr39ws1TDJN6LAp2CGbp 1mEzfxz0YWR3o9A9fjnl9j966sRRJm+Jqd6JM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:cc:subject:in-reply-to:references :user-agent:mime-version:content-type; b=VsY20sO0ktByUHvD11BjRiA4HRWepQ9ax5jf4dTPG1Rsy4wqHFI+0Rby/YZV5aUGTS QoE/Y/FXxa6/9SpsEGUvQMcbJQr4kVl9AQVg0f+pk4T/oEuIQiu/B8RFFt2a+72F2Uc5 NXa5GwuEADwj4aPvRf13xLKe/tbnP7XvKhBZI= Received: by 10.110.47.17 with SMTP id u17mr3123565tiu.55.1222126429101; Mon, 22 Sep 2008 16:33:49 -0700 (PDT) Received: from softbank219001162114.bbtec.net ( [219.1.162.114]) by mx.google.com with ESMTPS id 22sm2690478tim.16.2008.09.22.16.33.46 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Sep 2008 16:33:48 -0700 (PDT) Received: from softbank219001162114.bbtec.net (localhost [127.0.0.1]) by softbank219001162114.bbtec.net (8.14.3/8.14.3) with ESMTP id m8MNXiuS064364; Tue, 23 Sep 2008 08:33:44 +0900 (JST) (envelope-from annona2@gmail.com) Message-Id: <200809222333.m8MNXiuS064364@softbank219001162114.bbtec.net> Date: Tue, 23 Sep 2008 08:33:44 +0900 From: "G.Otsuji" To: "fluffles.net" In-Reply-To: <48D72F0E.7040501@fluffles.net> References: <200809070036.m870a3NC001532@softbank219001162114.bbtec.net> <48D72F0E.7040501@fluffles.net> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.2 (i386-portbld-freebsd7.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: "G. Otsuji" , FreeBSD Current Subject: Re: AMD Family 10h cpufreq driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2008 23:33:51 -0000 Hi Veronica, Thank you for your response. I doesn't know that the attached source was scrubbed in this mailing list. the url is http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080907/e98020fd/pstate.obj this is pstate.c and copy pstate.c to /sys/i386/cpufreq/ , and cd /sys/module/cpufreq/ , and patch , --- Makefile.orig 2008-09-19 21:48:58.000000000 +0900 +++ Makefile 2008-09-19 21:49:08.000000000 +0900 @@ -12,7 +12,7 @@ CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica SRCS+= acpi_if.h opt_acpi.h -SRCS+= est.c p4tcc.c powernow.c +SRCS+= est.c p4tcc.c powernow.c pstate.c .endif .if ${MACHINE} == "i386" and make ; make install ; and kldload cpufreq; be careful that ,before down clock, umonut as much as possible and sync sync. because I experienced that kernel panic or forced reset. If you get such case, mail to me agin. psatete.c is not powernow.c 's pstate. I'd like to rather renmae hwpstate.c . MSR is differnt ...and etc.... Have a nice day and hopefully enjoy! Cheers, G. Otsuji Veronica wrote: > > Hi G. Otsuji, > > This is great news, i've bought a Phenom X9350e to power my new high-end > NAS. I'm very keen on testing this driver module. > > Only question: how do i compile & install? If you could give me some > pointers that would be great. > > Regards, > Veronica