hwmon: (lm78) Fix I/O resource conflict with PNP

Bug #242761 reported by Ralph Krimmel on 2008-06-24
6
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned
Hardy
Undecided
Unassigned

Bug Description

Hello, i found this bug which was the reason, that lm-sensors couldnt find any sensors, altough it should have with the lm78 driver.
khali wrote a patch, i tested it and it works now. Here are some further information:

From: Jean Delvare <email address hidden>
Subject: hwmon: (lm78) Fix I/O resource conflict with PNP

Only request I/O ports 0x295-0x296 instead of the full I/O address
range. This solves a conflict with PNP resources on a few motherboards.

Also request the I/O ports in two parts (4 low ports, 4 high ports)
during device detection, otherwise the PNP resource make the request
(and thus the detection) fail.

This is the exact same fix that was applied to driver w83781d in
March 2008 to address the same problem:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2961cb22ef02850d90e7a12c28a14d74e327df8d

Ralph Krimmel (leche) wrote :
description: updated
Ralph Krimmel (leche) on 2008-06-24
description: updated
Tim Gardner (timg-tpi) wrote :

SRU Justification:

Impact: The lm-sensors module fails to load on some motherboards

Patch Description: Only request I/O ports 0x295-0x296 instead of the full I/O address range. This solves a conflict with PNP resources on a few motherboards.

Patch: Upstream cherry-pick http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=12c0aa7d1af0468d5c8941ee30056bc3e74c2c07

Test Case: See Bug description.

Steve Langasek (vorlon) wrote :

Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux:
status: New → Fix Committed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ill test the proposed next week.

Regards
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkiBCBUACgkQzAwLT/gXfVtdEQCfb1RWZcrCUOesB+MFX75hKZ1J
lFcAmgNo4YUBYPxgYne30CSXcGRdfnHp
=m/jl
-----END PGP SIGNATURE-----

Martin Pitt (pitti) wrote :

linux 2.6.24-21 copied to hardy-updates.

Changed in linux:
status: Fix Committed → Fix Released
Tim Gardner (timg-tpi) on 2009-04-14
Changed in linux (Ubuntu):
assignee: Tim Gardner (timg-tpi) → nobody
importance: Low → Undecided
milestone: ubuntu-8.04.2 → none
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers