From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Ois=EDn_Mac_Fheara=ED?= Subject: thermal zone causing insta-reboot on bootup of 2.6.3 Date: Thu, 11 Mar 2004 00:37:43 -0000 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <002c01c40701$11116190$7ce9fea9@SHERKA> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0029_01C40701.10FC04D0" Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org This is a multi-part message in MIME format. ------=_NextPart_000_0029_01C40701.10FC04D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable After installing the 2.6.3 kernel on Mandrake 9.2 on an Acer Aspire = 1705SMi laptop, my machine repeatedly prints "Critical temperature = reached (255 C), shutting down." and reboots. Installing the 20040220 patch to it seems to have made no difference = (and added no options that I could see to "make menuconfig" - in fact it = removed the options for relaxed something under the ACPI options page, = which wasn't doing anything anyway)... Can anyone advise? I'm quite inexperienced with linux, so I might be = doing something stupid (also, I'm having trouble finding which boot = messages are kept in which logfiles...). I'm too scared by the "might damage your CPU" message to remove thermal = zone from the kernel ACPI settings. Ois=EDn ------=_NextPart_000_0029_01C40701.10FC04D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
After installing the 2.6.3 kernel on = Mandrake 9.2=20 on an Acer Aspire 1705SMi laptop, my machine repeatedly prints "Critical = temperature reached (255 C), shutting down." and reboots.
Installing the=20 20040220 patch to it seems to have made no difference (and added no = options that=20 I could see to "make menuconfig" - in fact it removed the options for = relaxed=20 something under the ACPI options page, which wasn't doing anything=20 anyway)...
 
Can anyone advise? I'm quite = inexperienced with=20 linux, so I might be doing something stupid (also, I'm having trouble = finding=20 which boot messages are kept in which logfiles...).
I'm too scared by the "might damage = your CPU"=20 message to remove thermal zone from the kernel ACPI = settings.
 
