From: "Gerhard Pircher" <gerhard_pircher@gmx.net>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>, tur@semihalf.com
Cc: linuxppc-dev@ozlabs.org
Subject: Re: NFS problems on a MPC5200-based board
Date: Wed, 11 Mar 2009 23:26:15 +0100 [thread overview]
Message-ID: <20090311222615.63410@gmx.net> (raw)
In-Reply-To: <1236807566.7086.51.camel@pasglop>
-------- Original-Nachricht --------
> Datum: Thu, 12 Mar 2009 08:39:26 +1100
> Von: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> An: "Bartłomiej Sięka" <tur@semihalf.com>
> CC: linuxppc-dev@ozlabs.org, gerhard_pircher@gmx.net, Grant Likely <grant.likely@secretlab.ca>
> Betreff: Re: NFS problems on a MPC5200-based board
> On Wed, 2009-03-11 at 16:08 +0100, Bartłomiej Sięka wrote:
> > Hi,
> >
> > This is a follow-up on NFS problems on an MPC5200-based board reported
> > here a while back:
> >
> >
> http://www.nabble.com/-PATCH--Add-support-for-the-digsy-MTC-board.-to21750004.html#a21792612
> >
> > To recap: while using NFS, especially while mounting the root
> > filesystem over NFS, the system is really slow and displays a bunch of
> > "nfs: server 192.168.1.1 not responding, still trying" messages.
> > Sometimes it is able to get to the login prompt, sometimes not. In
> > cases where the login is successful, the system is still extremely
> > sluggish (console hangs for tens of seconds and longer).
> >
> > git bisect narrows down the troublesome commit as:
>
> Maybe you need to set CPU_FTR_NEED_COHERENT for the 5200 ?
I would say the same, as the patch just replicates the
CPU_FTR_NEED_COHERENT handling of the hash page table code.
regards,
Gerhard
> > commit 4c456a67f501b8b15542c7c21c28812bf88f484b
> > Author: Gerhard Pircher <gerhard_pircher@gmx.net>
> > Date: Fri Jan 23 06:51:28 2009 +0000
> >
> > powerpc/mm: Fix handling of _PAGE_COHERENT in BAT setup code
> >
> > _PAGE_COHERENT is now always set in _PAGE_RAM resp. PAGE_KERNEL.
> > Thus it has to be masked out, if the BAT mapping should be non
> > cacheable or CPU_FTR_NEED_COHERENT is not set.
> >
> > This will work on normal SMP setups because we force-set
> > CPU_FTR_NEED_COHERENT as part of CPU_FTR_COMMON on SMP.
> >
> > Signed-off-by: Gerhard Pircher <gerhard_pircher@gmx.net>
> > Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> >
> >
> > We have tested recent mainline kernel (past 2.6.29-rc7) with the
> > 4c456a6...
> > commit reverted and NFS problems went away.
> >
> > Other people have also reported similar problems (original posters on
> > Cc):
> >
> http://www.nabble.com/-PATCH--Add-support-for-the-digsy-MTC-board.-tp21750004p21792825.html
> >
> http://www.nabble.com/-PATCH--Add-support-for-the-digsy-MTC-board.-tp21750004p21792612.html
> >
> > The commit in question does not look directly related to NFS/
> > networking; moreover it is a fix for some other problem, so just
> > reverting it is not an option, it seems (?). So how do we go about
> > having NFS operational again? Any comments?
> >
> > Regards,
> > Bartlomiej Sieka
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
next prev parent reply other threads:[~2009-03-11 22:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 15:08 NFS problems on a MPC5200-based board Bartłomiej Sięka
2009-03-11 21:39 ` Benjamin Herrenschmidt
2009-03-11 22:26 ` Gerhard Pircher [this message]
2009-03-16 10:05 ` [PATCH] powerpc: Enable CPU_FTR_NEED_COHERENT for MPC52xx Piotr Ziecik
2009-03-17 3:54 ` Grant Likely
2009-03-17 4:43 ` Grant Likely
2009-03-17 12:10 ` Kumar Gala
2009-03-17 13:45 ` Grant Likely
2009-03-17 13:49 ` Kumar Gala
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=20090311222615.63410@gmx.net \
--to=gerhard_pircher@gmx.net \
--cc=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=tur@semihalf.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;
as well as URLs for NNTP newsgroup(s).