From: David Daney <ddaney@avtrex.com>
To: Thomas Horsten <thomas@horsten.com>
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Subject: Re: [BUG] R5000 failure in kmap_coherent on Lasat board, bug that has been there for a while?
Date: Fri, 13 Jun 2008 09:53:03 -0700 [thread overview]
Message-ID: <4852A5EF.5080703@avtrex.com> (raw)
In-Reply-To: <Pine.LNX.4.40.0806131600540.25629-100000@jehova.dsm.dk>
Thomas Horsten wrote:
> Hi all,
>
> (resending w/ more info because the first one didn't make it to the
> list - I'm subscribed now so hopefully it'll go through this time):
>
> This crash happens (late) during boot with 2.6.25.6. I think this is a
> general R5k issue with the cache handling code. It only seems to
> happen when the swap is in use like someone else observed, but usually
> only after some big processes like mysql have been started.
>
> As far as I can see it's the same issue that has been reported several
> other places, but with no resolution in any of them:
>
> http://www.linux-mips.org/archives/linux-mips/2007-12/msg00128.html
> http://www.linux-mips.org/archives/linux-mips/2008-01/msg00132.html
> and also seen by someone else here:
> http://lists.debian.org/debian-mips/2007/11/msg00034.html
>
> I'm thinking some subtle difference between R4k and R5k caches which
> isn't taken into account, or an aliasing bug that only triggers on
> R5k?
I have a mips 4KEc based system where I think it is happening too (sigma8634 based w/ 2.6.15 kernel).
>
> I also found what seems to be a related patch from OpenWRT but I have
> no idea what it's supposed to solve as I could only find the raw
> patch:
>
> https://dev.openwrt.org/browser/trunk/target/linux/brcm47xx/patches-2.6.25/160-kmap_coherent.patch?rev=11155
>
> In any case I tried to apply it to my Lasat kernel, but using the
> _atomic functions instead of _coherent just causes a much earlier
> crash.
>
I will try said patch on my O2/R5000 and the sigma8634.
Thanks,
David Daney
next prev parent reply other threads:[~2008-06-13 16:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 15:06 [BUG] R5000 failure in kmap_coherent on Lasat board, bug that has been there for a while? Thomas Horsten
2008-06-13 15:34 ` Ralf Baechle
2008-06-13 16:53 ` David Daney [this message]
2008-06-13 16:56 ` Ralf Baechle
2008-06-13 17:09 ` David Daney
2008-06-14 12:59 ` Ralf Baechle
2008-06-14 21:08 ` Thomas Horsten
2008-06-14 21:11 ` Ralf Baechle
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=4852A5EF.5080703@avtrex.com \
--to=ddaney@avtrex.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
--cc=thomas@horsten.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox