[OpenAFS] Kernel module/afsd causes kernel oops ("bug report" sort of)

Peter Schuller peter.schuller@infidyne.com
Sun, 19 Jan 2003 11:00:15 +0100


well, I E-Mail a while ago regarding OpenAFS on newer kernels. 

Since I have now switched kernels about a gazillion times, including
2.4.18 kernels (which is what I'm running on the machine where I *did*
get the client working properly), I figured I should post some more
details as a "bug report" and/or "look, you're not alone" to other
people having the same problem in the future. It can't hurt.

Kernel: 2.4.18 and 2.4.19, both SMP and uniprocessor kernel. A number of
different configurations used.

Noteworthy anomaly: I'm running ReiserFS, but moving the AFS client
cache to an ext2fs partition did not make the problem go away. As I
understand it, ReiserFS should not be a problem, except with the client

Symtomes: When starting/stopping the AFS client (i.e., when
inserting/removing the module and/or when trying to start afsd), I get
kernel oopses like this:

Unable to handle kernel paging request at virtual address e0a13af9
 printing eip:
 *pde = 015b3067
 *pte = 00000000
 Oops: 0000
 CPU:    0
 EIP:    0010:[<e0a13af9>]    Tainted: PF
 EFLAGS: 00013213
 eax: 00000000   ebx: dae7cc50   ecx: 00003246   edx: 00000000
 esi: dae7cc50   edi: dae7cc40   ebp: d9591f34   esp: d9591f04
 ds: 0018   es: 0018   ss: 0018
 Process afs_rxevent (pid: 1005, stackpage=d9591000)
 Stack: 3e2a7198 00000000 000001f4 00000000 0000000c d9591f3c 00000033 00000000 
        00000000 d9590000 00000000 00000000 00000000 d9590000 d95e5f2c dae7cc54 
	c15be000 df2e0618 00000018 e0a137f0 e0a38540 000001f4 00000000 00003283 
 Call Trace:    [<c0106f8f>] [<c0106f98>]
 Code:  Bad EIP value.

Not all identical. For example, after the last reboot I have three
ooopses in the kernel log. One for afs_rxevent, one for afsd and one for
afs_checkserver. But otherwise pretty much the same, save registers and
the stack.

Afsd usually starts, but never mounts /afs and can't be killed even with

root      1003  0.0  0.0  1552  372 ?        S    Jan18   0:00
/usr/sbin/afsd -stat 2000 -dcache 800 -daemons 3 -volumes 70 -fakestat

/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey@scode.org
E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org