Skip to contentSkip to conversation

linux 2.6.31-rc6 regression

BUG Zeev Tarantov 6 participants 10 messages Aug 15, 2009 – Aug 16, 2009

lore
Share & tools
lore
#0 lore raw

Since upgrading from vanilla 2.6.31-rc5 to vanilla 2.6.31-rc6, my onboard temp/fan/voltage sensors stopped working.
The motherboard is an asus p5k-e with a w83627ehf sensors chip.

In the new dmesg it says:

[    3.276720] w83627ehf: Found W83627DHG chip at 0x290
[    3.276894] ACPI: I/O resource w83627ehf [0x295-0x296] conflicts
with ACPI region HWRE [0x290-0x299]
[    3.277171] ACPI: Device needs an ACPI driver

I can provide more data, perform tests, whatever you need.

I am not setup for git bisect (I compile tarballs), but if no one can figure it out I'll do that too, it is easy to reproduce.

I am not subscribed to the list, please cc: me. In any case I'll follow this thread on archives.

I'm using the nvidia binary blob, but this happens before it is loaded and so I will not even bother to reproduce without it.

-Zeev

#1 lore raw
Quoted 4 lines · Zeev Tarantov

Since upgrading from vanilla 2.6.31-rc5 to vanilla 2.6.31-rc6, my onboard temp/fan/voltage sensors stopped working.
The motherboard is an asus p5k-e with a w83627ehf sensors chip.

Quoted 9 lines

In the new dmesg it says:

[    3.276720] w83627ehf: Found W83627DHG chip at 0x290
[    3.276894] ACPI: I/O resource w83627ehf [0x295-0x296] conflicts
with ACPI region HWRE [0x290-0x299]
[    3.277171] ACPI: Device needs an ACPI driver

I can provide more data, perform tests, whatever you need.

Yeah, I have the same problem here, see:
http://bugzilla.kernel.org/show_bug.cgi?id=13967

Signature · 1 line
Markus
#2 lore raw
In reply to Zeev Tarantov
Quoted 4 lines · Zeev Tarantov
[    3.276720] w83627ehf: Found W83627DHG chip at 0x290
[    3.276894] ACPI: I/O resource w83627ehf [0x295-0x296] conflicts
with ACPI region HWRE [0x290-0x299]
[    3.277171] ACPI: Device needs an ACPI driver

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

Signature · 1 line
Matthew Garrett | [email protected]
#3 lore raw
Quoted 7 lines · Matthew Garrett
Quoted 4 lines · Zeev Tarantov
[    3.276720] w83627ehf: Found W83627DHG chip at 0x290
[    3.276894] ACPI: I/O resource w83627ehf [0x295-0x296] conflicts
with ACPI region HWRE [0x290-0x299]
[    3.277171] ACPI: Device needs an ACPI driver
Quoted 9 lines

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

Signature · 1 line
Markus
#4 lore raw
Quoted 11 lines · Markus Trippelsdorf
Quoted 9 lines · Matthew Garrett

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

Quoted 4 lines

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

It's not - 2.6.29 had this behaviour, and it got broken in 2.6.30. This restores the status quo.

Signature · 1 line
Matthew Garrett | [email protected]
#5 lore raw
Quoted 9 lines · Matthew Garrett
Quoted 6 lines · Markus Trippelsdorf
Quoted 1 line · Matthew Garrett

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

It's not - 2.6.29 had this behaviour, and it got broken in 2.6.30. This restores the status quo.

Then why did my 2.6.29 did _not_ have this behavior? (here: ASUS M3A78-EM, it87 driver)

Signature · 3 lines
Stefan Richter
-=====-==--= =--- =----
http://arcgraph.de/sr/
#6 lore raw
Quoted 18 lines · Stefan Richter
Quoted 17 lines · Matthew Garrett
Quoted 15 lines · Markus Trippelsdorf
Quoted 10 lines · Matthew Garrett

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

Quoted 5 lines
Quoted 2 lines

It's not - 2.6.29 had this behaviour, and it got broken in 2.6.30. This restores the status quo.

Then why did my 2.6.29 did _not_ have this behavior? (here: ASUS M3A78-EM, it87 driver)

Some other bug?

Signature · 1 line
Matthew Garrett | [email protected]
#7 lore raw
In reply to Markus Trippelsdorf
Quoted 10 lines
Quoted 9 lines

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

Quoted 4 lines

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

This is a bug fix not a feature - clashing hwmon and ACPI can seriously screw up a system, cause it to do things like shutdown randomly and the like.

Alan

#8 lore raw
In reply to Markus Trippelsdorf
Quoted 18 lines · Markus Trippelsdorf
Quoted 7 lines · Matthew Garrett
Quoted 4 lines · Zeev Tarantov
[    3.276720] w83627ehf: Found W83627DHG chip at 0x290
[    3.276894] ACPI: I/O resource w83627ehf [0x295-0x296] conflicts
with ACPI region HWRE [0x290-0x299]
[    3.277171] ACPI: Device needs an ACPI driver
Quoted 9 lines

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

Quoted 4 lines

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

Note that, as this is an ASUS board, there is actually an ACPI firmware driver available that will let you do hardware monitoring in a way that doesn't conflict with the firmware - give the "ASUS ATK0110 ACPI hwmon" driver a try.

Signature · 1 line
Calvin Walton <[email protected]>
#9 lore raw
Quoted 24 lines · Calvin Walton
Quoted 18 lines · Markus Trippelsdorf
Quoted 7 lines · Matthew Garrett
Quoted 4 lines · Zeev Tarantov
[    3.276720] w83627ehf: Found W83627DHG chip at 0x290
[    3.276894] ACPI: I/O resource w83627ehf [0x295-0x296] conflicts
with ACPI region HWRE [0x290-0x299]
[    3.277171] ACPI: Device needs an ACPI driver
Quoted 9 lines

The hwmon driver is attempting to allocate a region that's also used by your ACPI firmware. There's no way to synchronise access between the kernel and the firmware, so allowing both is potentially racy - we've seen numerous cases where the combination results in the system incorrectly generating critical temperatuer shutdowns, for instance, when some other indexed access gets interpreted as the temperature or when the hwmon chip's state machine is confused. The failure of hwmon to bind is a feature here, not a bug. You can override it with acpi_enforce_resources=no on the kernel command line.

Quoted 4 lines

But we don't introduce »features« that break hardware monitoring on numerous machines in rc6 normally, IIRC.
If this so important and critical to you, than just add a »hyperstrict« parameter to acpi_enforce_resources or make »lax« the default.

Quoted 4 lines

Note that, as this is an ASUS board, there is actually an ACPI firmware driver available that will let you do hardware monitoring in a way that doesn't conflict with the firmware - give the "ASUS ATK0110 ACPI hwmon" driver a try.

Thanks for the hint. I had to patch lm_sensors, but now everything is working fine. The output of sensors is also much nicer.

(http://lists.lm-sensors.org/pipermail/lm-sensors/2008-June/023606.html)

Signature · 1 line
Markus