From owner-freebsd-current@FreeBSD.ORG Sat Jan 29 06:58:45 2011 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 EAA96106566C for ; Sat, 29 Jan 2011 06:58:45 +0000 (UTC) (envelope-from jiashiun@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1B55C8FC0A for ; Sat, 29 Jan 2011 06:58:44 +0000 (UTC) Received: by bwz12 with SMTP id 12so4016914bwz.13 for ; Fri, 28 Jan 2011 22:58:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=98uZAUMm17xQiHegX6Ie1ehEtCkmpvoL/XNjep3+8Us=; b=K3ZW/mXar7HmNA0nmhiWeOy0ddruwFyGlRybAUXyT6QVWKZswYkGCkFgdrZh88TBiv 0LZMBPhPDbhXrAliPvT5sQnwFUKZeJhjrRDMBPgu3Gb4TTKkPO1bPF0bMFzeV5oQM9YO f4UF6/roDBx+FYL8WY7qO9GAJOqlW0ck4BGvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=Pbt2BtMiKPJkH29RgR0QN86Z6j4b3VkifnBycdatQ1sAJWsudRmW17GGhDsX/3oGCG jb+oAsfN5pPI3q9vfeulf2Ln4dqRlGV0UoiiC8fU3jS9n9AIFbftrw4EwTcIwo8++7MO 2HWNimw4g6yiLDK+wY6wZBYoWg2aux40kWJzU= Received: by 10.204.60.76 with SMTP id o12mr3271049bkh.3.1296282846445; Fri, 28 Jan 2011 22:34:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.129.79 with HTTP; Fri, 28 Jan 2011 22:33:45 -0800 (PST) From: Jia-Shiun Li Date: Sat, 29 Jan 2011 14:33:45 +0800 Message-ID: To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary=001636c5ab67974177049af65ee2 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: cpufreq not working as module on i386/amd64 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: Sat, 29 Jan 2011 06:58:46 -0000 --001636c5ab67974177049af65ee2 Content-Type: text/plain; charset=UTF-8 Hi all, I found that cpufreq driver failed to attach when compiled as module and loaded, but it works fine when compiled into kernel. I am wondering if this is due to some kind of limitation, or can be fixed? Tested on a Pentium E5200 desktop (i386) and a Pentium T4200 laptop (amd64). Both got the same result. dmesg of T4200 attached. kldload module: ----->8----->8----->8----- est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 6194c1a06004c1a device_attach: est0 attach returned 6 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 6194c1a06004c1a -----8<-----8<-----8<----- (repeated 6 times, kldload retries?) compiled into kernel: ----->8----->8----->8----- ... fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 uart1: failed to probe at port 0x2f8-0x2ff irq 3 on isa0 isa_probe_children: probing PnP devices coretemp0: on cpu0 coretemp0: Setting TjMax=104 p4tcc0: on cpu0 est0: on cpu0 coretemp1: on cpu1 coretemp1: Setting TjMax=104 p4tcc1: on cpu1 est1: on cpu1 Device configuration finished. procfs registered ... -----8<-----8<-----8<----- Jia-Shiun. --001636c5ab67974177049af65ee2--