public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Mark Salter <msalter-H+wXaHxf7aLQT0dZR+AlfA@public•gmane.org>
To: "Myklebust,
	Trond" <Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA@public•gmane.org>
Cc: linux-next <linux-next-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>,
	"linux-nfs-u79uwXL29TY76Z2rM5mHXA@public•gmane.org"
	<linux-nfs-u79uwXL29TY76Z2rM5mHXA@public•gmane.org>
Subject: Re: nfs root problem in linux-next
Date: Mon, 25 Jun 2012 23:17:43 -0400	[thread overview]
Message-ID: <1340680664.20557.38.camel@deneb.redhat.com> (raw)
In-Reply-To: <1340666049.4362.9.camel-SyLVLa/KEI9HwK5hSS5vWB2eb7JE58TQ@public.gmane.org>

On Mon, 2012-06-25 at 23:14 +0000, Myklebust, Trond wrote:
> On Mon, 2012-06-25 at 16:26 -0400, Mark Salter wrote:
> > As of Friday's linux-next I've been unable to successfully boot using an
> > nfs root with a c6x board. I bisected it to this patch:
> > 
> >   commit cc3b296fd9a01c9e654bcb9373af70dd6e32fb24
> >   Author: Trond Myklebust <Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA@public•gmane.org>
> >   Date:   Thu Jun 21 14:53:10 2012 -0400
> > 
> >       SUNRPC: Clean up xdr_read_pages and xdr_enter_page
> > 
> > I placed "good-boot" and "bad-boot" packet capture files at:
> > 
> >   http://people.redhat.com/~msalter/linux-next/
> > 
> > The only difference in the kernels used is the above patch. The
> > bad-boot mounted the nfs root but was unable to find the init
> > file which caused a panic. The nfsroot= parameter uses v3,tcp
> > flags and the server side is running rhel6.
> > 
> > I'm not at all familiar with the nfs code, but can help with
> > testing or providing any addtional info needed.
> 
> Hi Mark,
> 
> So you are saying that reverting that patch alone suffices to fix the
> problem that you are seeing?

Yes. If I check out a tree at commit cc3b296fd9a, the resulting kernel
does not boot (it panics that it cannot find init). If I check out a
tree at  cc3b296fd9a~1, it boots the nfs root successfully.

...
> I'll have a look to see if I can find out what is the problem. The only
> significant change that patch should be introducing would be the use of
> xdr_stream_pos().

Okay. I am happy to help with any testing if needed to help characterize
the problem better.

--Mark




--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2012-06-26  3:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 20:26 nfs root problem in linux-next Mark Salter
     [not found] ` <1340656006.20557.30.camel-PDpCo7skNiwAicBL8TP8PQ@public.gmane.org>
2012-06-25 23:14   ` Myklebust, Trond
     [not found]     ` <1340666049.4362.9.camel-SyLVLa/KEI9HwK5hSS5vWB2eb7JE58TQ@public.gmane.org>
2012-06-26  3:17       ` Mark Salter [this message]
2012-06-29 13:55         ` Myklebust, Trond
2012-06-29 14:48           ` Mark Salter
2012-06-29 14:53             ` Fengguang Wu

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=1340680664.20557.38.camel@deneb.redhat.com \
    --to=msalter-h+wxahxf7alqt0dzr+alfa@public$(echo .)gmane.org \
    --cc=Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA@public$(echo .)gmane.org \
    --cc=linux-next-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    --cc=linux-nfs-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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