Bug 155344 - add fix for IPMI/ACPI OOPS
add fix for IPMI/ACPI OOPS
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Brian Maly
Brian Brock
: Patch
Depends On:
Blocks: 154907 156322
  Show dependency treegraph
 
Reported: 2005-04-19 07:29 EDT by Karsten Hopp
Modified: 2010-10-21 22:55 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHSA-2005-514
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-05 09:01:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Karsten Hopp 2005-04-19 07:29:24 EDT
Description of problem:
http://sourceforge.net/mailarchive/forum.php?thread_id=6967907&forum_id=14082
> I meet an OOPs when loading si driver on a HP CX2600 machine with Red Hat 
> Enterprise Linux AS release 4(2.6.9). It seems we get a zero 
> register_bit_width  and a invalid address after acpi_get_firmware_table.
> The ACPI guys gave out a patch for it as follows.
--- a/drivers/char/ipmi/ipmi_si_intf.c	2005-03-03 10:56:51.000000000 +0800
 +++ b/drivers/char/ipmi/ipmi_si_intf.c	2005-03-17 16:34:32.478606080 +0800
 @@ -1466,6 +1466,11 @@ static int try_init_acpi(int intf_num, s
  	if (!is_new_interface(-1, addr_space, spmi->addr.address))
  		return -ENODEV;
  
 +	if (!spmi->addr.register_bit_width) {
 +		acpi_failure = 1;
 +		return -ENODEV;
 +	}
 +
  	/* Figure out the interface type. */
  	switch (spmi->InterfaceType)
  	{


Version-Release number of selected component (if applicable):
kernel < 2.6.11
Comment 1 Brian Maly 2005-06-02 16:59:50 EDT
patch posted 6/2/2005  (pending approval)
Comment 2 Brian Maly 2005-06-14 16:32:36 EDT
devel ACK for U2
Comment 4 Brian Maly 2005-07-25 15:18:01 EDT
the following patch was posted to rhkernel (which resolves this issue):


--- linux-2.6.9/drivers/char/ipmi/ipmi_si_intf.c.orig	2005-06-02
15:59:39.274561784 -0400
+++ linux-2.6.9/drivers/char/ipmi/ipmi_si_intf.c	2005-06-02 16:01:12.000000000 -0400
@@ -1466,6 +1466,11 @@ static int try_init_acpi(int intf_num, s
 	if (!is_new_interface(-1, addr_space, spmi->addr.address))
 		return -ENODEV;
 
+	if (!spmi->addr.register_bit_width) {
+		acpi_failure = 1;
+		return -ENODEV;
+	}
+
 	/* Figure out the interface type. */
 	switch (spmi->InterfaceType)
 	{

Comment 7 David Lawrence 2005-08-09 14:45:23 EDT
Is bug 165466 related to this?
Comment 8 Brian Maly 2005-08-09 14:51:41 EDT
bug 165466 appears to be a duplicate of this bug (based on the symptoms anyway).
the -11.41.EL kernel should fix this issue

Comment 10 Red Hat Bugzilla 2005-10-05 09:01:47 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-514.html

Note You need to log in before you can comment on or make changes to this bug.