WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-bugs

[Xen-bugs] [Bug 393] New: dom0 OpenIPMI driver neither finds nor initial

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 393] New: dom0 OpenIPMI driver neither finds nor initializes BMC
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 09 Nov 2005 00:37:10 +0000
Delivery-date: Wed, 09 Nov 2005 00:37:14 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=393

           Summary: dom0 OpenIPMI driver neither finds nor initializes BMC
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: Linux-2.6
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Hardware Support
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: aball@xxxxxxxxxx
                CC: hohnbaum@xxxxxxxxxx,niv@xxxxxxxxxx


Problem description: The dom0 Linux kernel's ipmi_si module fails to detect the
BMC on an HS20 8843-25U blade.  When given the BMC's port number manually, the
module fails to initialize the BMC. 

This is on Xen-unstable changeset 7701:abbe3df33774 .

Excerpt from dmesg with the Xen domain 0 Linux kernel:
[Linux ibmhc1blade10 2.6.12.6-xen0 #1 Thu Nov 3 22:16:46 EST 2005 i686 i686 i386
GNU/Linux]:

ipmi message handler version v33
IPMI System Interface driver version v33, KCS version v33, SMIC version v33, BT
version v33
ipmi_si: Trying "kcs" at I/O port 0xca2
ipmi_si: Trying "smic" at I/O port 0xca9
ipmi_si: Trying "bt" at I/O port 0xe4
ipmi_si: Unable to find any System Interface(s)

Excerpt from dmesg with the default RHEL 4 Update 2 i386 Linux kernel
[Linux ibmhc1blade10 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686
i686 i386 GNU/Linux]:

ipmi message handler version 33.4
IPMI System Interface driver version 33.4, KCS version 33.4, SMIC version 33.4,
BT version 33.4
ipmi_si: Found SMBIOS-specified state machine at I/O address 0xca8, slave
address 0x20
 IPMI kcs interface initialized
ipmi device interface version 33.4

We have seen what appears to be the same problem in 64-bit RHEL 4 Update 2 on a
blade of the same type.

Note that in the dom0 kernel, the I/O address probed for the BMC for KCS is
incorrect and SMBIOS is not mentioned in the kernel messages.  Running
'dmidecode' in dom0 shows a correct type 38 entry for the BMC.

Steps to reproduce:

(1) Build a dom0 kernel with IPMI support.  The relevant section of
linux-2.6.12-xen0/.config is copied here:
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

with

#
# IPMI
#
CONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
CONFIG_IPMI_WATCHDOG=m
CONFIG_IPMI_POWEROFF=m

Alternatively, you can select OpenIPMI support via

cd linux-2.6-xen0
make ARCH=xen menuconfig

(3) Build and install the Xen Linux kernel with OpenIPMI support:
# from inside linux-2.6-xen0
make ARCH=xen
# as root
make ARCH=xen INSTALL_PATH=/ modules_install install

(4) Make initrd's for the Xen dom0 and domU kernels and boot into dom0.

(5) Load the ipmi_si kernel module as root:
    modprobe ipmi_si

Additional information:

It looks like isa_memcpy_fromio(buf, 0xfdfe0, 15) is copying all zeros to buf in
ipmi_si_intf.c:dmi_decode().  This causes the SMBIOS entry point's intermediate
anchor string ('_DMI_') not to be found (it's at physical address 0xfdfe0 on
this machine).

Using

modprobe ipmi_si ports=0xca8

fails as well, with the following messages from the dom0 Linux kernel:

IPMI System Interface driver version v33, KCS version v33, SMIC version v33, BT
version v33
ipmi_si: Trying "kcs" at I/O port 0xca8
ipmi_si: Unable to find any System Interface(s)

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 393] New: dom0 OpenIPMI driver neither finds nor initializes BMC, bugzilla-daemon <=