Hello,

   After several months running OpenBSD 5.7 on my Thinkpad T410, this 
problem appeared a few days ago:

* when the systems starts, the fan is running at moderate speed, 
everything is fine.
* after some 10/20 minutes, it speeds up to 4500 RPM and never slows down 
again.

   There is no CPU load, but it is possible that there is a short activity 
spike that triggers the fan acceleration.

   It does not happen on Windows, and when the fan is "stuck" at high-speed 
in OpenBSD, if I reboot into Windows 7, it will slow down after a while (a 
few minutes, perhaps) and behave normally after that (it speeds up when 
needed and return to moderate speed afterwards).

   "Normal" speed seems to be around 3600 or 3800 RPM (I saw once 1900 RPM) 
on OpenBSD, and "Fast" speed around 4500 RPM.
   On Windows, I saw 1900, 3600, 3800 and 4500 too. 3600 and 3800 are the 
most common. It oscillates between them depending on the load, moves to 
4500 when there is alot of CPU activity and then goes down to 3800/3600 
when this activity is over.
   1900 does not seem to be achieved often; 3600/3800 are bearable, 4500 is 
not.

   When looking for information, I saw that this fan problem has already 
been reported, for example on this mailing-list in 2015:
<https://marc.info/?l=openbsd-misc&m=142607724519024&w=2>

   I do not think I changed my system a few days ago, but can I check it? 
Is there a log of the /pkg_add/ I might have done?

   The other possiblity I see is that the OpenBSD driver may take into 
account a sensor that now returns bogus info (which would be ignored on 
Windows). Dunno.
   I always have this "PCH" temperature at 59°C, like the other poster.

   OK, now some info:

===========================
$ uname -mrsv
OpenBSD 5.7 GENERIC.MP#881 amd64
===========================

Taken immediately after boot (I just noticed the itherm0 temperatures 
were broken at that time...). We are at 3600 RPM :
===========================
$ sysctl hw.sensors
hw.sensors.cpu0.temp0=42.00 degC
hw.sensors.acpitz0.temp0=47.00 degC (zone temperature)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=12.09 VDC (current voltage)
hw.sensors.acpibat0.current0=0.00 A (rate)
hw.sensors.acpibat0.amphour0=3.04 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.15 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.02 Ah (low capacity)
hw.sensors.acpibat0.amphour3=2.92 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=4.75 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpithinkpad0.temp0=47.00 degC
hw.sensors.acpithinkpad0.temp1=47.00 degC
hw.sensors.acpithinkpad0.temp2=47.00 degC
hw.sensors.acpithinkpad0.temp3=47.00 degC
hw.sensors.acpithinkpad0.temp4=47.00 degC
hw.sensors.acpithinkpad0.temp5=47.00 degC
hw.sensors.acpithinkpad0.temp6=47.00 degC
hw.sensors.acpithinkpad0.temp7=47.00 degC
hw.sensors.acpithinkpad0.fan0=3589 RPM
hw.sensors.itherm0.temp4=255.00 degC (CPU/GPU Max temp)
hw.sensors.itherm0.temp5=255.00 degC (DIMM 1)
hw.sensors.itherm0.temp6=255.00 degC (DIMM 2)
hw.sensors.itherm0.temp7=255.00 degC (DIMM 3)
hw.sensors.itherm0.temp8=255.00 degC (DIMM 4)
hw.sensors.itherm0.temp9=255.00 degC (GPU/Memory controller abs.)
hw.sensors.itherm0.temp10=255.00 degC (PCH abs.)
hw.sensors.itherm0.power0=0.00 W (CPU power consumption)
hw.sensors.aps0.temp0=33.00 degC
hw.sensors.aps0.temp1=33.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=408 (X_ACCEL)
hw.sensors.aps0.raw1=517 (Y_ACCEL)
hw.sensors.aps0.raw2=408 (X_VAR)
hw.sensors.aps0.raw3=517 (Y_VAR)
===========================

After a few minutes, we jump to 3800 RPM (and we never go back to 3600):
===========================
hw.sensors.cpu0.temp0=36.00 degC
hw.sensors.acpitz0.temp0=46.00 degC (zone temperature)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=12.09 VDC (current voltage)
hw.sensors.acpibat0.current0=0.00 A (rate)
hw.sensors.acpibat0.amphour0=3.04 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.15 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.02 Ah (low capacity)
hw.sensors.acpibat0.amphour3=2.92 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=4.75 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpithinkpad0.temp0=46.00 degC
hw.sensors.acpithinkpad0.temp1=46.00 degC
hw.sensors.acpithinkpad0.temp2=46.00 degC
hw.sensors.acpithinkpad0.temp3=46.00 degC
hw.sensors.acpithinkpad0.temp4=46.00 degC
hw.sensors.acpithinkpad0.temp5=46.00 degC
hw.sensors.acpithinkpad0.temp6=46.00 degC
hw.sensors.acpithinkpad0.temp7=46.00 degC
hw.sensors.acpithinkpad0.fan0=3843 RPM
hw.sensors.itherm0.temp1=42.06 degC (Core 1)
hw.sensors.itherm0.temp4=47.00 degC (CPU/GPU Max temp)
hw.sensors.itherm0.temp9=47.00 degC (GPU/Memory controller abs.)
hw.sensors.itherm0.temp10=59.00 degC (PCH abs.)
hw.sensors.itherm0.power0=6.00 W (CPU power consumption)
hw.sensors.aps0.temp0=35.00 degC
hw.sensors.aps0.temp1=35.00 degC
hw.sensors.aps0.indicator0=On (Keyboard Active)
hw.sensors.aps0.indicator1=Off (Mouse Active)
hw.sensors.aps0.indicator2=On (Lid Open)
hw.sensors.aps0.raw0=411 (X_ACCEL)
hw.sensors.aps0.raw1=521 (Y_ACCEL)
hw.sensors.aps0.raw2=411 (X_VAR)
hw.sensors.aps0.raw3=522 (Y_VAR)
===========================

There was not much activity:
===========================
$ top
load averages:  0.27,  0.18,  0.16
54 processes: 53 idle, 1 on processor
CPU0 states:  0.2% user,  0.0% nice,  0.2% system,  0.6% interrupt, 99.0% 
idle
CPU1 states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,  100% 
idle
CPU2 states:  0.2% user,  0.0% nice,  0.0% system,  0.0% interrupt, 99.8% 
idle
CPU3 states:  0.2% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.4% 
idle
===========================

Just a minute later, still no activity...
===========================
load averages:  0.15,  0.16,  0.16
54 processes: 51 idle, 3 on processor
CPU0 states:  0.0% user,  0.0% nice,  0.5% system,  0.7% interrupt, 98.9% 
idle
CPU1 states:  0.5% user,  0.0% nice,  0.2% system,  0.0% interrupt, 99.3% 
idle
CPU2 states:  0.0% user,  0.0% nice,  0.2% system,  0.0% interrupt, 99.8% 
idle
CPU3 states:  0.0% user,  0.0% nice,  0.7% system,  0.0% interrupt, 99.3% 
idle
===========================

... but we have jumped to 4500 RPM:
===========================
hw.sensors.cpu0.temp0=44.00 degC
hw.sensors.acpitz0.temp0=46.00 degC (zone temperature)
hw.sensors.acpibtn0.indicator0=On (lid open)
hw.sensors.acpibat0.volt0=10.80 VDC (voltage)
hw.sensors.acpibat0.volt1=12.09 VDC (current voltage)
hw.sensors.acpibat0.current0=0.00 A (rate)
hw.sensors.acpibat0.amphour0=3.04 Ah (last full capacity)
hw.sensors.acpibat0.amphour1=0.15 Ah (warning capacity)
hw.sensors.acpibat0.amphour2=0.02 Ah (low capacity)
hw.sensors.acpibat0.amphour3=2.92 Ah (remaining capacity), OK
hw.sensors.acpibat0.amphour4=4.75 Ah (design capacity)
hw.sensors.acpibat0.raw0=0 (battery idle), OK
hw.sensors.acpiac0.indicator0=On (power supply)
hw.sensors.acpithinkpad0.temp0=46.00 degC
hw.sensors.acpithinkpad0.temp1=46.00 degC
hw.sensors.acpithinkpad0.temp2=46.00 degC
hw.sensors.acpithinkpad0.temp3=46.00 degC
hw.sensors.acpithinkpad0.temp4=46.00 degC
hw.sensors.acpithinkpad0.temp5=46.00 degC
hw.sensors.acpithinkpad0.temp6=46.00 degC
hw.sensors.acpithinkpad0.temp7=46.00 degC
hw.sensors.acpithinkpad0.fan0=4544 RPM
hw.sensors.itherm0.temp1=42.02 degC (Core 1)
hw.sensors.itherm0.temp4=46.00 degC (CPU/GPU Max temp)
hw.sensors.itherm0.temp9=46.00 degC (GPU/Memory controller abs.)
hw.sensors.itherm0.temp10=59.00 degC (PCH abs.)
hw.sensors.itherm0.power0=6.00 W (CPU power consumption)
hw.sensors.aps0.temp0=35.00 degC
hw.sensors.aps0.temp1=35.00 degC
hw.sensors.aps0.indicator0=On (Keyboard Active)
hw.sensors.aps0.indicator1=Off (Mouse Active)
hw.sensors.aps0.indicator2=On (Lid Open)
hw.sensors.aps0.raw0=407 (X_ACCEL)
hw.sensors.aps0.raw1=511 (Y_ACCEL)
hw.sensors.aps0.raw2=407 (X_VAR)
hw.sensors.aps0.raw3=511 (Y_VAR)
===========================
   And the fan will stick at 4500 for ever and never slow down, until I am 
