mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* NFS/RPC Hangs after updating time...
@ 2007-08-22 18:37 Morrison, Tom
  2007-08-22 20:26 ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Morrison, Tom @ 2007-08-22 18:37 UTC (permalink / raw)
  To: nfs; +Cc: linux-kernel, Rushton, Matt

Hi, 

I've got an unusual problem with a corner case that I 
am investigating. I've tried 'googling' around to 
find if someone has discussed this before, but 
I have yet to find any discussion close to this - 
so I bring it to your collective minds...

I am working with a 2.6.11++ kernel on an embedded 
server platform that is NFS serving Linux rootfs 
for other embedded NFS Client boards.

Everything works fine when the system time on the 
server board is relatively synchronized with the real-time. 

It hangs after attempting to update the time from a 
nonsensical time (e.g.: 2 months ago) - the most significant
part of it is that it only hangs IFF it has started 
serving its NFS client boards before I attempt to 
update the time.


The most significant output (when turning on 
RPC debugging) is from:

  linux/net/sunrpc/cache.c (cache_check) - line 90:

         >> Want update, refage=1800, age=4288285

It continually loops through this method - and the cache
never gets updated...even thought with some additional
sleuthing (aka: additional debug printks - it thinks 
that there is an cache update pending).

Thanks for any ideas you have on this subject.

Sincerely,

      
         
         

Tom Morrison
Principal S/W Engineer
Empirix, Inc (www.empirix.com)
tmorrison@empirix.com
(781) 266 - 3567
 
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: NFS/RPC Hangs after updating time...
  2007-08-22 18:37 NFS/RPC Hangs after updating time Morrison, Tom
@ 2007-08-22 20:26 ` J. Bruce Fields
  2007-08-31 18:35   ` Follow up to: " Morrison, Tom
  0 siblings, 1 reply; 4+ messages in thread
From: J. Bruce Fields @ 2007-08-22 20:26 UTC (permalink / raw)
  To: Morrison, Tom; +Cc: nfs, linux-kernel, Rushton, Matt

On Wed, Aug 22, 2007 at 02:37:22PM -0400, Morrison, Tom wrote:
> I am working with a 2.6.11++ kernel on an embedded 
> server platform that is NFS serving Linux rootfs 
> for other embedded NFS Client boards.
> 
> Everything works fine when the system time on the 
> server board is relatively synchronized with the real-time. 
> 
> It hangs after attempting to update the time from a 
> nonsensical time (e.g.: 2 months ago) - the most significant
> part of it is that it only hangs IFF it has started 
> serving its NFS client boards before I attempt to 
> update the time.
> 
> 
> The most significant output (when turning on 
> RPC debugging) is from:
> 
>   linux/net/sunrpc/cache.c (cache_check) - line 90:
> 
>          >> Want update, refage=1800, age=4288285
> 
> It continually loops through this method - and the cache
> never gets updated...even thought with some additional
> sleuthing (aka: additional debug printks - it thinks 
> that there is an cache update pending).

Can you reproduce the problem with the current kernel? (Say 2.6.22 or
later?)

