From owner-freebsd-stable@FreeBSD.ORG Wed Mar 1 00:18:33 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37C5E16A422; Wed, 1 Mar 2006 00:18:33 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [200.193.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34CC143D49; Wed, 1 Mar 2006 00:18:32 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from [192.168.0.127] (unknown [201.64.84.119]) (Authenticated sender: marcus@corp.grupos.com.br) by corp.grupos.com.br (Postfix) with ESMTP id EC1115500; Tue, 28 Feb 2006 21:18:29 -0300 (BRT) Message-ID: <4404E852.80908@FreeBSD.org> Date: Tue, 28 Feb 2006 21:18:26 -0300 From: Marcus Alves Grando Organization: Grupos Internet S/A User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: Nate Lawson , FreeBSD Stable Content-Type: multipart/mixed; boundary="------------080308030401040307080502" Cc: Subject: sysctl: dev.cpu.0.freq: Device busy (cpufreq p4tcc / RELENG_6) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Mar 2006 00:18:33 -0000 This is a multi-part message in MIME format. --------------080308030401040307080502 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have problems in cpufreq in RELENG_6 (today). I try to set another frequency in my laptop and get this error: # sysctl dev.cpu.0.freq=250 dev.cpu.0.freq: 2000 sysctl: dev.cpu.0.freq: Device busy Some information below... # sysctl -a | grep freq ... debug.cpufreq.lowest: 0 debug.cpufreq.verbose: 8 machdep.acpi_timer_freq: 3579545 machdep.tsc_freq: 1995011972 machdep.i8254_freq: 1193182 dev.cpu.0.freq: 2000 dev.cpu.0.freq_levels: 2000/22000 1750/19250 1500/16500 1250/13750 1000/11000 750/8250 500/5500 250/2750 dev.acpi_perf.0.freq_settings: 2000/22000 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 dev.p4tcc.0.freq_settings: 10000/-1 8750/-1 7500/-1 6250/-1 5000/-1 3750/-1 2500/-1 1250/-1 I set debug.cpufreq.verbose=8 and get some messages, dmesg attached. pciconf are attached too. Another problem are in kldunload and cpufreq. Does not work. Message below. # kldstat Id Refs Address Size Name 1 2 0xc0400000 4b9a28 kernel 2 1 0xc2c49000 8000 cpufreq.ko # kldunload -v cpufreq Unloading cpufreq.ko, id=2 kldunload: can't unload file: Device not configured Thanks -- Marcus Alves Grando marcus(at)corp.grupos.com.br | Grupos Internet S/A mnag(at)FreeBSD.org | FreeBSD.org --------------080308030401040307080502 Content-Type: text/plain; name="dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dmesg.txt" Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-PRERELEASE #15: Tue Feb 28 20:55:50 BRT 2006 root@notemg.grupos.com.br:/usr/obj/usr/src/sys/NOTEMG Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Mobile Intel(R) Celeron(R) CPU 2.00GHz (1995.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebf9ff Features2=0x4400> real memory = 250871808 (239 MB) avail memory = 235220992 (224 MB) kbd1 at kbdmux0 netsmb_dev: loaded acpi0: on motherboard acpi0: Power Button (fixed) can't fetch resources for \\_SB_.PCI0.FNC0.PRT_ - AE_BAD_DATA Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xd808-0xd80b on acpi0 cpu0: on acpi0 acpi_perf0: on cpu0 p4tcc0: on cpu0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) agp0: port 0xeff8-0xefff mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 10 at device 2.0 on pci0 agp0: detected 16252k stolen memory agp0: aperture size is 128M pci0: at device 2.1 (no driver attached) uhci0: port 0xcfe0-0xcfff irq 10 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ehci0: mem 0xcffffc00-0xcfffffff irq 11 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb1: EHCI version 1.0 usb1: wrong number of companions (3 != 1) usb1: companion controller, 2 ports each: usb0 usb1: on ehci0 usb1: USB revision 2.0 uhub1: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 6 ports with 6 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 fxp0: port 0xcf40-0xcf7f mem 0xcfeff000-0xcfefffff irq 11 at device 8.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:08:0d:3f:79:62 cbb0: at device 11.0 on pci1 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xbfa0-0xbfaf irq 11 at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pcm0: port 0xbe00-0xbeff,0xbdc0-0xbdff mem 0xcfdffe00-0xcfdfffff,0xcfdffd00-0xcfdffdff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_lid0: on acpi0 battery0: on acpi0 acpi_button0: on acpi0 acpi_acad0: on acpi0 acpi_toshiba0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model GlidePoint, device ID 0 ppc0: parallel port not found. ppc0: parallel port not found. npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xe0000-0xeffff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1995011972 Hz quality 800 Timecounters tick every 1.000 msec ad0: 28615MB at ata0-master UDMA100 acd0: CDRW at ata1-master UDMA33 Trying to mount root from ufs:/dev/ad0s1a cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cpufreq: get returning known freq 2000 cpufreq: get returning known freq 2000 cpufreq: get returning known freq 2000 cpufreq: adding abs setting 2000 at head cpufreq: adding 8 relative settings cpufreq: expand set added rel setting 100% to 2000 level cpufreq: dup set considering derived setting 1750 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 1750 after 2000 cpufreq: expand set added rel setting 87% to 1750 level cpufreq: dup set considering derived setting 1500 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 1500 after 1750 cpufreq: expand set added rel setting 75% to 1500 level cpufreq: dup set considering derived setting 1250 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 1250 after 1500 cpufreq: expand set added rel setting 62% to 1250 level cpufreq: dup set considering derived setting 1000 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 1000 after 1250 cpufreq: expand set added rel setting 50% to 1000 level cpufreq: dup set considering derived setting 750 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 750 after 1000 cpufreq: expand set added rel setting 37% to 750 level cpufreq: dup set considering derived setting 500 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 500 after 750 cpufreq: expand set added rel setting 25% to 500 level cpufreq: dup set considering derived setting 250 cpufreq: removed last relative driver: p4tcc0 cpufreq: dup done, inserting new level 250 after 500 cpufreq: expand set added rel setting 12% to 250 level --------------080308030401040307080502 Content-Type: text/plain; name="pciconf.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="pciconf.txt" hostb0@pci0:0:0: class=0x060000 card=0x00011179 chip=0x35808086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Host-Hub Interface Bridge' class = bridge subclass = HOST-PCI none0@pci0:0:1: class=0x088000 card=0x00011179 chip=0x35848086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara System Memory Controller' class = base peripheral none1@pci0:0:3: class=0x088000 card=0x00011179 chip=0x35858086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Configuration Process' class = base peripheral agp0@pci0:2:0: class=0x030000 card=0x00021179 chip=0x35828086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display subclass = VGA none2@pci0:2:1: class=0x038000 card=0x00021179 chip=0x35828086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display uhci0@pci0:29:0: class=0x0c0300 card=0x00011179 chip=0x24c28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:29:7: class=0x0c0320 card=0x00011179 chip=0x24cd8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x83 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x24cc8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:31:1: class=0x01018a card=0x00011179 chip=0x24ca8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA pcm0@pci0:31:5: class=0x040100 card=0x02411179 chip=0x24c58086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller' class = multimedia subclass = audio none3@pci0:31:6: class=0x070300 card=0x00011179 chip=0x24c68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller' class = simple comms subclass = generic modem fxp0@pci1:8:0: class=0x020000 card=0x00011179 chip=0x103d8086 rev=0x83 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB (ICH4) PRO/100 VE Network Connection' class = network subclass = ethernet cbb0@pci1:11:0: class=0x060700 card=0x00011179 chip=0x06171179 rev=0x33 hdr=0x02 vendor = 'Toshiba America Information Systems' device = 'ToPIC100 PCI to CardBus Bridge with ZV support' class = bridge subclass = PCI-CardBus --------------080308030401040307080502--