All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
To: linux-kernel@vger.kernel.org
Cc: rob.herring@calxeda.com, tcminyard@gmail.com,
	Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Subject: Re: [BISECTED] ipmi_si not loading since 2.6.39
Date: Sat, 21 Apr 2012 09:20:56 +0200	[thread overview]
Message-ID: <20120421072056.GA2033@nik-comp.lan> (raw)
In-Reply-To: <20120420223833.GA7855@nik-comp.lan>

[-- Attachment #1: Type: text/plain, Size: 3960 bytes --]

Hi,

here's further information Rob and Corey requested:

on working system:

[root@vbox4 ~]# cat /proc/ipmi/0/params
kcs,i/o,0xca2,rsp=1,rsi=1,rsh=0,irq=0,ipmb=0

dmesg snippet:

[   41.759319] ipmi message handler version 39.2
[   41.760690] ipmi device interface
[   42.765334] IPMI System Interface driver.
[   42.765336] ipmi_si: probing via hardcoded address
[   42.765337] ipmi_si: Adding hardcoded-specified kcs state machine
[   42.765340] ipmi_si: Trying hardcoded-specified kcs state machine at i/o address 0xca8, slave address 0x0, irq 0
[   42.765344] ipmi_si: Interface detection failed
[   42.770823] ipmi_si: probing via SMBIOS
[   42.770834] ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0
[   42.770836] ipmi_si: Adding SMBIOS-specified kcs state machine
[   42.770838] ipmi_si: probing via SPMI
[   42.770840] ipmi_si: SPMI: io 0xe4 regsize 1 spacing 1 irq 0
[   42.770841] ipmi_si: Adding SPMI-specified kcs state machine
[   42.770843] ipmi_si: Trying SMBIOS-specified kcs state machine at i/o address 0xca2, slave address 0x0, irq 0
[   42.798137] ipmi_si ipmi_si.0: Error clearing flags: cc
[   42.801011] ipmi_si ipmi_si.0: Found new BMC (man_id: 0x002a7c, prod_id: 0x0624, dev_id: 0x20)
[   42.801068] ipmi_si ipmi_si.0: IPMI kcs interface initialized


dmidecode:

IPMI Device Information
        Interface Type: KCS (Keyboard Control Style)
        Specification Version: 2.0
        I2C Slave Address: 0x00
        NV Storage Device: Not Present
        Base Address: 0x0000000000000CA2 (I/O)
        Register Spacing: Successive Byte Boundaries

Base Board Information
        Manufacturer: Supermicro
        Product Name: X9SCL/X9SCM

(but we're experiencing this on various supermicro bords, ie X8DTL)

Tried setting parameters by hand didn't help:

modprobe ipmi_si type=kcs addrs=0xca8 regspacings=1 regsizes=1 regshifts=0 irqs=0 slave_addrs=0x0

(not sure whether I got them correct though, and values mostly seem to me to be defaults anyways..)

nik


On Sat, Apr 21, 2012 at 12:38:33AM +0200, Nikola Ciprich wrote:
> Hello,
> 
> I was trying to find out why IPMI stopped working on new kernels. Since 2.6.39
> module loading ends with following message:
> 
>  ipmi_si: Interface detection failed
> 
> Then ipmitool is unable to control IPMI device. 
> 
> Works for 2.6.38, doesn't work for 2.6.39, 3.0.28, 3.4-rc1.
> 
> I got this bisected to following commit:
> 
> commit a1e9c9dd3383e6a1a762464ad604b1081774dbda
> Author: Rob Herring <rob.herring@calxeda.com>
> Date:   Wed Feb 23 15:37:59 2011 -0600
> 
>     ipmi: convert OF driver to platform driver
>     
>     of_bus is deprecated in favor of the plain platform bus. This patch
>     merges the ipmi OF driver with the existing platform driver.
>     
>     CONFIG_PPC_OF occurrances are removed or replaced with CONFIG_OF.
>     
>     Compile tested with and without CONFIG_OF. Tested OF probe and
>     default probe cases.
>     
>     Signed-off-by: Rob Herring <rob.herring@calxeda.com>
>     Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
> 
> I wonder whether this is a bug, or I'm doing something wrong?
> 
> Thanks in advance!
> 
> with best regards
> 
> nik
> 
> 
> -- 
> -------------------------------------
> Ing. Nikola CIPRICH
> LinuxBox.cz, s.r.o.
> 28. rijna 168, 709 01 Ostrava
> 
> tel.:   +420 596 603 142
> fax:    +420 596 621 273
> mobil:  +420 777 093 799
> 
> www.linuxbox.cz
> 
> mobil servis: +420 737 238 656
> email servis: servis@linuxbox.cz
> -------------------------------------



-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 01 Ostrava

tel.:   +420 596 603 142
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@linuxbox.cz
-------------------------------------

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2012-04-21  7:21 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-20 22:38 [BISECTED] ipmi_si not loading since 2.6.39 Nikola Ciprich
2012-04-21  0:33 ` Rob Herring
2012-04-21  0:34 ` Corey Minyard
2012-04-21  7:20 ` Nikola Ciprich [this message]
2012-04-23 20:09   ` Rob Herring
2012-04-23 20:20     ` Nikola Ciprich
2012-04-24 13:41     ` Corey Minyard
2012-04-24 20:37       ` Nikola Ciprich
2012-04-24 20:55         ` Rob Herring
2012-04-24 21:30           ` Nikola Ciprich
2012-04-24 21:57             ` Corey Minyard
2012-04-25  4:21               ` Nikola Ciprich
2012-04-25 16:49                 ` Corey Minyard
2012-04-25 17:58                   ` Nikola Ciprich
2012-04-28 14:43                     ` Nikola Ciprich
2012-04-29  3:34                       ` Corey Minyard
2012-04-29  7:18                         ` [BISECTED] SOLVED " Nikola Ciprich
2012-04-23 20:09   ` [BISECTED] " Nikola Ciprich

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=20120421072056.GA2033@nik-comp.lan \
    --to=nikola.ciprich@linuxbox.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rob.herring@calxeda.com \
    --cc=tcminyard@gmail.com \
    /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.