Hello,

Le samedi 22 C  11:15, FrC)dC)ric Perrin a C)crit :
> I just installed a snapshot (dated Oct 19) of -current on a new EeePC
> 1001PXD. The installation itself went fine. However, on the first boot,
> even before I can see the login prompt, acpitz decides to shutdown the
> machine:
> acpitz0: critical temperature exceeded 255C (5282K), shutting down

Same thing happens with 5.0. If somebody wants to investigate:

`dmesg' from 5.0's ramdisk is at :
<http://tar-jx.bz/stuff/dmesg.lapin-5.0-ramdisk>

`dmesg' from 5.0's kernel with ACPI disabled is at:
<http://tar-jx.bz/stuff/dmesg.lapin-5.0-noacpi>
`sysctl -a' is at:
<http://tar-jx.bz/stuff/sysctl.lapin-5.0-noacpi>

I applied the following, and rebooted without disabling ACPI:

--- acpitz.c.~1.43.~    2011-06-25 07:35:06.000000000 +0200
+++ acpitz.c    2011-11-01 19:40:24.000000000 +0100
@@ -326,11 +326,11 @@ acpitz_refresh(void *arg)
        }
        /* critical trip points */
        if (sc->sc_crt != -1 && sc->sc_crt <= sc->sc_tmp) {
-               /* do critical shutdown */
-               printf("%s: critical temperature exceeded %dC (%dK), shutting "
-                   "down\n",
-                   DEVNAME(sc), KTOC(sc->sc_tmp), sc->sc_tmp);
-               psignal(initproc, SIGUSR2);
+               printf("%s: temperature %dC (%dK) >= %dC (%dK)\n",
+                   DEVNAME(sc), KTOC(sc->sc_tmp), sc->sc_tmp,
+                   KTOC(sc->sc_crt), sc->sc_crt);
+               printf("%s: for the record, _HOT is %dC (%dK)\n",
+                   DEVNAME(sc), KTOC(sc->sc_hot), sc->sc_hot);
        }

acpitz spams about every 10 seconds the following:

acpitz0: temperature 255C (5282K) >= 98C (3712K)
acpitz0: for the record, _HOT is -273C (-1K)

`dmesg' with this patch is at:
<http://tar-jx.bz/stuff/dmesg.lapin-5.0-nohaltoncrit>

`sysctl -a' is at:
<http://tar-jx.bz/stuff/sysctl.lapin-5.0-nohaltoncrit>

Is there anything else I can try?

> Of course, the temperature of the laptop is nowhere near 255C. This
> happened with both amd64 and i386. I tried again this morning after
> shutting down the laptop last evening, so the temperature should have
> been much above 20C. Under Linux, I see the following (temperatures in
> milliCelsius):
>
> % uname -or
> 3.0.0-1-amd64 GNU/Linux
> % grep '' /sys/class/thermal/thermal_zone*/*
> /sys/class/thermal/thermal_zone0/cdev0_trip_point:1
> /sys/class/thermal/thermal_zone0/cdev1_trip_point:1
> /sys/class/thermal/thermal_zone0/mode:enabled
> /sys/class/thermal/thermal_zone0/temp:50000
> /sys/class/thermal/thermal_zone0/trip_point_0_temp:98000
> /sys/class/thermal/thermal_zone0/trip_point_0_type:critical
> /sys/class/thermal/thermal_zone0/trip_point_1_temp:95000
> /sys/class/thermal/thermal_zone0/trip_point_1_type:passive
> /sys/class/thermal/thermal_zone0/type:acpitz


--
Fred

Reply via email to