From owner-freebsd-amd64@FreeBSD.ORG Tue Sep 11 05:42:52 2012 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14379106564A for ; Tue, 11 Sep 2012 05:42:51 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 3B1B78FC17 for ; Tue, 11 Sep 2012 05:42:49 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id IAA18440 for ; Tue, 11 Sep 2012 08:42:48 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1TBJFI-0001wg-37 for freebsd-amd64@FreeBSD.org; Tue, 11 Sep 2012 08:42:48 +0300 Message-ID: <504ECF56.8010206@FreeBSD.org> Date: Tue, 11 Sep 2012 08:42:46 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120901 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-amd64@FreeBSD.org References: <20120911050428.GS58312@funkthat.com> In-Reply-To: <20120911050428.GS58312@funkthat.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 11 Sep 2012 11:41:39 +0000 Cc: Subject: Re: regular hwpstate0: set freq failed, err 6 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 05:42:52 -0000 Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=167018 on 11/09/2012 08:04 John-Mark Gurney said the following: > I just recently put a system together w/ a AMD Opteron 4228 HE. I've > enabled powerd, but I'm seeing regular messages: > hwpstate0: set freq failed, err 6 > > dmesg from the machine: > Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-RC1 #0: Tue Aug 14 04:25:06 UTC 2012 > root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > CPU: AMD Opteron(tm) Processor 4228 HE (2800.06-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 > Features=0x178bfbff > Features2=0x1e98220b > AMD Features=0x2e500800 > AMD Features2=0x1c9bfff,> > TSC: P-state invariant, performance statistics > real memory = 17179869184 (16384 MB) > avail memory = 16515342336 (15750 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: <111111 APIC1503> > FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs > FreeBSD/SMP: 1 package(s) x 6 core(s) > cpu0 (BSP): APIC ID: 16 > cpu1 (AP): APIC ID: 17 > cpu2 (AP): APIC ID: 18 > cpu3 (AP): APIC ID: 19 > cpu4 (AP): APIC ID: 20 > cpu5 (AP): APIC ID: 21 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of fee00000, 1000 (3) failed > acpi0: reservation of ffb80000, 80000 (3) failed > acpi0: reservation of fec10000, 20 (3) failed > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, dff00000 (3) failed > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > cpu4: on acpi0 > cpu5: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 4.0 on pci0 > pci1: on pcib1 > pci1: at device 0.0 (no driver attached) > pcib2: irq 17 at device 9.0 on pci0 > pci2: on pcib2 > em0: port 0xd800-0xd81f mem 0xfe9e0000-0xfe9fffff,0xfe9dc000-0xfe9dffff irq 17 at device 0.0 on pci2 > em0: Using MSIX interrupts with 3 vectors > em0: Ethernet address: 00:25:90:79:12:34 > pcib3: irq 18 at device 10.0 on pci0 > pci3: on pcib3 > em1: port 0xe800-0xe81f mem 0xfeae0000-0xfeafffff,0xfeadc000-0xfeadffff irq 18 at device 0.0 on pci3 > em1: Using MSIX interrupts with 3 vectors > em1: Ethernet address: 00:25:90:79:12:35 > ahci0: port 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem 0xfebfbc00-0xfebfbfff irq 22 at device 17.0 on pci0 > ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported > ahcich0: at channel 0 on ahci0 > ahcich1: at channel 1 on ahci0 > ahcich2: at channel 2 on ahci0 > ahcich3: at channel 3 on ahci0 > ahcich4: at channel 4 on ahci0 > ahcich5: at channel 5 on ahci0 > ohci0: mem 0xfebf9000-0xfebf9fff irq 16 at device 18.0 on pci0 > usbus0 on ohci0 > ohci1: mem 0xfebfa000-0xfebfafff irq 16 at device 18.1 on pci0 > usbus1 on ohci1 > ehci0: mem 0xfebfb800-0xfebfb8ff irq 17 at device 18.2 on pci0 > usbus2: EHCI version 1.0 > usbus2 on ehci0 > ohci2: mem 0xfebf7000-0xfebf7fff irq 18 at device 19.0 on pci0 > usbus3 on ohci2 > ohci3: mem 0xfebf8000-0xfebf8fff irq 18 at device 19.1 on pci0 > usbus4 on ohci3 > ehci1: mem 0xfebfb400-0xfebfb4ff irq 19 at device 19.2 on pci0 > usbus5: EHCI version 1.0 > usbus5 on ehci1 > pci0: at device 20.0 (no driver attached) > atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 > ata1: at channel 1 on atapci0 > isab0: at device 20.3 on pci0 > isa0: on isab0 > pcib4: at device 20.4 on pci0 > pci4: on pcib4 > vgapci0: mem 0xfc000000-0xfcffffff,0xfdffc000-0xfdffffff,0xfe000000-0xfe7fffff irq 20 at device 4.0 on pci4 > ohci4: mem 0xfebf6000-0xfebf6fff irq 18 at device 20.5 on pci0 > usbus6 on ohci4 > acpi_button0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 > orm0: at iomem 0xc0000-0xc7fff,0xcd800-0xce7ff on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > ppc0: cannot reserve I/O port range > ctl: CAM Target Layer loaded > acpi_throttle0: on cpu0 > hwpstate0: on cpu0 > Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 480Mbps High Speed USB v2.0 > usbus3: 12Mbps Full Speed USB v1.0 > usbus4: 12Mbps Full Speed USB v1.0 > usbus5: 480Mbps High Speed USB v2.0 > usbus6: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > ugen4.1: at usbus4 > uhub4: on usbus4 > ugen5.1: at usbus5 > uhub5: on usbus5 > ugen6.1: at usbus6 > uhub6: on usbus6 > uhub6: 2 ports with 2 removable, self powered > uhub0: 3 ports with 3 removable, self powered > uhub1: 3 ports with 3 removable, self powered > uhub3: 3 ports with 3 removable, self powered > uhub4: 3 ports with 3 removable, self powered > uhub2: 6 ports with 6 removable, self powered > uhub5: 6 ports with 6 removable, self powered > ada0 at ata1 bus 0 scbus6 target 0 lun 0 > ada0: CFA-7 device > ada0: 66.700MB/s transfers (UDMA4, PIO 512bytes) > ada0: 7647MB (15662304 512 byte sectors: 16H 63S/T 15538C) > ada0: Previously was known as ad2 > SMP: AP CPU #1 Launched! > SMP: AP CPU #3 Launched! > SMP: AP CPU #2 Launched! > SMP: AP CPU #4 Launched! > SMP: AP CPU #5 Launched! > Trying to mount root from ufs:/dev/ada0p2 [rw]... > > sysctl dev.cpu: > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.P001 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: 175 > dev.cpu.0.freq_levels: 2800/8922 2500/7188 2300/6500 2000/5486 1750/4800 1500/4114 1400/3690 1225/3228 1050/2767 875/2306 700/1845 525/1383 350/922 175/461 > dev.cpu.0.cx_supported: C1/0 C2/100 > dev.cpu.0.cx_lowest: C1 > dev.cpu.0.cx_usage: 100.00% 0.00% last 14304us > dev.cpu.1.%desc: ACPI CPU > dev.cpu.1.%driver: cpu > dev.cpu.1.%location: handle=\_PR_.P002 > dev.cpu.1.%pnpinfo: _HID=none _UID=0 > dev.cpu.1.%parent: acpi0 > dev.cpu.1.cx_supported: C1/0 C2/100 > dev.cpu.1.cx_lowest: C1 > dev.cpu.1.cx_usage: 100.00% 0.00% last 28218us > dev.cpu.2.%desc: ACPI CPU > dev.cpu.2.%driver: cpu > dev.cpu.2.%location: handle=\_PR_.P003 > dev.cpu.2.%pnpinfo: _HID=none _UID=0 > dev.cpu.2.%parent: acpi0 > dev.cpu.2.cx_supported: C1/0 C2/100 > dev.cpu.2.cx_lowest: C1 > dev.cpu.2.cx_usage: 100.00% 0.00% last 125878us > dev.cpu.3.%desc: ACPI CPU > dev.cpu.3.%driver: cpu > dev.cpu.3.%location: handle=\_PR_.P004 > dev.cpu.3.%pnpinfo: _HID=none _UID=0 > dev.cpu.3.%parent: acpi0 > dev.cpu.3.cx_supported: C1/0 C2/100 > dev.cpu.3.cx_lowest: C1 > dev.cpu.3.cx_usage: 100.00% 0.00% last 94769us > dev.cpu.4.%desc: ACPI CPU > dev.cpu.4.%driver: cpu > dev.cpu.4.%location: handle=\_PR_.P005 > dev.cpu.4.%pnpinfo: _HID=none _UID=0 > dev.cpu.4.%parent: acpi0 > dev.cpu.4.cx_supported: C1/0 C2/100 > dev.cpu.4.cx_lowest: C1 > dev.cpu.4.cx_usage: 100.00% 0.00% last 46253us > dev.cpu.5.%desc: ACPI CPU > dev.cpu.5.%driver: cpu > dev.cpu.5.%location: handle=\_PR_.P006 > dev.cpu.5.%pnpinfo: _HID=none _UID=0 > dev.cpu.5.%parent: acpi0 > dev.cpu.5.cx_supported: C1/0 C2/100 > dev.cpu.5.cx_lowest: C1 > dev.cpu.5.cx_usage: 100.00% 0.00% last 19940us > > Anything I can do to help debug the message? or do I just need to > ignore it? > > Thanks. > -- Andriy Gapon