From: Domen Puncer <domen.puncer@telargo.com>
To: Kimmo Surakka <kusti@iki.fi>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: TQM5200 problems (kernel 2.4)
Date: Thu, 5 Jul 2007 08:54:29 +0200 [thread overview]
Message-ID: <20070705065429.GC4186@moe.telargo.com> (raw)
In-Reply-To: <a44e83440707040751o4f2e195dte8c2edafd5f864c@mail.gmail.com>
On 04/07/07 17:51 +0300, Kimmo Surakka wrote:
> Hello all,
>
Hi!
...
> Problem #2: I2C unreliability. My test setup has two slaves connected
> on the TQM5200 I2C bus #1. On default setup this bus is disabled, so I
> needed to edit file drivers/i2c/i2c-tqm5200.c and changethe value of
> MPC5xxx_I2C1_ENABLE. After this change, the bus gets initialised.
> However, it's not reliable. I send smbus_read_word and
> smbus_write_word commands to the slaves every few milliseconds. Sooner
> or later the bus gets stuck, apparently forever. I found an old I2c
This is probably a hardware bug as described in:
http://ozlabs.org/pipermail/linuxppc-embedded/2005-July/019038.html
> patch for mpc5200 and modified it a bit. With the patch applied, the
> kernel tries to detect bus lock-ups and reset the bus. This helps a
> lot: now the lock-ups are only temporary. However, the dmesg log gets
> polluted with lines like
>
> Warning: kfree_skb on hard IRQ c008ecfc
> Warning: kfree_skb on hard IRQ c008ecfc
> Warning: kfree_skb on hard IRQ c008ecfc
> Warning: kfree_skb on hard IRQ c008ecfc
> Warning: kfree_skb on hard IRQ c008ecfc
> Warning: kfree_skb on hard IRQ c008ecfc
>
> (always the same IRQ). The seem to come from net/core/skbuff.c, and
> caused by kfree_skb being called while in_irq().
>
I'm not seeing these (2.6-git from kernel.org)
Domen
next prev parent reply other threads:[~2007-07-05 6:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 14:51 TQM5200 problems (kernel 2.4) Kimmo Surakka
2007-07-05 6:54 ` Domen Puncer [this message]
2007-07-06 6:21 ` Kimmo Surakka
2007-07-05 22:13 ` Wolfgang Denk
2007-07-06 6:25 ` Kimmo Surakka
2007-08-02 9:17 ` Kimmo Surakka
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=20070705065429.GC4186@moe.telargo.com \
--to=domen.puncer@telargo.com \
--cc=kusti@iki.fi \
--cc=linuxppc-embedded@ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).