Subject: Re: acpi overheating
To: None <current-users@netbsd.org>
From: Pierre Pronchery <khorben@defora.org>
List: current-users
Date: 12/12/2007 20:38:22
This is a multi-part message in MIME format.
--------------070605040108010807060900
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Patrick Welche wrote:
> It seems that new acpi/powermanagement is not reading temperature
> properly anymore.

I think that I have the same problem, and iirc I noticed it first when I
switched from 4.99.37 to 4.99.39 (both with jmcneill-pm). My laptop is a
Lenovo T60 Core 2 Duo running the amd64 port. I am currently running an
MP kernel (without ever suspending).

I attach here the output of "dmesg" and "envstat -r". It also contains
weird stuff with pms0 and wm0 which I did not notice before.

HTH,
-- 
khorben

--------------070605040108010807060900
Content-Type: text/plain;
 name="dmesg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.txt"

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.39 (GENERIC.MP) #0: Mon Dec  3 20:08:56 CET 2007
	khorben@syn.defora.rom:/usr/obj/sys/arch/amd64/compile/GENERIC.MP
total memory = 2046 MB
avail memory = 1965 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.4 @ 0xe0010 (68 entries)
LENOVO 2007EQ3 (ThinkPad T60)
mainbus0 (root)
ACPI Warning (tbfadt-0505): Optional field "Gpe1Block" has zero address or length: 000000000000102C/0 [20070320]
cpu0 at mainbus0 apid 0: (boot processor)
cpu0: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz, 1995.15 MHz
cpu0: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu0: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR,PDCM>
cpu0: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu0: L2 cache 4 MB 64B/line 16-way
cpu0: Enhanced SpeedStep (1324 mV) 2000 MHz
cpu0: unknown Enhanced SpeedStep CPU.
cpu0: Enhanced SpeedStep frequencies available (MHz): 2000 1833 1667 1500 1333 1167 1000
cpu0: calibrating local timer
cpu0: apic clock running at 166 MHz
cpu0: 64 page colors
cpu1 at mainbus0 apid 1: (application processor)
cpu1: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz, 1995.18 MHz
cpu1: features: bffbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: bffbfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,B20,DS,ACPI,MMX>
cpu1: features: bffbfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu1: features2: e3bd<SSE3,MONITOR,DS-CPL,VMX,EST,TM2,xTPR,PDCM>
cpu1: features3: bffbfbff<SYSCALL/SYSRET,XD,EM64T>
cpu1: L2 cache 4 MB 64B/line 16-way
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20070320
acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
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
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
LNKA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKE (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKF (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKG (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKH (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
MEM (PNP0C01) [System Board] at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
PCI0 (PNP0A08) [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
SIO (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not configured
PIC (PNP0000) [AT Interrupt Controller] at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): AT Timer
attimer1: io 0x40-0x43 irq 0
hpet0 at acpi0 (HPET, PNP0103)
hpet0: mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
DMAC (PNP0200) [AT DMA Controller] at acpi0 not configured
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
FPU (PNP0C04) [Math Coprocessor] at acpi0 not configured
RTC (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pckbc1 at acpi0 (KBD, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbc2 at acpi0 (MOU, IBM0057): aux port
pckbc2: irq 12
com2 at acpi0 (FIR, IBM0071)
com2: io 0x2f8-0x2ff irq 3 drq 3
com2: ns16550a, working fifo
TPM (ATM1200) at acpi0 not configured
acpiec0 at acpi0 (EC, PNP0C09-0): ACPI Embedded Controller (disabled)
PUBS (ACPI Object Type 'Power' [0x0b]) at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)
acpiacad0 at acpi0 (AC, ACPI0003-0): ACPI AC Adapter
HKEY (IBM0068) at acpi0 not configured
acpitz0 at acpi0 (THM0): critical 127.0C
, passive cooling
acpitz1 at acpi0 (THM1): critical 99.0C passive 36.0C
, passive cooling
apm0 at acpi0: Power Management spec V1.2
pcppi1: attached to attimer1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pms0: Synaptics touchpad version 6.2
pms0: Palm detect, Multi-finger
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82945GM/PM/GMS Host Bridge (rev. 0x03)
agp0 at pchb0: can't find internal VGA device config space
ppb0 at pci0 dev 1 function 0: Intel product 0x27a1 (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: ATI Technologies product 0x7145 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
direct rendering for vga0 unsupported
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 17 (irq 11)
azalia0: host: Intel 82801GB/GR High Definition Audio Controller (rev. 2)
azalia0: host: High Definition Audio rev. 1.0
ppb1 at pci0 dev 28 function 0: Intel 82801GB/GR PCI Express Port #1 (rev. 0x02)
ppb1: disabling notification events
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci2 dev 0 function 0: Intel i82573L Gigabit Ethernet, rev. 0
wm0: interrupting at ioapic0 pin 16 (irq 11)
wm0: PCI-Express bus
wm0: 256 word (8 address bits) SPI EEPROM
wm0: Ethernet address 00:1a:6b:3c:fb:00
makphy0 at wm0 phy 1: Marvell 88E1111 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 28 function 1: Intel 82801GB/GR PCI Express Port #2 (rev. 0x02)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
wpi0 at pci3 dev 0 function 0: Intel PRO/Wireless LAN 3945ABG Mini-PCI Adapter (rev. 0x02)
wpi0: interrupting at ioapic0 pin 17 (irq 11)
wpi0: MoW2, address 00:1b:77:03:34:d3
wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ppb3 at pci0 dev 28 function 2: Intel 82801GB/GR PCI Express Port #3 (rev. 0x02)
ppb3: disabling notification events
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 3: Intel 82801GB/GR PCI Express Port #4 (rev. 0x02)
pci5 at ppb4 bus 12
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
uhci0 at pci0 dev 29 function 0: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16 (irq 11)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
uhci1: interrupting at ioapic0 pin 17 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18 (irq 11)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801GB/GR USB UHCI Controller (rev. 0x02)
uhci3: interrupting at ioapic0 pin 19 (irq 11)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801GB/GR USB EHCI Controller (rev. 0x02)
ehci0: interrupting at ioapic0 pin 19 (irq 11)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb5 at pci0 dev 30 function 0: Intel 82801BAM Hub-PCI Bridge (rev. 0xe2)
pci6 at ppb5 bus 21
pci6: i/o space enabled
cbb0 at pci6 dev 0 function 0: Texas Instruments PCI1510 PCI-CardBus Bridge (rev. 0x00)
cbb0: can't map socket base address 0xe4300000
cbb0: can't map socket base address 0xe4300000: io mode
cbb0: interrupting at ioapic0 pin 16 (irq 11)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22
pcmcia0 at cardslot0
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801GBM LPC Interface Bridge (rev. 0x02)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801GB/GR IDE Controller (ICH7) (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
ahcisata0 at pci0 dev 31 function 2: Intel 82801GBM AHCI SATA Controller
ahcisata0: interrupting at ioapic0 pin 16 (irq 11)
ahcisata0: AHCI revision 1.1, 4 ports, 32 command slots, features 0xc710e000
atabus1 at ahcisata0 channel 0
ichsmb0 at pci0 dev 31 function 3: Intel 82801GB/GR SMBus Controller (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 23 (irq 11)
iic0 at ichsmb0: I2C bus
isa0 at pcib0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: Analog Devices AD1981HD (rev. 2.0)
azalia0: codec[0]: High Definition Audio rev. 1.0
azalia0: codec[1]: 0x14f1/0x2bfa (rev. 0.0)
azalia0: codec[1]: High Definition Audio rev. 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, independent
Kernelized RAIDframe activated
pad0: Pseudo Audio Device
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GSA-4083N, 001175FE505C, 1.08> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
ahcisata0 port 0: device present, speed: 1.5Gb/s
wd0 at atabus1 drive 0: <HTS721010G9SA00>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 95396 MB, 193821 cyl, 16 head, 63 sec, 512 bytes/sect x 195371568 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
ugen0 at uhub3 port 2
ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Accounting started
acpibat0: battery info: SANYO, LION, 42T4504   695
pms0: pms_input: unusual delay (0.059999 s), scheduling reset
umass0 at uhub4 port 2 configuration 1 interface 0
umass0: Hama Card Reader Hama Card Reader, rev 2.00/1.9c, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 4 luns per target
sd0 at scsibus0 target 0 lun 0: <Hama, Card Reader   CF, 1.9C> disk removable
sd0: drive offline
sd1 at scsibus0 target 0 lun 1: <Hama, Card Reader   MS, 1.9C> disk removable
sd1: drive offline
sd2 at scsibus0 target 0 lun 2: <Hama, CardReaderMMC/SD, 1.9C> disk removable
sd2: 488 MB, 496 cyl, 32 head, 63 sec, 512 bytes/sect x 1000448 sectors
sd3 at scsibus0 target 0 lun 3: <Hama, Card Reader   SM, 1.9C> disk removable
sd3: drive offline
pms0: pms_input: unusual delay (0.069999 s), scheduling reset
umass0: at uhub4 port 2 (addr 2) disconnected
sd0 detached
sd1 detached
sd2 detached
sd3 detached
scsibus0 detached
umass0 detached
pms0: pms_input: unusual delay (0.069998 s), scheduling reset
pms0: pms_input: unusual delay (0.049998 s), scheduling reset
umct0 at uhub2 port 1
umct0: Belkin USB PDA Adapter Belkin Components, rev 1.10/1.02, addr 2
ucom0 at umct0
ucom0: WARNING: power management not supported
umct0: WARNING: power management not supported
umct0: at uhub2 port 1 (addr 2) disconnected
ucom0 detached
umct0 detached
pid 28076 was killed: orphaned traced process
pms0: pms_input: unusual delay (0.059999 s), scheduling reset
wm0: device timeout (txfree 4094 txsfree 63 txnext 4047)
wm0: device timeout (txfree 4094 txsfree 63 txnext 428)
wm0: device timeout (txfree 4094 txsfree 63 txnext 428)
pms0: pms_input: unusual delay (0.069999 s), scheduling reset
pms0: pms_input: unusual delay (0.049999 s), scheduling reset
pms0: pms_input: unusual delay (0.329999 s), scheduling reset
pms0: pms_input: unusual delay (0.070001 s), scheduling reset
pms0: pms_input: unusual delay (0.059999 s), scheduling reset
pms0: pms_input: unusual delay (0.070000 s), scheduling reset
pms0: pms_input: unusual delay (0.049998 s), scheduling reset
pms0: pms_input: unusual delay (0.069999 s), scheduling reset

--------------070605040108010807060900
Content-Type: text/plain;
 name="envstat.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="envstat.txt"

       connected:         ON
         present:         ON
      design cap:     56.160 Wh
   last full cap:     51.150 Wh
      technology:          1
  design voltage:     10.800 V
        warn cap:      2.557 Wh ( 5.00%)
         low cap:      0.200 Wh ( 0.39%)
         voltage:     12.427 V
     charge rate:        N/A
  discharge rate:        N/A
          charge:     48.880 Wh (95.56%)
        charging:      0.000 (null)
    charge state:      0.000 (null)
     temperature:     59.000 degC
     temperature:     58.000 degC
cpu0 temperature:     59.000 degC
cpu1 temperature:     59.000 degC

--------------070605040108010807060900--