From: Corey Minyard <minyard@acm.org>
To: Ferenc Wagner <wferi@niif.hu>
Cc: Andrew Morton <akpm@linux-foundation.org>,
openipmi-developer@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [Openipmi-developer] modprobe ipmi_si hangs under 2.6.30-rc5
Date: Mon, 18 May 2009 13:40:54 -0500 [thread overview]
Message-ID: <20090518184053.GA24134@minyard.local> (raw)
In-Reply-To: <877i0eqpss.fsf@tac.ki.iif.hu>
On Mon, May 18, 2009 at 07:33:23PM +0200, Ferenc Wagner wrote:
> Andrew Morton <akpm@linux-foundation.org> writes:
>
> > Well there have only been a handful of changes to ipmi since 2.6.29.
> > Could you try a mini-bisection?
> >
> > Apply revert-1.patch, test
> > Apply revert-2.patch, test
> > Apply revert-3.patch, test
> > Apply revert-4.patch, test
>
> After applying revert-1.patch, modprobe runs OK:
>
> [ 86.968156] IPMI System Interface driver.
> [ 86.976276] ipmi_si: Trying SMBIOS-specified smic state machine at i/o address 0xecf4, slave address 0x20, irq 0
> [ 87.117630] ipmi: Found new BMC (man_id: 0x0002a2, prod_id: 0x0000, dev_id: 0x00)
> [ 87.133078] IPMI smic interface initialized
>
> I guess there's no point in trying the rest.
I think I see the problem. Can you try the patch at the end of the
email? I can't test it because I don't have an IPMI 1.0 sytem.
Thanks for setting up the mini-bisection, Andrew.
>
> When loading with debug options, it still produces insane amount of
> debug messages continuously (first 671 lines of it attached).
Yes, full debugging generates a ton of output, it logs everything it does
in that case.
Thanks,
-corey
Set the current channel to the number of channels in an IPMI 1.0 system,
as this value is used to tell if the channel information has been
initialized.
Signed-off-by: Corey Minyard <cminyard@mvista.com>
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index aa83a08..48f4269 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -2856,6 +2856,7 @@ int ipmi_register_smi(struct ipmi_smi_handlers *handlers,
/* Assume a single IPMB channel at zero. */
intf->channels[0].medium = IPMI_CHANNEL_MEDIUM_IPMB;
intf->channels[0].protocol = IPMI_CHANNEL_PROTOCOL_IPMB;
+ intf->curr_channel = 1;
}
if (rv == 0)
next prev parent reply other threads:[~2009-05-18 18:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-12 21:28 modprobe ipmi_si hangs under 2.6.30-rc5 Ferenc Wagner
2009-05-17 0:09 ` Andrew Morton
2009-05-18 17:33 ` Ferenc Wagner
2009-05-18 18:40 ` Corey Minyard [this message]
2009-05-19 6:26 ` [Openipmi-developer] " Ferenc Wagner
2009-05-19 21:38 ` Corey Minyard
2009-05-20 16:15 ` Ferenc Wagner
2009-05-20 16:34 ` Corey Minyard
2009-05-21 9:47 ` Ferenc Wagner
2009-05-21 12:37 ` Corey Minyard
2009-05-27 12:10 ` Bela Lubkin
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=20090518184053.GA24134@minyard.local \
--to=minyard@acm.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=openipmi-developer@lists.sourceforge.net \
--cc=wferi@niif.hu \
/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.