[OpenAFS] Linux 3.11 oopses in Ck_Srv_SetTime() when network connection dies

Benjamin Kaduk kaduk@MIT.EDU
Wed, 6 Aug 2014 13:38:06 -0400 (EDT)


On Wed, 2 Jul 2014, Ryan C. Underwood wrote:

> Anyone seeing this oops with recent kernels?  This started after I
> upgraded the Ubuntu distribution on my laptop.  It doesn't happen
> every time; usually only when a reboot would be inconvenient. :-)  I
> have only observed it happening when my wireless link goes dead
> (either momentarily due to loss of signal or deliberately because I
> used the rfkill switch).

Hi Ryan,

I think the answer involves an aspect of "don't do that".

The following commit has landed on master, but not the 1.6 branch:

commit 1d9888be486198868983048eeffabdfef5afa94b
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Nov 2 10:43:54 2011 -0500

     Remove -settime/RXAFS_GetTime client support

     Remove the -settime option from afsd, and any code for making
     RXAFS_GetTime calls in libafs. Server probes have been replaced by
     calls to RXAFS_GetCapabilities, and the actual functionality of
     synchronizing the system clock has been superseded by other systems
     like NTP. Issue a warning for all code paths that try to enable
     -settime support.

     Historical note: the code that this commit is removing contains bugs.
     Do not simply revert this commit to turn on -settime support again.

     Change-Id: Id291f5f88b1ad84594706f2a1a02a933dddd0cb9
     Reviewed-on: http://gerrit.openafs.org/5787
     Tested-by: BuildBot <buildbot@rampaginggeek.com>
     Reviewed-by: Derrick Brashear <shadow@dementix.org>


I would recommend removing the -settime option from your afsd invocation.

-Ben Kaduk