Ois=EDn
------=_NextPart_000_0029_01C40701.10FC04D0-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click From mboxrd@z Thu Jan 1 00:00:00 1970 From: Len Brown Subject: Re: thermal zone causing insta-reboot on bootup of 2.6.3 Date: 11 Mar 2004 02:01:43 -0500 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <1078988500.2554.89.camel@dhcppc4> References: <002c01c40701$11116190$7ce9fea9@SHERKA> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <002c01c40701$11116190$7ce9fea9-UdiLdEXzXlE@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: =?ISO-8859-1?Q?Ois=EDn?= Mac =?ISO-8859-1?Q?Fheara=ED?= Cc: ACPI Developers List-Id: linux-acpi@vger.kernel.org if you delete the thermal module, this failure will go away (and so will our ability to debug it;-) perhaps you can file a bug at bugzilla.kernel.org category: ACPI component: Power-Thermal and attach the output from dmesg -s40000 with thermal installed. clearly we're getting a bogus temperature reading. thanks, -Len On Wed, 2004-03-10 at 19:37, Ois=EDn Mac Fheara=ED wrote: > After installing the 2.6.3 kernel on Mandrake 9.2 on an Acer Aspire > 1705SMi laptop, my machine repeatedly prints "Critical temperature > reached (255 C), shutting down." and reboots. > Installing the 20040220 patch to it seems to have made no difference > (and added no options that I could see to "make menuconfig" - in fact > it removed the options for relaxed something under the ACPI options > page, which wasn't doing anything anyway)... > =20 > Can anyone advise? I'm quite inexperienced with linux, so I might be > doing something stupid (also, I'm having trouble finding which boot > messages are kept in which logfiles...). > I'm too scared by the "might damage your CPU" message to remove > thermal zone from the kernel ACPI settings. > =20 > Ois=EDn ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Yu, Luming" Subject: RE: thermal zone causing insta-reboot on bootup of 2.6.3 Date: Thu, 11 Mar 2004 15:10:04 +0800 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <3ACA40606221794F80A5670F0AF15F8401CBB747@PDSMSX403.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: content-class: urn:content-classes:message Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Brown, Len" , =?iso-8859-1?Q?Ois=EDn_Mac_Fheara=ED?= Cc: ACPI Developers List-Id: linux-acpi@vger.kernel.org The following patch is from Pavel, and maybe it is suitable for this = case. --Luming --- clean/drivers/acpi/thermal.c 2004-02-05 01:54:00.000000000 +0100 +++ linux/drivers/acpi/thermal.c 2004-02-05 02:24:15.000000000 +0100 @@ -223,8 +223,11 @@ tz->last_temperature =3D tz->temperature; =20 status =3D acpi_evaluate_integer(tz->handle, "_TMP", NULL, = &tz->temperature); - if (ACPI_FAILURE(status)) + if (ACPI_FAILURE(status)) { + if (tz->temperature !=3D tz->last_temperature) + printk(KERN_ERR "temperature damaged while processing\n"); return -ENODEV; + } =20 ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Temperature is %lu dK\n", = tz->temperature)); =20 @@ -457,7 +460,17 @@ return_VALUE(-EINVAL); =20 if (tz->temperature >=3D tz->trips.critical.temperature) { + long old_temperature =3D tz->temperature; ACPI_DEBUG_PRINT((ACPI_DB_WARN, "Critical trip point\n")); + + result =3D acpi_thermal_get_temperature(tz); + if (!result) { + if (tz->temperature < (tz->trips.critical.temperature - 100)) { + printk(KERN_ALERT "ACPI changed its mind about temperature, was %ld = C, now %ld C",=20 + KELVIN_TO_CELSIUS(old_temperature), = KELVIN_TO_CELSIUS(tz->temperature)); + return_VALUE(0); + } + } tz->trips.critical.flags.enabled =3D 1; } else if (tz->trips.critical.flags.enabled) =20 > -----Original Message----- > From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org=20 > [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of=20 > Brown, Len > Sent: Thursday, March 11, 2004 3:02 PM > To: Ois=EDn Mac Fheara=ED > Cc: ACPI Developers > Subject: Re: [ACPI] thermal zone causing insta-reboot on=20 > bootup of 2.6.3 >=20 >=20 > if you delete the thermal module, this failure will go away > (and so will our ability to debug it;-) >=20 > perhaps you can file a bug at bugzilla.kernel.org > category: ACPI > component: Power-Thermal >=20 > and attach the output from dmesg -s40000 with thermal installed. >=20 > clearly we're getting a bogus temperature reading. >=20 > thanks, > -Len >=20 > On Wed, 2004-03-10 at 19:37, Ois=EDn Mac Fheara=ED wrote: > > After installing the 2.6.3 kernel on Mandrake 9.2 on an Acer Aspire > > 1705SMi laptop, my machine repeatedly prints "Critical temperature > > reached (255 C), shutting down." and reboots. > > Installing the 20040220 patch to it seems to have made no difference > > (and added no options that I could see to "make menuconfig"=20 > - in fact > > it removed the options for relaxed something under the ACPI options > > page, which wasn't doing anything anyway)... > > =20 > > Can anyone advise? I'm quite inexperienced with linux, so I might be > > doing something stupid (also, I'm having trouble finding which boot > > messages are kept in which logfiles...). > > I'm too scared by the "might damage your CPU" message to remove > > thermal zone from the kernel ACPI settings. > > =20 > > Ois=EDn >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dick > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel >=20 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: thermal zone causing insta-reboot on bootup of 2.6.3 Date: Wed, 17 Mar 2004 23:54:51 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040317225451.GB466@elf.ucw.cz> References: <002c01c40701$11116190$7ce9fea9@SHERKA> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <002c01c40701$11116190$7ce9fea9-UdiLdEXzXlE@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: =?iso-8859-1?Q?Ois=EDn_Mac_Fheara=ED?= Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org Hi! > I'm too scared by the "might damage your CPU" message to remove > thermal zone from the kernel ACPI settings. If your machine is ACPI-compliant, it will poweroff itself, not damage cpu... Pavel -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: thermal zone causing insta-reboot on bootup of 2.6.3 Date: Wed, 17 Mar 2004 23:53:30 +0100 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040317225330.GA466@elf.ucw.cz> References: <3ACA40606221794F80A5670F0AF15F8401CBB747@PDSMSX403.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3ACA40606221794F80A5670F0AF15F8401CBB747-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "Yu, Luming" Cc: "Brown, Len" , =?iso-8859-1?Q?Ois=EDn_Mac_Fheara=ED?= , ACPI Developers List-Id: linux-acpi@vger.kernel.org Hi! > The following patch is from Pavel, and maybe it is suitable for this > case. --Luming Probably not. In my case, sensor randomly lies. In his case, it seems to report 255 all the time... Pavel > @@ -457,7 +460,17 @@ > return_VALUE(-EINVAL); > > if (tz->temperature >= tz->trips.critical.temperature) { > + long old_temperature = tz->temperature; > ACPI_DEBUG_PRINT((ACPI_DB_WARN, "Critical trip point\n")); > + > + result = acpi_thermal_get_temperature(tz); > + if (!result) { > + if (tz->temperature < (tz->trips.critical.temperature - 100)) { > + printk(KERN_ALERT "ACPI changed its mind about temperature, was %ld C, now %ld C", > + KELVIN_TO_CELSIUS(old_temperature), KELVIN_TO_CELSIUS(tz->temperature)); > + return_VALUE(0); > + } > + } > tz->trips.critical.flags.enabled = 1; > } > else if (tz->trips.critical.flags.enabled) > > > -- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click