[OpenAFS] Fwd: AFS crash

Russ Allbery rra@stanford.edu
Tue, 17 Apr 2007 19:41:21 -0700


One of my co-worker's Linux workstation was getting repeated crashes with
the following consistent information, under both OpenAFS 1.4.2 and OpenAFS
1.4.4.  I've since rebuilt the system from scratch on Debian etch and it
appears to no longer be having this problem.  Forwarding this along in
case it helps find a bug.

The problem happened reliably when running a process that downloads mail
from the mail servers and writes it into a file in AFS.

openafs: Too many dcache entries in range
------------[ cut here ]------------
kernel BUG at /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.18-4-686-MP/afs_segments.c:703!
invalid opcode: 0000 [#1]
SMP 
Modules linked in: nvidia i2c_core openafs ipv6 dm_snapshot dm_mirror dm_mod usbkbd usbmouse i810_audio ac97_codec snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss floppy psmouse snd_pcm snd_timer intel_agp agpgart shpchp pci_hotplug serio_raw snd soundcore rtc snd_page_alloc pcspkr evdev tsdev ext3 jbd mbcache ide_cd cdrom ide_disk usbhid piix b44 mii generic ide_core ehci_hcd uhci_hcd usbcore thermal processor fan
CPU:    0
EIP:    0060:[<f8c04376>]    Tainted: P      VLI
EFLAGS: 00010292   (2.6.18-4-686 #1) 
EIP is at afs_StoreAllSegments+0x1549/0x18f7 [openafs]
eax: 0000002d   ebx: f8c672c0   ecx: 00000096   edx: 00000000
esi: 00000938   edi: 00000040   ebp: 00000000   esp: f577dde4
ds: 007b   es: 007b   ss: 0068
Process fetchmail (pid: 2988, ti=f577c000 task=f5768550 task.ti=f577c000)
Stack: f8c42d22 f0355700 00180000 00000000 00000000 c024e0a6 00000001 f577df68 
       f7617080 00000204 00000006 f76171f4 00000000 0000016d 00000000 0018fbad 
       f6ea0000 f6ea0000 00000007 00000007 00000000 00000000 00000006 0018fbad 
Call Trace:
 [<c024e0a6>] tcp_recvmsg+0x8e3/0x9e9
 [<c012d92d>] autoremove_wake_function+0x0/0x2d
 [<f8c19c51>] afs_fsync+0xe0/0x13b [openafs]
 [<f8c31000>] .text.lock.osi_alloc+0x28/0x80 [openafs]
 [<f8c34920>] afs_linux_fsync+0x59/0xb7 [openafs]
 [<c015c20a>] do_fsync+0x41/0x83
 [<c015c269>] __do_fsync+0x1d/0x2b
 [<c0102c11>] sysenter_past_esp+0x56/0x79
Code: 82 74 01 00 00 75 57 8b 83 90 00 00 00 39 e8 72 4d 8b 15 80 6e c5 f8 29 e8 39 d0 73 21 39 d7 72 13 68 22 2d c4 f8 e8 f4 95 51 c7 <0f> 0b bf 02 21 2c c4 f8 59 8b 4c 24 3c 89 1c b9 47 eb 27 89 d8 
EIP: [<f8c04376>] afs_StoreAllSegments+0x1549/0x18f7 [openafs] SS:ESP 0068:f577dde4

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>