The fix for this is in.  This will help other folks as well with
creeping performance settings and overheating issues.

----- Forwarded message from Theo de Raadt <dera...@cvs.openbsd.org> -----

X-Original-To: ma...@peereboom.us
Delivered-To: ma...@peereboom.us
X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on www.peereboom.us
X-Spam-Level: 
X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,
        FH_DATE_PAST_20XX,FRT_DISCOUNT autolearn=no version=3.2.4
To: ma...@cvs.openbsd.org
Subject: Don Scott: /bsd: acpitz1: Critical temperature, shutting down
Date: Tue, 12 Jan 2010 23:14:36 -0700
From: Theo de Raadt <dera...@cvs.openbsd.org>

Your diff in?

------- Forwarded Message

Return-Path: owner-misc+m95057=deraadt=cvs.openbsd....@openbsd.org
Delivery-Date: Tue Jan 12 22:53:31 2010
Received: from shear.ucar.edu (lists.openbsd.org [192.43.244.163])
        by cvs.openbsd.org (8.14.3/8.12.1) with ESMTP id o0D5rV1V020655
        for <dera...@cvs.openbsd.org>; Tue, 12 Jan 2010 22:53:31 -0700 (MST)
Received: from openbsd.org (localhost.ucar.edu [127.0.0.1])
        by shear.ucar.edu (8.14.3/8.14.3) with ESMTP id o0D5nSaY028276
        for <dera...@cvs.openbsd.org>; Tue, 12 Jan 2010 22:49:49 -0700 (MST)
Received: from mail-qy0-f188.google.com (mail-qy0-f188.google.com 
[209.85.221.188])
        by shear.ucar.edu (8.14.3/8.14.3) with ESMTP id o0D5nCSG001858
        for <misc@openbsd.org>; Tue, 12 Jan 2010 22:49:13 -0700 (MST)
Received: by qyk26 with SMTP id 26so11963498qyk.5
        for <misc@openbsd.org>; Tue, 12 Jan 2010 21:49:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 
h=domainkey-signature:mime-version:received:date:message-id:subject 
:from:to:content-type; bh=tzNgJkAfak7JcniVPtMoscMUKgKu4/tpS8uuilHCRMs=; 
b=Rj5VaejasveRUUwbe1YNgowzGNT5zj2sObGk+53dgtGK6V9VFX5ClYhGI1f6wb8gTx 
RWOIN3aemy9QDqWjnCmusNbL9Ht/iXBBHGcggADeFf0nAolQG0znchUUJ0WBT2JQEsEK 
Q0A/OmzPA/wHIBxyEDwM3U7aj49WE7DSCvskI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; 
h=mime-version:date:message-id:subject:from:to:content-type; 
b=Pp3BJ/CydTU6NyrSnWMLZBQgVedNT6VYVyy0CaT2PZVJIXFdm4AvDP6lgFLy8WF3j/ 
4Rz8W8GyMP2DUB4qGb4KlEZBXoEYGFycNt5fDMoO7rLhhAP6oH/O+5HwrwVoWetCfB+O 
jl1Lts4BxPpjkcYO1yBC1taOCrKNTzOyeb1WY=
MIME-Version: 1.0
Received: by 10.229.68.193 with SMTP id w1mr1741926qci.51.1263361751749; Tue,  
12 Jan 2010 21:49:11 -0800 (PST)
Date: Tue, 12 Jan 2010 21:49:11 -0800
Message-ID: <29078a971001122149o2b6bdeb2y45b0c50cd7319...@mail.gmail.com>
Subject: /bsd: acpitz1: Critical temperature, shutting down
From: Don Scott <don.scott.m...@gmail.com>
To: misc@openbsd.org
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 1.01d
X-Converted-To-Plain-Text: Alternative section used was text/plain
List-Help: <mailto:majord...@openbsd.org?body=help>
List-Owner: <mailto:misc-ow...@openbsd.org>
List-Post: <mailto:misc@openbsd.org>
List-Subscribe: <mailto:majord...@openbsd.org?body=sub%20misc>
List-Unsubscribe: <mailto:majord...@openbsd.org?body=unsub%20misc>
X-Loop: misc@openbsd.org
Precedence: list
Sender: owner-m...@openbsd.org

My X60 overheated and did a clean shutdown while building devel/jdk/1.6.
This is the first time there has been a heat related issue on this laptop.
It's running the latest BIOS (version 2.18) and an i386 snapshot from
January 5th.

/var/log/messages:
Jan 12 19:40:27 x60 /bsd: acpithinkpad0: unknown event 0x6022
Jan 12 19:40:42 x60 last message repeated 16 times
Jan 12 19:40:45 x60 /bsd: acpitz1: Critical temperature, shutting down
Jan 12 19:40:45 x60 /bsd: acpithinkpad0: unknown event 0x6022

