Re: ACPI problems on a W500 thinkpad: software or hardware?

2012-05-31 Thread Rafael Sadowski
On Wed May 30, 2012 at 03:59:31PM +0200, Benny Lofgren wrote:
 On 2012-05-30 05.19, STeve Andre' wrote:
  May 29 19:15:36 paladin /bsd: acpithinkpad0: unknown event 0x6022
  May 29 19:15:36 paladin /bsd: acpitz1: critical temperature exceeded
  100C (3732K), shutting down
   
 
 It's probably no help to you, but 100B0 C is not 3732 K. It is however
 373.15 K, which if you round it up interestingly enough is 373.2 K, i e
 the same number, one magnitude off.
 

You're right. 3732K -- 3458.85C but I code we see:

#define KTOC(k) ((k - 2732) / 10)



Re: ACPI problems on a W500 thinkpad: software or hardware?

2012-05-31 Thread Erling Westenvik
Coming to think about it: a few months ago I had the same problem with
an old HP nc6210 laptop running 5.0 RELEASE. It would output similar
meaningless messages to console, complaining about temperatures close to
the surface of the Sun before panicking into deep ddb(4)-space..

At that point I assumed it to be some hardware issue and since the
machine just act as a mpd server hooked up to my hi-fi, I solved it by
taking out the battery and running apmd -C. To be honest I didn't have a
clue to why I did either, but the problem vanished.

-- 
Cheers,
Erling

  On 2012-05-30 05.19, STeve Andre' wrote:
   May 29 19:15:36 paladin /bsd: acpithinkpad0: unknown event 0x6022
   May 29 19:15:36 paladin /bsd: acpitz1: critical temperature exceeded
   100C (3732K), shutting down




Re: ACPI problems on a W500 thinkpad: software or hardware?

2012-05-30 Thread Rafael Sadowski
On Tue May 29, 2012 at 11:19:32PM -0400, STeve Andre' wrote:
 So... I just had my trusty Thinkpad W500 repaired, getting a new system
 board.  Things seemed fine, till the machine shut down on me.  It was
 graceful so the filesystems wern't dirty, but still wrong.
 
 Today, trying to compile the latest i386-current, it shut down on me
 three times.  Here is what's in messages:
 
 May 29 19:15:36 paladin /bsd: acpithinkpad0: unknown event 0x6022
 May 29 19:15:36 paladin /bsd: acpitz1: critical temperature exceeded
 100C (3732K), shutting down
 May 29 19:15:39 paladin syslogd: restart
 May 29 19:15:49 paladin syslogd: exiting on signal 15
 
 I'm trying to get a list of acpi events but that isn't proving easy.  I am
 trying to figure out if I got a 'new' bad system board, or if I'm having
 other problems.  The temperature is not 100C--it's been in the 70's
 each time this has happened.  I think I have the latest bios, but I'll
 check.
 

The same issue with Thinkpad T400s (newest BIOS) on -current amd64 but
no event 0x6022 message. See. dmesg:


