[OpenAFS] 1.6.0 crash in afs_icl_AppendRecord on shutdown

Ryan C. Underwood nemesis@icequake.net
Mon, 28 Nov 2011 08:37:35 -0600


Is this a known problem?  I am getting this sporadically with linux 3.0.0 a=
nd openafs 1.6.0.

kernel: [905940.859366] afs: COLD shutting down of: vcaches... CB... afs...=
 BkG... CTrunc... AFSDB... RxEvent... UnmaskRxkSignals... RxListener...  AL=
L allocated tables... done
kernel: [905941.692277] BUG: unable to handle kernel paging request at ffff=
c90011981000
kernel: [905941.693321] IP: [<ffffffffa07b6cc3>] afs_icl_AppendRecord+0xa3/=
0x610 [openafs]
kernel: [905941.694427] PGD 23f019067 PUD 23f01a067 PMD 22eef9067 PTE 0
kernel: [905941.695544] Oops: 0002 [#1] SMP=20
kernel: [905941.696007] CPU 0=20
kernel: [905941.696007] Modules linked in: nls_iso8859_1 nls_cp437 udf open=
afs(P) nls_utf8 isofs btrfs zlib_deflate libcrc32c ufs qnx4 hfsplus hfs min=
ix ntfs vfat msdos fat jfs xfs reiserfs option usb_wwan usbserial cdc_acm c=
dc_ether usbnet usb_storage uas appletalk bnep rfcomm bluetooth pci_stub vb=
oxpci vboxnetadp vboxnetflt vboxdrv ip6table_filter ip6_tables ipt_MASQUERA=
DE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrac=
k ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter ip_tables =
x_tables bridge stp kvm_intel kvm parport_pc ppdev binfmt_misc snd_hda_code=
c_conexant snd_hda_intel snd_hda_codec snd_hwdep uvcvideo videodev snd_pcm =
v4l2_compat_ioctl32 snd_seq_midi arc4 snd_rawmidi snd_seq_midi_event snd_se=
q snd_timer snd_seq_device iwl4965 r852 iwl_legacy snd sm_common soundcore =
nand nand_ids nand_bch mac80211 snd_page_alloc bch cfg80211 hp_wmi sparse_k=
eymap joydev dm_multipath psmouse serio_raw sm_ftl mtd_blkdevs mtd nand_ecc=
 coretemp firewire_sbp2 lp pa
kernel: rport dm_crypt nbd xts gf128mul firewire_ohci i915 firewire_core sd=
hci_pci vesafb drm_kms_helper sdhci crc_itu_t drm sky2 ahci libahci i2c_alg=
o_bit wmi video [last unloaded: openafs]
kernel: [905941.696007]=20
kernel: [905941.696007] Pid: 1105, comm: su Tainted: P            3.0.0-12-=
generic #20-Ubuntu Hewlett-Packard HP Pavilion dv2700 Notebook PC/30CD
kernel: [905941.696007] RIP: 0010:[<ffffffffa07b6cc3>]  [<ffffffffa07b6cc3>=
] afs_icl_AppendRecord+0xa3/0x610 [openafs]
kernel: [905941.696007] RSP: 0018:ffff880098c27a68  EFLAGS: 00010212
kernel: [905941.696007] RAX: 0000000000000000 RBX: ffff880204712800 RCX: 00=
0000004ed3939e
kernel: [905941.696007] RDX: 0000000000000319 RSI: 0000000000000319 RDI: ff=
ffc90011981000
kernel: [905941.696007] RBP: ffff880098c27ae8 R08: 0000000000000000 R09: 00=
00000000000000
kernel: [905941.696007] R10: 000000000000f000 R11: 000000004ed3939e R12: 00=
000000001c21c0
kernel: [905941.696007] R13: 000000004ed3939e R14: 0000000000000319 R15: 00=
00000000000008
kernel: [905941.696007] FS:  00007f2e165bf720(0000) GS:ffff88023fc00000(000=
0) knlGS:0000000000000000
kernel: [905941.696007] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: [905941.696007] CR2: ffffc90011981000 CR3: 0000000168653000 CR4: 00=
000000000026f0
kernel: [905941.696007] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 00=
00000000000000
kernel: [905941.696007] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 00=
00000000000400
kernel: [905941.696007] Process su (pid: 1105, threadinfo ffff880098c26000,=
 task ffff8801463c2e40)
kernel: [905941.696007] Stack:
kernel: [905941.696007]  ffff880098c27ac8 ffffffff811531ed ffff8800469d0dc0=
 ffffffff811c21a0
kernel: [905941.696007]  29c9c04100000290 0000000000000000 0000000000000000=
 0000000000000003
kernel: [905941.696007]  000000004ed3939e 0000000000000319 0000000000000290=
 ffff880204712e00
kernel: [905941.696007] Call Trace:
kernel: [905941.696007]  [<ffffffff811531ed>] ? kmem_cache_alloc+0x11d/0x140
kernel: [905941.696007]  [<ffffffff811c21a0>] ? proc_alloc_inode+0x20/0xb0
kernel: [905941.696007]  [<ffffffffa07b733f>] afs_icl_Event4+0x10f/0x1d0 [o=
penafs]
kernel: [905941.696007]  [<ffffffff811531ed>] ? kmem_cache_alloc+0x11d/0x140
kernel: [905941.696007]  [<ffffffffa07b749a>] afs_icl_Event3+0x1a/0x20 [ope=
nafs]
kernel: [905941.696007]  [<ffffffff811c2281>] ? proc_reg_open+0x51/0x1a0
kernel: [905941.696007]  [<ffffffffa083c03f>] afs_HandlePioctl+0x1df/0x670 =
[openafs]
kernel: [905941.696007]  [<ffffffff811c2281>] ? proc_reg_open+0x51/0x1a0
kernel: [905941.696007]  [<ffffffff81153ec6>] ? kmem_cache_alloc_trace+0x13=
6/0x140
kernel: [905941.696007]  [<ffffffff811c2281>] ? proc_reg_open+0x51/0x1a0
kernel: [905941.696007]  [<ffffffff8115340f>] ? kfree+0x3f/0x150
kernel: [905941.696007]  [<ffffffffa07bc757>] ? copyin_afs_ioctl+0x167/0x23=
0 [openafs]
kernel: [905941.696007]  [<ffffffffa083c639>] afs_syscall_pioctl+0x169/0x35=
0 [openafs]
kernel: [905941.696007]  [<ffffffff811c2230>] ? proc_alloc_inode+0xb0/0xb0
kernel: [905941.696007]  [<ffffffff815e9efe>] ? _raw_spin_lock+0xe/0x20
kernel: [905941.696007]  [<ffffffff81186710>] ? mntput_no_expire+0x30/0xf0
kernel: [905941.696007]  [<ffffffffa07d4000>] ? osi_syscall_init+0xb0/0xe0 =
[openafs]
kernel: [905941.696007]  [<ffffffffa07bca91>] afs_syscall+0x271/0x680 [open=
afs]
kernel: [905941.696007]  [<ffffffff81186710>] ? mntput_no_expire+0x30/0xf0
kernel: [905941.696007]  [<ffffffff811867ef>] ? mntput+0x1f/0x30
kernel: [905941.696007]  [<ffffffff81171df2>] ? path_put+0x22/0x30
kernel: [905941.696007]  [<ffffffff81176b05>] ? path_openat+0xf5/0x3f0
kernel: [905941.696007]  [<ffffffffa07d40a0>] ? osi_syscall_clean+0x70/0x70=
 [openafs]
kernel: [905941.696007]  [<ffffffffa07d413e>] afs_unlocked_ioctl+0x9e/0xf0 =
[openafs]
kernel: [905941.696007]  [<ffffffff81176e42>] ? do_filp_open+0x42/0xa0
kernel: [905941.696007]  [<ffffffff811c27a5>] proc_reg_unlocked_ioctl+0x75/=
0xb0
kernel: [905941.696007]  [<ffffffff8117923a>] file_ioctl+0x4a/0x120
kernel: [905941.696007]  [<ffffffff8117964b>] do_vfs_ioctl+0x33b/0x340
kernel: [905941.696007]  [<ffffffff81172495>] ? putname+0x35/0x50
kernel: [905941.696007]  [<ffffffff81166c91>] ? do_sys_open+0x171/0x220
kernel: [905941.696007]  [<ffffffff811796e1>] sys_ioctl+0x91/0xa0
kernel: [905941.696007]  [<ffffffff815f22c2>] system_call_fastpath+0x16/0x1b
kernel: [905941.696007] Code: 89 f6 45 89 eb 3d 00 04 00 00 0f 86 e3 00 00 =
00 44 8b 53 40 44 8b 43 44 44 89 d0 44 29 c0 83 f8 05 0f 8e 51 03 00 00 48 =
63 43 54 <c7> 04 87 00 00 18 05 8b 43 54 83 c0 01 3b 43 40 89 43 54 0f 8d=
=20
kernel: [905941.696007] RIP  [<ffffffffa07b6cc3>] afs_icl_AppendRecord+0xa3=
/0x610 [openafs]
kernel: [905941.696007]  RSP <ffff880098c27a68>
kernel: [905941.696007] CR2: ffffc90011981000
kernel: [905941.814777] ---[ end trace 03321e694c66d524 ]---


--=20
Ryan C. Underwood, <nemesis@icequake.net>