From nobody@FreeBSD.org  Mon Sep 12 02:32:03 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6244016A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2005 02:32:03 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1820043D46
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2005 02:32:03 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j8C2W24Y093194
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 12 Sep 2005 02:32:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j8C2W2jA093193;
	Mon, 12 Sep 2005 02:32:02 GMT
	(envelope-from nobody)
Message-Id: <200509120232.j8C2W2jA093193@www.freebsd.org>
Date: Mon, 12 Sep 2005 02:32:02 GMT
From: Arthur Hartwig <arthur.hartwig@nokia.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Startup reports "failed to attach P_CNT"
X-Send-Pr-Version: www-2.3

>Number:         86003
>Category:       kern
>Synopsis:       Startup reports "failed to attach P_CNT"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 12 02:40:10 GMT 2005
>Closed-Date:    Fri Mar 18 09:11:47 UTC 2011
>Last-Modified:  Fri Mar 18 09:11:47 UTC 2011
>Originator:     Arthur Hartwig
>Release:        5.4 i386
>Organization:
Nokia
>Environment:
FreeBSD oz-net-11.nes.nokia.com 5.4-RELEASE FreeBSD 5.4-RELEASE #8: Thu Aug 18 16:46:30 EST 2005     hartwig@oz-net-11.iprg.nokia.com:/usr/obj/usr/src/sys/oz-net-11  i386

>Description:
The first part of the startup reports:

oz-net-11# dmesg | more
Copyright (c) 1992-2005 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 5.4-RELEASE #8: Thu Aug 18 16:46:30 EST 2005
    hartwig@oz-net-11.iprg.nokia.com:/usr/obj/usr/src/sys/oz-net-11
ACPI APIC Table: <GBT    AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 2.80GHz (2813.54-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf44  Stepping = 4
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Hyperthreading: 2 logical CPUs
real memory  = 1073676288 (1023 MB)
avail memory = 1041117184 (992 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <GBT AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
cpu1: <ACPI CPU> on acpi0
acpi_throttle1: <ACPI CPU Throttling> on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 16 at device 1.0 on pci0


The motherboard is a Gigabyte GA8I945P-G with a Pentium D 820 (dual core) CPU. This is not a laptop.

I suspect this might be related: "shutdown -h now" doesn't power off the system.
  
If required, I am happy to rebuild the kernel or collect debug output or otherwise assist in debugging this problem.
>How-To-Repeat:
Reboot
    
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Arthur Hartwig <Arthur.Hartwig@nokia.com>
To: bug-followup@FreeBSD.org, arthur.hartwig@nokia.com
Cc:  
Subject: Re: kern/86003: Startup reports "failed to attach P_CNT"
Date: Mon, 27 Feb 2006 16:24:41 +1000

 This still happens on FreeBSD 6.1-BETA1.
 
 I wonder if its because the ACPI data reports two CPUs each with a 
 throttle register at 0x410 and the second attach fails because the first 
 attach allocated the register at 0x410 with the results that the second 
 attach couldn't.
 
 
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Sun Feb 13 08:55:54 UTC 2011 
State-Changed-Why:  
Can you still reproduce this on a supported release? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86003 
State-Changed-From-To: feedback->closed 
State-Changed-By: jh 
State-Changed-When: Fri Mar 18 09:11:46 UTC 2011 
State-Changed-Why:  
Feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86003 
>Unformatted:
