From: rhirst@levanta.com (Richard Hirst)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] i801_smbus 0000:00:1f.3: Bus collision!
Date: Thu, 08 Sep 2005 09:54:23 +0000 [thread overview]
Message-ID: <20050908075327.GC8392@levanta.com> (raw)
In-Reply-To: <20050907213603.GW8392@levanta.com>
On Wed, Sep 07, 2005 at 08:05:53PM -0400, Mark M. Hoffman wrote:
> Hello Richard:
>
> * Richard Hirst <rhirst@levanta.com> [2005-09-07 22:36:03 +0100]:
> > This is on an Intel motherboard running an FC3 2.6.10-1.766.FC3smp
> > kernel with these additional patches:
> >
> > linux-ipmi-2.6.10-base.diff
> > linux-i2c-2.6.10-nonblock.diff
> > linux-i2c-2.6.10-i801_nonblock.diff
> > linux-ipmi-2.6.10-smb.diff
> > patch-linux-2.6.11.5-bmcsensors.diff
>
> I assume these patches came from here:
> http://openipmi.sourceforge.net/
Yes.
> > The board has an mBMC which is basically working in that I can read
> > the sensors either by 'ipmitool' or 'sensors'.
> >
> > However, round about every 10 reboots or so, I get the Bus collision
> > message and the system locks up solid during boot after outputting a
> > few messages such as
> >
> > i801_smbus 0000:00:1f.3: Bus collision!
> > i801_smbus 0000:00:1f.3: Reset failed! (01)
> > i801_smbus 0000:00:1f.3: Reset failed! (01)
> > i801_smbus 0000:00:1f.3: Reset failed! (01)
> > bmcsensors.o: Error 0xff on cmd 0xa/0x23; state = 2; probably fatal.
> > i801_smbus 0000:00:1f.3: Reset failed! (01)
> > i801_smbus 0000:00:1f.3: Reset failed! (01)
> > i801_smbus 0000:00:1f.3: Reset failed! (01)
> >
> >
> > I'm assuming this indicates that two things have tried to use the
> > i2c bus at the same time, and I guess one of them is the bmcsensors
> > code.
> >
> > I also tried adding code to check 'd->in_use' at the beginning of
> > i801_start() because it looked to me like in_use should perhaps
> > normally be zero at that point. Don't know if that is valid, but
> > I did get a few indications of i801_start() getting called with
> > d->in_use non-zero.
>
> I looked at the patch *very* briefly... I don't think 'd->in_use' is used to
> prevent concurrent accesses. It looks like a kind of adapter ref-count to me.
Yeah, it could be, but it isn't very clear at all. It looked like
i801_finish() sets d->finished = 1, and then the next call to
i801_poll() sets in_use = 0. d->in_use certainly isn't used to
prevent concurrent access, I guess something higher up should be
preventing that.
> I would suggest you use either of sensors or ipmitool, but not both. If you're
> using ipmitool, perhaps make sure you're *not* loading any of the sensors drivers:
> eeprom, lm78, etc.
OK; at the point where it dies I certianly havn't used ipmitool.
Not sure if startup scripts have used sensors or not.
> > It's a single cpu box with hyperthreading, running an SMP kernel.
> >
> > Anyway,
> >
> > a) has anyone else seen problems like this?
> >
> > b) is it a known problem that is likely fixed in later code?
> >
> > c) could it be a bug triggered by the SMP kernel?
> >
> > d) any suggestions as to where I go from here ;-)
>
> Have you tried the openipmi mailing list?
> http://lists.sourceforge.net/lists/listinfo/openipmi-developer
Yeah, that might be a good place to ask, thanks!
I did get another failure where the console output ended in
i801_smbus 0000:00:1f.3: Reset failed! (01)
i801_smbus 0000:00:1f.3: Reset failed! (01)
i801_smbus 0000:00:1f.3: Reset failed! (01)
i80<4>do_IRQ: stack overflow: 116
which gives me a few more ideas of things to look at.
Thanks,
Richard
next prev parent reply other threads:[~2005-09-08 9:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-07 23:36 [lm-sensors] i801_smbus 0000:00:1f.3: Bus collision! Richard Hirst
2005-09-08 2:06 ` Mark M. Hoffman
2005-09-08 9:54 ` Richard Hirst [this message]
2005-09-08 16:25 ` Yani Ioannou
2005-09-08 17:34 ` Richard Hirst
2005-09-08 17:51 ` Richard Hirst
2005-09-08 18:57 ` Mark M. Hoffman
2005-09-08 19:09 ` Yani Ioannou
2005-09-08 19:12 ` Mark M. Hoffman
2005-09-08 20:51 ` Richard Hirst
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=20050908075327.GC8392@levanta.com \
--to=rhirst@levanta.com \
--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.