sysctl hw:
hw.machine=i386
hw.model=Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class)
hw.ncpu=2
hw.byteorder=1234
hw.pagesize=4096
hw.disknames=sd0,sd1
hw.diskcount=2
hw.sensors.acpitz0.temp0=70.00 degC (zone temperature)
hw.sensors.acpitz1.temp0=73.00 degC (zone temperature)
hw.sensors.acpibat0.volt0=14.40 VDC (voltage)
hw.sensors.acpibat0.volt1=16.40 VDC (current voltage)
hw.sensors.acpibat0.watthour0=40.59 Wh (last full capacity)
hw.sensors.acpibat0.watthour1=2.03 Wh (warning capacity)
hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity)
hw.sensors.acpibat0.watthour3=40.59 Wh (remaining capacity), OK
hw.sensors.acpibat0.raw0=0 (battery full), OK
hw.sensors.acpibat0.raw1=0 (rate)
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpithinkpad0.temp0=70.00 degC
hw.sensors.acpithinkpad0.temp1=55.00 degC
hw.sensors.acpithinkpad0.temp3=66.00 degC
hw.sensors.acpithinkpad0.temp4=38.00 degC
hw.sensors.acpithinkpad0.temp6=33.00 degC
hw.sensors.acpithinkpad0.fan0=2817 RPM
hw.sensors.acpidock0.indicator0=Off (not docked)
hw.sensors.cpu0.temp0=75.00 degC
hw.sensors.aps0.temp0=55.00 degC
hw.sensors.aps0.temp1=55.00 degC
hw.sensors.aps0.indicator0=Off (Keyboard Active)
hw.sensors.aps0.indicator1=Off (Mouse Active)
hw.sensors.aps0.indicator2=On (Lid Open)
hw.sensors.aps0.raw0=415 (X_ACCEL)
hw.sensors.aps0.raw1=522 (Y_ACCEL)
hw.sensors.aps0.raw2=415 (X_VAR)
hw.sensors.aps0.raw3=522 (Y_VAR)
hw.cpuspeed=2000
hw.setperf=100
hw.vendor=LENOVO
hw.product=1709G3U
hw.version=ThinkPad X60
hw.serialno=LVD6250
hw.uuid=2a4afc60-77b1-11db-8510-e4b0a9ddd65f
hw.physmem=3211161600
hw.usermem=3211083776
hw.ncpufound=2

Although the fan appears to be running fine, I  may replace it anyway since
it is over 3 years old. Maybe it's possible to apply some fresh thermal
compound as well.

I don't think this is openbsd related, but thought it would be interesting
to post anyway (especially since acpi development is in progress).

Dmesg to follow. Comments and questions are welcome and appreciated.

Thanks,
Don

OpenBSD 4.6-current (GENERIC.MP) #381: Tue Jan  5 13:43:29 MST 2010
    dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2
GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
real mem  = 3211161600 (3062MB)
avail mem = 3119341568 (2974MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/20/08, BIOS32 rev. 0 @ 0xfd690,
SMBIOS rev. 2.4 @ 0xe0010 (67 entries)
bios0: vendor LENOVO version "7BETD7WW (2.18 )" date 11/20/2008
bios0: LENOVO 1709G3U
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT SSDT
SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) DURT(S3) EXP0(S4) EXP1(S4) EXP2(S4)
EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 166MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz ("GenuineIntel" 686-class) 2
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,CX16,xTPR
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (AGP_)
acpiprt2 at acpi0: bus 2 (EXP0)
acpiprt3 at acpi0: bus 3 (EXP1)
acpiprt4 at acpi0: bus 4 (EXP2)
acpiprt5 at acpi0: bus 12 (EXP3)
acpiprt6 at acpi0: bus 21 (PCI1)
acpiec0 at acpi0
acpicpu0 at acpi0: C3, C2, C1, PSS
acpicpu1 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature 127 degC
acpitz1 at acpi0: critical temperature 97 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "93P5029" serial   437 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpibat2 at acpi0: BAT2 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
acpidock0 at acpi0: GDCK not docked (0)
bios0: ROM list: 0xc0000/0xea00! 0xdc000/0x4000! 0xe0000/0x10000!
cpu0: Enhanced SpeedStep 1996 MHz: speeds: 2000, 1667, 1333, 1000 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 11)
drm0 at inteldrm0
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1
int 17 (irq 11)
azalia0: RIRB time out
azalia0: codecs: Analog Devices AD1981HD, 0x0000/0x0000, using Analog
Devices AD1981HD
azalia0: RIRB time out
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20
(irq 11)
pci1 at ppb0 bus 2
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 1
int 16 (irq 11), address 00:16:d3:31:2f:4b
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21
(irq 11)
pci2 at ppb1 bus 3
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1
int 17 (irq 11), MoW1, address 00:18:de:63:cc:4a
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22
(irq 11)
pci3 at ppb2 bus 4
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23
(irq 11)
pci4 at ppb3 bus 12
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16
(irq 11)
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17
(irq 11)
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18
(irq 11)
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19
(irq 11)
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19
(irq 11)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 21
cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: apic 1 int 16
(irq 11)
"Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x18: apic 1 int 18
(irq 11)
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel
0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 ignored (disabled)
ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: apic 1 int
16 (irq 11), AHCI 1.1
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Hitachi HTS72323, FC4O> SCSI3 0/direct
fixed
sd0: 305245MB, 512 bytes/sec, 625142448 sec total
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int
23 (irq 11)
iic0 at ichiic0
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci3: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
scsibus1 at sdmmc0: 2 targets, initiator 0
sd1 at scsibus1 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd1: 982MB, 512 bytes/sec, 2012160 sec total
ubt0 at uhub4 port 1 "Broadcom Corp BCM2045B" rev 2.00/1.00 addr 2
ugen0 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev
1.00/0.01 addr 3
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b


------- End of Forwarded Message


----- End forwarded message -----

Reply via email to