Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2013 14:13:33 +0200
From:      Xavier <xavierfreebsdquestions@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: with ACPI=on, 9.1-RELEASE shutdown automatically
Message-ID:  <CALe6D=vJWi=PT_5i0v1JcJzhpzvFXEzrdvQyew%2B%2Bma58MNmhEA@mail.gmail.com>
In-Reply-To: <20130510130345.308c412ab657028ec3531ab2@yahoo.es>
References:  <CALe6D=ti6Ro-cJYN%2BkkAE8JtLijeE90DLxPqhoN_Jv0%2BO2gKhQ@mail.gmail.com> <20130510130345.308c412ab657028ec3531ab2@yahoo.es>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 10, 2013 at 01:03:45PM +0200, Eduardo Morras wrote:

Hi Eduardo,

> On Fri, 10 May 2013 12:34:14 +0200
> Xavier <xavierfreebsdquestions@gmail.com> wrote:
>
> > Hi to all,
> >
> > About this email subject, on acer Aspire 5634WLMi machine and
> > 9.1-RELEASE OS, FreeBSD shutdown the machine automatically in few
> > minuts.
>
> In freebsd-es a similar problem was reported some months ago. The cause i=
s fan switch off after startup menu and rising temperature. It looks like e=
c controller problem (Acer doesn't provide documentation about Embedded Con=
troller, all is done by try and error and can damage the laptop)

Yes, is the same situation.

I don't solved the problem. For this reason I post here now. And, I
wait a long time for try new situations and not crossposting the
problem in other mailing list.


>
> > How can I debug the reason of the problem ?
>
> A not so good wokaround is down the temperature where cpu Hz is adjusted:
>
> #sysctl hw.acpi.thermal.user_override=3D1
> #sysctl hw.acpi.thermal.tz0._PSV=3D65C
> #sysctl hw.acpi.thermal.user_override=3D0
>

First of all, I load the correct ACPI mapping driver for acer laptops
( this situation ):

acpi_wmi(4)

root@casa:/root # kldstat | grep acpi
 4    1 0xc13dd000 462c     acpi_wmi.ko
root@casa:/root #

Now I try yours values:

First, de defaults values:

root@casa:/root # sysctl -a | grep hw.acpi.thermal.user_override
hw.acpi.thermal.user_override: 0
root@casa:/root # sysctl -a | grep hw.acpi.thermal.tz0._PSV
hw.acpi.thermal.tz0._PSV: -1
root@casa:/root # sysctl -a | grep hw.acpi.thermal.tz1._PSV
hw.acpi.thermal.tz1._PSV: 95,0C
root@casa:/root # sysctl -a | grep hw.acpi.thermal.user_override
hw.acpi.thermal.user_override: 0
root@casa:/root #

I change to your suggerations:

root@casa:/root # sysctl hw.acpi.thermal.user_override=3D1
hw.acpi.thermal.user_override: 0 -> 1
root@casa:/root # sysctl hw.acpi.thermal.tz0._PSV=3D65C
hw.acpi.thermal.tz0._PSV: -1 -> 65,0C
root@casa:/root # sysctl hw.acpi.thermal.tz1._PSV=3D65C
hw.acpi.thermal.tz1._PSV: 95,0C -> 65,0C
root@casa:/root # sysctl -a | grep hw.acpi.thermal.user_override
hw.acpi.thermal.user_override: 1
root@casa:/root # sysctl -a | grep hw.acpi.thermal.tz0._PSV
hw.acpi.thermal.tz0._PSV: 65,0C
root@casa:/root # sysctl -a | grep hw.acpi.thermal.tz1._PSV
hw.acpi.thermal.tz1._PSV: 65,0C
root@casa:/root #

I look for the temperature at the moment:

root@casa:/root # sysctl -a | grep temperature
acpi_tz1: temperature 67.0C: decreasing clock speed from 500 MHz to 250 MHz
acpi_tz1: temperature 67.0C: decreasing clock speed from 250 MHz to 125 MHz
hw.acpi.thermal.tz0.temperature: 73,0C
hw.acpi.thermal.tz1.temperature: 72,0C
dev.cpu.0.temperature: 75,0C
dev.cpu.1.temperature: 75,0C
root@casa:/root #

I try compile one port ... :

... while compile I look the temperature:

root@casa:/root # sysctl -a | grep temperature
acpi_tz1: temperature 67.0C: decreasing clock speed from 500 MHz to 250 MHz
acpi_tz1: temperature 67.0C: decreasing clock speed from 250 MHz to 125 MHz
hw.acpi.thermal.tz0.temperature: 95,0C
hw.acpi.thermal.tz1.temperature: 94,0C
dev.cpu.0.temperature: 92,0C
dev.cpu.1.temperature: 92,0C
root@casa:/root #

I break the compilation because if hw.acpi.thermal.tz%d.temperature (
of ACPI_THERMAL(4) ) =3D 100C the FreeBSD shutdown automacally.

> Or downgrade to 8.x
>

On 8.x I get the same problem.

Thanks, see you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALe6D=vJWi=PT_5i0v1JcJzhpzvFXEzrdvQyew%2B%2Bma58MNmhEA>