OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: laptop HP 530 - acpitz3: Critical temperature, shutting down

From: Jiri B. (jiriblive.com)
Date: Mon Aug 02 2010 - 18:13:47 CDT


On Fri, 23 Jul 2010 17:39:31 +0000
Miod Vallat <miodonline.fr> wrote:

> Can you try the following patch and let me know of the behaviour.
>
> Thanks,
> Miod
>
> Index: acpitz.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/acpi/acpitz.c,v
> retrieving revision 1.37
> diff -u -p -r1.37 acpitz.c
> --- acpitz.c 20 Jul 2010 20:21:02 -0000 1.37
> +++ acpitz.c 23 Jul 2010 17:38:38 -0000
> -419,7 +419,10 acpitz_getreading(struct acpitz_softc *s
> if (ref->type == AML_OBJTYPE_OBJREF) {
> ref = ref->v_objref.ref;
> }
> - rv = aml_val2int(ref);
> + if (ref->type == AML_OBJTYPE_INTEGER)
> + rv = aml_val2int(ref);
> + else
> + printf("%s: unexpected value type %d\n", __func__,
> ref->type); out:
> aml_freevalue(&res);
> return (rv);
>

Hello,

patch applied and here are files from the machine (there's acpitz3
temperature warning again but one from many tries the machine somehow
didn't shutdowned completely, so I was able to save dmesg):

http://devio.us/~jirib/acpidump.hp530.gz
http://devio.us/~jirib/acpidump_tables.hp530.tar.gz
http://devio.us/~jirib/dmesg.hp530.gz
http://devio.us/~jirib/pcidump-v.hp530.gz
http://devio.us/~jirib/sysctl_hw.hp530.gz

jirib