Subject: kern/36589: fan speed no longer reported after envsys2 merge
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <dieter.NetBSD@pandora.be>
List: netbsd-bugs
Date: 07/01/2007 20:15:01
>Number:         36589
>Category:       kern
>Synopsis:       fan speed no longer reported after envsys2 merge
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 01 20:15:00 +0000 2007
>Originator:     dieter roelants
>Release:        NetBSD 4.99.22
>Organization:
>Environment:
System: NetBSD simult.amelgem.be 4.99.22 NetBSD 4.99.22 (SIMULT) #22: Sun Jul 1 13:34:03 CEST 2007 dieter@simult.amelgem.be:/build/obj.i386.current/sys/arch/i386/compile/SIMULT i386
(source updated right after http://mail-index.netbsd.org/source-changes/2007/07/01/0015.html)
Architecture: i386
Machine: i386

acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,12000527>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A08 [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer0 at acpi0 (PNP0100): AT Timer
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi0 at acpi0 (PNP0800)
npx0 at acpi0 (PNP0C04)
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc1 at acpi0 (PNP0F03): aux port
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
com0 at acpi0 (PNP0501-1)
aiboost0 at acpi0 (ATK0110-16843024)
aiboost0: ASUS AI Boost Hardware monitor
ACPI Error (dswstate-0329): No result objects! State=0xc2c44400 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.SBRG.ASOC.RFAN] (Node 0xc2be6fc0), AE_AML_NO_RETURN_VALUE
ACPI Error (dswstate-0329): No result objects! State=0xc2c44c00 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.SBRG.ASOC.RFAN] (Node 0xc2be6fc0), AE_AML_NO_RETURN_VALUE
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
apm0 at acpi0: Power Management spec V1.2
ACPI Error (dswstate-0329): No result objects! State=0xc2c44800 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.SBRG.ASOC.RFAN] (Node 0xc2be6fc0), AE_AML_NO_RETURN_VALUE
ACPI Error (dswstate-0329): No result objects! State=0xc2c44c00 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.SBRG.ASOC.RFAN] (Node 0xc2be6fc0), AE_AML_NO_RETURN_VALUE

>Description:
	Where envstat used to report sane values for all my systems
	fans:

  CPU Temperature:     55.500 degC
   MB Temperature:     31.000 degC
    Vcore Voltage:      1.240 V
     +3.3 Voltage:      3.296 V
       +5 Voltage:      5.120 V
      +12 Voltage:     12.460 V
    CPU FAN Speed:       1022 RPM
CHASSIS FAN Speed:       1713 RPM
  POWER FAN Speed:       1117 RPM

	it does no longer display the last 2 fan speeds correctly
	but instead prints 2^32 - 1. Every time envstat runs, it
	causes the kernel to print:

ACPI Error (dswstate-0329): No result objects! State=0xc2fbd000 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.SBRG.ASOC.RFAN] (Node 0xc2be6fc0), AE_AML_NO_RETURN_VALUE
ACPI Error (dswstate-0329): No result objects! State=0xc2fbd800 [20060217]
ACPI Exception (dsutils-0767): AE_AML_NO_RETURN_VALUE, Missing or null operand [20060217]
ACPI Exception (dsutils-0867): AE_AML_NO_RETURN_VALUE, While creating Arg 1 [20060217]
ACPI Error (psparse-0626): Method parse/execution failed [\_SB_.PCI0.SBRG.ASOC.RFAN] (Node 0xc2be6fc0), AE_AML_NO_RETURN_VALUE

	Note in the above fragments of dmesg that approximately
	the same messages are printed when attaching aiboost and
	apm.

>How-To-Repeat:
	Run envstat on a system with similar hardware as mine.
>Fix:
	I have no idea. Let me now if I should provide more input
	like dumps of acpi tables or such.