[OpenAFS-devel] OpenAFS 1.4.2rc1 Oops During setpag on Linux 2.6.17

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Mon, 28 Aug 2006 15:32:01 -0400


In message <44F237A2.2000309@cert.org>,Jason McCormick writes:
>  I tried 1.4.2rc1 on Fedora 4 w/ kernel 2.6.17 (x86_64).  The libafs
>module loads fine and w/o a message.  However the first time someone or
>a process tries to get a PAG, the host oopses.  After the initial
>message and the setpag error, the host loops infinitely on "Unable to
>handle kernel paging request".  The oops is:
>...
>Call Trace: <#DF> <ffffffff8026fbeb>{show_stack+210}
>       <ffffffff8026fc7e>{show_registers+134} <ffffffff80269f7d>{__die+173}
>       <ffffffff8026fff3>{die+48} <ffffffff8027022b>{do_double_fault+113}
>       <ffffffff80263571>{double_fault+125}
><ffffffff883214f8>{:libafs:setpag+56}
>       <ffffffff802622ae>{system_call+26} <EOE><1>Unable to handle
>kernel paging request at 00000000fffff000 RIP:
><ffffffff8026faa0>{show_trace+436}

it hard to tell anything from this call trace.  howver, the only change
to setpag() was the keyring stuff.  so if you could manually modify
src/config/afsconfig.h, and comment

	#define LINUX_KEYRING_SUPPORT 1

something like this:

	/* #define LINUX_KEYRING_SUPPORT 1 */

should be acceptable.  then do a make libafs.  this should get you a new
libafs module w/o keyring.  see if that has the same problem w/ pags.