Date: Wed, 19 Dec 2007 14:54:30 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "FreeBSD Current" <freebsd-current@freebsd.org> Subject: Thermal Lockup Message-ID: <790a9fff0712191254o1eca44ecv9f1947d5389b65d1@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
------=_Part_646_32444721.1198097670341 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I had been noticing a problem with my HP Pavillion dv8135nr laptop locking up everytime I would try to compile a large project (buildworld, buildkernel, large port build (kde)). The laptop would freeze to the point where it didn't respond to any keypresses. My current solution is to place the laptop so that the air intake on the bottom of the laptop is exposed, and then use a fan to blow additional air through the air intake. This allowed compile to finish. I believe this problem first occurred after the switch to GCC 4.2, as I didn't have any problem when 7.0-CURRENT was still compiling with GCC 3.x. # uname -a FreeBSD hp010.hetzel.org 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed Dec 19 03:13:13 CST 2007 root@hp010.hetzel.org:/usr/src/8x/sys/amd64/compile/DV8135NR amd64 One thing I have noticed is that ACPI isn't able to determine the temperature for this system: # sysctl hw.acpi.thermal hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 0.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 90.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 94.0C hw.acpi.thermal.tz0._ACx: 40.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 Sometimes when the system boots hw.acpi.thermal.tz0._CRT is set to -1. But hw.acpi.thermal.tz0._HOT is always -1. I installed the sysutils/k8temp utility, and it is able to read the temperature from the processor. # k8temp -d CPUID: Vendor: AuthenticAMD, Id=0x20f42 Model=4 Family=15 Stepping=2 Advanced Power Management=0x3f Temperature sensor: Yes Frequency ID control: Yes Voltage ID control: Yes THERMTRIP support: Yes HW Thermal control: Yes SW Thermal control: Yes 100MHz multipliers: No HW P-State control: No TSC Invariant: No Thermtrip=0x00000b24 (CurTmp=0x00 (-49c) TjOffset=0x00 DiodeOffset=0x0b (0c)) Thermtrip=0x006d0b20 (CurTmp=0x6d (60c) TjOffset=0x00 DiodeOffset=0x0b (0c)) CPU 0 Core 1 Sensor 0: 60c I ran the following script during a buildkernel: #!/bin/sh while true ; do date echo "-sysctl--------------------" sysctl -a hw.acpi.thermal echo "-k8temp--------------------" /usr/local/sbin/k8temp -d 2>&1 echo "===========================" sync ; sleep 30 done What it showed is that the values didn't change in hw.acpi.thermal, while k8temp showed that the temperature would peak to 90c and then the system would lockup. The only way out of the lockup was to reboot the computer. Attached are the kernel config file (DV8135NR), dmesg, and /boot/loader.conf . Is there something that needs to change in the kernel config or /boot/loader.conf files that would allow ACPI to report the temperatures on this system? The problem with the Thermal lockups may be related to the recent posts: Dust out your Heat syncs! CURRENT Kernel makes the system run very very hot Scot ------=_Part_646_32444721.1198097670341 Content-Type: text/plain; name=DV8135NR Content-Transfer-Encoding: base64 X-Attachment-Id: f_fae8ihje Content-Disposition: attachment; filename=DV8135NR IwojIEdFTkVSSUMgZGVidWdnaW5nIGtlcm5lbAojCiMgVG8gdXNlIHRoaXMga2VybmVsLCB5b3Ug bmVlZCB0byBhZGQgdGhlIGZvbGxvd2luZyB0bwojIHlvdXIgL2Jvb3QvbG9hZGVyLmNvbmYKIwoj IGtlcm5lbD1rZXJuZWxfaHBfZGVidWcKIwojICRGcmVlQlNEJAoKaW5jbHVkZSBHRU5FUklDCgpp ZGVudAkJRFY4MTM1TlItZGVidWcKCm1ha2VvcHRpb25zCURFQlVHPS1nCQkjIEJ1aWxkIGtlcm5l bCB3aXRoIGdkYigxKSBkZWJ1ZyBzeW1ib2xzCm1ha2VvcHRpb25zCUtPRElSPS9ib290LyR7S0VS TkVMfV9ocF9kZWJ1ZwoKIyBEZWJ1Z2d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YXAKbm9kZXZpY2UJ d2xhbl9zY2FuX3N0YQpub2RldmljZQlhbgpub2RldmljZQlhdGgKbm9kZXZpY2UJYXRoX2hhbApu b2RldmljZQlhdGhfcmF0ZV9zYW1wbGUKbm9kZXZpY2UJYXdpCm5vZGV2aWNlCXJhbApub2Rldmlj ZQl3aQoKIyBQc2V1ZG8gZGV2aWNlcy4KCiMgVVNCIHN1cHBvcnQKCm5vZGV2aWNlCXVyYWwKbm9k ZXZpY2UJcnVtCgojIFVTQiBTZXJpYWwgZGV2aWNlcwoKIyBVU0IgRXRoZXJuZXQsIHJlcXVpcmVz IG1paWJ1cwpub2RldmljZQlhdWUKbm9kZXZpY2UJYXhlCm5vZGV2aWNlCWNkY2UKbm9kZXZpY2UJ Y3VlCm5vZGV2aWNlCWt1ZQpub2RldmljZQlydWUKbm9kZXZpY2UJdWRhdgoKIyBGaXJlV2lyZSBz dXBwb3J0Cgo= ------=_Part_646_32444721.1198097670341 Content-Type: text/plain; name=thermal Content-Transfer-Encoding: base64 X-Attachment-Id: f_fae8j3m9 Content-Disposition: attachment; filename=thermal aHcuYWNwaS50aGVybWFsLm1pbl9ydW50aW1lOiAwCmh3LmFjcGkudGhlcm1hbC5wb2xsaW5nX3Jh dGU6IDEwCmh3LmFjcGkudGhlcm1hbC51c2VyX292ZXJyaWRlOiAwCmh3LmFjcGkudGhlcm1hbC50 ejAudGVtcGVyYXR1cmU6IDAuMEMKaHcuYWNwaS50aGVybWFsLnR6MC5hY3RpdmU6IC0xCmh3LmFj cGkudGhlcm1hbC50ejAucGFzc2l2ZV9jb29saW5nOiAxCmh3LmFjcGkudGhlcm1hbC50ejAudGhl cm1hbF9mbGFnczogMApody5hY3BpLnRoZXJtYWwudHowLl9QU1Y6IDkwLjBDCmh3LmFjcGkudGhl cm1hbC50ejAuX0hPVDogLTEKaHcuYWNwaS50aGVybWFsLnR6MC5fQ1JUOiA5NC4wQwpody5hY3Bp LnRoZXJtYWwudHowLl9BQ3g6IDQwLjBDIC0xIC0xIC0xIC0xIC0xIC0xIC0xIC0xIC0xCg== ------=_Part_646_32444721.1198097670341 Content-Type: text/plain; name=loader.conf Content-Transfer-Encoding: base64 X-Attachment-Id: f_fae96jh6 Content-Disposition: attachment; filename=loader.conf a2VybmVsPSJrZXJuZWxfaHBfZGVidWciCiNrZXJuZWw9Imtlcm5lbCIKbG9hZGVyX2xvZ289ImJl YXN0aWUiCnJhZGVvbl9sb2FkPSJZRVMiCiMKc21idXNfbG9hZD0iWUVTIgppaWNfbG9hZD0iWUVT IgppaWNiX2xvYWQ9IllFUyIKaWljYmJfbG9hZD0iWUVTIgppaWNidXNfbG9hZD0iWUVTIgppaWNz bWJfbG9hZD0iWUVTIgoKI2ludHBtX2xvYWQ9IllFUyIKI2FscG1fbG9hZD0iWUVTIgppY2hzbWJf bG9hZD0iWUVTIgojdmlhcG1fbG9hZD0iWUVTIgphbWRwbV9sb2FkPSJZRVMiCmFtZHNtYl9sb2Fk PSJZRVMiCiNuZnBtX2xvYWQ9IllFUyIKI25mc21iX2xvYWQ9IllFUyIKCnNtYl9sb2FkPSJZRVMi CiMKYmNtd2w1NjRfc3lzX2xvYWQ9IllFUyIKCndsYW5fbG9hZD0iWUVTIgojd2xhbl9hY2xfbG9h ZD0iWUVTIgp3bGFuX2FtcnJfbG9hZD0iWUVTIgp3bGFuX2NjbXBfbG9hZD0iWUVTIgp3bGFuX3Rr aXBfbG9hZD0iWUVTIgp3bGFuX3dlcF9sb2FkPSJZRVMiCndsYW5feGF1dGhfbG9hZD0iWUVTIgp3 bGFuX3NjYW5fYXBfbG9hZD0iWUVTIgp3bGFuX3NjYW5fc3RhX2xvYWQ9IllFUyIKIwpzb3VuZF9s b2FkPSJZRVMiCnNuZF9hdGlpeHBfbG9hZD0iWUVTIgojCnVwbGNvbV9sb2FkPSJZRVMiCgojIE1h eGltdW0gZmlsZXMgdG8gb3BlbgprZXJuLm1heGZpbGVzPSIyNTAwMCIKCiNpbmNyZWFzZSBzZW1h cGhvcmUgbGltaXRzCmtlcm4uaXBjLnNlbW1uaT00MAprZXJuLmlwYy5zZW1tbnM9MzAwCmtlcm4u aXBjLm1heHBpcGVrdmE9MzQyMDE2MDAKCmhpbnQuYWNwaV90aHJvdHRsZS4wLmRpc2FibGVkPSIx IgojaGludC5wb3dlcm5vdy4wLmRpc2FibGVkPSIxIgoKemZzX2xvYWQ9IllFUyIKdm0ua21lbV9z aXplPSIxMDczNzQxODI0Igp2bS5rbWVtX3NpemVfbWF4PSIxMDczNzQxODI0Igo= ------=_Part_646_32444721.1198097670341--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0712191254o1eca44ecv9f1947d5389b65d1>