From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH 04/10] i2c-piix4: Document the IBM problem more
Date: Tue, 25 Apr 2006 11:37:25 +0000 [thread overview]
Message-ID: <20060425133725.ef4eadd2.khali@linux-fr.org> (raw)
Content-Disposition: inline; filename=i2c-piix4-improve-ibm-error-message.patch
Properly document on which systems the i2c-piix4 SMBus driver will
refuse to load. Hopefully this will make it clearer for users, which
were often wondering why their destop or server systems were detected
as laptops.
Closes bug #6429.
Signed-off-by: Jean Delvare <khali at linux-fr.org>
---
Documentation/i2c/busses/i2c-piix4 | 14 ++++++++++++++
drivers/i2c/busses/i2c-piix4.c | 2 +-
2 files changed, 15 insertions(+), 1 deletion(-)
--- linux-2.6.17-rc2.orig/Documentation/i2c/busses/i2c-piix4 2006-04-23 17:44:43.000000000 +0200
+++ linux-2.6.17-rc2/Documentation/i2c/busses/i2c-piix4 2006-04-23 17:46:00.000000000 +0200
@@ -82,3 +82,17 @@
Please note that you don't need to do that in all cases, just when the SMBus is
not working properly.
+
+
+Hardware-specific issues
+------------------------
+
+This driver will refuse to load on IBM systems with an Intel PIIX4 SMBus.
+Some of these machines have an RFID EEPROM (24RF08) connected to the SMBus,
+which can easily get corrupted due to a state machine bug. These are mostly
+Thinkpad laptops, but desktop systems may also be affected. We have no list
+of all affected systems, so the only safe solution was to prevent access to
+the SMBus on all IBM systems (detected using DMI data.)
+
+For additional information, read:
+http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/README.thinkpad
--- linux-2.6.17-rc2.orig/drivers/i2c/busses/i2c-piix4.c 2006-04-21 18:43:35.000000000 +0200
+++ linux-2.6.17-rc2/drivers/i2c/busses/i2c-piix4.c 2006-04-23 17:36:33.000000000 +0200
@@ -130,7 +130,7 @@
/* Don't access SMBus on IBM systems which get corrupted eeproms */
if (dmi_check_system(piix4_dmi_table) &&
PIIX4_dev->vendor = PCI_VENDOR_ID_INTEL) {
- dev_err(&PIIX4_dev->dev, "IBM Laptop detected; this module "
+ dev_err(&PIIX4_dev->dev, "IBM system detected; this module "
"may corrupt your serial eeprom! Refusing to load "
"module!\n");
return -EPERM;
--
Jean Delvare
reply other threads:[~2006-04-25 11:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060425133725.ef4eadd2.khali@linux-fr.org \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.