fed up with the noise and I stop the computer. Even if all the reported 
temperature fall below those we had when the fan spinned at 3600 RPM.

   Once, the fan slowed down when I removed the AC power, but I could not 
reproduce that behaviour a second time.


Here is the standard info:
===========================
$ dmesg
OpenBSD 5.7 (GENERIC.MP) #881: Sun Mar  8 11:04:17 MDT 2015
     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4062691328 (3874MB)
avail mem = 3950624768 (3767MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xe0010 (78 entries)
bios0: vendor LENOVO version "6IET77WW (1.37 )" date 05/09/2011
bios0: LENOVO 253725G
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET ASF! SLIC BOOT SSDT TCPA SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) UART(S3) IGBE(S4) EXP1(S4) EXP2(S4) 
EXP3(S4) EXP4(S4) EXP5(S4) EHC1(S3) EHC2(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.52 MHz
cpu0: 
FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 MHz
cpu1: 
FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 1, core 0, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 MHz
cpu2: 
FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu2: 256KB 64b/line 8-way L2 cache
cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 5 (application processor)
cpu3: Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz, 2793.01 MHz
cpu3: 
FPU,VME,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,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG,LAHF,PERF,ITSC
cpu3: 256KB 64b/line 8-way L2 cache
cpu3: smt 1, core 2, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus -1 (EXP3)
acpiprt5 at acpi0: bus 5 (EXP4)
acpiprt6 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3, C1, PSS
acpicpu1 at acpi0: C3, C1, PSS
acpicpu2 at acpi0: C3, C1, PSS
acpicpu3 at acpi0: C3, C1, PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model "42T4791" serial 27151 type LION oem "SANYO"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2793 MHz: speeds: 2534, 2533, 2399, 2266, 2133, 1999, 
1866, 1733, 1599, 1466, 1333, 1199 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02
vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x02
intagp0 at vga1
agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1440x900
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
puc0 at pci0 dev 22 function 3 "Intel 3400 KT" rev 0x06: ports: 1 com
com4 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes
em0 at pci0 dev 25 function 0 "Intel 82577LM" rev 0x06: msi, address 
f0:de:f1:62:c8:89
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi
azalia0: codecs: Conexant/0x5069, Intel/0x2804, using Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 "Intel 3400 PCIE" rev 0x06: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 "Intel Centrino Ultimate-N 6300" rev 0x35: msi, 
MIMO 3T3R, MoW, address 00:24:d7:b3:00:48
ppb2 at pci0 dev 28 function 3 "Intel 3400 PCIE" rev 0x06: msi
pci3 at ppb2 bus 5
ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: msi
pci4 at ppb3 bus 13
sdhc0 at pci4 dev 0 function 0 "Ricoh 5U822 SD/MMC" rev 0x01: apic 1 int 16
sdmmc0 at sdhc0
"Ricoh 5U230 Memory Stick" rev 0x01 at pci4 dev 0 function 1 not configured
"Ricoh 5U832 Firewire" rev 0x01 at pci4 dev 0 function 3 not configured
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 1 int 19
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6
pci5 at ppb4 bus 14
pcib0 at pci0 dev 31 function 0 "Intel QM57 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, HITACHI HTS72323, EC2Z> SCSI3 0/direct 
fixed naa.5000cca61dd14b2e
sd0: 305245MB, 512 bytes/sector, 625142448 sectors
cd0 at scsibus1 targ 1 lun 0: <HL-DT-ST, DVDRAM GU40N, QX20> ATAPI 5/cdrom 
removable
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 1 int 23
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x51: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x06
isa0 at pcib0
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
wsmouse1 at pms0 mux 0
pms0: Synaptics touchpad, firmware 7.2
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
aps0 at isa0 port 0x1600/31
pci6 at mainbus0 bus 255
pchb1 at pci6 dev 0 function 0 "Intel QuickPath" rev 0x02
pchb2 at pci6 dev 0 function 1 "Intel QuickPath" rev 0x02
pchb3 at pci6 dev 2 function 0 "Intel QPI Link" rev 0x02
pchb4 at pci6 dev 2 function 1 "Intel QPI Physical" rev 0x02
pchb5 at pci6 dev 2 function 2 "Intel Reserved" rev 0x02
pchb6 at pci6 dev 2 function 3 "Intel Reserved" rev 0x02
uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
ugen0 at uhub2 port 3 "UPEK Biometric Coprocessor" rev 1.01/0.02 addr 3
ugen1 at uhub2 port 4 "Broadcom Corp Broadcom Bluetooth Device" rev 2.00/3.60 
addr 4
uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
root on sd0a (8a14ab3d9495fb6e.a) swap on sd0b dump on sd0b
===========================


Goodbye,
   Stéphane.

Reply via email to