Fedora Core 5 latest kernel breaks lmsensors on Asus
Subsystems (3)
Upon updating to the latest kernel (2.6.16-1.2122_FC5) & rebooting I find that I no longer have lmsensors. /var/log/messages gives this in the suspect area:
=====
.
.
.
May 22 11:42:42 localhost kernel: i2c_adapter i2c-0: SMBus Quick command not supported, can't probe for chips May 22 11:42:42 localhost kernel: i2c_adapter i2c-1: SMBus Quick command not supported, can't probe for chips May 22 11:42:42 localhost kernel: i2c_adapter i2c-2: SMBus Quick command
not supported, can't probe for chips
.
.
.
====
Responses I got from the Fedora mail-list seemed to indicate that this is specific to Asus M/B's. Mine is an Asus P4B533. I have been using lmsensors on this system for several years thru many Fedora kernels. The previous kernel (kernel-2.6.16-1.2111_FC5) & kernels prior work fine.
I get the impression that since a small population is having the issue no effort will be made on the kernel side.
Any advice is welcome.
[lm-sensors] Fedora Core 5 latest kernel breaks lmsensors on
Quoted 2 lines · On Tue, 23 May 2006 22:07:11 -0500 Laurence Vanek wrote:
Upon updating to the latest kernel (2.6.16-1.2122_FC5) & rebooting I find that I no longer have lmsensors.
[skip]
Quoted 7 lines
Responses I got from the Fedora mail-list seemed to indicate that this is specific to Asus M/B's. Mine is an Asus P4B533. I have been using lmsensors on this system for several years thru many Fedora kernels. The previous kernel (kernel-2.6.16-1.2111_FC5) & kernels prior work fine.
I get the impression that since a small population is having the issue no effort will be made on the kernel side.
I have made a somewhat hackish workaround for this problem (not really tested yet). With the patch below, you will need to add 'unhide_smbus' boot option to restore the previous behavior (however, the S3 sleep state will be disabled even if your ACPI BIOS supports it).
There was some thinking about running PCI quirks at resume time, which should fix the underlying problem and allow to enable unhiding again, but such change will need much discussion and testing before it can appear in the mainline kernel.
----------------------------------------------------------------------
Add 'unhide_smbus' boot option to unhide SMBus controllers
The recent fix for the "smbus unhiding kills thermal management" problem just disabled the SMBus unhiding code on kernels configured with CONFIG_ACPI_SLEEP=y. However, some people may use the same kernel image on different machines, some of which need S3, and some other ones need SMBus unhiding but not S3. This patch adds a boot option to enable SMBus unhiding even with CONFIG_ACPI_SLEEP=y (to be safe, unhiding an SMBus controller disables ACPI S3 sleep state).
drivers/acpi/sleep/main.c renamed from drivers/acpi/sleep/main.c.alt-disable-sleep +5 -0
@@ -20,6 +20,7 @@#include "sleep.h" u8 sleep_states[ACPI_S_STATE_COUNT ]; +u8 __initdata disabled_sleep_states[ACPI_S_STATE_COUNT ];static struct pm_ops acpi_pm_ops;
@@ -209,6 +210,10 @@ static int __init acpi_sleep_init(void)if (ACPI_SUCCESS (status)) { sleep_states[i] =1 ;printk (" S%d" , i); +if (disabled_sleep_states[i]) { + sleep_states[i] =0 ; +printk ("(disabled)" ); + } }if (i =ACPI_STATE_S4 ) {if (sleep_states[i])
drivers/pci/quirks.c renamed from drivers/pci/quirks.c.alt-unhide-smbus +44 -5
83 lines not on this page · raw message
Documentation/kernel-parameters.txt renamed from Documentation/kernel-parameters.txt.alt-unhide-smbus +4 -0
@@ -1617,6 +1617,10 @@ running once the system is up. uart6850= [HW,OSS] Format: <io>,<irq> + unhide_smbus [HW,ACPI] + Unhide SMBus controllers which were hidden by BIOS. + This disables ACPI S3 sleep support. + usbhid.mousepoll [USBHID] The interval which mice are to be polled at.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20060525/ae666152/attachment.bin