--b.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Follow up to: NFS/RPC Hangs after updating time...
  2007-08-22 20:26 ` J. Bruce Fields
@ 2007-08-31 18:35   ` Morrison, Tom
  2007-08-31 21:45     ` J. Bruce Fields
  0 siblings, 1 reply; 4+ messages in thread
From: Morrison, Tom @ 2007-08-31 18:35 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: nfs, linux-kernel

This is a follow-up...

After a huge pain in the rear upgrading from a 
2.6.11++ to a 2.6.23-rc3 (I'll give the powerpc
folks a 'piece' of my mind on that front) - the 
NFS hang problem that I was experiencing on the 
older kernel is NOT occurring on this new version.

Now what do I do?

Is the net/sunrpc net/nfsx pieces isolated enough 
from the rest of the kernel that I could fork-lift 
it back to the 2.6.11 (or is that really a lost cause).

Thanks for any/all feedback on this front!


-----Original Message-----
From: J. Bruce Fields [mailto:bfields@fieldses.org] 
Sent: Wednesday, August 22, 2007 4:27 PM
To: Morrison, Tom
Cc: nfs@lists.sourceforge.net; linux-kernel@vger.kernel.org; Rushton,
Matt
Subject: Re: NFS/RPC Hangs after updating time...

On Wed, Aug 22, 2007 at 02:37:22PM -0400, Morrison, Tom wrote:
> I am working with a 2.6.11++ kernel on an embedded 
> server platform that is NFS serving Linux rootfs 
> for other embedded NFS Client boards.
> 
> Everything works fine when the system time on the 
> server board is relatively synchronized with the real-time. 
> 
> It hangs after attempting to update the time from a 
> nonsensical time (e.g.: 2 months ago) - the most significant
> part of it is that it only hangs IFF it has started 
> serving its NFS client boards before I attempt to 
> update the time.
> 
> 
> The most significant output (when turning on 
> RPC debugging) is from:
> 
>   linux/net/sunrpc/cache.c (cache_check) - line 90:
> 
>          >> Want update, refage=1800, age=4288285
> 
> It continually loops through this method - and the cache
> never gets updated...even thought with some additional
> sleuthing (aka: additional debug printks - it thinks 
> that there is an cache update pending).

Can you reproduce the problem with the current kernel? (Say 2.6.22 or
later?)

--b.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Follow up to: NFS/RPC Hangs after updating time...
  2007-08-31 18:35   ` Follow up to: " Morrison, Tom
@ 2007-08-31 21:45     ` J. Bruce Fields
  0 siblings, 0 replies; 4+ messages in thread
From: J. Bruce Fields @ 2007-08-31 21:45 UTC (permalink / raw)
  To: Morrison, Tom; +Cc: nfs, linux-kernel

On Fri, Aug 31, 2007 at 02:35:19PM -0400, Morrison, Tom wrote:
> This is a follow-up...
> 
> After a huge pain in the rear upgrading from a 
> 2.6.11++ to a 2.6.23-rc3 (I'll give the powerpc
> folks a 'piece' of my mind on that front) - the 
> NFS hang problem that I was experiencing on the 
> older kernel is NOT occurring on this new version.
> 
> Now what do I do?

Well, between the time jump and the rpc debugging output, you've got
some great clues there--given some time I'm sure it would be possible to
completely figure out what's going on.

Unfortunately the people with the most knowledge of the code probably
don't have the time to fix problems on old kernels, so unless somebody
else recognizes the problem immediately, I'm not sure what to suggest.
Obviously, a wholesale upgrade to a more recent kernel would be the one
sure bet....

> Is the net/sunrpc net/nfsx pieces isolated enough 
> from the rest of the kernel that I could fork-lift 
> it back to the 2.6.11 (or is that really a lost cause).

I suspect it's a lost cause.  A lot has happened in the last couple
years.

--b.

> > It hangs after attempting to update the time from a 
> > nonsensical time (e.g.: 2 months ago) - the most significant
> > part of it is that it only hangs IFF it has started 
> > serving its NFS client boards before I attempt to 
> > update the time.
> > 
> > 
> > The most significant output (when turning on 
> > RPC debugging) is from:
> > 
> >   linux/net/sunrpc/cache.c (cache_check) - line 90:
> > 
> >          >> Want update, refage=1800, age=4288285
> > 
> > It continually loops through this method - and the cache
> > never gets updated...even thought with some additional
> > sleuthing (aka: additional debug printks - it thinks 
> > that there is an cache update pending).
> 
> Can you reproduce the problem with the current kernel? (Say 2.6.22 or
> later?)
> 
> --b.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-31 21:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-22 18:37 NFS/RPC Hangs after updating time Morrison, Tom
2007-08-22 20:26 ` J. Bruce Fields
2007-08-31 18:35   ` Follow up to: " Morrison, Tom
2007-08-31 21:45     ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®