OpenBSD 5.1-current (GENERIC) #236: Thu Apr 26 01:21:20 MDT 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 8474267648 (8081MB)
avail mem = 8226365440 (7845MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xe0010 (80 entries)
bios0: vendor LENOVO version 6HET36WW (1.21 ) date 12/19/2011
bios0: LENOVO 2815W14
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT ECDT APIC MCFG HPET BOOT ASF! SSDT TCPA DMAR SSDT 
SSDT SSDT
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP0(S4) EXP1(S4) EXP2(S4) 
EXP3(S4) PCI1(S4) USB0(S3) USB3(S3) USB5(S3) EHC0(S3) EHC1(S3) HDEF(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiec0 at acpi0
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P9600 @ 2.53GHz, 2527.32 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,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF
cpu0: 6MB 64b/line 16-way L2 cache
cpu0: apic clock running at 266MHz
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 2, remapped to apid 1
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
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 -1 (EXP2)
acpiprt5 at acpi0: bus 5 (EXP3)
acpiprt6 at acpi0: bus 14 (PCI1)
acpicpu0 at acpi0: C3, C2, C1, PSS
acpipwrres0 at acpi0: PUBS
acpitz0 at acpi0: critical temperature is 127 degC
acpitz1 at acpi0: critical temperature is 100 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
acpibat0 at acpi0: BAT0 model 42T4690 serial  8459 type LION oem Panasonic
acpibat1 at acpi0: BAT1 model 42T4679 serial87 type LiP oem SONY
acpiac0 at acpi0: AC unit online
acpithinkpad0 at acpi0
cpu0: Enhanced SpeedStep 2527 MHz: speeds: 2534, 2533, 1600, 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel GM45 Host rev 0x07
vga1 at pci0 dev 2 function 0 Intel GM45 Video rev 0x07
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 0xd000, size 0x1000
inteldrm0 at vga1: apic 1 int 16
drm0 at inteldrm0
Intel GM45 Video rev 0x07 at pci0 dev 2 function 1 not configured
Intel GM45 HECI rev 0x07 at pci0 dev 3 function 0 not configured
puc0 at pci0 dev 3 function 3 Intel GM45 AMT SOL rev 0x07: ports: 1 com
com2 at puc0 port 0 apic 1 int 17: ns16550a, 16 byte fifo
com2: probed fifo depth: 15 bytes
em0 at pci0 dev 25 function 0 Intel ICH9 IGP M AMT rev 0x03: msi, address 
00:24:7e:6d:ff:35
uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x03: apic 1 int 20
uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x03: apic 1 int 21
uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x03: apic 1 int 22
ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x03: 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 82801I HD Audio rev 0x03: msi
azalia0: codecs: Conexant/0x5069
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x03: msi
pci1 at ppb0 bus 2
ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x03: msi
pci2 at ppb1 bus 3
iwn0 at pci2 dev 0 function 0 Intel WiFi Link 5300 rev 0x00: msi, MIMO 3T3R, 
MoW, address 00:21:6a:5f:11:92
ppb2 at pci0 dev 28 function 3 Intel 82801I PCIE rev 0x03: msi
pci3 at ppb2 bus 5
sdhc0 at pci3 dev 0 function 0 Ricoh 5U822 SD/MMC rev 0x01: apic 1 int 19
sdmmc0 at sdhc0
Ricoh 5U230 Memory Stick rev 0x01 at pci3 dev 0 function 1 not configured
uhci3 at pci0 dev 29 function 0 Intel 82801I USB rev 0x03: apic 1 int 16
uhci4 at pci0 

Re: ACPI problems on a W500 thinkpad: software or hardware?

2012-05-30 Thread Benny Lofgren
On 2012-05-30 05.19, STeve Andre' wrote:
 May 29 19:15:36 paladin /bsd: acpithinkpad0: unknown event 0x6022
 May 29 19:15:36 paladin /bsd: acpitz1: critical temperature exceeded
 100C (3732K), shutting down
  

It's probably no help to you, but 100B0 C is not 3732 K. It is however
373.15 K, which if you round it up interestingly enough is 373.2 K, i e
the same number, one magnitude off.

(Haven't looked at the code, but it isn't inconceivable that the computer
suddenly thinks it's being tossed into the sun and is starting to melt -
and hurries to shut itself down. So this discrepancy might be worth to
investigate anyway.)


Regards,
/Benny

-- 
internetlabbet.se / work:   +46 8 551 124 80  / Words must
Benny Lofgren/  mobile: +46 70 718 11 90 /   be weighed,
/   fax:+46 8 551 124 89/not counted.
   /email:  benny -at- internetlabbet.se



Re: ACPI problems on a W500 thinkpad: software or hardware?

2012-05-30 Thread Stefan Wollny
Gesendet: Mittwoch, 30. Mai 2012 um 05:19 Uhr
Von: STeve Andre' and...@msu.edu
An: OpenBSD Misc misc@openbsd.org
Betreff: ACPI problems on a W500 thinkpad: software or hardware?
So... I just had my trusty Thinkpad W500 repaired, getting a new system
board. Things seemed fine, till the machine shut down on me. It was
graceful so the filesystems wern't dirty, but still wrong.

Today, trying to compile the latest i386-current, it shut down on me
three times. Here is what's in messages:

May 29 19:15:36 paladin /bsd: acpithinkpad0: unknown event 0x6022
May 29 19:15:36 paladin /bsd: acpitz1: critical temperature exceeded
100C (3732K), shutting down
May 29 19:15:39 paladin syslogd: restart
May 29 19:15:49 paladin syslogd: exiting on signal 15

I'm trying to get a list of acpi events but that isn't proving easy. I am
trying to figure out if I got a 'new' bad system board, or if I'm having
other problems. The temperature is not 100C--it's been in the 70's
each time this has happened. I think I have the latest bios, but I'll
check.

Any ideas? Really curious what event 6022 is.

Thanks, STeve Andre'

Hi there,

I have noticed the same issue while compiling something bigger (like
userland make build or mozilla-firefox) on an old Thinkpad T60. I
solved it by reducing setperf to 66. In my case it _might_ be dirt in
the cooling system. As it occurs only with big compile-jobs I didn't feel
the urge to check and clean the system internally.

As I am currently not in front of the T60 I cannot add dmesg or other
infos. If helpful just drop me a note.

BR,

STEFAN

---
Mail: stefan at wollny dot de
GnuPG-Key ID: 0x9C26F1D0



ACPI problems on a W500 thinkpad: software or hardware?

2012-05-29 Thread STeve Andre'

So... I just had my trusty Thinkpad W500 repaired, getting a new system
board.  Things seemed fine, till the machine shut down on me.  It was
graceful so the filesystems wern't dirty, but still wrong.

Today, trying to compile the latest i386-current, it shut down on me
three times.  Here is what's in messages:

May 29 19:15:36 paladin /bsd: acpithinkpad0: unknown event 0x6022
May 29 19:15:36 paladin /bsd: acpitz1: critical temperature exceeded 
100C (3732K), shutting down

May 29 19:15:39 paladin syslogd: restart
May 29 19:15:49 paladin syslogd: exiting on signal 15

I'm trying to get a list of acpi events but that isn't proving easy.  I am
trying to figure out if I got a 'new' bad system board, or if I'm having
other problems.  The temperature is not 100C--it's been in the 70's
each time this has happened.  I think I have the latest bios, but I'll
check.

Any ideas?  Really curious what event 6022 is.

Thanks, STeve Andre'