lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4B9067C0.6050907@gmail.com>
Date:	Thu, 04 Mar 2010 20:09:04 -0600
From:	Robert Hancock <hancockrwd@...il.com>
To:	Udo van den Heuvel <udovdh@...all.nl>
CC:	Andre Prendel <andre.prendel@....de>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, lm-sensors@...sensors.org
Subject: Re: [lm-sensors] 2.6.33 on jetway nc81-lf board

On 03/04/2010 08:34 AM, Udo van den Heuvel wrote:
> On 03/04/2010 10:17 AM, Andre Prendel wrote:
>> On Tue, Mar 02, 2010 at 09:37:09PM -0800, Andrew Morton wrote:
>>> (cc lm-sensors)
>>>
>>> On Mon, 01 Mar 2010 19:21:12 +0100 Udo van den Heuvel<udovdh@...all.nl>  wrote:
> (....)
>>>> No other sensor-related modules are loaded.
>>>>
>>>> What could be wrong?
>>
>> See lm-sensors FAQ Chapter3 #39:
>>
>>    http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31
>
> Thanks, but the explanation implies no real fix other than more
> consciously choosing to put system stability at risk.
> Is a better fix in the making?

I don't think a general fix is really possible at the kernel level. The 
problem is that there's no way for the kernel to tell for sure whether 
the BIOS AML or SMI code will attempt to access the sensor device. The 
fact that your BIOS defines AML operation regions that refer to the 
SMBus device is a hint that it may, but there's no programmatic way to 
tell for sure. If the kernel and BIOS end up attempting to poke the 
hardware monitoring chip at the same time, bad things are likely to 
happen (like ACPI thermal management not working properly causing 
overheating or critical shutdowns).

This problem isn't limited to Linux - loading software (at least that 
unapproved by the board manufacturer) on Windows that randomly pokes 
hardware sensors can cause similar problems if the BIOS attempts to 
access the same hardware.

The only real solution may be to check with the motherboard manufacturer 
to see if directly accessing the hardware sensors on that board is safe. 
(It's more likely to be OK on desktop machines than laptops, since they 
usually have less complex thermal/fan management, but there are no 
guarantees.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