* nfs root problem in linux-next
@ 2012-06-25 20:26 Mark Salter
[not found] ` <1340656006.20557.30.camel-PDpCo7skNiwAicBL8TP8PQ@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Mark Salter @ 2012-06-25 20:26 UTC (permalink / raw)
To: Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA
Cc: linux-next, linux-nfs-u79uwXL29TY76Z2rM5mHXA
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.
--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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfs root problem in linux-next
[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>
0 siblings, 1 reply; 6+ messages in thread
From: Myklebust, Trond @ 2012-06-25 23:14 UTC (permalink / raw)
To: Mark Salter; +Cc: linux-next, linux-nfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
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@netapp.com>
> 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?
Firstly, a big "Thank You!!!" for testing the linux-next branch. I very
much appreciate that you report the bugs before they get merged
upstream.
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().
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfs root problem in linux-next
[not found] ` <1340666049.4362.9.camel-SyLVLa/KEI9HwK5hSS5vWB2eb7JE58TQ@public.gmane.org>
@ 2012-06-26 3:17 ` Mark Salter
2012-06-29 13:55 ` Myklebust, Trond
0 siblings, 1 reply; 6+ messages in thread
From: Mark Salter @ 2012-06-26 3:17 UTC (permalink / raw)
To: Myklebust, Trond
Cc: linux-next, linux-nfs-u79uwXL29TY76Z2rM5mHXA@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfs root problem in linux-next
2012-06-26 3:17 ` Mark Salter
@ 2012-06-29 13:55 ` Myklebust, Trond
2012-06-29 14:48 ` Mark Salter
0 siblings, 1 reply; 6+ messages in thread
From: Myklebust, Trond @ 2012-06-29 13:55 UTC (permalink / raw)
To: Mark Salter, Fengguang Wu; +Cc: linux-next, linux-nfs@vger.kernel.org
On Mon, 2012-06-25 at 23:17 -0400, Mark Salter wrote:
> 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@netapp.com>
> > > 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.
Hi Mark and Fengguang,
I believe that I've found the bug that was being triggered in the above
patch. It was a mistake in the earlier patch "SUNRPC: Don't decode
beyond the end of the RPC reply message", which was failing to correctly
initialise the xdr->nwords field.
I've now fixed it and updated the linux-next branch.
Cheers
Trond
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfs root problem in linux-next
2012-06-29 13:55 ` Myklebust, Trond
@ 2012-06-29 14:48 ` Mark Salter
2012-06-29 14:53 ` Fengguang Wu
0 siblings, 1 reply; 6+ messages in thread
From: Mark Salter @ 2012-06-29 14:48 UTC (permalink / raw)
To: Myklebust, Trond; +Cc: Fengguang Wu, linux-next, linux-nfs@vger.kernel.org
On Fri, 2012-06-29 at 13:55 +0000, Myklebust, Trond wrote:
> Hi Mark and Fengguang,
>
> I believe that I've found the bug that was being triggered in the
> above
> patch. It was a mistake in the earlier patch "SUNRPC: Don't decode
> beyond the end of the RPC reply message", which was failing to
> correctly
> initialise the xdr->nwords field.
>
> I've now fixed it and updated the linux-next branch.
Yes, I can confirm that today's linux-next is booting correctly
for me on an nfsroot.
Thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: nfs root problem in linux-next
2012-06-29 14:48 ` Mark Salter
@ 2012-06-29 14:53 ` Fengguang Wu
0 siblings, 0 replies; 6+ messages in thread
From: Fengguang Wu @ 2012-06-29 14:53 UTC (permalink / raw)
To: Mark Salter; +Cc: Myklebust, Trond, linux-next, linux-nfs@vger.kernel.org
On Fri, Jun 29, 2012 at 10:48:48AM -0400, Mark Salter wrote:
> On Fri, 2012-06-29 at 13:55 +0000, Myklebust, Trond wrote:
> > Hi Mark and Fengguang,
> >
> > I believe that I've found the bug that was being triggered in the
> > above
> > patch. It was a mistake in the earlier patch "SUNRPC: Don't decode
> > beyond the end of the RPC reply message", which was failing to
> > correctly
> > initialise the xdr->nwords field.
> >
> > I've now fixed it and updated the linux-next branch.
>
> Yes, I can confirm that today's linux-next is booting correctly
> for me on an nfsroot.
>
> Thanks!
I can confirm it, too. Thanks!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-29 14:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2012-06-29 13:55 ` Myklebust, Trond
2012-06-29 14:48 ` Mark Salter
2012-06-29 14:53 ` Fengguang Wu
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).